Override ocean

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3332
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Override ocean

#1

Post by Lobby » Wed Dec 06, 2017 0:58

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 45 times
...Have a nice stay

User avatar
Wekabu city
Inhabitant of a Conurbation
Reactions:
Posts: 489
Joined: Tue Aug 29, 2017 21:07
Location: Somewhere in the nowhere
Plugins: Show
Version: Beta
Phone model: Wiko Sunset 2

Platform

Plugin Creator

Re: Override ocean

#2

Post by Wekabu city » Wed Dec 06, 2017 21:58

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!
Oh Hey, you probably stumbled upon a 1 yrs old post.

The end before it begins

But maybe not

User avatar
rjroldan1
Inhabitant of a Conurbation
Reactions:
Posts: 462
Joined: Mon Jul 17, 2017 16:16
Location: philippines
Plugins: Show
Version: Beta
Contact:

Platform

Plugin Creator

Re: Override ocean

#3

Post by rjroldan1 » Mon Jan 08, 2018 11:30

what is the purpose of that white texture
Silent

President of Metropole region

____________________________________________________________________________________
I LOVE PHILIPPINES

User avatar
JustAnyone
Junior Developer
Reactions:
Posts: 2595
Joined: Sun Jul 23, 2017 12:45
Location: No idea either
Plugins: Show

Plugin Creator

Platform

Re: Override ocean

#4

Post by JustAnyone » Tue Jan 01, 2019 18:36

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

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

Platform

Plugin Creator

Re: Override ocean

#5

Post by CommanderABab » Tue Jan 01, 2019 18:52

746!746Currently using beta 746. 746 What's new? :)
lit trfc lights!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
Mrqwerty
Inhabitant of a Conurbation
Reactions:
Posts: 449
Joined: Sat Oct 06, 2018 21:48
Location: VER-MONT!
Plugins: Show
Version: Beta
Phone model: 2003 LG flip phone

Platform

Plugin Creator

Re: Override ocean

#6

Post by Mrqwerty » Wed Jan 02, 2019 0:39

Now I can finish my "end of the world" map.
Show
DO NOT PRESS
WHAT IS THE DEAL WITH AIRPLANE FOOD :calc :bb :bq SEE MY PLUGINS
...I TOLD YOU NOT TO PRESS! :x btw, you weren't supposed to press this either :x

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest