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 > FMB, Mission & Campaign builder Discussions

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-21-2011, 05:28 PM
stillborn stillborn is offline
Approved Member
 
Join Date: Sep 2010
Posts: 21
Default Online Dynamic Campaign with Script

Campaign contains 14 static missions chained from red airfield to blue. 6 of them are ground based, 8 of them are naval. campaigh starts by spawning tankers moving towards enemy airfield, if they encounter each other they spawn AA guns over them and start to fight until one side is killed and the next mission towards the defeated side is loaded, if one of the ships is destroyed before encountering enemy the other ship continues to progress. When the ships reach the coast, they disembark and continue as AA trucks, when the trucks reach enemy airfield, spawn points change and players can spawn enemy's aircrafts from captured airfield. if the aa trucks are destroyed, spawn points restore and campaign reverts 3 missions.

Scripts contain a code for destroying aircrafts on player leave, crashland or land with a timeout, also the code does not trigger if the player is still inside or another player entered this aircraft in the meantime. Also airborne left aircrafts are not destroyed but damaged. Player checks contain the server too so you can use it with steam lobby.

I have created new airfields for spawning parked in front of the runway, only two aircrafts spawn in front of the runway, if these points are full the other aircrafts spawn in a tight circle next to them.

FMB has a limit for min airfield radius which also defines the spawning locations for extra aircrafts when all points are full, i overrided it in notepad, if you edit the airfields in main mission dont forget to change these.

There's also a single player version of main mission for testing at 16x, ground war is totally random but you can interact with it with unlimited ammo to preview all the missions quickly.

Server briefing page does not refresh the spawn points after you select army, so if a base capture occurs change your army twice to see the updated spawn points on map to use enemy's airfield.

I've made this campaign to share my approach for dynamic mission loading, feel free to copy/manipulate it, with the same logic and a more tidy-flexible code, multiple dynamic frontlines can be created.


Extract the archive to "missions/Multi/Dogfight/" and launch main mission from dgw_iod_v1_X folder.
latest version: dgw_iod_v1_1(3aa_on_ships)
Attached Files
File Type: zip dgw_iod_v1_0.zip (144.6 KB, 109 views)
File Type: zip dgw_iod_v1_1(3aa_on_ships).zip (166.0 KB, 35 views)

Last edited by stillborn; 07-08-2011 at 03:55 AM.
Reply With Quote
 


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 12:13 PM.


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