Solved Double Dragon Win Conditions
-
On day 6 of DD campaign and we have successfully completed all goals from the BMS manual for a United Korean Peninsula win and we still haven’t gotten the win.
PRC only has 92 ground vehicles left, all ships have been sunk and only 24 airframes left.
United forces have taken KALMA, P’YONGYANG, KOKSAN AND CHANGYON.
US and ROK force outnumber the PRC forces 20 - 1 in all areas in INTEL except airbases and supply.
Russia has not entered the war.
Still running 4.36.3My questions are:
Do we need to deplete supply down to 10% of the US and the ROK?
If so how do I do that?We have already struck all factories and warehouses controlled by PRC forces.
Any help would be greatly appreciated as this is a Wing Campaign that we have been flying for almost a year and I want to get everyone involved the campaign win.
Thank you
-
I think this is too heavy and not utilizing the most of the trigger capacity:
#IF_NOT_EVENT_PLAYED 17 #IF_CONTROLLED 6 AND 260 404 694 428 492 1074 #PLAY_MOVIE 124 #PLAY_MOVIE 125 #CHANGE_RELATIONS 6 2 3 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG DPRK wins independently -> END GAME #ELSE #IF_CAMPAIGN_DAY < 10 #IF_FORCE_RATIO GND 5 6 <= 100 #IF_NOT_CONTROLLED 5 OR 260 404 694 428 #PLAY_MOVIE 120 #PLAY_MOVIE 123 #CHANGE_RELATIONS 6 2 1 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG Combined NATO and DPRK forces win -> END GAME #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF
-
@brddog006 said in Double Dragon Win Conditions:
US and ROK force outnumber the PRC forces 20 - 1 in all areas in INTEL except airbases and supply.
Always a good strategy to destroy all airbases, and occupy them with at least one Battalion while you drive the enemy back across the border. With only 92 ground vehicles to stop you it should be over in 24 hours.
-
I have run the clock forward to day 7 and still no victory yet. Unable to task ground forces to take the two Chinese airbases but we have successfully taken back almost all of the Korean Peninsula.
PLEASE HELP
This is a wing campaign and we are looking for the victory -
I believe the trigger file for this campaign is flawed (or the design of the campaign). Here’s why I say this:
In the Event 17 code in the trigger file, the following checks are made…
#IF_NOT_EVENT_PLAYED 17 #IF_CONTROLLED 6 AND 260 404 694 428 492 1074 #PLAY_MOVIE 124 #PLAY_MOVIE 125 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG DPRK wins independently -> END GAME #ELSE #IF_BORDOM_HOURS 240 #IF_FORCE_RATIO GND 5 6 <= 100 #IF_CONTROLLED 2 AND 260 404 694 428 #PLAY_MOVIE 120 #PLAY_MOVIE 123 #CHANGE_RELATIONS 6 2 1 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG Combined NATO and DPRK forces win -> END GAME #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF
The problem is with the #IF_CONTROLLED statements. Because this can only check if a single team has ownership of the objective, if the DPRK control some of the objective and the ROK controls others, then neither condition will be true and therefore an allied win (solely DPRK or jointly) cannot be achieved.
The other issue I see is with the bordon_hours check. While I’m not sure what constitutes bordom hours, it’s obvious that even if ROK forces were to completely take over the entire peninsula in 1 day and wipe out all PRC forces, nothing would happen until 240 have passed. Maybe I’m misinterpreting that check but that doesn’t seem right. Although it appears possible that a sole DPRK win could be achieved if they take over all objectives.
If my thought process is correct however, then even in 4.37.1 you will not be able to win this campaign unless only DPRK forces capture all the required objectives (let the ROK capture even one and no win is possible).
Can someone on the Dev or Test teams provide any insight?
-
I believe a TRI file something like this would handle the situation where DRPK owns some of the objectives while ROK owns others.
#IF_CONTROLLED 5 AND 260 #ELSE #IF_CONTROLLED 5 AND 404 #ELSE #IF_CONTROLLED 5 AND 428 #ELSE #IF_CONTROLLED 5 AND 694 #ELSE #PLAY_MOVIE 120 #PLAY_MOVIE 123 #CHANGE_RELATIONS 6 2 1 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG Combined NATO and DPRK forces win -> END GAME #ENDIF #ENDIF #ENDIF #ENDIF
-
@Zeus I think you just implemented an instant win
cause if I control only 5 (or nothing), I get "else"ed to the PLAY_MOVIE part and the victory.Cheers
-
@Wolfman said in Double Dragon Win Conditions:
@Zeus I think you just implemented an instant win
cause if I control only 5 (or nothing), I get "else"ed to the PLAY_MOVIE part and the victory.Cheers
Actually no, what you may have missed is that instead of checking to see if the DPRK or ROK control all of the objectives (solely, not split as that is what causes the issue) in the above code I am checking to see if the PRC controls ANY. If they do, then the whole statement exits out without doing anything (since there is nothing in the true part of each check). It’s only when PRC does NOT control any of them do you get to that final else with the movies. I’ve tested it - it works.
-
@Wolfman said in Double Dragon Win Conditions:
@Zeus I think you just implemented an instant win
cause if I control only 5 (or nothing), I get "else"ed to the PLAY_MOVIE part and the victory.“IF_CONTROLLED 5 AND 260” means “If China (Camp 5) controls P’Yongyang City (Objective 260)” not "If you controls objectives 5 and 260.
-
@CheckPoint Guess I have to work on my intuitive code reading Thanks for the clarification.
-
@brddog006
Below my understanding of the campaign trigger file#IF_NOT_EVENT_PLAYED 17 /IF Event 17 has not already been triggered #IF_CONTROLLED 6 AND 260 404 694 428 492 1074 /IF DPRK (6) controls ALL following political site P'Yongyang City (260), Wonsan City (404), Koksan City (694), Changyon City (428), Chongjin City (492), Tan-tung City (1074) #PLAY_MOVIE 124 #PLAY_MOVIE 125 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG DPRK wins independently -> END GAME #ELSE #IF_BORDOM_HOURS 240 /IF Situation is Boredom for more than 10 days #IF_FORCE_RATIO GND 5 6 <= 100 /IF China (5) Ground Forces are less than 10% of DPRK (6) ground forces #IF_CONTROLLED 2 AND 260 404 694 428 /IF ROK (2) controls ALL following political P'Yongyang City (260), Wonsan City (404), Koksan City (694), Changyon City (428) #PLAY_MOVIE 120 #PLAY_MOVIE 123 #CHANGE_RELATIONS 6 2 1 /Relations changes between DPRK (6) and ROK (2) to Allied (1) #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG Combined NATO and DPRK forces win -> END GAME #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF
As already mentioned by @Zeus , the code is flawed.
You win if all following points are meet :- more than 10 days of boredom
- China Ground Forces are less than 10% of DPRK Ground Forces
- ROK Ground Forces controls P’Yongyang City, Wonsan City, Koksan City AND Changyon City
-
I think the following code replacement should do the work. Integrating @Zeus’s idea.
#IF_NOT_EVENT_PLAYED 17 /IF Event 17 has not already been triggered #IF_CONTROLLED 6 AND 260 404 694 428 492 1074 / DPRK (6) controls ALL following political site P'Yongyang City (260), Wonsan City (404), Koksan City (694), Changyon City (428), Chongjin City (492), Tan-tung City (1074) #PLAY_MOVIE 124 #PLAY_MOVIE 125 #CHANGE_RELATIONS 6 2 5 /Relations changes between DPRK (6) and ROK (2) to At War (5) #CHANGE_RELATIONS 6 1 5 /Relations changes between DPRK (6) and US (1) to At War (5) #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG DPRK wins independently -> END GAME #ELSE #IF_CAMPAIGN_DAY < 10 /IF Campaign is less than 10 days #IF_FORCE_RATIO GND 5 6 <= 100 /IF China (5) Ground Forces are les than 10% of DPRK ground forces #IF_CONTROLLED 5 AND 260 #ELSE #IF_CONTROLLED 5 AND 404 #ELSE #IF_CONTROLLED 5 AND 684 #ELSE #IF_CONTROLLED 5 AND 428 #ELSE /IF PRC DO NOT controls any of the following political P'Yongyang City (260), Wonsan City (404), Koksan City (694), Changyon City (428) #PLAY_MOVIE 120 #PLAY_MOVIE 123 #CHANGE_RELATIONS 6 2 1 /Relations changes between DPRK (6) and ROK (2) to Allied (1) #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG Combined NATO and DPRK forces win -> END GAME #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF
To do so :
- go in Campaign folder
- make a copy of file Save3.tri
- modify file Save3.tri by changing the event 17 code (last one) by the one above
Let me know if it worked
-
@CheckPoint said in Double Dragon Win Conditions:
I think the following code replacement should do the work. Integrating @Zeus’s idea.
#IF_NOT_EVENT_PLAYED 17 /IF Event 17 has not already been triggered #IF_CONTROLLED 6 AND 260 404 694 428 492 1074 / DPRK (6) controls ALL following political site P'Yongyang City (260), Wonsan City (404), Koksan City (694), Changyon City (428), Chongjin City (492), Tan-tung City (1074) #PLAY_MOVIE 124 #PLAY_MOVIE 125 #CHANGE_RELATIONS 6 2 5 /Relations changes between DPRK (6) and ROK (2) to At War (5) #CHANGE_RELATIONS 6 1 5 /Relations changes between DPRK (6) and US (1) to At War (5) #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG DPRK wins independently -> END GAME #ELSE #IF_CAMPAIGN_DAY < 10 /IF Campaign is less than 10 days #IF_FORCE_RATIO GND 5 6 <= 100 /IF China (5) Ground Forces are les than 10% of DPRK ground forces #IF_CONTROLLED 5 AND 260 #ELSE #IF_CONTROLLED 5 AND 404 #ELSE #IF_CONTROLLED 5 AND 684 #ELSE #IF_CONTROLLED 5 AND 428 #ELSE /IF PRC DO NOT controls any of the following political P'Yongyang City (260), Wonsan City (404), Koksan City (694), Changyon City (428) #PLAY_MOVIE 120 #PLAY_MOVIE 123 #CHANGE_RELATIONS 6 2 1 /Relations changes between DPRK (6) and ROK (2) to Allied (1) #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG Combined NATO and DPRK forces win -> END GAME #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF
To do so :
- go in Campaign folder
- make a copy of file Save3.tri
- modify file Save2.tri by changing the event 17 code (last one) by the one above
Let me know if it worked
Save3.tri
-
You have to defeat the last boss, Will Mackey.
-
@LorikEolmin
Thanks, corrected -
I think this is too heavy and not utilizing the most of the trigger capacity:
#IF_NOT_EVENT_PLAYED 17 #IF_CONTROLLED 6 AND 260 404 694 428 492 1074 #PLAY_MOVIE 124 #PLAY_MOVIE 125 #CHANGE_RELATIONS 6 2 3 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG DPRK wins independently -> END GAME #ELSE #IF_CAMPAIGN_DAY < 10 #IF_FORCE_RATIO GND 5 6 <= 100 #IF_NOT_CONTROLLED 5 OR 260 404 694 428 #PLAY_MOVIE 120 #PLAY_MOVIE 123 #CHANGE_RELATIONS 6 2 1 #DO_EVENT 17 #END_GAME 17 #DO_MONOLOG Combined NATO and DPRK forces win -> END GAME #ENDIF #ENDIF #ENDIF #ENDIF #ENDIF
-
-
@MaxWaldorf - Much more elegant solution, I wasn’t aware of all the trigger actions so thank you! Just a question however - should that be an OR or an AND condition? Not sure how the trigger operators work but we want to make sure the team 5 doesn’t control ANY of those not just any one of those.
Is there a list of trigger actions / capabilities to be found somewhere?
-
Any of #IF_NOT_CONTROLLED 5 OR 260 404 694 428 All of #IF_NOT_CONTROLLED 5 AND 260 404 694 428
There’s list on old forum , probably transferred … but need to search… something "essence of tri " or something like that
Cheers
-
@white_fang said in Double Dragon Win Conditions:
Any of #IF_NOT_CONTROLLED 5 OR 260 404 694 428 All of #IF_NOT_CONTROLLED 5 AND 260 404 694 428
There’s list on old forum , probably transferred … but need to search… something "essence of tri " or something like that
Cheers
For KTO I would think these are all squared away by now, yes? We shouldn’t have to be messing with these at this point…
-
-
@Icer said in Double Dragon Win Conditions:
For KTO I would think these are all squared away by now, yes? We shouldn’t have to be messing with these at this point…
I have big doubts about that. I had to change the Tiger Spirit .tri file as well.