WHY WHY WHY

Post new mods and scenarios here
Post Reply
User avatar
RedAss
Posts: 102
Joined: Sun Jul 14, 2019 4:41 am

WHY WHY WHY

Post by RedAss »

In a scenario I'm building, I have multiple formations that just -- POOF -- disappear for no particular reason upon test play.

Not withdrawn due to an event --they are just there one turn and gone the next.

They are from the NON-PO side, and are set to "Static" with an activation turn of 999 (so never). Not even TOUCHED by an event.

Anyone ever run across this?
User avatar
Curtis Lemay
Posts: 15264
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: WHY WHY WHY

Post by Curtis Lemay »

"Withdraw Army" event?
My TOAW web site:

Bob Cross's TOAW Site
User avatar
RedAss
Posts: 102
Joined: Sun Jul 14, 2019 4:41 am

Re: WHY WHY WHY

Post by RedAss »

Nope.
User avatar
Curtis Lemay
Posts: 15264
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: WHY WHY WHY

Post by Curtis Lemay »

Did you use anything other than the built-in editor? (76mm's thing, for example)
My TOAW web site:

Bob Cross's TOAW Site
User avatar
cathar1244
Posts: 1320
Joined: Sat Sep 05, 2009 2:16 am

Re: WHY WHY WHY

Post by cathar1244 »

RedAss wrote: Fri Jul 22, 2022 4:30 am In a scenario I'm building, I have multiple formations that just -- POOF -- disappear for no particular reason upon test play.

Not withdrawn due to an event --they are just there one turn and gone the next.

They are from the NON-PO side, and are set to "Static" with an activation turn of 999 (so never). Not even TOUCHED by an event.

Anyone ever run across this?
If you load the scenario into the editor and "save game (XML)", send me the XML file as well as example formations that exhibit this behavior. I'll see if the XML dump gives any clues as why that is happening.

Cheers
User avatar
RedAss
Posts: 102
Joined: Sun Jul 14, 2019 4:41 am

Re: WHY WHY WHY

Post by RedAss »

Curtis Lemay wrote: Fri Jul 22, 2022 12:56 pm Did you use anything other than the built-in editor? (76mm's thing, for example)
Nope -- don't even know what that is.
User avatar
RedAss
Posts: 102
Joined: Sun Jul 14, 2019 4:41 am

Re: WHY WHY WHY

Post by RedAss »

cathar1244 wrote: Fri Jul 22, 2022 3:27 pm
RedAss wrote: Fri Jul 22, 2022 4:30 am In a scenario I'm building, I have multiple formations that just -- POOF -- disappear for no particular reason upon test play.

Not withdrawn due to an event --they are just there one turn and gone the next.

They are from the NON-PO side, and are set to "Static" with an activation turn of 999 (so never). Not even TOUCHED by an event.

Anyone ever run across this?
If you load the scenario into the editor and "save game (XML)", send me the XML file as well as example formations that exhibit this behavior. I'll see if the XML dump gives any clues as why that is happening.

Cheers
Comes out as a .gam file, which the message editor says is invalid.
User avatar
Zovs
Posts: 9275
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

Re: WHY WHY WHY

Post by Zovs »

Maybe just post your scenario so those that want to help can view it, maybe they’ll spot the error?
Image
Beta Tester for: War in the East 1 & 2, WarPlan & WarPlan Pacific, Valor & Victory, Flashpoint Campaigns: Sudden Storm, Computer War In Europe 2
SPWW2 & SPMBT scenario creator
Tester for WDS games
User avatar
cathar1244
Posts: 1320
Joined: Sat Sep 05, 2009 2:16 am

Re: WHY WHY WHY

Post by cathar1244 »

RedAss wrote: Sat Jul 23, 2022 9:51 am
cathar1244 wrote: Fri Jul 22, 2022 3:27 pm
RedAss wrote: Fri Jul 22, 2022 4:30 am In a scenario I'm building, I have multiple formations that just -- POOF -- disappear for no particular reason upon test play.

Not withdrawn due to an event --they are just there one turn and gone the next.

They are from the NON-PO side, and are set to "Static" with an activation turn of 999 (so never). Not even TOUCHED by an event.

Anyone ever run across this?
If you load the scenario into the editor and "save game (XML)", send me the XML file as well as example formations that exhibit this behavior. I'll see if the XML dump gives any clues as why that is happening.

Cheers
Comes out as a .gam file, which the message editor says is invalid.
Red, sent you a PM.

Cheers
User avatar
RedAss
Posts: 102
Joined: Sun Jul 14, 2019 4:41 am

Re: WHY WHY WHY

Post by RedAss »

And then, whilst our hero was once again poring over the EVIL ED document, he comes across this passage:
Withdraw Unit/Army
If you modify your OOB after Withdraw Unit events have already been defined, it could mess up the
events since they might not point to the same unit. You can get around this by re-defining the event
after making your OOB mods. (Ilkka)

WATCH OUT. Sometimes, Norm knows why, this is a big problem. It has been known to happen that once
an event has been changed in the above way from an incorrect target unit to the correct one for the
event editor to simply switch it back when it is closed. In this situation (with Withdraw Army) you have
to find or create another uniquely named unit to withdraw. (Ben)
Yup -- I committed the sin listed in paragraph one.

Now I'm paying the penance in paragraph two. The words there are a little ambiguous: does it mean I need to change the names of the units I originally wanted to withdraw?
User avatar
golden delicious
Posts: 4162
Joined: Tue Sep 05, 2000 8:00 am
Location: London, Surrey, United Kingdom

Re: WHY WHY WHY

Post by golden delicious »

RedAss wrote: Wed Jul 27, 2022 7:42 am And then, whilst our hero was once again poring over the EVIL ED document, he comes across this passage:
Withdraw Unit/Army
If you modify your OOB after Withdraw Unit events have already been defined, it could mess up the
events since they might not point to the same unit. You can get around this by re-defining the event
after making your OOB mods. (Ilkka)

WATCH OUT. Sometimes, Norm knows why, this is a big problem. It has been known to happen that once
an event has been changed in the above way from an incorrect target unit to the correct one for the
event editor to simply switch it back when it is closed. In this situation (with Withdraw Army) you have
to find or create another uniquely named unit to withdraw. (Ben)
Yup -- I committed the sin listed in paragraph one.

Now I'm paying the penance in paragraph two. The words there are a little ambiguous: does it mean I need to change the names of the units I originally wanted to withdraw?
As (apparently) I wrote that second paragraph, I'll do my best to figure out what I meant, though it was twenty years ago.

If you're using a withdraw army event, then it is essentially immaterial which unit is targeted by the event as long as it has the right icon colours. So if you change the target to a different unit from the original one then it should get around the problem where the game fails to recognise the change in unit ID#. If there is no such unit, you could create a dummy unit which is never deployed specifically to be the target of the event; it just needs to have the same icon colours.

N.B. it's possible I was just seeing a ghost in the machine and the 2nd paragraph is nonsense. I wasn't necessarily a very careful designer back then.
"What did you read at university?"
"War Studies"
"War? Huh. What is it good for?"
"Absolutely nothing."
User avatar
RedAss
Posts: 102
Joined: Sun Jul 14, 2019 4:41 am

Re: WHY WHY WHY

Post by RedAss »

No, I think that's going to be the ticket!
Post Reply

Return to “Mods and Scenarios”