Edit Leaders

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
irfanahmed1979
Posts: 74
Joined: Thu Dec 13, 2018 10:45 am

Edit Leaders

Post by irfanahmed1979 »

Is there another way to edit leaders' stats rather than the editor that comes with the game? I mean for example, if I wanted all Dutch Air Unit leaders to have the same level of Admin rating then could I do it in one go? Like in an Excel file?
User avatar
LargeSlowTarget
Posts: 5046
Joined: Sat Sep 23, 2000 8:00 am
Location: Hessen, Germany - now living in France

RE: Edit Leaders

Post by LargeSlowTarget »

In the SCEN folder you should find a tool called "witploadAE.exe".

It allows to dump the scenario files into several .csv files which correspond to the tabs in the editor, like ship classes, air groups etc.

You can edit the .csv files with Excel and the like and then to convert them back into game scenario files.

It is a DOS program, so you need to use the Command prompt "cmd.exe"

First you need to enter the path to the scenario folder, for example "cd c:\matrix games\war in the pacific admiral's edition\scen\".

Then you can use the following commands:

To export scenario #01 in the current directory into .csv: WITPLOADAE.exe /e /s001

To import the .csv back into scenario #01 in the current directory: WITPLOADAE.exe /s001

The leaders are in the file called "WITPldrXXX" with XXX being the scenario number.
irfanahmed1979
Posts: 74
Joined: Thu Dec 13, 2018 10:45 am

RE: Edit Leaders

Post by irfanahmed1979 »

Thanks a lot!

LargeSlowTarget, are those girls topless? [:D] How old is that photo?
irfanahmed1979
Posts: 74
Joined: Thu Dec 13, 2018 10:45 am

RE: Edit Leaders

Post by irfanahmed1979 »

Sorry to bother you again but is there a look up table for what Rank numbers and Commands numbers mean in the .CSV file?
User avatar
PaxMondo
Posts: 11124
Joined: Fri Jun 06, 2008 3:23 pm

RE: Edit Leaders

Post by PaxMondo »

one of the files is WITPtabs.csv

It is a lookup. If it ain't there, you need to ask here in the forums.
Pax
User avatar
LargeSlowTarget
Posts: 5046
Joined: Sat Sep 23, 2000 8:00 am
Location: Hessen, Germany - now living in France

RE: Edit Leaders

Post by LargeSlowTarget »

You have to work with the editor and the .csv files in parallel - for example, the "rank" field in the editor has a drop-down menu which shows all ranks and the associated number, like "15 LTJG - IJN".
irfanahmed1979
Posts: 74
Joined: Thu Dec 13, 2018 10:45 am

RE: Edit Leaders

Post by irfanahmed1979 »

Ok, thank you.
Post Reply

Return to “Scenario Design and Modding”