Sprites_depths

Post new scenarios and mods here to share with other gamers.
Post Reply
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

Sprites_depths

Post 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?
User avatar
Magpius
Posts: 1748
Joined: Thu Sep 20, 2007 11:21 pm
Location: Melbourne, Australia

RE: Sprites_depths

Post 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.

"I don't believe in reincarnation because I refuse to come back as a bug or as a rabbit". -New Order
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Sprites_depths

Post 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.
User avatar
Magpius
Posts: 1748
Joined: Thu Sep 20, 2007 11:21 pm
Location: Melbourne, Australia

RE: Sprites_depths

Post 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.)

"I don't believe in reincarnation because I refuse to come back as a bug or as a rabbit". -New Order
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Sprites_depths

Post by Uxbridge »

You're right about the small islands, but it works fine by me. It came out like this:


Image
Attachments
rivers.jpg
rivers.jpg (727.64 KiB) Viewed 302 times
User avatar
Bleck
Posts: 741
Joined: Sun Mar 08, 2009 1:35 pm
Location: Poland
Contact:

RE: Sprites_depths

Post 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.
Wastelands Interactive member (Programmer)
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Sprites_depths

Post 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.
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Sprites_depths

Post 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.
User avatar
Bleck
Posts: 741
Joined: Sun Mar 08, 2009 1:35 pm
Location: Poland
Contact:

RE: Sprites_depths

Post 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
Wastelands Interactive member (Programmer)
User avatar
Uxbridge
Posts: 1514
Joined: Sun Feb 08, 2004 6:16 pm
Location: Uppsala, Sweden

RE: Sprites_depths

Post 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. [:)]
User avatar
Magpius
Posts: 1748
Joined: Thu Sep 20, 2007 11:21 pm
Location: Melbourne, Australia

RE: Sprites_depths

Post 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.

"I don't believe in reincarnation because I refuse to come back as a bug or as a rabbit". -New Order
User avatar
Magpius
Posts: 1748
Joined: Thu Sep 20, 2007 11:21 pm
Location: Melbourne, Australia

RE: Sprites_depths

Post 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?

"I don't believe in reincarnation because I refuse to come back as a bug or as a rabbit". -New Order
Post Reply

Return to “Mods and Scenarios”