![]() |
#1
|
|||
|
|||
![]()
Here is a sample script from a member of the dev team.
Script does the following: - reads frontline markers from the main mission file - creates spawns at each airfield of the map depending on side - creates 2 triggers at each frontline marker for ground group passthrough (for both sides) - checks if enemy ground group gets to the trigger and then based on trigger: - changes marker side and as a result moving frontline - destroys remaining enemy units near marker to prevent immediate recapture (not working sometimes) - changes airfields side and planeset if they are left behind frontline - changes score - loads defending and attacking submissions. To understand the principals of naming submissions please study this mission carefully: http://forum.1cpublishing.eu/showpos...&postcount=133 It uses an earlier version of this script. Now everything a mission maker has to do is select several frontmarkers and create submissions spawning ground groups attacking these markers. The rest is done automatically. To find out the number of a marker I plan to attack I place a camera unit on top of the frontline marker, save and then open the mission file in notepad to compare camera coordinates with markers coordinates. Devs mentioned that marker numbers will be shown in FMB in the future. There is a known bug that prevents players to spawn at captured airfields. Devs will try to fix it by next patch so get your missions ready ) The script is attached as a .txt file. Last edited by Ataros; 06-02-2011 at 01:01 PM. |
|
|