Page 1 of 1

Altering land_units.csv

Posted: Sat Jul 25, 2009 5:55 am
by Maddoc06
I've sought to alter the names of some of the Spanish, Greek, Rumanian, Bulgarian, Turkish units in the 1939 Grand Campaign but the game crashes whenever I do so. It crashes even if I make a small change to a unit name!

I had no problem editing the land_units.csv in the previous version of the game, and I've had no problem providing realistic names to both navies and air forces of these countries in the new game, including some additional units, in the respective naval_units.csv and the air_units.csv .

I can't understand what is different about the land_units.csv so that it won't permit the game to start with any modification of the file.

Does anyone know?

RE: Altering land_units.csv

Posted: Sat Jul 25, 2009 7:11 am
by cpdeyoung
If you have done this before you are probably aware that the European csv files use semicolon as a delimiter. Editing with Excel is thus a pain. If you use Notepad, or Notepad++ you will have better luck. I had no trouble editing the land_units.csv for a saved game. I did not want to do a scenario file, but will do so if the saved game file is not a good test, however I will bet the comma vs, semicolon problem is the one biting you.

Chuck

RE: Altering land_units.csv

Posted: Sat Jul 25, 2009 7:20 am
by cpdeyoung
Dear Maddoc06,

I just tried it wirh the land_units.csv in the 1939 scenario, and it worked fine, so I am betting the comma-semicolon issue is your problem.

Chuck

RE: Altering land_units.csv

Posted: Sat Jul 25, 2009 8:35 am
by Maddoc06
Thanks Chuck

Your solution worked perfectly with Notepad.

Maddoc

RE: Altering land_units.csv

Posted: Tue Oct 20, 2009 7:28 am
by cracker
hello i was eading your post ive tried to go to land cvs with notepad and it was blank i wanted to see if i can change game alittle like having tiger tanks in 1939 just to have alittle fun plz let me know if there is a way thanks just a few things also air units

RE: Altering land_units.csv

Posted: Tue Oct 20, 2009 11:45 am
by carnifex
You need to edit the land_units.csv in the /data/scenarios/[scenario name] folder. The one located in /editor is blank.

RE: Altering land_units.csv

Posted: Wed Oct 21, 2009 10:57 pm
by cracker
hello this isnt easy for someone who never did it this way most of the ones ive done are like commander europe at war im not going to mess around with this its to confusing but thanks if possible i just want to see if there is a way to change the production points or prestige whichever its called and if yes where to find it if lets say im playng 1939 grand and playing germany please help if you know in steps just for this thanks

RE: Altering land_units.csv

Posted: Thu Oct 22, 2009 1:42 pm
by carnifex
If you want to change the production points you have to edit cities.csv and adjust individual cities. For the 1939 scenario go to your Time of Wrath folder then go to \data\scenarios\1939 Grand Campaign and open cities.scv using Notepad. You should see something like this

#Nazwa;X;Y;Typ;VP;PP;ZaopWlasne;StrategicBombardmentLosses
Aarhus;117;64;1;0;1;9;0
Aberdeen;82;56;1;1;3;8;0
Achit;259;62;4;0;2;0;0
Adana;199;144;1;0;0;10;0
Afyonkarahisar;181;139;1;0;0;8;0
....

The production points for each city are the fifth number so if you want to change Aberdeen from 3 PP to 10 PP then edit the Aberdeen line to look like this

Aberdeen;82;56;1;1;10;8;0

then save and that's it.

I would recommend making a copy of the Campaign folder you're going to edit - call it something like Custom Campaign. That way if you make a giant mistake you wont affect your standard scenario. After you make all the changes, select the Custom Campaign when you start a new game and all your new changes should load.