Water road

Transport, Airport, and Road plugins

Moderator: Plugin Moderators

Forum rules
The main focus of the plugin is a road or appears in the in-game transportation or airport tabs

Moving Cars, ships, and planes may be included also. :)
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Water road

#1

Post by CommanderABab »

Screenshot_20200101-130902.jpg

Code: Select all

[{  
     "id":"ab.xyrrp.water", 
     "type":"road", 
     "author":"Commander ABab",
     "level":0,
     "width":1,
     "height":1,
     "hidden":false,
     "frames":[{"x":512,"y":0,"w":32,"h":16,"count":16}],
     "supports slope":true, // not actually, but will clear trees on a slope.
     "title":"Water road", 
     "text":"While grading the road, they hit water!  :/\nSlower than the dirt road!\nIf you see this by clicking on a road, please update TheoTown!",
     "draw ground":true,
     "speed":0.9,
     "speed winter":0.7,
     "price":10,
     "monthly price":1,
     "devoted":true,
     "allow crossing":true,
     "allow transfer":true,
     "connectable":false,
     "map color":{"r":197,"g":126,"b":100},
     "on built fun":[
        {
          "actions":[
            {"type":"remove"},
            {"type":"build","id":"$water00"}
          ]
       }
     ]
   }]
Copy and paste into a json file. No images needed in the folder.

Have you ever wanted to place a single tile width line of water across your map? The water tool doesn't reach that far! This will. :)

Unfortunately, this has no bridges, so you cannot cross water. :)

You may cross existing roads while building. Dirt roads (and level 0) will be replaced by water (if terrain is at sea level). Any other level roads crossed will remain with water in a line on either side.

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: Water road

#2

Post by Hadestia »

If it is a cloaked road that places on water?

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

Plugin Creator

Platform

Re: Water road

#3

Post by CommanderABab »

No, it is a dirt road that makes where it is placed water.

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: Water road

#4

Post by Hadestia »

Thats nice!

User avatar
Lakan Haraya
Metropolitan
Reactions:
Posts: 131
Joined: 28 Mar 2019, 09:34
Location: Philippines
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Water road

#5

Post by Lakan Haraya »

Excuse me, what does "devoted" do?

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

Plugin Creator

Platform

Re: Water road

#6

Post by CommanderABab »

Devoted makes sure to join up with other roads it meets when built.

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

Plugin Creator

Platform

Re: Water road

#7

Post by CommanderABab »

Screenshot_20200102-175723.jpg

Code: Select all

[{  
     "id":"ab.alley.xyrrp.water", 
     "type":"road", 
     "author":"Commander ABab",
     "level":0,
     "width":3,
     "height":1,
     "hidden":false,
     "frames":[
          {"x":512,"y":0,"w":32,"h":16,"count":16},
          {"x":512,"y":0,"w":32,"h":16,"count":16},
          {"x":512,"y":0,"w":32,"h":16,"count":16},
          {"x":512,"y":0,"w":32,"h":16,"count":16}],
     "supports slope":true,
     "title":"Water road alley", 
     "text":"While grading the road, they hit water!  :/\nSlower than the dirt road!",
     "draw ground":true,
     "speed":0.9,
     "speed winter":0.7,
     "price":10,
     "monthly price":1,
     "devoted":true,
     "allow crossing":true,
     "allow transfer":true,
     "connectable":false,
     "map color":{"r":197,"g":126,"b":100},
     "on built fun":[
        {
          "actions":[
            {"type":"remove"},
            {"type":"build","id":"$water00"}
          ]
       }
     ]
   }]
Copy and paste into a .json file. Uses in-game textures only.

The preview shows a road section in the center, but that is not built.
Added a price since the preview.

An alley version. Not one-way, since they don't stay. If placed right, will put a line of water on either side of an existing road. Or two parallel lines of water. :)


A bit of a warning about water roads. You may place them through under bridge crossings if the bridge is completely built over level 1 or greater roads (country road, highway, etc). If there is a dirt road or level 0 road or no road under the bridge, placing the water road will likely break the bridge.

User avatar
imajoke
Inhabitant of a Conurbation
Reactions:
Posts: 532
Joined: 27 Oct 2019, 02:39
Plugins: Showcase Store
Version: Beta

Re: Water road

#8

Post by imajoke »

download link?

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

Plugin Creator

Platform

Re: Water road

#9

Post by CommanderABab »

It's copy and paste and make your own. :)

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: Water road

#10

Post by Hadestia »

Doesn't work in me, it just build water everytime i placed.

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

Plugin Creator

Platform

Re: Water road

#11

Post by CommanderABab »

Yep. That's what it does. :)

Post Reply Previous topicNext topic

Return to “Transport, Airport, Roads”