All Force 1 units starting as "reorganizing"?

Post new mods and scenarios here
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

All Force 1 units starting as "reorganizing"?

Post by 76mm »

I'm playing around with the scenario editor, but for some reason all of my Force 1 units are starting as "Reorganizing", while all of my Force 2 units are normal...anybody have any idea what the issue could be?
User avatar
larryfulkerson
Posts: 42969
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: All Force 1 units starting as "reorganizing"?

Post by larryfulkerson »

I'm playing around with the scenario editor, but for some reason all of my Force 1 units are starting as "Reorganizing", while all of my Force 2 units are normal...anybody have any idea what the issue could be?
Is the proficiency of the force so low that they failed an inter-turn-phase force proficiency check?
The PHILIPPINES Just RUINED China's Taiwan Plan [2026]
https://www.youtube.com/watch?v=_JdygGlmMV4
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

ORIGINAL: larryfulkerson
Is the proficiency of the force so low that they failed an inter-turn-phase force proficiency check?
Force and Formation Proficiency is 100%, Unit Proficiency is 33%. There is also a supply base with a value of 100% several hexes away. Readiness is also 100%.
User avatar
sPzAbt653
Posts: 10160
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: All Force 1 units starting as "reorganizing"?

Post by sPzAbt653 »

Force 1 Shock too low ?
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

ORIGINAL: sPzAbt653
Force 1 Shock too low ?
I think that might be it--it is 0, which I'm guessing is too low.

But isnt that only set via events? None of my events deal with the Shock Level.
User avatar
sPzAbt653
Posts: 10160
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: All Force 1 units starting as "reorganizing"?

Post by sPzAbt653 »

Uh oh, sounds bad. Yes, event only ... try adding an event for 100% Shock 1 and see what happens ... this sounds familiar ...
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

Yes, thanks, that fixed it.

I overwrote the default scenario-opening Shock Event with another event, I wonder if that somehow sets the Shock level to zero (for Force 1)? I did the same with Force 2, with no problems. If I get a chance I will play around with this later today, see what I can figure out.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

hmmm, I've played around a bit and can't seem to recreate this issue with different scenarios. Also, I was mistaken that there is a default scenario-opening shock event (like there is for theater recon, pestilence, etc.).

All I can say is that in the scenario I'm playing around with, I definitely never used an event to set the Force 1 shock value to 0...
User avatar
sPzAbt653
Posts: 10160
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: All Force 1 units starting as "reorganizing"?

Post by sPzAbt653 »

That's why I was worried, because it sounded like something I have heard once before, but I can't pinpoint the thread and can't remember the outcome [:(]
User avatar
Zovs
Posts: 9275
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: All Force 1 units starting as "reorganizing"?

Post by Zovs »

In my scenario while I was doing the development on it, I saw the Germans on turn 1 (which was 1st September 1939) with all units in all formations reorganizing and also showing with an attack strength of 1 and defense strength of 0. It was weird and frustrating. I spent way too many hours in attempts to fix it. Finally, after setting all the formations to a value for supply and adjusting the supply range and tweaking the shock levels I finally got it to work. Also, had a few reboots in their as well and so I am not sure I can scientifically say what was the root cause of this, but it was a combination of scenario variables, shock, supply range, movement bias, formation supply, force supply and a few others.

What I took away from all that nightmare was to save often, but I was also exporting and importing the *.gam file to make mass edits faster, sometimes with Tom's excellent tool, but a lot of times with using Visual Studio Code to do mass search and replace for names (i.e. changing all the German Infantry divisions from 1 GE ID, 2 GE ID, and 3 GE ID (how SPI's board game would designate them) to 1. Infanterie-Div., 2. Infanterie-Div., 3. Infanterie-Div. etc. for the 340 or 350 infantry divisions in 30 seconds. Or to also copy one TO&E from one filled out division done in the editor and then in Code to copy that same TO&E from that unit to the other 36 divisions in that first wave, etc.

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
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

When I was working on the TOAWxml Event Editor, I noticed that the .gam file exported by the game includes a fair bit of "junk" XML for the events portion of the .gam file.

By that I mean that certain combinations of triggers/effects use certain XML attributes, but not others, and the .gam file includes these necessary XML attributes, but also extra attributes that serve no purpose and so are presumably exported by mistake. This junk XML could conceivably cause problems when re-imported back into the game, although in most cases I doubt it would--it seems like the Event Engine simply wouldn't use what it doesn't need. If you use the TOAWxml Events Editor, I try to have it clean up this junk XML before you re-import the .gam file into the game.

That said, I can't see how these junk attributes could cause this particular problem unless there is also an event with the "Shock" effect, and then something else goes wrong as well.
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: All Force 1 units starting as "reorganizing"?

Post by Lobster »

The xml export needs to be cleaned up. I imagine that would take someone more than a bit of time.
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
larryfulkerson
Posts: 42969
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: All Force 1 units starting as "reorganizing"?

Post by larryfulkerson »

Hey Tom: I'm having problems with the GAM file having the wrong data for those units that arrive in a later turn and not turn 1. I've done a cut and paste here below to show what the GAM file holds so that you can verify if it's correct or not. The first one ( NAME="108 GE Const" ) comes on turn 1 and it's status is 8. The second one ( "1 FI Army" ) is supposed to arrive in turn 4 ( I believe ) and it actually activates on turn 1 in the game. So something didn't work. Maybe the game engine is broken when it reads the GAM file into the editor and assigns the wrong status to the units that arrive after turn 1.

<UNIT ID="23" NAME="108 GE Const" ICON="Ferry Engineer" COLOR="10" SIZE="Regiment" EXPERIENCE="untried" CHARACTERISTICS="4008" PROFICIENCY="70" READINESS="100" SUPPLY="100" X="5" Y="24" EMPHASIS="Limit Losses" STATUS="8" REPLACEMENTPRIORITY="0">


<UNIT ID="431" NAME="1 FI Army" ICON="Headquarters" ICONID="0" COLOR="34" SIZE="Army" EXPERIENCE="veteran" CHARACTERISTICS="8009" PROFICIENCY="65" READINESS="100" SUPPLY="100" X="29" Y="2" EMPHASIS="Limit Losses" NEXT="448" STATUS="5" REPLACEMENTPRIORITY="0">

Please advise:
The PHILIPPINES Just RUINED China's Taiwan Plan [2026]
https://www.youtube.com/watch?v=_JdygGlmMV4
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

ORIGINAL: larryfulkerson
Hey Tom: I'm having problems with the GAM file having the wrong data for those units that arrive in a later turn and not turn 1. I've done a cut and paste here below to show what the GAM file holds so that you can verify if it's correct or not.
Hey Larry, sorry, but somehow I just saw this post. Did you get this resolved?
User avatar
larryfulkerson
Posts: 42969
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: All Force 1 units starting as "reorganizing"?

Post by larryfulkerson »

ORIGINAL: 76mm
ORIGINAL: larryfulkerson
Hey Tom: I'm having problems with the GAM file having the wrong data for those units that arrive in a later turn and not turn 1. I've done a cut and paste here below to show what the GAM file holds so that you can verify if it's correct or not.
Hey Larry, sorry, but somehow I just saw this post. Did you get this resolved?
Actually no. It seems that I can load my scenario and save it as a GAM file, modify the GAM file to change the color number on about 50 Axis units and then chose "new scenario" to unload the old data, then load the GAM file I just modified and without fail those units that are supposed to enter the game on a turn past turn 1 are all scheduled to arrive on turn 1 for some reason. So I have to use the evil editor to change the entry turn and THEN save it. I'm not sure where the problem lies. Maybe it's the game engine writing the wrong data. Maybe it's the way your tool assigns turns of entry. I'm not sure which and I'm not sure how to find out which it is. I'm still thinking about it.

EDIT: I've attached the scenario I'm having the problem with
Attachments
B41_lgf_8.11.2019.zip
(289.76 KiB) Downloaded 22 times
The PHILIPPINES Just RUINED China's Taiwan Plan [2026]
https://www.youtube.com/watch?v=_JdygGlmMV4
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

ORIGINAL: larryfulkerson
It seems that I can load my scenario and save it as a GAM file, modify the GAM file to change the color number on about 50 Axis units and then chose "new scenario" to unload the old data, then load the GAM file I just modified and without fail those units that are supposed to enter the game on a turn past turn 1 are all scheduled to arrive on turn 1 for some reason.
I will take a look, but I don't understand the bolded text above? Usually when I do this I modify the gam file, open the editor, then select "Open Game (XML)" to load that .gam file into the editor, then save it as a .sce file. What's this about a new scenario and unloading the old data?

And as far as you know, has this only happened when you are changing unit colors?
User avatar
larryfulkerson
Posts: 42969
Joined: Sat Apr 16, 2005 9:06 pm
Location: Tucson, AZ,usa,sol, milkyway
Contact:

RE: All Force 1 units starting as "reorganizing"?

Post by larryfulkerson »

ORIGINAL: 76mm
ORIGINAL: larryfulkerson
It seems that I can load my scenario and save it as a GAM file, modify the GAM file to change the color number on about 50 Axis units and then chose "new scenario" to unload the old data, then load the GAM file I just modified and without fail those units that are supposed to enter the game on a turn past turn 1 are all scheduled to arrive on turn 1 for some reason.
I will take a look, but I don't understand the bolded text above? Usually when I do this I modify the gam file, open the editor, then select "Open Game (XML)" to load that .gam file into the editor, then save it as a .sce file. What's this about a new scenario and unloading the old data?

And as far as you know, has this only happened when you are changing unit colors?
I found it when I was changing the icon color for some of the Axis units. I needed the Panzers to be black instead of field grey. So I load the scenario into evil ed and save the scenario as a GAM file. And then using Notepad++ I edit the GAM file to change the color number for my Panzer units. Then I switch applications to go back to TOAW and chose "new scenario" to unload the scenario data still in memory. I'm not sure I need to do this but I figure that it hurts nothing. Then I load the GAM file into evil ed and when I take a look at the units they are changed in color but those that are supposed to enter the game on turn 4 are now scheduled to enter on turn 1 for some reason. I'm not sure if the TOAW game engine is writing the wrong date to the GAM file, or if your tool is processing the entry turn incorrectly, or maybe it's the TOAW game engine reading the GAM file wrong. I'm not sure which.
The PHILIPPINES Just RUINED China's Taiwan Plan [2026]
https://www.youtube.com/watch?v=_JdygGlmMV4
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: All Force 1 units starting as "reorganizing"?

Post by 76mm »

ORIGINAL: larryfulkerson
I'm not sure if the TOAW game engine is writing the wrong date to the GAM file, or if your tool is processing the entry turn incorrectly, or maybe it's the TOAW game engine reading the GAM file wrong. I'm not sure which.
OK, thanks, I will take a look--that's quite odd.

Also, one of the things I'll be adding soon is the ability to propagate unit icon colors similar to the way you can propagate other unit characteristics (proficiency, etc.).
User avatar
rhinobones
Posts: 2225
Joined: Sun Feb 17, 2002 10:00 am

RE: All Force 1 units starting as "reorganizing"?

Post by rhinobones »

ORIGINAL: 76mm

Force and Formation Proficiency is 100%, Unit Proficiency is 33%. There is also a supply base with a value of 100% several hexes away. Readiness is also 100%.

I know this doesn’t help with your question, but out of curiosity, how can force and formation be at 100% when a component unit is 33%. I would think that the formation and force would be around the average of the units. Is force and formation proficiency based on factors other than individual units?

Regards, RhinoBones
Colin Wright:
Pre Combat Air Strikes # 64 . . . I need have no concern about keeping it civil

Post by broccolini » Sun Nov 06, 2022
. . . no-one needs apologize for douchebags acting like douchebags
User avatar
Zovs
Posts: 9275
Joined: Sun Feb 22, 2009 11:02 pm
Location: United States

RE: All Force 1 units starting as "reorganizing"?

Post by Zovs »

They are three different things, unit proficiency, formation proficiency and force proficiency are all different. You’ll have to look at the old TOAW and COW pages that have the matrixes that are recommended for WW2. Scenarios designers used that as a baseline and modeled from there for historical accuracy and also play balance.
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
Post Reply

Return to “Mods and Scenarios”