#1
|
|||
|
|||
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:
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! Last edited by Ataros; 04-27-2011 at 08:18 AM. |
#2
|
|||
|
|||
had a look at that this morning.
1. works a treat. spawn, respawn, first spawn plane immediately gone. 2. didn't work. From what I could see, it actually tries to load a new mission. Perhaps it is possible to load a mission into a mission, doesn't seem desirable, but then maybe i need more coffee. Great finds again though Ataros. |
#3
|
|||
|
|||
Quote:
In original Il-2 when mission objectives are met you server had to stop the mission to load a new one. If you were flying in the air at this moment you would have to start again on the ground. Now in CoD you can continue flying when "mission is changing". Say you have a mission to stop enemy tanks from taking an airfield. Then you have options 1) If you are successful this triggers loading next objectives: - for your tanks advance to next city and for your aircraft to cover them. - for enemy to bomb your airfield 2) If you fail to protect your airfield the objectives will be different: - for you to cover bomber strike on enemy tank factory - for enemy to escort transport aircraft to the newly taken airfield. New objectives (together with new aircraft, tanks, ships, etc.) will be loaded into current mission while you are still flying in the air. You can prepare say 20-50 such small sub-missions and they will rotate on your server depending on results of previous missions set as triggers. Several sub-missions may overlap in time. And this is just one possibility, there are much more of them. Atm you may wish to try adding sub-missions of Stukas attacking shipping in the channel loading into your current mission every 20 minutes. ...and Beaufighters attacking blue airfields every 30 minutes, and... the possibilities are endless. I will try to do it myself on Monday probably as i am currently away from my gaming PC. |
#4
|
|||
|
|||
Ah, thanks for explaining the concept.
Part of the confusion was that in 2.mis, it contained information for [PARTS], [MAIN] etc.. (set as a full mission) also, and call me a doughnut, I had the tmp file in multi folder, not just missions. *facepalm* So most the fluff can be removed and in that instance just have the airgroup/waypoints. It does work. I need that caffiene in the morning. |
#5
|
|||
|
|||
These things looks really promising!
|
#6
|
|||
|
|||
Thank you very much for sharing.
I'm using it on my server, and it's really cool not to see thousands of IAs flying without ammo or standing on the taxiway. |
#7
|
|||
|
|||
Great find!!!
now if i can only script the dog to walk himself in the morning and not pester me S!
__________________
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 |
#8
|
|||
|
|||
Quote:
The original poster of the error also noted it happend after the Chanel map has been running for a while. S!
__________________
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 |
#9
|
|||
|
|||
I must be doing something wrong...i have added the script to one of my maps and there is even a .cs file of the same name but when i tested it and spwned four planes they just took off like they always do is the file below correct?
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 |
#10
|
|||
|
|||
Quote:
Why do you expect the AI aircraft not to take off? If basic40c.mis tells them to take off, they will. upd. All events you can use in a mission script. Sorry for jpg format. upd.2 And a good thread on triggers here http://forum.1cpublishing.eu/showthr...builder&page=2 Last edited by Ataros; 04-17-2011 at 01:21 PM. |
|
|