User Tools

Site Tools


falcon4:campaign:triggertime

Different Start Time

Different start time of war by using triggers by Snake Man

I wanted to play around with campaign starting time and behaviour so this is what I did.

Started Tacedit, loaded save0.cam my historical ODS 1991 campaign. Selected Campaign → Dates, edited as following:

Cur Time 0:20:30:00.0000, Star Time 0:20:30:00.0000

Then in Teams → Relations, changed team 2 and team 6 to Hostile status.

Then I went to the campaign\DesertStorm1 directory and edited save0.tri file to the following:

//
// OPERATION DESERT STORM historical 1991 campaign
//

//
// initialize
//
#TOTAL_EVENTS 2
#SET_TEMPO 150
#ENDINIT


// event 1?
#IF_EVENT_PLAYED 1
#ELSE
#IF_CAMPAIGN_DAY G 1
#SET_TEMPO 255
#CHANGE_RELATIONS 2 6 5
#PLAY_MOVIE 108
#DO_EVENT 1
#ENDIF
#ENDIF


// 
// US/Coalition controls KUWAIT
//
#IF_CONTROLLED 2 O 3083
#PLAY_MOVIE 116
#DO_EVENT 2
#END_GAME 2
#ENDIF
// End
#ENDSCRIPT

Now the results are that campaign will start at 2030hrs when BARCAPS, Tankers, Airlifts and AWACS get scheduled but no offensive action is taken towards team 6. We build good backbone for war, then at midnight when clock strucks 0000hrs the war starts and campaign engine begins to schedule offensive flights against team 6. The currenly airborne flights will engage the enemies.

Sounds cool so far… Dunno how it really works eventually, but anyways thought I post this tip.

falcon4/campaign/triggertime.txt · Last modified: 2007-07-13 08:53 (external edit)