## Override ocean

Learn here how to create and use plugins.

Moderator: Plugin Moderators

Lobby
Developer
Reactions:
Posts: 3640
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

### Override ocean

Doesn't this looks beautiful?
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.

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:
Now the important part

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}]
}
]
own_ocean.zip
=^._.^= ∫

Wekabu city
Inhabitant of a Megalopolis
Reactions:
Posts: 556
Joined: Tue Aug 29, 2017 21:07
Location: Germany, Hessia
Plugins: Show
Version: Beta

### Re: Override ocean

former member wrote:
Wed Dec 06, 2017 8:54
Lava oceans in TheoTown. So cool. We're now able to make hell
WELCOME TO HELL!
Free & Open Source Software Advocate.
I am also an armchair lawyer when it comes to copyright and I quite enjoy alongside other languages such as C++

rjroldan1
Inhabitant of a Megalopolis
Reactions:
Posts: 653
Joined: Mon Jul 17, 2017 16:16
Location: Philippines
Plugins: Show
Contact:

### Re: Override ocean

what is the purpose of that white texture

.╔═╗─────────────╔╗────────
║╬║─╔╗╔╦╗╔═╗╔╗─╔╝║╔═╗─╔═╦╗
║╗╣─╠╣║╔╝║╬║║╚╗║╬║║╬╚╗║║║║
╚╩╝╔╝║╚╝─╚═╝╚═╝╚═╝╚══╝╚╩═╝
───╚═╝────────────────────
T.P.C.
Theotown Philippine Corporation

JustAnyone
Rip-off engineer
Reactions:
Posts: 3113
Joined: Sun Jul 23, 2017 12:45
Location: Easter Island
Plugins: Show

### Re: Override ocean

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

CommanderABab
AB
Reactions:
Posts: 9256
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

### Re: Override ocean

Mrqwerty
Inhabitant of a Megalopolis
Reactions:
Posts: 578
Joined: Sat Oct 06, 2018 21:48
Location: Vermont, United States
Plugins: Show
Version: Beta

### Re: Override ocean

Now I can finish my "end of the world" map.
WHAT IS THE DEAL WITH AIRPLANE FOOD