Page 1 of 1

Override ocean

Posted: Wed Dec 06, 2017 0:58
by Lobby
Doesn't this looks beautiful?
lava.png
I don't think so, either. But I'm sure you can come up with a use for replacing the default ocean so here I present a way to do so. However, as you my notice coastlines are a problem. To solve it (depending on the color of your water) you might have to override the ground, too. Another thing is that water will always be blue in the minimap.

So let's start with the needed graphics:
water_orig.png
sparkle_orig.png
Both are divided into 8 frames which are then used for the animation. The latter image is use for the water sparkle effect (which can be turned off). If the latter image is just white for you that's normal as it just uses white and transparency.

So let's replace these graphics by applying some color shift:
water.png
sparkle.png
Now the important part :json

Code: Select all

[
  {
    "override":true,
    "id":"$anim_ocean00",
    "type":"animation",
    "frames":[{"bmp":"water.png","w":128,"h":128,"count":8,"target height":64}]
  },
  {
    "override":true,
    "id":"$anim_ocean01",
    "type":"animation",
    "frames":[{"bmp":"sparkle.png","w":128,"h":128,"count":8,"target height":64}]
  }
]
Ready to download (includes original graphics for modification) :plugin
own_ocean.zip
(226.49 KiB) Downloaded 46 times

Re: Override ocean

Posted: Wed Dec 06, 2017 21:58
by Wekabu city
former member wrote:
Wed Dec 06, 2017 8:54
Lava oceans in TheoTown. So cool. We're now able to make hell O_o
WELCOME TO HELL!

Re: Override ocean

Posted: Mon Jan 08, 2018 11:30
by rjroldan1
what is the purpose of that white texture

Re: Override ocean

Posted: Tue Jan 01, 2019 18:36
by JustAnyone
rjroldan1 wrote:
Mon Jan 08, 2018 11:30
what is the purpose of that white texture
Water sparkle.

Re: Override ocean

Posted: Tue Jan 01, 2019 18:52
by CommanderABab

Re: Override ocean

Posted: Wed Jan 02, 2019 0:39
by Mrqwerty
Now I can finish my "end of the world" map.