User avatar
Random
AGEod Veteran
Posts: 779
Joined: Fri May 21, 2010 4:10 pm

U-Boats for Austria?

Mon Apr 18, 2011 11:12 pm

Is it possible to mod the game so that Austria can build U-Boats (not additional SS units) for commerce destruction to add to those of Germany?

Tried editing the Nations.csv file to give Austria a u-boat but when the game is loaded, one cannot be built. The build menu shows u-boats for all nations but only Germany can actually build them.

Could not find any other game *.csv files or editable files where U-Boats are mentioned in any capacity, having checked the AI files, TurnRules.csv and GameRules.csv for both the GC scenarios.

Any advice is appreciated, thanks in advance.

Edit
Found it!

Open World War One Gold\Data\DB\ProductionCosts.csv and find the line:

[color="DarkGreen"]AUS;UB1;-1;Cost for building one U-Boot unit[/color]

After saving the unedited file, amend it to read:

[color="darkgreen"]AUS;UB1;15;Cost for building one U-Boot unit[/color]

or whatever cost you wish to impose and the build button will be active when you go to the unit construction menu. You can build up to three but that seems excessive given the Austrian ship building industry of that era.

Now the question becomes, does the game recognize non-German U-Boats in the submarine warfare model?

User avatar
calvinus
Posts: 4681
Joined: Mon Dec 19, 2005 4:52 pm
Location: Italy
Contact: Website

Tue Apr 19, 2011 7:37 am

Random wrote:Now the question becomes, does the game recognize non-German U-Boats in the submarine warfare model?


Yes, the game engine counts all uboots currently owned by Central Powers.

User avatar
Random
AGEod Veteran
Posts: 779
Joined: Fri May 21, 2010 4:10 pm

Tue Apr 19, 2011 3:07 pm

calvinus wrote:Yes, the game engine counts all uboots currently owned by Central Powers.

Excellent. Thank You!

Modders should know that this change is suitable for saved games and takes effect immediately when the game is loaded.

RGA
Lieutenant Colonel
Posts: 259
Joined: Mon May 24, 2010 9:22 am
Location: Britains oldest recorded town.

Wed Apr 20, 2011 2:43 pm

Excellent work Random. :)

kirk23
Civilian
Posts: 3
Joined: Thu Apr 21, 2011 12:33 am

Thu Apr 21, 2011 12:39 am

Hello folks I'm new to all of this editing excel files stuff,the files are read only how do you change this to make them editable ?

User avatar
Random
AGEod Veteran
Posts: 779
Joined: Fri May 21, 2010 4:10 pm

Thu Apr 21, 2011 2:47 am

kirk23 wrote:Hello folks I'm new to all of this editing excel files stuff,the files are read only how do you change this to make them editable ?

The *.csv files should not have Read Only attributes and the *.xls files should not be protected. If you cannot change the attributes in the file properties I don't have an answer, sorry.

My advice to you would be to leave the M$ Excel files in the modding folder alone for clairity and edit the game files directly using a prefered text editor, generally M$ Notepad or M$ Wordpad.

Always save unedited copies of the original files someplace safe before editing anything, this allows you to restore the original game.

First post in this thread shows you the exact file path to find the ProductionCosts.csv file that allow Austrian u-boats to be built. The instruction assume a certain level of experiance at editing and saving text files; if you do not know how to do that and are not prepared to learn by trial and error I suggest don't touch. Editing other .csv files in the game is similar in principle if differing in the details.

You may edit the M$ Excel files and save them in the *.csv (comma delimited) format but they will likely require further editing before WW1G can read them. The game is VERY sensitive to punctuation and a comma (,), curly bracket ({ }), semi-colon ( ; ) or quotation marks (" ") out of place can cause no end of grief.

There are some editing examples kicking around the Forum, if you're not sure what you are doing, have a look at them and compare the edited files to those from the stock game. This will give you a better idea of what to do.

Good Luck.

kirk23
Civilian
Posts: 3
Joined: Thu Apr 21, 2011 12:33 am

Thu Apr 21, 2011 8:41 am

I have went into windows explorer,clicked on properties,and under the general tag the read only check box is clear,but when I open the file it still states that it is read only ?

kirk23
Civilian
Posts: 3
Joined: Thu Apr 21, 2011 12:33 am

Thu Apr 21, 2011 10:09 am

Update to previous post,I'm using windows 7 and it appears the changing the administrator settings works,because I now can edit the files.

Return to “WW1 : La Grande Guerre 14-18”

Who is online

Users browsing this forum: No registered users and 25 guests