Help needed with trigger files...
Moderators: Lone Wolf, Snake Man
-
- Recruit
- Posts: 68
- Joined: 2006-04-21 22:01:01
- Location: ireland
Help needed with trigger files...
As the title says,
The trigger files in our release of the ODS and other upcoming theaters are very incomplete and we need help from any gurus in falconworld that may know how they operate
As we know these .TRI files are what makes the falcon campaign so powerful as they control the turn of events under certain circumstances...
Would be great to have surrounding nations join in the foray at later stages in
campaign so as to have new eenemies to fly and fight against or new allies to join up with
Have searched the forums here and elsewhere but a guide as to what lines of code mean for each trigger and how to write them is really what im after
If any 1 can point me in the right direction or has infos on this please post here...
Cheers
Whacker
The trigger files in our release of the ODS and other upcoming theaters are very incomplete and we need help from any gurus in falconworld that may know how they operate
As we know these .TRI files are what makes the falcon campaign so powerful as they control the turn of events under certain circumstances...
Would be great to have surrounding nations join in the foray at later stages in
campaign so as to have new eenemies to fly and fight against or new allies to join up with
Have searched the forums here and elsewhere but a guide as to what lines of code mean for each trigger and how to write them is really what im after
If any 1 can point me in the right direction or has infos on this please post here...
Cheers
Whacker
-
- Commander-In-Chief
- Posts: 9354
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
The stuff is explained in our Campaign tutorial where we list good number of the commands.
Then there is quite long topic about it at Theater Trigger Question, additional stuff in Win / Triggers, then my Campaign trigger file help topic, finally 4 new campaign-specific variables topic.
I'm looking forward to enchance the campaign trigger tutorial, so anything your learn here I'd like to hear about it. Please post any questions and comments you have. Let's get the triggers sorted out (some more).
Then there is quite long topic about it at Theater Trigger Question, additional stuff in Win / Triggers, then my Campaign trigger file help topic, finally 4 new campaign-specific variables topic.
I'm looking forward to enchance the campaign trigger tutorial, so anything your learn here I'd like to hear about it. Please post any questions and comments you have. Let's get the triggers sorted out (some more).
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- Recruit
- Posts: 68
- Joined: 2006-04-21 22:01:01
- Location: ireland
-
- F4ITDG
- Posts: 131
- Joined: 2005-04-16 22:01:01
- Location: Israel
Now - as a start , take this Trigger file and just change the Objs Numbers for the key Objs you want to be capture , with their names according to your Theater .Peled wrote: // C1.1.1 ITO2 -IsraeliTheater Add-On
// Campaign 3: Six Days War 1967
// Campaign Designed by: Peled
// F4ITDG Projects
// initialize
#TOTAL_EVENTS 22
SET_EVENT 3#
#SET_TEMPO 255
#ENDINIT
// Saudi removed from this conflict
#IF_EVENT_PLAYED 9
#ELSE
#CHANGE_RELATIONS 7 0 1
#DO_EVENT 9
#ENDIF
#ENDIF
// Syria joins Egypt to start war effort
#IF_EVENT_PLAYED 1
#ELSE
#CHANGE_RELATIONS 5 6 1
#SHIFT_INITIATIVE 6 2 20
#PLAY_MOVIE 108
#DO_EVENT 1
#ENDIF
#ENDIF
// Jordan & Iraq join the war effort
#IF_EVENT_PLAYED 2
#ELSE
#CHANGE_RELATIONS 4 6 1
#CHANGE_RELATIONS 3 6 1
#SHIFT_INITIATIVE 6 2 20
#DO_EVENT 2
#ENDIF
#ENDIF
// Israeli's on Offensive
#IF_EVENT_PLAYED 3
#IF_ON_OFFENSIVE 2
#SHIFT_INITIATIVE 6 2 50
#PLAY_MOVIE 106
#DO_EVENT 3
#RESET_EVENT 4
#ENDIF
#ENDIF
// Israeli's on Defensive
#IF_EVENT_PLAYED 4
#IF_ON_OFFENSIVE 6
#SHIFT_INITIATIVE 2 6 50
#PLAY_MOVIE 107
#DO_EVENT 4
#RESET_EVENT 3
#ENDIF
#ENDIF
// Jerusalem being attacked by Arab forces
#IF_EVENT_PLAYED 5
#ELSE
#IF_CONTROLLED 6 O 74 75 76
#PLAY_MOVIE 102
#SET_PAK_PRIORITY 6 74 100
#SET_PAK_PRIORITY 2 74 100
#CHANGE_PRIORITIES 6 2
#CHANGE_PRIORITIES 2 1
#SET_TEMPO 255
#DO_EVENT 5
#ENDIF
#ENDIF
// Jerusalem falls/regained
#IF_EVENT_PLAYED 6
#IF_CONTROLLED 2 A 74 75 76 77 80
#SHIFT_INITIATIVE 6 2 50
#RESET_EVENT 5
#ENDIF
#ELSE
#IF_CONTROLLED 6 A 74 75 76 77 80
#PLAY_MOVIE 102
#DO_EVENT 6
#SHIFT_INITIATIVE 2 6 50
#ENDIF
#ENDIF
// Jenin being attacked by Israeli forces
#IF_EVENT_PLAYED 7
#ELSE
#IF_CONTROLLED 2 O 262 260 261
#PLAY_MOVIE 106
SET_PAK_PRIORITY 2 262 100#
SET_PAK_PRIORITY 6 262 100#
#CHANGE_PRIORITIES 6 1
#CHANGE_PRIORITIES 5 2
#SET_TEMPO 255
#DO_EVENT 7
#ENDIF
#ENDIF
// Jenin falls/regained
#IF_EVENT_PLAYED 8
#IF_CONTROLLED 6 A 262 260 261
#SHIFT_INITIATIVE 2 6 50
#RESET_EVENT 7
#ENDIF
#ELSE
#IF_CONTROLLED 2 A 262 260 261 257 258
#PLAY_MOVIE 106
#DO_EVENT 8
#SHIFT_INITIATIVE 6 2 50
#ENDIF
#ENDIF
// Arabs own Jerusalem
#IF_CONTROLLED 6 A 69 71 74
#PLAY_MOVIE 113
#DO_EVENT 10
#END_GAME 10
#ENDIF
//#IF_BORDOM_HOURS 420
//#PLAY_MOVIE 106
//#DO_EVENT 11
//#END_GAME 11
//#ENDIF
#IF_CAMPAIGN_DAY G 6
#PLAY_MOVIE 116
#DO_EVENT 12
#END_GAME 12
#ENDIF
// Israel own The Hermon ,Jenin,Jericho,Parts of Jerusalem and Tel-Phaher
#IF_CONTROLLED 2 A 1908 79 70 109 262 683 1980
#PLAY_MOVIE 116
#DO_EVENT 13
#END_GAME 13
#ENDIF
#ENDIF
#ENDSCRIPT
#ENDIF
#ENDIF
#ENDSCRIPT
You got there everything you need for a good & a smooth Campaign :
Teams Join status , Offensive , Defensive , Some Key Objs Capturing Scenaries and Win/lost for both Sides .....also a Support Teams (Join) event .
IF You take and look at the Korean Trigger event , you can find out that there are some similarity there .
Now listen Carefully : You can Edit your Trigger File any time you want during a Campaign Beta , BUT--One important Rule ! Once you make any EDIT to the Triger file , you must Copy the Txt , Then Delete everything there , save , then enter the file again , and Paste the last modification ! and save .
IF You do not following that rule , after each Edit of your Trigger File , all what you'll get will be a CTD ! Do not ask me why ? it is just related to the mystic way that Some of the Falcon4 Files are remembering in the Falcon4 Memory.....
EDIT : maybe SnakeMan could Add that Note to the PMC Tutorial , it caused lot of CTD's and took me a while to find that , now when Theaters Developing is On , it could save a lot of time for Triggers funs .
Last edited by Peled on 2006-12-27 11:13:17, edited 2 times in total.
F4ITDG-Israeli Theater Development Group (retired) .
-
- Newbie
- Posts: 9
- Joined: 2004-01-29 23:01:01
- Location: Madrid, Spain
Thanks Peled, that's a good note to have in mindNow listen Carefully : You can Edit your Trigger File any time you want during a Campaign Beta , BUT--One important Rule ! Once you make any EDIT to the Triger file , you must Copy the Txt , Then Delete everything there , save , then enter the file again , and Paste the last modification ! and save .
IF You do not following that rule , after each Edit of your Trigger File , all what you'll get will be a CTD ! Do not ask me why ? it is just related to the mystic way that Some of the Falcon4 Files are remembering in the Falcon4 Memory.....
-
- Recruit
- Posts: 68
- Joined: 2006-04-21 22:01:01
- Location: ireland
Peled,
Thanks a million for the heads up...
These dam Trigger files have been of major concern to me...
At least now i have some idea as to what im looking at and can try to make up some sort of balanced cams for our ODS release
Will try some of this stuff today and hopefully with the rest of our team we will be able to knock out some really explosive scenarios....
Thx again and say hello to the Fred and the FF guys for me...
Happy new year
Thanks a million for the heads up...
These dam Trigger files have been of major concern to me...
At least now i have some idea as to what im looking at and can try to make up some sort of balanced cams for our ODS release
Will try some of this stuff today and hopefully with the rest of our team we will be able to knock out some really explosive scenarios....
Thx again and say hello to the Fred and the FF guys for me...
Happy new year
-
- F4ITDG
- Posts: 131
- Joined: 2005-04-16 22:01:01
- Location: Israel
Ofcourse get in mind that you'll need also change the Teams Numbers according to your Theater .......yeh ?Peled wrote:
// Saudi removed from this conflict
#IF_EVENT_PLAYED 9
#ELSE
#CHANGE_RELATIONS 7 0 1
#DO_EVENT 9
#ENDIF
#ENDIF
// Syria joins Egypt to start war effort
#IF_EVENT_PLAYED 1
#ELSE
#CHANGE_RELATIONS 5 6 1
#SHIFT_INITIATIVE 6 2 20
#PLAY_MOVIE 108
#DO_EVENT 1
#ENDIF
#ENDIF
// Jordan & Iraq join the war effort
#IF_EVENT_PLAYED 2
#ELSE
#CHANGE_RELATIONS 4 6 1
#CHANGE_RELATIONS 3 6 1
#SHIFT_INITIATIVE 6 2 20
#DO_EVENT 2
#ENDIF
#ENDIF
for Israeli Theater Jordan is Team 4 & Iraq is Team 3...etc.
anyway , ask anything if you got problems and i hope to point you to the right ....
F4ITDG-Israeli Theater Development Group (retired) .
-
- Commander-In-Chief
- Posts: 9354
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
Sure. I think a small overhaul of the trigger editing tutorial with some examples would be in order.Peled wrote:maybe SnakeMan could Add that Note to the PMC Tutorial , it caused lot of CTD's and took me a while to find that , now when Theaters Developing is On , it could save a lot of time for Triggers funs .
What kind of examples should we add there?
PMC Tactical Forum New User Registration please read new info here.
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
PMC since 1984
Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel
PMC Tactical forum Advanced Search is power.
"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."
-
- F4ITDG
- Posts: 131
- Joined: 2005-04-16 22:01:01
- Location: Israel
Who is online
Users browsing this forum: ClaudeBot [Bot] and 0 guests