Modding tutorial project

From the front lines in France and Russia to the deserts of North Africa and the airfields and convoys of Britain, the campaigns of World War II are yours to command in WW2: Time of Wrath! This turn-based grand strategy title, the highly improved and expanded sequel to WW2: Road to Victory, puts the player in charge of the political, economic and military decisions of one or more Axis or Allied nations, including minor nations.
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

ORIGINAL: doomtrader

Part two can be found here:
http://forum.wastelands-interactive.com ... php?t=1878

Two things from Part2 :

1) Scenario Dates - What you call impulses are roughly weeks?

2) Important NOTE (by cpdeyoung):
American Excel users will notice that the csv files, "comma separated values", are actually semicolon separated values, per our European friends. I recommend using a text editor to replace all ";" with "," before opening in an American version of Excel. After your changes replace the "," with ";" for the game.


I tested Open Office Calc 3.0 it works and there is a text import feature that alows you to choose the semi-colon as the separator.

[8D]
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
willgamer
Posts: 900
Joined: Sat Jun 01, 2002 11:35 pm
Location: Huntsville, Alabama

RE: Modding tutorial project

Post by willgamer »

) Important NOTE (by cpdeyoung):
American Excel users will notice that the csv files, "comma separated values", are actually semicolon separated values, per our European friends. I recommend using a text editor to replace all ";" with "," before opening in an American version of Excel. After your changes replace the "," with ";" for the game.

I tested Open Office Calc 3.0 it works and there is a text import feature that alows you to choose the semi-colon as the separator.

Here's a (imho) faster and easier way.

Just go to control panel/regional and language options/customize/list separator and change the comma to a semicolon. [:)]
Rex Lex or Lex Rex?
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: Modding tutorial project

Post by doomtrader »

1) Scenario Dates - What you call impulses are roughly weeks?
Now are weeks, but if you put 30, then you will have days, etc.
gwgardner
Posts: 7184
Joined: Fri Apr 07, 2006 1:23 pm

RE: Modding tutorial project

Post by gwgardner »

In the events tutorial you mention 20,000 available tags. Does that mean 20,000 that are already defined? Unused?

User avatar
Bleck
Posts: 741
Joined: Sun Mar 08, 2009 1:35 pm
Location: Poland
Contact:

RE: Modding tutorial project

Post by Bleck »

It is total amount (range) of tags that game can handle, with patch 1.6 this value was raised to 30,000.
Wastelands Interactive member (Programmer)
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: Modding tutorial project

Post by doomtrader »

We are not using all of those 20000 events IDs, but to make it easier to manage, we use various ID between 1 and 20000, since 1.60 there is 10000 completly free IDs for modders.
It is from 20001 to 30000.
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

Thanks for the clarification, please may I have another sir?

In air_units.csv all the column titles are in polish? I imagine they can be changed without causing problems.

But in part 5 of your tutorial the following lines are unclear and the definitions seem to be reversed:

Attack made - Was the unit attacked

Was attacked - Does unit attacked


JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: Modding tutorial project

Post by doomtrader »

In air_units.csv all the column titles are in polish? I imagine they can be changed without causing problems.
Yes, it can be changed, everything after # (hash) is not seen by the game.
But in part 5 of your tutorial the following lines are unclear and the definitions seem to be reversed:
Attack made - Was the unit attacked
Was attacked - Does unit attacked

Looks like you are right. Thanks.
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

One last question, in PART 6:

fleets.csv file

Name - Name of the fleet, do not use country specific letters.

Could you explain what you mean by country specific letters?

[&:]
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
Bleck
Posts: 741
Joined: Sun Mar 08, 2009 1:35 pm
Location: Poland
Contact:

RE: Modding tutorial project

Post by Bleck »

non-ascii letters (in Poland we have ąćęłńóśóźż...), usually to write them you need to use "Alt" key...
Wastelands Interactive member (Programmer)
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

RE: Modding tutorial project

Post by doomtrader »

User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

ORIGINAL: Bleck

non-ascii letters (in Poland we have ąćęłńóśóźż...), usually to write them you need to use "Alt" key...

Thank you


[:)] to you also DTrader


JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

ORIGINAL: doomtrader

Part two can be found here:
http://forum.wastelands-interactive.com ... php?t=1878

After making a new scenario as instructed, it crashes when I try to start a game using it.

I've attached the ConsoleOut.txt from when it crashed.

[&:]
Attachments
ConsoleOutCrash.txt
(2.91 KiB) Downloaded 9 times
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
Bleck
Posts: 741
Joined: Sun Mar 08, 2009 1:35 pm
Location: Poland
Contact:

RE: Modding tutorial project

Post by Bleck »

Can you upload misc.csv and consts.csv files from this new scenario you are working on?
Wastelands Interactive member (Programmer)
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

Sure! I've renamed a .zip to .txt

[8D]
Attachments
2CSVFiles.txt
(6.29 KiB) Downloaded 2 times
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

I was testing to see if the other scenarios in my copy of the ToW folder on another drive were working but I wasn't choosing a Human player so that I could back out. After starting Barbarossa I tried my MOD_01 and got this.

[&:]

Image
Attachments
WierdStart.jpg
WierdStart.jpg (108.3 KiB) Viewed 231 times
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
Bleck
Posts: 741
Joined: Sun Mar 08, 2009 1:35 pm
Location: Poland
Contact:

RE: Modding tutorial project

Post by Bleck »

ORIGINAL: AH4Ever
After making a new scenario as instructed, it crashes when I try to start a game using it.
In misc.csv you attached texts are in quotation-marks ("some text"). Simply remove all " characters in this file.
ORIGINAL: AH4Ever
I was testing to see if the other scenarios in my copy of the ToW folder on another drive were working but I wasn't choosing a Human player so that I could back out. After starting Barbarossa I tried my MOD_01 and got this.
misc.csv, last value in 5th line must be equal to game version.


Wastelands Interactive member (Programmer)
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

In misc.csv you attached texts are in quotation-marks ("some text"). Simply remove all " characters in this file.

Thank you, once again.

This is what happens when you let amateurs play with powerful software.





Image
Attachments
Scalc.jpg
Scalc.jpg (77.71 KiB) Viewed 231 times
JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
AH4Ever
Posts: 628
Joined: Wed Jul 29, 2009 5:30 pm
Location: NU JOYZ

RE: Modding tutorial project

Post by AH4Ever »

ORIGINAL: doomtrader

And here is next part.
http://forum.wastelands-interactive.com ... php?t=2028
This time about the weather

weather.csv file tells you what kind of weather is at given hex and can it be changed by weather generator (1) or not (0).

Is it possible to use weather.csv to prevent weather from happening in a particular hex or group of hexes?


Never mind I figured it out. It works, it's possible, I did it.

Types of Weather - Good = 0, Snow =1, Mud = 2

BTW while I was working on this, I noticed that in cities.csv there is no entry or data for Istanbul (179,129)



JJMC

The next best thing to being clever is being able to quote someone who is.

You weren't there Thursday... You MISSED it!
User avatar
axisandallies
Posts: 329
Joined: Sun Sep 20, 2009 11:30 pm

RE: Modding tutorial project

Post by axisandallies »

I want to say "thank you". You have made this game fun for me.
Stupid rebellion, anyhow....D. Vader
Post Reply

Return to “WW2: Time of Wrath”