Double dragon victory conditions
-
I checked the saved3.tri file. This will show over EVENTS tab in Mission Command. Althought I have achieved some #Events listed there, the MC shows that none of them has been activated. So, I guess, there is a problem with the program reading the file or with the file itself. I don’t know. But it means the win parameters within the TRI file will not be read and the victory never be achieved.
I am too noob to even try to make any assumption, so I am leaving this to the more advanced guys.
-
Sounds very similar to the Bear Trap campaign issue of all victory conditions met but campaign will not end. Good luck on getting help with campaign issues as my experience has shown me you will not get any form of answer to solve this issue or any other issues related to campaign problems from a tech support specialist.
I will use these threads as an example as my prediction of the outcome I suggest.
https://www.benchmarksims.org/forum/showthread.php?36487-Bear-trap-completion
https://www.benchmarksims.org/forum/showthread.php?39250-Campaign-stopped-in-its-tracks
https://www.benchmarksims.org/forum/showthread.php?36321-Logbook-Issue
https://www.benchmarksims.org/forum/showthread.php?39378-Won-campaign-is-registered-as-Stalemate
-
yep, I see your point. Maybe in 3 or 4 weeks… Who knows
-
Wow, legal actions are to be taken, all needed evidences are here.
-
Beginning to sound like a “you are inferior, and will never defeat us” PsyOp agenda to me . . . .
-
Wow, legal actions are to be taken, all needed evidences are here.
Just to provide one more: I just finished Rolling Fire and the #16 event has been triggered (as showed below). I got the DPRK surrender NEWS but just a tie in my logbook. Of course the fun is not the logbook but the campaign itself. However, would be nice to have the medals and wins marked in the logbook without the help of logbook manager, as it is meant to be.
-
I think the event code is not correct, there is a #ENDIF too many in the beginning and one missing at the end
#IF_EVENT_PLAYED 16
#ELSE
#IF_CONTROLLED 6 A 260 404 694 428 492 1074
#PLAY_MOVIE 124
#PLAY_MOVIE 125
#DO_EVENT 16
#END_GAME 16
#ENDIF
#ENDIF
#ELSE
#IF_BORDOM_HOURS 240
#IF_FORCE_RATIO G 5 6 L 100 (My guess: Ground forces from team 5 (China) by 6 (Combined Nato) less than 100/10)
#IF_CONTROLLED 2 A 260 404 694 428
#CHANGE_RELATIONS 6 2 1
#PLAY_MOVIE 120
#PLAY_MOVIE 123
#DO_EVENT 16
#END_GAME 16
#ENDIF
#ENDIF
#ENDIF
// End
#ENDSCRIPTThis will make #IF_CONTROLLED 6 A 260 404 694 428 492 1074 the only winning condition
To satisfy the condition set for the ratio you don’t need to destroy any vehicles actually, L 100 means RATIO less than 100. Example team 5 has 100 vehicles and team 6 has 100 vehicles, that will result in a ratio of 10 ( (100*10)/100 = 10 10<100 TRUE)PS if you want to have the 1/10th condition change the L with G #IF_FORCE_RATIO G 5 6 G 100
PPS I correct myself, there are no #ENDIF too many, just in the wrong position.
-
This #ENDIF issue would explain why none of the events has been triggered when I checked it in Mission Command. :twitch:
-
#IF_BORDOM_HOURS 240 may be to high, forgot to mention it earlier. I would change it with #IF_CAMPAIGN_DAY G 9
-
I think the event code is not correct, there is a #ENDIF too many in the beginning and one missing at the end
#IF_EVENT_PLAYED 16
#ELSE
#IF_CONTROLLED 6 A 260 404 694 428 492 1074
#PLAY_MOVIE 124
#PLAY_MOVIE 125
#DO_EVENT 16
#END_GAME 16
#ENDIF
#ENDIF
#ELSE
#IF_BORDOM_HOURS 240
#IF_FORCE_RATIO G 5 6 L 100 (My guess: Ground forces from team 5 (China) by 6 (Combined Nato) less than 100/10)
#IF_CONTROLLED 2 A 260 404 694 428
#CHANGE_RELATIONS 6 2 1
#PLAY_MOVIE 120
#PLAY_MOVIE 123
#DO_EVENT 16
#END_GAME 16
#ENDIF
#ENDIF
#ENDIF
// End
#ENDSCRIPTThis will make #IF_CONTROLLED 6 A 260 404 694 428 492 1074 the only winning condition
To satisfy the condition set for the ratio you don’t need to destroy any vehicles actually, L 100 means RATIO less than 100. Example team 5 has 100 vehicles and team 6 has 100 vehicles, that will result in a ratio of 10 ( (100*10)/100 = 10 10<100 TRUE)PS if you want to have the 1/10th condition change the L with G #IF_FORCE_RATIO G 5 6 G 100
Tried your edits using my day 10 ten save, did nothing. Please offer a complete code structure to test. Thnx!
-
Try this, there were 2 #ENDIF in the wrong position
#IF_EVENT_PLAYED 16
#ELSE
#IF_CONTROLLED 6 A 260 404 694 428 492 1074
#PLAY_MOVIE 124
#PLAY_MOVIE 125
#DO_EVENT 16
#END_GAME 16
#ELSE
#IF_CAMPAIGN_DAY G 9
#IF_FORCE_RATIO G 5 6 L 100
#IF_CONTROLLED 2 A 260 404 694 428
#CHANGE_RELATIONS 6 2 1
#PLAY_MOVIE 120
#PLAY_MOVIE 123
#DO_EVENT 16
#END_GAME 16
#ENDIF
#ENDIF
#ENDIF
#ENDIF
#ENDIF -
Try this, there were 2 #ENDIF in the wrong position
#IF_EVENT_PLAYED 16
#ELSE
#IF_CONTROLLED 6 A 260 404 694 428 492 1074
#PLAY_MOVIE 124
#PLAY_MOVIE 125
#DO_EVENT 16
#END_GAME 16
#ELSE
#IF_CAMPAIGN_DAY G 9
#IF_FORCE_RATIO G 5 6 L 100
#IF_CONTROLLED 2 A 260 404 694 428
#CHANGE_RELATIONS 6 2 1
#PLAY_MOVIE 120
#PLAY_MOVIE 123
#DO_EVENT 16
#END_GAME 16
#ENDIF
#ENDIF
#ENDIF
#ENDIF
#ENDIFNo joy I wonder, does editing the .tri file affect in progress save files?
-
Send me the save file
-
Send me the save file
This is in day 10. I also have one in day 5 with the proper objectives captured.
-
@Master:
No joy I wonder, does editing the .tri file affect in progress save files?
Ok. I run some tests here. Saved files didn’t work.
But I started a new double dragon campaing and the #2 Event has been triggered. So I guess you found the problem luke777. -
Thank you luke777, sasah320 and Master Yoda for your efforts trying to solve this ongoing issue.
-
The way I see it is the 2 conditions #IF_CONTROLLED 6 A 260 404 694 428 492 1074 and #IF_CONTROLLED 2 A 260 404 694 428 interfere with each other if some objectives belong to one team and the rest to the other team. The 2 teams are allied but separate and there will be no objective ownership transfer between the two teams. All this will prevent the event from being executed. Possible solution would be to base the conditions on team 5 only.
-
Try this, there were 2 #ENDIF in the wrong position
#IF_EVENT_PLAYED 16
#ELSE
#IF_CONTROLLED 6 A 260 404 694 428 492 1074
#PLAY_MOVIE 124
#PLAY_MOVIE 125
#DO_EVENT 16
#END_GAME 16
#ELSE
#IF_CAMPAIGN_DAY G 9
#IF_FORCE_RATIO G 5 6 L 100
#IF_CONTROLLED 2 A 260 404 694 428
#CHANGE_RELATIONS 6 2 1
#PLAY_MOVIE 120
#PLAY_MOVIE 123
#DO_EVENT 16
#END_GAME 16
#ENDIF
#ENDIF
#ENDIF
#ENDIF
#ENDIFThis is an interesting look behind the scenes of campaign outcomes. For me, what makes this hard to read as pieces of logic is the role of the first two lines. In contrast, the later condition in line 3 IF_CONTROLLED … then “play movies, do/raise an event, end the game” is quite clear, it can be read and understood/followed. But what is the logic of the two first lines, especially the ELSE immediately following the first line?
-
Those 2 lines can be removed together with an #endif at the bottom, they have no reason to be there
-
I see. Also, if this is from the \Data\Campaign\save3.tri file, the TOTAL_EVENTS count is set at 22, that should only be 16 since there are no events higher than that, right? Dunno if that makes any difference, but seems inconsistent.