Trigger File/Campaign Logbook Wins
-
https://www.benchmarksims.org/forum/showthread.php?40173-Campaign-victories
Here is the link to the post that TigerShark posted about changing the event numbers in the trigger files in order for your logbook to register campaign wins. Me and Cantoo compared the trigger files from 4.33 to 4.34 and the event numbers are off by 1 up. I ran a Tiger Spirit campaign close to the end and the clock stopped and my logbook registered a win and gave me a medal.
Here is an example of my Rolling Fire trigger file that I changed:
// Event #14
// Bad guys win
// Basically, did Seoul and Pusan fall
//
#IF_CONTROLLED 6 A 228 417
#PLAY_MOVIE 113
#DO_EVENT 14
#END_GAME 14
#ENDIF
//
// Event #15
// Stalemate
//
#IF_BORDOM_HOURS 480
#PLAY_MOVIE 114
#DO_EVENT 15
#END_GAME 15
#ENDIF
//
// Event #16
// Timeout
//
#IF_CAMPAIGN_DAY G 30
#PLAY_MOVIE 115
#DO_EVENT 16
#END_GAME 16
#ENDIF
//
// Event #17
// We win - hu-rah!
// Basically - We own Wonsan and P’yongyang
//
#IF_CONTROLLED 2 A 680 404
#PLAY_MOVIE 116
#DO_EVENT 17
#END_GAME 17
#ENDIF
// End
#ENDSCRIPTEvent 14 was 13 and then I made the changes to the Event # and the DO_EVENT and the END_GAME number, so if you change them to 1 number up, your logbooks will register campaign wins if you 1 up the lines that correspond to the event number listed. It works, no need for a logbook editor or anything like that.
Thank You TigerShark and JOKER_duke and Thank You Cantoo for helping me work on it!!!
-
Yes I will confirm the same result as reported by Jkot254. It seems there should be no #13 trigger event in the notepad file at all, it should skip from #12 to #14. I save all of my mission files from each individual mission of every campaign I fully manage. I uploaded the last mission from a Tiger Spirit campaign that originally ended as a win but registered as a stalemate in my logbook. With the trigger file edited I ran the last mission again from that campaign from the UI and it ended just as it should! A win in the logbook.
I will try it on the other KTO campaigns when time allows. I have a BEAR TRAP campaign the just would not end even with the victory conditions achieved. I will now test that next and see if I can get that to actually end and show a victory.
This has been an issue for quite a while now with campaigns not ending properly.
Thanks to JOKER_duke and TigerShark for pointing us in the right direction.
EDIT: I just tried this on the Bear Trap campaign and as before the clock would not stop when ground forces captured all of the objectives required for a win. So there is obviously more going on here with this campaign than with the Tiger Spirit campaign. The trigger file must not be recognizing the objectives or the incorrect objectives have been inputted.
-
That will be true in all campaigns, in all theaters. Check Joseon, Polar Vortex, Lorik’s Balkans.
-
That will be true in all campaigns, in all theaters. Check Joseon, Polar Vortex, Lorik’s Balkans.
When you say this do you mean that they wouldn’t end and just keep going though the right objectives get captured?? Or that editing the trigger files in all campaigns is requred?
I believe the Balkans trigger files are set right to trigger wins and no stalemates, but haven’t looked. I just tested vanilla Korea theaters.
-
14 to 17 is the way to go everywhere, as far as I know.
-
This is great news. Thanks to everyone for testing and confirming this.
Would it be possible to get an upload of the fixed TRI files? (I have applied the changes already to my vanilla RF and TS campaigns, but it would be better to be able to just replace existing files)
-
How do I get to the trigger files? Where are they located? C:>BMS> Data>?
-
How do I get to the trigger files? Where are they located? C:>BMS> Data>?
They are in “C:\Falcon BMS 4.34\data\campaign” for the stock Korea theater, and inside campaign folder for the other installed theaters as well.
-
They are in “C:\Falcon BMS 4.34\data\campaign” for the stock Korea theater, and inside campaign folder for the other installed theaters as well.
I see “Save0.tri” through “Save5.tri” in the Campaign folders, do all require editing for each campaign? Also, do you need to edit the event list, i.e below change the “DO_EVENT” and END_GAME both to 17? I assume the movie in “PLAY_MOVIE 116” would stay untouched as it is a victory movie?
// Event #16
// We win - hu-rah!
// Basically - We own Seoul
//
#IF_CONTROLLED 2 A 228
#PLAY_MOVIE 116
#DO_EVENT 16
#END_GAME 16
#ENDIF
// End
#ENDSCRIPTModified would be:
// Event #17
// We win - hu-rah!
// Basically - We own Seoul
//
#IF_CONTROLLED 2 A 228
#PLAY_MOVIE 116
#DO_EVENT 17
#END_GAME 17
#ENDIF
// End
#ENDSCRIPT -
I see “Save0.tri” through “Save5.tri” in the Campaign folders, do all require editing for each campaign?
Yes you have to modify all of them to be able to win the corresponding campaign
-
This is great news. Thanks to everyone for testing and confirming this.
Would it be possible to get an upload of the fixed TRI files? (I have applied the changes already to my vanilla RF and TS campaigns, but it would be better to be able to just replace existing files)
I could share them, but i don’t know if i need permission from the original creator of these files
-
Yes you have to modify all of them to be able to win the corresponding campaign
Thanks Tiger, please read my edit above while you posted…
-
As I mentioned in my 1st post here, this did not fix the Bear Trap campaign from the issue that the clock will not stop when all victory conditions/objectives are met. There is more going on with this campaign than the event #s being out of order.
To access the .tri files you’ll find them here.
Falcon BMS 4.34>Data>Campaign>Save0.tri through Save5.tri
You open the files with Notepad. It is very easy to edit this type of file.
Save0.tri is for the Tiger Spirit campaign. Note, I tested this and it did fix it.
Save1.tri is for the Rolling Fire campaign.
Save2.tri is for the Iron Fortress campaign.
Save3.tri is for the Double Dragon campaign.
Save4.tri is for the Bear Trap campaign. NOTE, changing the event trigger number order did not fix the issue of the campaign not ending when the objectives were achieved.
Save5.tri is for the Mantis at Dawn campaign.
In these files there should be no event numbered 13.
Events 13 through 16 need to be changed to be 14 through 17, if you don not fix all of these losses or stalemates will not be recorded correctly. Not that anyone wants this type of outcome!
Jkot254’s 1st post is what your edited files should look exactly like after editing for Save1.tri, Rolling Fire.
Here is what Save0.tri, Tiger Spirit should look like after editing. Event 12 does not need editing, I just included it to show the skip from event 12 directly to event 14. The Play_Movie lines require NO editing.
// Event #12
// Russia joins the war
//
#IF_EVENT_PLAYED 12
#ELSE
#IF_CONTROLLED 2 A 399
#PLAY_MOVIE 109
#CHANGE_RELATIONS 4 6 1
#DO_EVENT 12
#ENDIF
#ELSE
#IF_CAMPAIGN_DAY G 3
#PLAY_MOVIE 109
#CHANGE_RELATIONS 4 6 1
#DO_EVENT 12
#ENDIF
#ENDIF
//
// Event #14
// Bad guys win
// Basically, did P’yongyang and Wonsan fall or does
// DPRK have either city and a 1:1 ratio of forces
//
#IF_CONTROLLED 6 A 260 404
#PLAY_MOVIE 113
#DO_EVENT 14
#END_GAME 14
#ELSE
#IF_CONTROLLED 6 O 260 404
#IF_FORCE_RATIO G 2 6 L 10
#PLAY_MOVIE 113
#DO_EVENT 14
#END_GAME 14
#ENDIF
#ENDIF
#ENDIF
//
// Event #15
// Stalemate
//
#IF_BORDOM_HOURS 96
#PLAY_MOVIE 114
#DO_EVENT 15
#END_GAME 15
#ENDIF
//
// Event #16
// Timeout
//
#IF_CAMPAIGN_DAY G 5
#PLAY_MOVIE 115
#DO_EVENT 16
#END_GAME 16
#ENDIF
//
// Event #17
// (1) We win - hu-rah! Basically - We own Wonsan and P’yongyang
// (1) Along with Onch’ang-ni, Hamju, Huich’on, Kaech’on, Taehung
//
// (2) Alternative win - hu-rah!
// (2) If allies control both Wonsan and P’yongyang
// (2) If allies control any of Onch’ang-ni, Hamju, Huicho’on, Kaech’on, or Taehung
// (2) If DPRK Ground Forces are less than 0.1 of Allied Ground Forces
//
// (3) Alternative win - hu-rah!
// (3) If allies control either of P’yongyang or Wonsan
// (3) If DPRK Ground forces are less than 0.1 of Allied Ground Forces
// (3) Basically attritted DPRK while retaining P’yongyang or Wonsan
//
#IF_CONTROLLED 2 A 404 260 1792 1013 358 454 1698
#PLAY_MOVIE 116
#DO_EVENT 17
#END_GAME 17
#ELSE
#IF_CONTROLLED 2 A 260 404
#IF_CONTROLLED 2 O 1792 1013 358 454 1698
#IF_FORCE_RATIO G 6 2 L 2
#PLAY_MOVIE 116
#DO_EVENT 17
#END_GAME 17
#ENDIF
#ENDIF
#ELSE
#IF_CONTROLLED 2 O 260 404
#IF_FORCE_RATIO G 6 2 L 1
#PLAY_MOVIE 116
#DO_EVENT 17
#END_GAME 17
#ENDIF
#ENDIF
#ENDIF
#ENDIF
// End
#ENDSCRIPTHere is an invite to the 416th Falconeers, 801st TFW
I have my edited files located here, you must be logged on to Discord to access.
https://discordapp.com/channels/651623032586108939/755868677177344202/755869151784075334 -
I could share them, but i don’t know if i need permission from the original creator of these files
No one would even acknowledge this was an issue, so it seems to me no one claims this, as the creator would have to admit this was a problem. This issue was first reported back in June of 2019, and went unanswered since then and was brought up one way or another many times. All I seemed to get was unhelpful comments when I dared post on this issue. I did make my opinion fully known on this many times.
I will say it again, THANKS to Joker_duke and you TigerShark for getting this rolling as an issue that could be solved.
-
We’ll take a look asap. If something need to be fixed it is more the code than the trigger files themselves
-
EVENT#14 to EVENT #17 define the outcome of the campaign and ensure that wins, losses and stalemate
results are recorded correctly in the pilot’s logbook if the campaign criteria are met. They work like
this:
EVENT #14 = Enemy Forces Win Criteria
EVENT #15 = Boredom Wins Criteria (Inactivity criteria, if specified. Triggered if nothing’s happening
in the campaign)
EVENT #16 = Stalemate Criteria (nobody wins)
EVENT #17 = You Win CriteriaBTW: If you play red side(OPFOR) and win the campaign, it will always show “losses” in your logbook.
In other word , Logbook in the BMS is always ineffective to the red side. Because red sides(team num:5 and 6 ) are always set to Enemy Forces
It’s unfair for those guys who play red side in the TVT campaign.:D
-
EVENT#14 to EVENT #17 define the outcome of the campaign and ensure that wins, losses and stalemate
results are recorded correctly in the pilot’s logbook if the campaign criteria are met. They work like
this:
EVENT #14 = Enemy Forces Win Criteria
EVENT #15 = Boredom Wins Criteria (Inactivity criteria, if specified. Triggered if nothing’s happening
in the campaign)
EVENT #16 = Stalemate Criteria (nobody wins)
EVENT #17 = You Win CriteriaBTW: If you play red side(OPFOR) and win the campaign, it will always show “losses” in your logbook.
In other word , Logbook in the BMS is always ineffective to the red side. Because red sides(team num:5 and 6 ) are always set to Enemy Forces
It’s unfair for those guys who play red side in the TVT campaign.:D
I’ve confirmed that this works with Iron Fortress as well.
-
Thanks guys for figuring this out. Just finished a campaign in KTO and met all objectives. Stalemate. Update the .TRI file and rolled back campaign to a previous save 6 hrs before the end and let it run. Clock stops and logged first win!
-
Thanks guys for figuring this out. Just finished a campaign in KTO and met all objectives. Stalemate. Update the .TRI file and rolled back campaign to a previous save 6 hrs before the end and let it run. Clock stops and logged first win!
Congrats on your 1st campaign win in your logbook. Ranks above captain are only allowed if you have a recorded campaign win in your logbook. Maybe a promotion will be coming your way soon too.
-
Thanks! just got 1LT during this campaign though so will probably be a little while for me to get above captain! But good to know that ill be able to do that once I have the hours.