[Deprecated] Override ocean

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

[Deprecated] Override ocean

#1

Post by Lobby »

 ! Message from: Lobby
This description is deprecated as the game uses a new way to draw water since version 1.9.78. See here: viewtopic.php?f=38&t=13240
Doesn't this looks beautiful? (it doesn't)
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 216 times

User avatar
Wekabu city
Inhabitant of a Megalopolis
Reactions:
Posts: 586
Joined: 29 Aug 2017, 21:07
Location: Germany, Hessia
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Override ocean

#2

Post by Wekabu city »

former member wrote:
06 Dec 2017, 08:54
Lava oceans in TheoTown. So cool. We're now able to make hell O_o
WELCOME TO HELL!

User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 727
Joined: 17 Jul 2017, 16:16
Location: Philippines
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: Override ocean

#3

Post by Hadestia »

what is the purpose of that white texture

User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Override ocean

#4

Post by JustAnyone »

rjroldan1 wrote:
08 Jan 2018, 11:30
what is the purpose of that white texture
Water sparkle.

Online
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Override ocean

#5

Post by CommanderABab »


User avatar
Mrqwerty
Inhabitant of a Megalopolis
Reactions:
Posts: 579
Joined: 06 Oct 2018, 21:48
Location: Vermont, United States
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Override ocean

#6

Post by Mrqwerty »

Now I can finish my "end of the world" map.

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”