Roads

Find tutorials, documentation, and resources for creating and using TheoTown plugins.
Previous topicNext topic
User avatar
Wepf
Inhabitant of a Megacity
Reactions:
Posts: 257
Joined: 14 Oct 2021, 08:19
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by Wepf »

CommanderABab wrote: 25 Nov 2021, 08:30
Wepf wrote: 25 Nov 2021, 07:45 Screenshot_20211125-141913_TheoTown.jpg


How to make the road have seawalls, please send me the link of the tutorial or teach me
Screenshot_20211125-022109_TheoTown.jpg

It's automatic by the game when something is built on water's edge or on a slope.
But it doesn't appear when I build it from my road plugin
I play music and create theotown plugin (rarely)


Btw I'm from 🇹🇭 and I'm 13
User avatar
CommanderABab
AB
Reactions:
Posts: 11269
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by CommanderABab »

Which plugin is that?
my avatar:
User avatar
Wepf
Inhabitant of a Megacity
Reactions:
Posts: 257
Joined: 14 Oct 2021, 08:19
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by Wepf »

CommanderABab wrote: 25 Nov 2021, 09:25 Which plugin is that?
Here the link
⬇️
viewtopic.php?f=59&t=14117
I play music and create theotown plugin (rarely)


Btw I'm from 🇹🇭 and I'm 13
User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 722
Joined: 17 Jul 2017, 14:16
Location: Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: Roads

Post by Hadestia »

Does "frames" And "one way frames" Array are different?
 ! Message from: Hadestia
Visit my YouTube channel:
https://youtube.com/channel/UC5qG-r8y21036JZbGRClbdQ
User avatar
SRBAPH
Villager
Reactions:
Posts: 13
Joined: 13 Jan 2022, 03:59
Location: Cavite, Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: Roads

Post by SRBAPH »

hello! I'm making a diagonal road for my own plugin, but I'm confused about the frames bc I cant make frames without any guides...
꧁༒𝔖ℜ𝔅𝔄 𝔓ℌ༒꧂

CEO of Department of Transportation and Communications
(DOTC)


Youtube Channel
https://bit.ly/3rh6hd9

I'm a 13 years old Programmer from the Philippines!
View my Site for more informations:

https://bit.ly/3FnMWfD
User avatar
Yakka Works
Inhabitant of a Conurbation
Reactions:
Posts: 412
Joined: 06 Jan 2020, 07:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by Yakka Works »

Hello,how i can add one lane road?
And also,is it possible to force vehicle that goes to road that i made using provided V2?
My plugins,up to date and it's free on my website. So check it out.
My website
Community/Creators Discord Server List
User avatar
Yakka Works
Inhabitant of a Conurbation
Reactions:
Posts: 412
Joined: 06 Jan 2020, 07:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by Yakka Works »

SRBAPH wrote: 19 Jan 2022, 02:22 hello! I'm making a diagonal road for my own plugin, but I'm confused about the frames bc I cant make frames without any guides...
viewtopic.php?p=171988#p171988
My plugins,up to date and it's free on my website. So check it out.
My website
Community/Creators Discord Server List
User avatar
TheFennekin
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2715
Joined: 24 Aug 2017, 09:17
Location: honsing around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by TheFennekin »

Naufhal wrote: 01 Mar 2022, 14:58 Admin. What function "count"
Number of times on how many frames will be used. Used when there is multiple frames on one image file. (Like the road image file for example)

Since we have 16 road frames to be used, we then must put "count":16 just like this:
"bmp":[{image.png},"count":16,"w":enter width of each frame, "h":enter height of each frame}]

Hope this helps Naufhal
Image
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 12:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Roads

Post by Marsneko »

How do you make a left-hand road?
I am Japanese!
Please use simple English. :bc
User avatar
TheFennekin
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2715
Joined: 24 Aug 2017, 09:17
Location: honsing around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by TheFennekin »

Marsneko wrote: 04 Mar 2022, 13:25 How do you make a left-hand road?
You can't specify it on the json itself. Go to settings, turn on experimental features and debug on, then turn on the left hand drive roads option. Works on 2 way roads only.
Image
User avatar
Marsneko
Villager
Reactions:
Posts: 24
Joined: 04 Mar 2022, 12:00
Location: Japan Shikoku
Plugins: Showcase Store

Re: Roads

Post by Marsneko »

ok.Will that be reflected in the plugin?
I am Japanese!
Please use simple English. :bc
y
yusuf8a684
Reactions:

Re: Roads

Post by yusuf8a684 »

diagonal bridges possible?
User avatar
TheFennekin
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2715
Joined: 24 Aug 2017, 09:17
Location: honsing around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by TheFennekin »

Marsneko wrote: 06 Mar 2022, 03:08 ok.Will that be reflected in the plugin?
Plugin or ingame roads, it will make it LHD road
Image
User avatar
FVI
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2442
Joined: 22 Feb 2022, 16:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: Roads

Post by FVI »

What can I do if I want to allow only a certain vehicle to pass through that road?
My YT channel! https://www.youtube.com/@FVI297

(Changed the location writing, the old one sounded bad)
User avatar
CommanderABab
AB
Reactions:
Posts: 11269
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by CommanderABab »

An example only:

Code: Select all

{ 
    "id":"abcd", 
    "type":"car", 
    "frames":[ 
      {"bmp":"yourcarframes","w":#,"count":4}
    ], 
    "capacity":355,
    "flag user3":true,
    "flag user2":true,
    "flag normal":false,
    "speed":0.35,
    "v2":true 
  },

...in some other id:
{
"car spawner":[
           {
             "cars":["abcd"],
             "count":1000,
             "radius":2000,
             "targets":[
              "$watertower00",
              "$gasplant00",
              "$windturbine00",
              "$nuclearplant00",
              "$solarpanels00"
             ]
           }
    ]   
}

You would also use these same flags in your road:

Code: Select all

...
    "flag user3":true,
    "flag user2":true,
    "flag normal":false,
    ...
my avatar:
User avatar
FVI
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2442
Joined: 22 Feb 2022, 16:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: Roads

Post by FVI »

?I do not understand Can you make a summary of all the meanings of that attributes? :bt
My YT channel! https://www.youtube.com/@FVI297

(Changed the location writing, the old one sounded bad)
User avatar
erionit
Metropolitan
Reactions:
Posts: 113
Joined: 31 Dec 2021, 18:56
Location: Russia
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

Post by erionit »

Kiki012 wrote: 01 Mar 2022, 09:38 Hello,how i can add one lane road?
And also,is it possible to force vehicle that goes to road that i made using provided V2?
the same question. how to make, for example, a road in the center of which there will be one lane, and on the sides at once pedestrian / bike paths (even if the latter are just decor)
Эрионит (Arangasit)- создатель плагинов.
I live in Russia, with my soul in Saint Kitts and Nevis
mu DC server? welcome https://discord.com/channels/1010509128 ... 3243235369
:bc
User avatar
Yakka Works
Inhabitant of a Conurbation
Reactions:
Posts: 412
Joined: 06 Jan 2020, 07:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Diagonal 4 lane road.

Post by Yakka Works »

road_Asphalt_dia_white_Double.png
road_Asphalt_white_Double.png
Free to use,credit is appreciated.
You do not have the required permissions to view the files attached to this post.
My plugins,up to date and it's free on my website. So check it out.
My website
Community/Creators Discord Server List
User avatar
PixelDubs
Inhabitant of a Megalopolis
Reactions:
Posts: 613
Joined: 02 Nov 2020, 18:14
Location: probably at a concert
Plugins: Showcase Store

Plugin Creator

Platform

Re: Roads

Post by PixelDubs »

What a flipping legend
they/them
🇬🇧🏴󠁧󠁢󠁷󠁬󠁳󠁿
L
Lydia
Settler
Reactions:
Posts: 1
Joined: 21 Dec 2021, 16:19

Re: Roads

Post by Lydia »

Can you give me texture of Diagonal road and the code so j can complete my Plasma Road Plugin
Previous topicNext topic