View Single Post
  #1  
Old 04-16-2011, 07:56 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default Online War - FMB scripting

I'll just copy my post from Syndicate forums:

Please have a look at post #73 from a developer here.
http://translate.google.com/translat...964%26page%3D3

Corrected translation:
Quote:
In the enclosure there is simple example of a mission with a script - run mission 1.mis (in 2 pieces), it executes the script 1.cs - every 1200 ticks of game (~ 30 ticks a second, iirc) which loads the mission 2.mis (1 Spitfire) - this is the answer to how to create a group of aircraft every N minutes.

When a player leaves the plane - an event triggered OnPlaceLeave and a second later the plane is killed - this is the answer on how to get rid of bots. Naturally, for your specific conditions, all this can be reconfigured.
I think using these scripts we can
1) kill all bots after a player exits an aircraft for better stability

and much more important(!)

2) create any submissions for current mission loading every 10, 15, 20 and 30 minutes, including

- programmed bombing runs on England (and France )
- tank battles
- armored cars attacking airfields
- ship convoys (bombing/intercepting submissions)
- free hunters surprisingly attacking on takeoff
- submarines sinking convoys (with 3rd party addons )
- etc, etc.

Basically any mission from Offline Campaign can be taken online.

Another useful thread on scripting and triggers.
http://translate.google.com/translat...hp%3Ft%3D68369

upd. New forum section on FMB and scripting http://translate.google.com/translat....php%3Ff%3D234

Lets make some small missions consisting of 3-4 submissions first to simulate what we had in IL-2 online wars like VEF or ADW.

File with sample mission from developer attached. Let the full-scale war begin!
Attached Files
File Type: zip tmp.zip (1.6 KB, 229 views)

Last edited by Ataros; 04-27-2011 at 08:18 AM.
Reply With Quote