User Tools

Site Tools


falcon4:campaign:trigger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
falcon4:campaign:trigger [2007/07/13 08:43] – added some bullseye/flot information snakemanfalcon4:campaign:trigger [2024/07/31 07:44] (current) – links added. snakeman
Line 1: Line 1:
-====== Trigger ======+====== Falcon 4 Campaign Trigger ======
  
-**Trigger files** revisited, directly from Codec:+[[https://www.pmctactical.org/forum/viewforum.php?f=47|Falcon 4.0 Forum]], [[:falcon4|Falcon 4 Home]], [[falcon4:campaign|Falcon 4 Campaign]], [[falcon4:cockpits|Falcon 4 Cockpits]], [[falcon4:database|Falcon 4 Database]], [[falcon4:file_formats|Falcon 4 File Formats]], [[falcon4:srtm|Falcon 4 SRTM Terrain]], [[falcon4:terrain|Falcon 4 Terrain]], [[falcon4:textures|Falcon 4 Textures]], [[falcon4:tools|Falcon 4 Tools]] 
 + 
 +**Falcon 4 Campaign Trigger Files** revisited, directly from Codec:
  
 Trigger files (.tri) Trigger files (.tri)
Line 168: Line 170:
 #CHANGE_RELATIONS [team] [with] [rel] #CHANGE_RELATIONS [team] [with] [rel]
 </code> </code>
 +
 +<rel> according to tacedit teams page relations\\
 +0 = none. Used or not?\\
 +1 = Allied\\
 +2 = Friendly\\
 +3 = Neutral\\
 +4 = Hostile\\
 +5 = At War
  
 Set the event number: Set the event number:
Line 208: Line 218:
 #SET_PAK_PRIORITY [team] [camp_id] [number] #SET_PAK_PRIORITY [team] [camp_id] [number]
 </code> </code>
 +
 +Few entries found in AF tri files, the effect these have are unknown at this time.
 +<code>
 +#PARENTRECALCDEPTH 4
 +#FLOT_SORTDISTANCE 20
 +#MINEVALUATEAIRBASEDISTANCE 20
 +</code>
 +
 +
 +====== Mission.dat ======
 +
 +You can use campaign specific mission.dat file selected with trigger file.
 +
 +The init section can now contain
 +<code>
 +#MISSION_DATFILE
 +</code>
 +to specify a campaign-specific mission.dat. If not specified, normal mission.dat is loaded.
 +
 +So for example if save2.tri contains 
 +
 +<code>
 +#TOTAL_EVENTS ...
 +...
 +...
 +#MISSION_DATFILE missionRF
 +...
 +...
 +#ENDINIT
 +</code>
 +(command must be between TOTAL_EVENTS and ENDINIT), then Falcon loads the mission data of
 +
 +<campaign_dir>\missionRF.dat
 +
 +When the other campaigns .tri files don't contain this line, then they default to the normal mission.dat.
 +
 +Note that the ".dat" is NOT to be specified in the trigger file, but the file itself must have this extension.
 +
 +Thus not only each theater but each campaign can have its own mission.dat file now.
 +
 +
 +====== Falcon4.aii ======
 +
 +Falcon4.aii is switched using
 +<code>
 +#FALCON4_AIIFILE
 +</code>
 +in .tri file.
 +
 +The default Falcon4.aii is loaded for all modes first to make sure we have valid values (TE uses some variables from there), and then if campaign, the specific one is loaded, or Falcon4.AII when no one is specified.
 +
falcon4/campaign/trigger.1184316221.txt.gz · Last modified: 2007/07/13 08:43 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.