![]() |
|
CoD Multiplayer Everything about multiplayer in IL-2 CoD |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
Good idea. Sticky would be good.
Mission based for 128+ player's. English channel. Version 1.6 Each side consists of three fighter airfields, one bomber airfield (with escort/interceptor airfield next to it) Some bomber objectives include ship convoy's, fuel depot, and a tank factory. Each side will have a recurring AI squadron spawn at different times. Either Wellington's or HE111, which will fly to an enemy fighter airfield, and bomb it! A short message will flash on the screen to notify all player's of event starting. Player controlled planes get removed if player leaves, respawn's. That is AI takes control, the plane will no longer exist. Damaged planes at spawnable airfield's will also be removed. I think that's the important info. Enjoy. Last edited by doghous3; 04-17-2011 at 01:57 PM. |
#2
|
|||
|
|||
![]()
Is it done by airfield.cpp or how do you do it?
|
#3
|
|||
|
|||
![]()
yup. place an AI object and use airfield.cpp, you can give it a radius effect too.
|
#4
|
|||
|
|||
![]()
doghouse i just loaded your map (nice job
![]() ![]() ![]() ![]() Quote:
__________________
Gigabyte Z68 Intel 2500K (@4.3 ghz)212 CM Cooler 8GB Ram EVGA 660SC (super clocked) 2GB Vram CORSAIR CMPSU-750TX 750W 64 GB SSD SATA II HD WIN7 UL 64BIT |
#5
|
|||
|
|||
![]()
With that mission, I take it the sub-mission didn't load.
The issue is with void OnTickGame(). You used back-slash instead of forward-slash. The syntax error would in this instance prevented the rest of the script to run. So with the changes below, it will work. using System; using maddox.game; using maddox.game.world; using System.Collections.Generic; public class Mission : AMission { public override void OnTickGame() { if (Time.tickCounter() % 1200 == 0) { GamePlay.gpPostMissionLoad("missions/Multi/Dogfigh t/basic40c.mis"); } } public override void OnPlaceLeave(Player player, AiActor actor, int placeIndex) { base.OnPlaceLeave(player, actor, placeIndex); Timeout(1, () => { AiAircraft CurAircraft = player.Place() as AiAircraft; AiAircraft PrevAircraft = actor as AiAircraft; if (CurAircraft != PrevAircraft) { (actor as AiAircraft).Destroy(); } }); } } |
#6
|
||||
|
||||
![]()
Guys,
where do you get all this info from, settings, scripting (and should it be necessary?) etc Anyway, anything I can find to help me build missions would be good. A community self-help manual Sticky??
__________________
klem 56 Squadron RAF "Firebirds" http://firebirds.2ndtaf.org.uk/ ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders |
#7
|
|||
|
|||
![]() Quote:
Manual from developers is not ready yet. You can start now with learning some C# basics I think. http://msdn.microsoft.com/en-us/vcsharp/dd919145.aspx http://msdn.microsoft.com/en-us/vcsharp/aa336766 |
#8
|
|||
|
|||
![]() Quote:
And can someone explain the tick counter and how to "work it" Cheers |
#9
|
|||
|
|||
![]() Quote:
30 tics a second give you 1800 tics per minute. if (Time.tickCounter() % 1200 == 0) 1200 - is cycle here 0 - is initial delay before running script. I'd suggest taking doghous3 script to start with and just change filenames in it to avoid simple mistakes. This is what I did with his mission. |
#10
|
|||
|
|||
![]()
New version of "Battle of France"
Added guns to tankers. Spawns assigned to runways on some airfields. etc. |
![]() |
|
|