Page 1 of 1

Sprites_depths

Posted: Mon Jul 12, 2010 5:19 am
by Uxbridge
Have tried some more modding, but runs into all sorts of problems not encountered in ToW. When dealing with the map, for instance, the rivers appear below woods, making them invisible in areas with a cluster of wood hexes. Rivers definitely have a higher number in sprites_depths.csv.

What can be the reason for this problem?

RE: Sprites_depths

Posted: Mon Jul 12, 2010 7:38 am
by Magpius
Yep, had the same problem. There were even some repeated line numbers in the .csv file.
I tried to put rivers over forest, but to no avail.

RE: Sprites_depths

Posted: Mon Jul 12, 2010 9:03 am
by Uxbridge
Well, unless someone shows up here with a solution, I know how to fix it. Takes a lot of redrawing, but not overwhelmingly so. One has to avoid the hex edges with forest and jungle.

RE: Sprites_depths

Posted: Mon Jul 12, 2010 11:36 am
by Magpius
Will this work?
Doom explained that the map randomly selected terrain hex tiles. The forest and jungle tiles would possibly need to be cropped on all sides, leaving small 'islands' of terrain?
(oh and for people still not liking the hex pattern on the sea zones, just paint the sea hexes larger, that should do it.)

RE: Sprites_depths

Posted: Mon Jul 12, 2010 1:41 pm
by Uxbridge
You're right about the small islands, but it works fine by me. It came out like this:


Image

RE: Sprites_depths

Posted: Mon Jul 12, 2010 3:10 pm
by Bleck
I will check what is with this river depth in few minutes.

--------------
Did you guys saw this comment line in sprites_depth.csv?
#Second column: sprite type description (don't edit!);
[;)]
You should not change order in second column, it must be like this:
Water
Beach
Plain
Desert
Swamp
Hill
Mountain
River
Rough
Forest Plants
Hex Highlight
Hex Ownership Highlight
Hex Grid
City/Fortification
Unit
Unit In Move
Weather
Border lines
You should only edit level values in first column. Game always treats first line as water level, second line as Beach and so on. So in fact first column is important, second one is just info for modders.
Hope this helps.

RE: Sprites_depths

Posted: Mon Jul 12, 2010 3:26 pm
by Uxbridge
Nice.

When you're at it, could you also direct me to the post in ToW where the meaning of the codes in appearance was explained (map and units). I have forgotten alla bout it and can't make it out.

RE: Sprites_depths

Posted: Mon Jul 12, 2010 3:38 pm
by Uxbridge
ORIGINAL: Bleck

I will check what is with this river depth in few minutes.

--------------
Did you guys saw this comment line in sprites_depth.csv?
#Second column: sprite type description (don't edit!);
[;)]
You should not change order in second column, it must be like this:
Water
Beach
Plain
Desert
Swamp
Hill
Mountain
River
Rough
Forest Plants
Hex Highlight
Hex Ownership Highlight
Hex Grid
City/Fortification
Unit
Unit In Move
Weather
Border lines
You should only edit level values in first column. Game always treats first line as water level, second line as Beach and so on. So in fact first column is important, second one is just info for modders.
Hope this helps.

Moved the sprites_depth from your original map folder and overwrote mine. That did solve the problem. Many thanks.

RE: Sprites_depths

Posted: Mon Jul 12, 2010 3:53 pm
by Bleck
ORIGINAL: Uxbridge

Nice.

When you're at it, could you also direct me to the post in ToW where the meaning of the codes in appearance was explained (map and units). I have forgotten alla bout it and can't make it out.

fb.asp?m=2252511
tm.asp?m=2169442&mpage=1&key=&#2173282

RE: Sprites_depths

Posted: Mon Jul 12, 2010 4:12 pm
by Uxbridge
Yes, that was it; now added to favourites. I'll try once more to decipher this and give the counters a shot. Then, maybe, I will start on this new scenario. [:)]

RE: Sprites_depths

Posted: Tue Jul 13, 2010 2:40 am
by Magpius
Haha,
I completely ignored the "do not move".
I don't read manuals, either [:D].
Thanks B., I'm sure this will do the trick. Will update map mod and post accordingly.

RE: Sprites_depths

Posted: Tue Jul 13, 2010 2:50 am
by Magpius
Slightly off topic, but the screen grabs reminded me... Why are some names in Sentence Case, while others are entirely in UPPERCASE?
What else am I missing here?