Override ocean

Learn here how to create and use plugins.

Moderator: KoalaGuy

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

Override ocean

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

User avatar
Matison55557
Inhabitant of a Universe
Reactions:
Posts: 4407
Joined: Mon Jul 04, 2016 18:49
Location: Poland
Plugins: Show
Version: Beta
Phone: Huawei P9 lite mini

Re: Override ocean

Post by Matison55557 » Wed Dec 06, 2017 8:54

Lava oceans in TheoTown. So cool. We're now able to make hell O_o
416416: Adjust production of power and water!
   plugins&requester
🔸5️⃣5️⃣5️⃣5️⃣7️⃣🔸

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

Re: Override ocean

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

Matison55557 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!
Save Theotown! before it's too late

User avatar
Matison55557
Inhabitant of a Universe
Reactions:
Posts: 4407
Joined: Mon Jul 04, 2016 18:49
Location: Poland
Plugins: Show
Version: Beta
Phone: Huawei P9 lite mini

Re: Override ocean

Post by Matison55557 » Wed Dec 06, 2017 22:06

But I'm sure that <KoalaGuy> will soon come up with a very funny and weird way to use this feature, like he always does.
Last edited by KoalaGuy on Wed Dec 06, 2017 22:50, edited 1 time in total.
Reason: Clarification
416416: Adjust production of power and water!
   plugins&requester
🔸5️⃣5️⃣5️⃣5️⃣7️⃣🔸

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

Re: Override ocean

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

what is the purpose of that white texture
PROUD TO BE A FILIPINO😉
add me on facebook Rj christian roldan
president of royal region
want more plugins?
im not a speaker just remind

User avatar
Matison55557
Inhabitant of a Universe
Reactions:
Posts: 4407
Joined: Mon Jul 04, 2016 18:49
Location: Poland
Plugins: Show
Version: Beta
Phone: Huawei P9 lite mini

Re: Override ocean

Post by Matison55557 » Mon Jan 08, 2018 11:40

It's the water sparkle I am guessing.
416416: Adjust production of power and water!
   plugins&requester
🔸5️⃣5️⃣5️⃣5️⃣7️⃣🔸

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest