Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > CoD Multiplayer

CoD Multiplayer Everything about multiplayer in IL-2 CoD

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2011, 11:48 AM
doghous3 doghous3 is offline
Approved Member
 
Join Date: Apr 2011
Posts: 168
Default mission v1.6

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.
Attached Files
File Type: zip 128BoBv1_6.zip (7.7 KB, 142 views)

Last edited by doghous3; 04-17-2011 at 01:57 PM.
Reply With Quote
  #2  
Old 04-17-2011, 01:30 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
Originally Posted by doghous3 View Post
Damaged planes at spawnable airfield's will also be removed.
Is it done by airfield.cpp or how do you do it?
Reply With Quote
  #3  
Old 04-17-2011, 01:56 PM
doghous3 doghous3 is offline
Approved Member
 
Join Date: Apr 2011
Posts: 168
Default

yup. place an AI object and use airfield.cpp, you can give it a radius effect too.
Reply With Quote
  #4  
Old 04-18-2011, 04:47 AM
Thee_oddball Thee_oddball is offline
Approved Member
 
Join Date: Mar 2011
Posts: 812
Default

doghouse i just loaded your map (nice job ) and spawned in one plane and then spawned another one and first one was gone I tried doing the same to one of my maps by adding the script below after hiting save in FMD it generated a .cs file of the same map name ...but the destroying of empty plyer planes did not work can you tell me what i did wrong? thnx
Quote:
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(); }
});
}

}
__________________
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
Reply With Quote
  #5  
Old 04-18-2011, 09:06 AM
doghous3 doghous3 is offline
Approved Member
 
Join Date: Apr 2011
Posts: 168
Default

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(); }
});
}

}
Reply With Quote
  #6  
Old 04-18-2011, 09:13 AM
klem's Avatar
klem klem is offline
Approved Member
 
Join Date: Nov 2007
Posts: 1,653
Default

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
Reply With Quote
  #7  
Old 04-18-2011, 01:16 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
Originally Posted by klem View Post
Anyway, anything I can find to help me build missions would be good.
Small collection here http://forum.1cpublishing.eu/showthread.php?t=21518

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
Reply With Quote
  #8  
Old 04-26-2011, 10:05 AM
mcler002 mcler002 is offline
Approved Member
 
Join Date: Mar 2011
Location: UK
Posts: 277
Smile almost there...

Quote:
Originally Posted by doghous3 View Post
{
if (Time.tickCounter() % 1200 == 0)
{

GamePlay.gpPostMissionLoad("missions/Multi/Dogfigh t/OnlineBOBb1.mis");
Ive got the script to work... but no aircraft appear... (i have 6 spitfires loaded on the map)...

And can someone explain the tick counter and how to "work it"

Cheers
Reply With Quote
  #9  
Old 04-26-2011, 01:38 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
Originally Posted by mcler002 View Post
Ive got the script to work... but no aircraft appear... (i have 6 spitfires loaded on the map)...

And can someone explain the tick counter and how to "work it"

Cheers
Check that path is correct and open doghous3 or my example to add a line printing smth on screen to confirm that mission is loaded.

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.
Reply With Quote
  #10  
Old 04-26-2011, 02:01 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

New version of "Battle of France"

Added guns to tankers.
Spawns assigned to runways on some airfields.
etc.
Attached Files
File Type: zip 128BoF 1_6_01.zip (7.3 KB, 71 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.