Nordic Theater 4.37
-
@Atze-0 said in Nordic Theater 4.37:
or is this different in Nordic?
I have no clue, but it looks like the TRI files in Nordic only is half done, all of them.
I tried to put the sentences from #DO_EVENT 17 in the Victory script
in the Save0.TRI file for the first Champaign, the Russian Bear, and finally got a medal, and a Champaign win. Tried it once more, and got a star on my medal. But also loose was updated with one each time i got a Victory, and also a new movie showing Russian progress was shown after the Victory movie.// BLUE Wins - BODEN and ROVANIEMI captured by the Blue side
//#IF_EVENT_PLAYED 1
//#ELSE
#IF_CONTROLLED 2 A 148
#PLAY_MOVIE 116
#DO_EVENT 1
#END_GAME 1
#DO_EVENT 17
#END_GAME 17
#DO_MONOLOG BLUE Forces win
#PLAY_MOVIE 107
#ENDIF
#ENDIF
//#ENDIF -
@Killroy said in Nordic Theater 4.37:
@Atze-0 said in Nordic Theater 4.37:
or is this different in Nordic?
I have no clue, but it looks like the TRI files in Nordic only is half done, all of them.
I tried to put the sentences from #DO_EVENT 17 in the Victory script
in the Save0.TRI file for the first Champaign, the Russian Bear, and finally got a medal, and a Champaign win. Tried it once more, and got a star on my medal. But also loose was updated with one each time i got a Victory, and also a new movie showing Russian progress was shown after the Victory movie.// BLUE Wins - BODEN and ROVANIEMI captured by the Blue side
//#IF_EVENT_PLAYED 1
//#ELSE
#IF_CONTROLLED 2 A 148
#PLAY_MOVIE 116
#DO_EVENT 1
#END_GAME 1
#DO_EVENT 17
#END_GAME 17
#DO_MONOLOG BLUE Forces win
#PLAY_MOVIE 107
#ENDIF
#ENDIF
//#ENDIFOK, down to the rabbit hole.
First, I would delete the two lines with EVENT 1.
I see, you have simplified just taking objective 148.
All lines beginning with // are commented out and so inactive.
There is just one opening IF, but two ENDIFs - thats not good.
The russian progress movie should be movie 107. I would comment it out.I will also look into this, because I’m running the campaign, too.
At a glance, I see two problems:
IF - ENDIF
and DO_EVENT 1 and END_GAME 1And of course, the entire tri has to be overhauled, i.e. when russia wins, it is DO_EVENT and END_GAME 14.
We should compare with the Korean Theater (not the numbers, but the overall structure). -
I tried to tidy up the Save0.tri a bit.
Though, I’m no campaign builder and do not know all the exact events and movies available in Nordic.
i.e. I revived Event 7, but it was commented out, so there may be a problem with it. Same with event 8.Instead of “IF_EVENT_PLAYED - nothing - ELSE - conditions” to prevent firing an event twice, I used IF_EVENT_NOT_PLAYED
Hope I have gotten all the IF-ENDIF statements right.
There are no events for boredom and stalemate (15 and 16):This was outdated. See new version below.
I’m not sure about:
SET_TEMPO: is 255 intended to pause the game to play a movie? But why 225 or 95 at other occurrencies?
#IF_RANDOM_CHANCE 90: at the conditional force ratio above this event fires with
90%(or rather 90 of 255 = 35.3 percent?) probability. Didn’t find it in Korea. Why IF when randomizing? Also, this makes no sense here for an overall intended event 6 to resupply both sides. -
Warning, my solution for Save0.tri is still flawed. Especially Movie 107 (Russia advances) plays in several events. I will have to test this further, but for first, events 7 and 8 are not needed. 7 even has a wrong description, since it adresses team 6 (Russia).
I will have a look onto the available movies. -
OK, new try
Here my new Save0.tri:
// This was outdated
- corrected comments about win/loose conditions
- movie 107 (Russia advances) just plays once when BODEN is owned by Russia and Event 3 not triggered before
- movie 106 (NATO advances) can play twice: first when BODEN is taken, second when ROVANIEMI is taken (only when the events were not yet triggered)
- changed Event 7 to team 2 (NATO) to suit the description
- when both sides are resupplied (Event 6), the movie didn’t fit (looks like middle east, no resupply as content), so I just added a monologue instead of the video
- didn’t change anything other (i.e. leaving change to PAK priorities as it was)
-
@Atze-0 Very good, I will give give it a try!
-
Well done fixing it. Now I see how the tri files work so can fix up/mod the bs ones that don’t work.
-
@Atze-0 Progress can be reported !
No i can win the Campaign and only the Campaign Win and medal star is achieved in the log book. Also the right Victory movie is played.A couple of days out in the Campaign this movie repeats (Russians are retreating) every 5 minutes and once after the Victory movie is played and clock has stopped.
-
@Killroy
OK, will test this with a fresh campaign. In MC there is a tab events where you can look if an event has already been fired.
The statement IF_EVENT_NOT_PLAYED should prevent multiple triggering of events 5 and 7 (because movie 106 plays in both). -
D’OH!!!
That was one of the worst errors I made in my life as a programmer, at least that I didn’t see it!
Of course, #IF_EVENT_NOT_PLAYED (wrong) is not the same as #IF_NOT_EVENT_PLAYED (correct), to the campaign engine it means… NOTHING!
And so even triggered events played over and over in a loop.
This is now corrected, I have updated the code above. -
Thanks to everyone working with this theater. Wonderfull
-
BTW: Rytinki taken!
Hint for beginners:
1st take out the SA-10 on the baltic east coast with a package containing many SEAD flights (with many ESCORTs).
2nd take out Raahe airbase with a huge package and JASSM (extremely many Su-27 and MiG-29 there).
3rd concentrate on the countless stacked tank columns at Boden -
And Nordic Win Extreme:
// BLUE Wins - Basically, we own the map!
#IF_CONTROLLED 2 A 148 187 129 312 269 1431 1385 1342Also Murmansk is taken (not on the screenshot).
-
@Atze-0 Great job on this. If you want to share the files, we’ll get them into the Mafia Files and out to the Membership
-
@drtbkj said in Nordic Theater 4.37:
@Atze-0 Great job on this. If you want to share the files, we’ll get them into the Mafia Files and out to the Membership
Of course it can be shared. But for first, I just overhauled Save0.tri
The version quoted above is the final one. -
I found another small thing: Boden is not red from the beginning but is captured within the first minute.
So that not the wrong movie plays at the beginning (russian retreat), I built in a failsave in event 7 (only play if event 3 has already been triggered):// This marks Combined forces as initially on the offensive #TOTAL_EVENTS 22 #SET_TEMPO 225 #SHIFT_INITIATIVE 6 2 50 #ENDINIT // BLUE Wins - ROVANIEMY, RYTINKI and KAMILARVI captured by the Blue side #IF_CONTROLLED 2 A 148 187 129 #PLAY_MOVIE 116 #DO_EVENT 17 #END_GAME 17 #ENDIF // RUSSIA Wins - BODEN, ROVANIEMY, MALMBERGET and KESATUPIA captured by Russia #IF_CONTROLLED 6 A 967 148 873 36 #PLAY_MOVIE 113 #DO_EVENT 14 #END_GAME 14 #ENDIF // Event #3 // BODEN captured by RED side, shift priority to MALMBERGET and KESATUPIA #IF_NOT_EVENT_PLAYED 3 #IF_CONTROLLED 6 A 967 #SET_PAK_PRIORITY 6 967 10 #SET_PAK_PRIORITY 6 873 100 #SET_PAK_PRIORITY 6 36 100 #SHIFT_INITIATIVE 6 2 50 #SET_TEMPO 225 #PLAY_MOVIE 107 #DO_EVENT 3 #ENDIF #ENDIF // Event #5 // ROVANIEMI captured by Blue side, shift priority to BODEN #IF_NOT_EVENT_PLAYED 5 #IF_CONTROLLED 2 A 148 #SET_PAK_PRIORITY 2 967 100 #SET_PAK_PRIORITY 6 967 80 #SET_PAK_PRIORITY 2 148 80 #SET_PAK_PRIORITY 6 148 100 #SHIFT_INITIATIVE 6 2 50 #SET_TEMPO 95 #PLAY_MOVIE 106 #DO_EVENT 5 #ENDIF #ENDIF // Event #6 resupplies for RUSSIA and NATO #IF_NOT_EVENT_PLAYED 6 #IF_FORCE_RATIO G 6 2 L 3 #IF_RANDOM_CHANCE 90 #PLAY_MOVIE 105 #DO_MONOLOG NATO and Russia receive resupplies #SET_MINIMUM_SUPPLIES 6 2000 2000 600 #SET_MINIMUM_SUPPLIES 2 2000 2000 600 #ENDIF #DO_EVENT 6 #ENDIF #ENDIF // Event #7 // BODEN recaptured by NATO forces #IF_EVENT_PLAYED 3 #IF_NOT_EVENT_PLAYED 7 #IF_CONTROLLED 2 A 967 #PLAY_MOVIE 106 #DO_EVENT 7 #ENDIF #ENDIF #ENDIF // Event #8 // HAPARANDA owned by RUSSIAn forces #IF_NOT_EVENT_PLAYED 8 #IF_CONTROLLED 6 A 965 #PLAY_MOVIE 107 #DO_EVENT 8 #ENDIF #ENDIF #ENDSCRIPT
Changes or conditions when which movie plays:
-
movie russian offensive plays at the beginning when Boden is captured by RED (event 3). I deleted Malmberget from here, didn’t make sense.
-
movie russian retreat plays when Boden is recaptured by BLUE
-
movie russian offensive also plays when HAPARANDA is captured by RED (north coast Baltic Sea)
-
movie russian retreat also plays when ROVANIEMI is captured by BLUE
-
let movie 105 (both sides resupplied) back in
-
adjusted PAK Priorities in event 3 to better suit description
-
-
Good job, I will try it !