Page 1 of 1
Issue: popup.txt : PRIVATE = 1
Posted: Tue Jul 20, 2021 3:42 pm
by sschnar1
I am having a problem with POPUP.TXT scripts.
The problem is I have a script for Japan that has PRIVATE = 1, yet the message is seen by the Allies.
I have tried many, many times to correct this but I get the same result.
I have many scripts along the same lines that this occurs.
At this moment, maybe "I cannot see the Forest for the Trees".
My only suspicion left is the LINK property. As it is an Allied Decision Event.
{
#NAME= DE 915 - Japan: Sighted USA TF
#POPUP=
#MESSAGE= %N%N April 18, 1942 %N%NCarrier Task Force Detected %N%NJapanese Picket Boat No.23, the 'Nitto Maru' radioed that they have sighted an American TF with at least 2 Carriers are heading to Japan. All attempts to get more information resulted in failure. Ship is presumed sunk.
#IMAGE= communication.png
#SOUND= report.ogg
#FLAG= 1
#TYPE= 0
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
#LINK= 915[1]
#COUNTRY_ID= 60
#TRIGGER= 100
#PRIVATE= 1
#DISPLAY_ORDER= 1
#DISPLAY_TURN= 0
#DISPLAY_STYLE= 1
#MESSAGE_STYLE= 2
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
#MAP_POSITION=
#DATE= 1942/04/18
; Tokyo is in Axis hands
#ALIGNMENT_POSITION= 214,57 [1]
#VARIABLE_CONDITION= 60 [1] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
Any help would be appreciated.
Steven
RE: Issue: popup.txt : PRIVATE = 1
Posted: Wed Jul 21, 2021 5:45 am
by BillRunacre
Hi Steven
Try changing #DISPLAY_TURN= 0 to #DISPLAY_TURN= 1
; #DISPLAY_TURN= On what turn do we display this popup event? (values range [0, 2]; Any= 0; Axis Turn= 1; Allied Turn= 2)
I think it should work as intended then... hopefully! [:)]
Bill
RE: Issue: popup.txt : PRIVATE = 1
Posted: Wed Jul 21, 2021 2:12 pm
by sschnar1
DOH!
I thought I had tried that combination.
I suspected I could 'Not see the Forest for the Trees'.
Will check it out, might be a couple of Days thou.
As Always, Thank You for the very Prompt response and Service.
You guys are Awesome.
Steven
RE: Issue: popup.txt : PRIVATE = 1
Posted: Thu Jul 22, 2021 5:08 pm
by sschnar1
Well.....
I tested it with the option indicated and...
It just moved it to the Axis turn, instead of the Allied turn
The message is still not Private.
Steven
RE: Issue: popup.txt : PRIVATE = 1
Posted: Fri Jul 23, 2021 6:19 am
by BillRunacre
That's not what we wanted!
Just in case, are you testing it with fog of war off?
If not then something else must be amiss, and I'll need to look into this further.
RE: Issue: popup.txt : PRIVATE = 1
Posted: Sat Jul 24, 2021 3:44 pm
by sschnar1
I am testing with Fog of War ON.
Steven
RE: Issue: popup.txt : PRIVATE = 1
Posted: Mon Jul 26, 2021 6:12 am
by BillRunacre
This is a bit of a brain teaser isn't it!
Two things that can be tried are:
1) changing the date of the event.
2) changing #TYPE= 0 to #TYPE= 1.
Please let me know.
Bill
RE: Issue: popup.txt : PRIVATE = 1
Posted: Tue Jul 27, 2021 1:15 pm
by Hubert Cater
Hi sschnar1,
Just looking at things here as well and your original event as written up in the top post should be fine, just the #DISPLAY_TURN= 1 should be set as Bill mentioned so that it only fires on the Axis turn, and then the message, as it is set to #PRIVATE= 1, will not be then further reported in the summary logs to the Allied player.
Having it connected to an Allied decision event should have no effect, and the date set should be fine as well.
The key is the campaign will have to be re-compiled and a fresh game started for it to have any effect from the changes.
If it still doesn't work let us know,
Hubert
RE: Issue: popup.txt : PRIVATE = 1
Posted: Wed Aug 04, 2021 10:54 am
by sschnar1
Good Morning.
I finally got back to this Issue.
I have tried all your suggestions, to no avail.
I then created 3 test scripts to occur in 1939, similar to my conditions noted above, an Allied DECISION Event, 1 POPUP for each faction LINKed to the DECISON event.
They too, exhibited the same problem.
I was testing with ALLIED player and AXIS AI, so I reversed it, both POPUP scripts were viewed by the AXIS also.
I then removed the LINK in the POPUPs and each faction still sees both POPUPs.
I also removed the MESSAGE, IMAGE, and SOUND, No change.
My Conclusion: PRIVATE is not working for POPUPs, at least on My Computer.
This is not a Game Stopper, I still enjoy the game greatly.
Good Luck
Steven
RE: Issue: popup.txt : PRIVATE = 1
Posted: Wed Aug 04, 2021 10:12 pm
by Hubert Cater
Hi sschnar1,
Perhaps there is just a misunderstanding on what the PRIVATE flag actually does?
For example, normally when there is a POPUP even, no matter which turn it fires, there is then a subsequent log created of the popup that would appear in the summary of events that the next turn player would see at the very beginning of their next turn. This would also show when clicking on the 'L' key.
What PRIVATE does is simply ensure that the POPUP remains private to the player that sees it on their turn, e.g. no log of it for the next turn player to see.
The key then is just getting the POPUP to fire on the correct turn as needed, and then PRIVATE would prevent the next turn player from even knowing there was a popup etc.
Does this possibly clarify things in case this applies?
Hubert
RE: Issue: popup.txt : PRIVATE = 1
Posted: Fri Aug 06, 2021 1:31 pm
by sschnar1
Morning Gentlemen,
I believe that I have the understanding of the PRIVATE function.
Your Game Manual, page 266 talking about the POPUP.txt file agrees with your statement.
"There is a Private setting that can be used to make it so that only the
event owner’s side will be aware of a message."
Your statement got me thinking about this more and I tried a new test using the same scripts asmentioned above.
I tested using the HOTSEAT game instead of SINGLE PLAYER game. POPUP's worked properly.
Hope this helps.
I consider this Issue Closed from my viewpoint.
It is up to you now.
Best of Luck
Steven
RE: Issue: popup.txt : PRIVATE = 1
Posted: Sun Aug 08, 2021 3:29 pm
by BillRunacre
That's great to hear Steven. [:)]