Data of Renamed Unit in CSV

A complete overhaul and re-development of Gary Grigsby's War in the East, with a focus on improvements to historical accuracy, realism, user interface and AI.

Moderator: Joel Billings

Post Reply
HOTEC
Posts: 828
Joined: Sat Nov 23, 2013 3:34 am

Data of Renamed Unit in CSV

Post by HOTEC »

How do I find the data for renamed unit in Unit.CSV?
User avatar
Joel Billings
Posts: 33695
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

Re: Data of Renamed Unit in CSV

Post by Joel Billings »

The next update will include separate csv files for air group and ground unit renames.
All understanding comes after the fact.
-- Soren Kierkegaard
HOTEC
Posts: 828
Joined: Sat Nov 23, 2013 3:34 am

Re: Data of Renamed Unit in CSV

Post by HOTEC »

Thanks.
It would be great!
trooperrob
Posts: 68
Joined: Tue Jul 02, 2024 7:29 pm

Re: Data of Renamed Unit in CSV

Post by trooperrob »

Out of interest, would there be any value in having the unit ID in the file? - a unique Id rather than everything on name, that way my little program could keep details over multiple turns by ID rather than have to figure out via a separate file.

Also- If you create a corps from a soviet div (1 existing div + 2 new created) , sometimes (always?) It doesn't seem to name the 2 new divisions, - does that have any impact on whether they can become guards?
By creating a unit from an existing I can avoid it starting at 30 ability and having to wait 1/2 a dozen turns to be viable.
User avatar
Joel Billings
Posts: 33695
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

Re: Data of Renamed Unit in CSV

Post by Joel Billings »

trooperrob wrote: Sun Jul 05, 2026 6:10 pm Out of interest, would there be any value in having the unit ID in the file? - a unique Id rather than everything on name, that way my little program could keep details over multiple turns by ID rather than have to figure out via a separate file.

Also- If you create a corps from a soviet div (1 existing div + 2 new created) , sometimes (always?) It doesn't seem to name the 2 new divisions, - does that have any impact on whether they can become guards?
By creating a unit from an existing I can avoid it starting at 30 ability and having to wait 1/2 a dozen turns to be viable.
If you mean the unit ID being in the csv rename file, it is. As for the question re guards, my guess is that any unit that isn't named within a guards corps, will become guard when the corps is broken down and the unit is given a name. Not sure about this.
All understanding comes after the fact.
-- Soren Kierkegaard
trooperrob
Posts: 68
Joined: Tue Jul 02, 2024 7:29 pm

Re: Data of Renamed Unit in CSV

Post by trooperrob »

Joel Billings wrote: Tue Jul 07, 2026 5:48 pm
trooperrob wrote: Sun Jul 05, 2026 6:10 pm Out of interest, would there be any value in having the unit ID in the file? - a unique Id rather than everything on name, that way my little program could keep details over multiple turns by ID rather than have to figure out via a separate file.

Also- If you create a corps from a soviet div (1 existing div + 2 new created) , sometimes (always?) It doesn't seem to name the 2 new divisions, - does that have any impact on whether they can become guards?
By creating a unit from an existing I can avoid it starting at 30 ability and having to wait 1/2 a dozen turns to be viable.
If you mean the unit ID being in the csv rename file, it is. As for the question re guards, my guess is that any unit that isn't named within a guards corps, will become guard when the corps is broken down and the unit is given a name. Not sure about this.
I was toying with the idea of having a program load not just 1 turn data, but historic data. That is currently difficult as the unit name is the key of the main file.
If the CSV of the exported data was by ID not name it would be easier, as the data for turn 35 would have the same id as turn 34 even if it had been renamed or was now guards. Just the name field would differ.

If I have missed the ID then apologies. (I haven't looked at the files for a while).
User avatar
Joel Billings
Posts: 33695
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

Re: Data of Renamed Unit in CSV

Post by Joel Billings »

Sorry, I misunderstood. I thought you were talking about csv in the editor, but I think you are talking about the exporting of the CR screen data, correct? As you said, there is no ID number info in this file, and no rename info here. In-game, rename info is in the Reinforcement & Transfers screen, which doesn't have export capability.
All understanding comes after the fact.
-- Soren Kierkegaard
Post Reply

Return to “Gary Grigsby's War in the East 2”