Issue: popup.txt : PRIVATE = 1 (Full Version)

All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII: World at War >> Tech Support



Message


sschnar1 -> Issue: popup.txt : PRIVATE = 1 (7/20/2021 6:42:23 PM)

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




BillRunacre -> RE: Issue: popup.txt : PRIVATE = 1 (7/21/2021 8:45:19 AM)

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




sschnar1 -> RE: Issue: popup.txt : PRIVATE = 1 (7/21/2021 5:12:47 PM)

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




sschnar1 -> RE: Issue: popup.txt : PRIVATE = 1 (7/22/2021 8:08:55 PM)

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




BillRunacre -> RE: Issue: popup.txt : PRIVATE = 1 (7/23/2021 9:19:45 AM)

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.




sschnar1 -> RE: Issue: popup.txt : PRIVATE = 1 (7/24/2021 6:44:24 PM)

I am testing with Fog of War ON.

Steven




BillRunacre -> RE: Issue: popup.txt : PRIVATE = 1 (7/26/2021 9:12:16 AM)

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





Hubert Cater -> RE: Issue: popup.txt : PRIVATE = 1 (7/27/2021 4:15:35 PM)

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




sschnar1 -> RE: Issue: popup.txt : PRIVATE = 1 (8/4/2021 1:54:39 PM)

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





Hubert Cater -> RE: Issue: popup.txt : PRIVATE = 1 (8/5/2021 1:12:30 AM)

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




sschnar1 -> RE: Issue: popup.txt : PRIVATE = 1 (8/6/2021 4:31:07 PM)

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






BillRunacre -> RE: Issue: popup.txt : PRIVATE = 1 (8/8/2021 6:29:37 PM)

That's great to hear Steven. [:)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.15625