#1
|
|||
|
|||
MP Mission: Operation Dynamo
This is a multiplayer mission that attempts to recreate Operation Dynamo, Englands evacuation of it's troops from France in early 1940. The Luftwaffe tries to destroy ships and ground troops at Dunkirk, the RAF defends Dunkirk. The Luftwaffe are limited to five BF-109E-3s out at a time, while the RAF are limited to five Spitfire Is and Rotol equipped Hurricanes. Other aircraft are unlimited. This can be easily changed in the script file. Also, players are allowed to spawn groups of up to four bombers so they don't have to fly alone.
There are plenty of ships and ground targets to shoot at. They should all respawn after they are destroyed. Except for the ships, they respawn every two hours. AI Hurricanes patrol Dunkirk, AI bombers bomb Dunkirk. Plenty to do. You can also add missions that will randomly start every ~30 minutes. Just put them in the DEMissions or UKMissions folder accordingly and add the file names to the lists at the top of the script. Any bugs, suggestions for improvements, etc. please post them here. Edit: Updated to v1.1. Players can now change seats in aircraft. 110s should no longer spawn in hangers that are too small for them. Version 2.0: Fixed more bugs, added ground troops at Veurne, made train go back and forth between Dunkirk and Veurne, added vehicles that drive around some of the airfields. Also added UK missions and Stuka raids that target the ships and ground troops at Dunkirk. Version 2.1: Removed landing craft, fixed more "spawn explosions". Version 2.2: Added Bf-109E-1, fixed script. Also added server logging when ground objects are destroyed by players. Airwarfare Link Last edited by TheEnlightenedFlorist; 06-25-2011 at 06:12 AM. |
#2
|
|||
|
|||
Quote:
Do you mean that only about 10 people can fly fighters on the server at the same time? |
#3
|
|||
|
|||
No. There can be an unlimited number of non-Rotol Hurricanes and 110s. Only 109s and Rotol Hurris are limited. I probably should have clarified that. Thank you.
|
#4
|
|||
|
|||
Thanks mate, sounds fun... great idea for a mission.
|
#5
|
|||
|
|||
Thanks, downloading now!
|
#6
|
|||
|
|||
Just looked through your cs code and it looks great. I wish I could know c# half as good as you do. Sure I have many questions if you do not mind )
We use similar actor destroy code on Repka. It used to have an issue of stopping bomber engines when a player switches to a gunner or navigator position. Did you manage to solve this issue? Does adding this line helps in this respect or it was added for different purposes? Code:
foreach (AiActor actor in actorMain.Group().GetItems()) Quote:
Code:
List<Player> bluePlayers = new List<Player>(); foreach (Player p in GamePlay.gpRemotePlayers()) { if (p.Army() == 2) bluePlayers.Add(p); } GamePlay.gpHUDLogCenter(bluePlayers.ToArray(), msg); Code:
private void serverMessage(string msg) { Player pl = GamePlay.gpPlayer(); Player[] players = { pl }; object[] args = { msg }; GamePlay.gpLogServer(players, msg, args); } |
#7
|
|||
|
|||
I had really poor FPS over Dunkirk trying to create a single mission campaign for 'Operation Dynamo' and ditched it.
Will MP have the same FPS problems using a full Channel map as it sounds excellent apart from my poor fps over that area of France? I will certainly give it a try when its available, sounds great! |
#8
|
|||
|
|||
Quote:
As for the list and array business, I only want to send the message to blue players, so I need to create an array that contains only the players on blue team. The problem is that I don't know how many blue players there are beforehand and when you create an array you can't resize it. That's where the list comes in. The list can be dynamically resized. When I'm ready to send the message, I can use the ToArray() method of the list to get an array that contains only the blue players. |
#9
|
|||
|
|||
Quote:
I was hoping that since I see a lot of online missions over Calais, that putting one over Dunkirk wouldn't keep too many people from enjoying it. When did you try making your mission? Maybe a recent patch has helped. |
#10
|
|||
|
|||
This has now been fixed. I also placed static aircraft in the small hangers so 110s shouldn't spawn in them and blow up. The downloads have been updated.
|
|
|