SphereCommunity
Water TERRAIN - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Water TERRAIN (/Thread-Water-TERRAIN)



Water TERRAIN - FiLoUs64 - 09-01-2019 12:26 PM

Hi, is-it a bug or is there an other way to change the terrain for the water?

Because right now the type when you are in the middle of water are t_jungle so you can't fish.


[Image: unknown.png]

The TYPEDEF looks correct :

Quote:[TYPEDEF t_water]
TERRAIN = 0a8 0ab
TERRAIN = 0136 0137
TERRAIN = 05797 0579c
TERRAIN = 0746e 07485
TERRAIN = 07490 074ab
TERRAIN = 074b5 075d5


Any ideas?


Thanks


RE: Water TERRAIN - Coruja - 09-02-2019 04:40 PM

try also check if [TYPEDEF t_jungle] have any def for this tile "0AA"

maybe this tile is being defined on t_water and later redefined again on t_jungle


RE: Water TERRAIN - Nirad - 09-03-2019 01:01 AM

Close the range id have fix the problem

Code:
[TYPEDEF t_swamp]         [TYPEDEF t_swamp]
TERRAIN = 07dc    0808         TERRAIN = 07dc    0808
TERRAIN = 083b    0867         TERRAIN = 083b    0867
TERRAIN = 03d65                 TERRAIN = 03d65    03d65
TERRAIN = 03dc0    03df1     TERRAIN = 03dc0    03df1
TERRAIN = 03ef0                 TERRAIN = 03ef0    03ef0


  [TYPEDEF t_sand]                 [TYPEDEF t_sand]
TERRAIN = 016    03e         TERRAIN = 016    03e
TERRAIN = 044    04b         TERRAIN = 044    04b
TERRAIN = 011e    012d         TERRAIN = 011e    012d
TERRAIN = 0192                 TERRAIN = 0192    0192
TERRAIN = 01a8    01ab         TERRAIN = 01a8    01ab
TERRAIN = 01b9    01d1         TERRAIN = 01b9    01d1
TERRAIN = 0282    0291         TERRAIN = 0282    0291
@@ -113,7 +113,7 @@             TERRAIN = 066f    0672


  [TYPEDEF t_jungle]         [TYPEDEF t_jungle]
TERRAIN = 0ac    0bf         TERRAIN = 0ac    0bf
TERRAIN = 0ec                 TERRAIN = 0ec    0ec



RE: Water TERRAIN - Coruja - 09-03-2019 08:03 AM

I found the problem, it was an small internal change that was making lines with "TERRAIN=min max" consider the value as 0 when its empty

This makes
Code:
[TYPEDEF t_jungle]
TERRAIN = 0ac 0bf
TERRAIN = 0ec
turn into
Code:
[TYPEDEF t_jungle]
TERRAIN = 0ac 0bf
TERRAIN = 0ec 0
and the water tile 0aa is located between 0 ~ 0ec so it was being considered as t_jungle

But anyway this is already fixed on latest 56d build, just update to this build and everything will work fine