Editor Decision Event previews not aligning with in-game UI

Post bug reports and ask for help with other issues here.
Post Reply
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Editor Decision Event previews not aligning with in-game UI

Post by DarkHorse2 »

Not entirely sure where the bug lies, but I do know you get different dialog previews.

Specifically, the Dialog Box headers are different.

When viewing via the Editor preview, you are able to see the #POPUP line being rendered as a Dialog Box header. (this is what I would expect).

However, in game, the line is ignored for Decision events (decision.txt).


CG3_DiplomaticDecisionPreview.PNG
CG3_DiplomaticDecisionPreview.PNG (901.26 KiB) Viewed 241 times


{
#NAME= DE 603 - Germany: Entice Franco To Enter The War? (AI - 25% Yes)
#POPUP= German Diplomatic Decision (this line is ignored in-game) :(
#MESSAGE= Foreign Minister %NJoachim von Ribbentrop %N%N Now that we have captured Algiers, our intelligence reports from Spain suggest that Franco may be willing to join the Tripartite Pact.%N%N Abwehr reports that it will cost a total of %B800 MPPs (200 MPPs for 4 turns), to help put Spain on a war footing, mainly to feed the starving population. Franco will also seize some French territory in North Africa in return for his assistance.%N%N Be warned that the USA will react negatively towards this, but gaining a new ally and the strategic importance of Spain's location will probably make this worthwhile.%N%N Shall we invite Franco to join the Axis?
#IMAGE=
#SOUND= teletype_1.ogg, teletype_2.ogg
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
#LINK= 670[1]
#COUNTRY_ID= 45
#TRIGGER= 100
#DISPLAY_ORDER= 0
#DECISION= 603
#MPP_UPDOWN= -200
#MPP_TURNS= 4
#MPP_TEXT= Supplies To Spain
#NOTES= Spain was struggling to recover from her civil war and so Franco was very reluctant to involve Spain directly in the war, though he did provide much assistance to the Axis short of doing so.%N%N Given Franco's reluctance, to obtain his help Germany would have had to provide him with territory in North Africa and much in the way of food supplies.%N%N As you have made the effort to capture Algiers, unless the military situation elsewhere limits your ability to pay the cost of Spanish war entry, it will be best to say %B(YES).
#NOTES_POSITION= 139,110
; Set AI acceptance % (AI will accept 75% of the time)
#AI_RESPONSE= 75
#AI_RESPONSE_POPUP= Franco Joins The Axis In Exchange For French Territory In Africa
#DATE= 1939/09/01
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; Algiers is in Axis hands
#ALIGNMENT_POSITION= 152,113 [1]
; Casablanca is in Axis hands
#ALIGNMENT_POSITION= 131,119 [1]
; Oran is in Axis hands
#ALIGNMENT_POSITION= 145,115 [1]
;Set National Morale Trigger (dummy value)
#NATIONAL_MORALE_TRIGGER= 0 [0]
; 1st Line - France(40) aligned with Allies and surrendered
; 2nd Line - Spain(99) aligned with Axis and not surrendered
; 3rd Line - Italy(59) aligned with Axis and not surrendered
#VARIABLE_CONDITION= 40 [2] [100] [1]
#VARIABLE_CONDITION= 99 [1] [60] [0]
#VARIABLE_CONDITION= 59 [1] [100] [0]
; There are no Allied troops within 11 hexes of Bourges
#CONDITION_POSITION= 151,89 [11,11] [0,0] [2] [0]
; There are no Allied troops within 4 hexes of Lorient
#CONDITION_POSITION= 140,87 [4,4] [0,0] [2] [0]
; There are no Allied troops within 5 hexes of Casablanca
#CONDITION_POSITION= 131,119 [5,5] [0,0] [2] [0]
; There are no Allied troops within 5 hexes of Oran
#CONDITION_POSITION= 145,115 [5,5] [0,0] [2] [0]
}

}
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: Editor Decision Event previews not aligning with in-game UI

Post by Hubert Cater »

Hi, good catch and yes in game that POPUP field is indeed ignored and never shown. Seems as though this has always been this way, as it was likely considered unnecessary but for consistency with other events the field still exists, and only shows as you noticed in the Editor.
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Re: Editor Decision Event previews not aligning with in-game UI

Post by DarkHorse2 »

Thank you for the clarification :!:
Post Reply

Return to “Tech Support”