modding the map (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> WW2: Time of Wrath >> Scenarios and Mods



Message


gwgardner -> modding the map (11/7/2009 9:46:50 PM)

obviously it can be done, but I can't figure out how.

the ed.exe in the editor folder doesn't work for me. And there's nothing in the modding tutorial about changing the map.

How is it done? Thx for any help.

I want to mod the standard map to make the Qatar Depression as difficult to move through as mountains.




Uxbridge -> RE: modding the map (11/7/2009 9:54:27 PM)

No, you can't do that. That's why I made it totally impassable. The editor included in the game is only for changing coastal areas, hex ownership and fortifications.




gwgardner -> RE: modding the map (11/8/2009 4:11:12 PM)

How did you do that? I'd like the same for the regular map.




Uxbridge -> RE: modding the map (11/8/2009 8:05:37 PM)

Do this:

Go to "countries" and find some nice nation to use. I think I took number 73. Rename this nation "impassable" or whatever else you can think of. If you like it really simple, just open ETO and copy this line. Paste it into the same place in your scenario.

Then you go to editor and open the appropriate map. You have 3 tabs: ownership, fortifications and coastal hexes (or areas). Chose ownership. Then use the dropdown menu to locate country impassable. Now, by clicking on the map, you change whatever hex you chose to country impassable. Move around it by holding left ctrl down and moving mouse. Bit odd, but after a while it works. Make sure not to have ToW running in the background. That will make movements slow and hard to calculate.

When you have made the changes, save the map again and exit. That's it! Now no units can enter hexes belonging to Impassable and since this country won't show up on the diplomatic map, no one can declare war against it.




gwgardner -> RE: modding the map (11/8/2009 10:47:18 PM)

How very clever.

However, any time I run ed.exe, I get an error from the OS saying ed.exe has stopped functioning. I've never been able to run it. I'm on a Vista system.




Uxbridge -> RE: modding the map (11/9/2009 5:32:42 AM)

You don't have ToW running simultaniously?

Send me copies of countries and map and I fix it. I have to know the identity of the hexes in question.




Harbinger -> RE: modding the map (12/13/2009 10:37:53 PM)

Okay, time for me to expose how dumb i am.[sm=crazy.gif]

How does one mod the actual terrain changes? I have a basic understanding of how the ed.exe works with the ownership and stuff.

For example;
How does one modify the current Forest hex graphic from the standard to a different look?
How does one then assign that new graphic to a map coordinate?

These seem simple and basic questions but I ain't figgered it out. [&:]
I have no experience of this type.[8|]





Harbinger -> RE: modding the map (12/14/2009 11:34:09 PM)

Is it possible to create an entirely new map?




Uxbridge -> RE: modding the map (12/15/2009 6:27:11 AM)

No, you can't do that unless WI release the larger version of the map editor. As it is now, they like to keep it to themselves. The exact reason for that, I don't know. One would surmise that if this was made available, us modders would create a lot of smaller scenarios, and the general interest for the game would most likely rise. But maybe they like the option to create and sell more such scenarios in the future themselves, and don't want an already diluted market.




doomtrader -> RE: modding the map (12/15/2009 8:55:07 AM)

quote:

For example;
How does one modify the current Forest hex graphic from the standard to a different look?
How does one then assign that new graphic to a map coordinate?

These seem simple and basic questions but I ain't figgered it out.
I have no experience of this type.


There are two files responsible for what you see on the map.
I'll try to explain that on normal map as example which is located at:
World War 2 Time of Wrath\data\gfx\[MapSkin]Normal\

Please remember that name of the folder is also name of the map.

You can find there three gfx files:
eyecandies.png
others.png
terrain.png


In terrain.png there are six images for every type of terrain in good, rainy or snowy weather. Those are placed randomly by the game engine, so if you would like to have a specific look of forest at specific hex it would be better to use eyecandies.png

Here is only a theory, I'm not a artist or programmer but I'll try to explain as good as I can.
You should use some advanced program for editing gfx (GIMP which is free will do). all images should be placed in rows and columns. The center of the image is a center of the hex. If you place a new image there, you will be able to point where it should be placed on the map.
To do so open eyecandies.csv file in the scenario folder.
I think that the description placed in there will be enough.

#Eyecandies - sprites for hex customization		
#Eyecandie coordinates are (ex,ey). Both ex and ey are in range 0...11. In file eyecandies.png of map skin top-left eyecandy is (0,0), bottom-right is (11,11)		
#Format description:		
#First and second column: hex coordinates (x	y) of eyecandy	
#Third column: eyecandy level of depth (range 0...39, see sprites_depth.csv for more info)		
#Fourth and fifth column: eyecandy coordinates (ex,ey) for "good" weather		
#Sixth and seventh column: eyecandy coordinates (ex,ey) for "snow" weather		
#Eight and nineth column: eyecandy coordinates (ex,ey) for "mud" weather







Harbinger -> RE: modding the map (12/15/2009 12:37:05 PM)

Thank you Uxbridge and doomtrader for these answers.

I was slowly realizing these things as the only file I could find with actual hex coordinates for graphics was the eyecandies.csv. Since it is not possible to create new maps, it is fortunate the developers have provided 3 maps to use.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.140625