Roads

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
mdk_813
Inhabitant of a Country
Reactions:
Posts: 857
Joined: 16 Dec 2016, 02:38
Location: Germany
Plugins: Showcase Store

Platform

Re: Roads

#21

Post by mdk_813 »

Hm, not quite yet, I'm afraid. The game crashes when I'm scrolling to my custom oneway-road in the road menu...
Any ideas what causes this crash?
@KoalaGuy @former member ?
My Plugins: Link

Update Sep 12, 2020:
As I am not really active here anymore, I am not able to answer any PMs in time.
So, as long as you mention me in the plugin and the description, feel free to use or modify my plugins for your own creations.

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

Plugin Creator

Platform

Re: Roads

#22

Post by CommanderABab »

One way roads require 64 frames. You may use 16, and repeat 3 more times, like I showed above.

Of course, you might not want to use my handles for the bridge frames,
as this is for tunnel bridges.
my avatar:

User avatar
mdk_813
Inhabitant of a Country
Reactions:
Posts: 857
Joined: 16 Dec 2016, 02:38
Location: Germany
Plugins: Showcase Store

Platform

Re: Roads

#23

Post by mdk_813 »

CommanderABab wrote:
14 Jan 2018, 02:28
One way roads require 64 frames. You may use 16, and repeat 3 more times, like I showed above.

Of course, you might not want to use my handles for the bridge frames,
as this is for tunnel bridges.
Indeed, thanks. I specified the same image three additional times as frames and the crashes are gone now.
The road still doesn't work, though. My cars won't spawn (I used a custom flag both in the car and the spawner building). Don't know why, but nothing happens there.
My Plugins: Link

Update Sep 12, 2020:
As I am not really active here anymore, I am not able to answer any PMs in time.
So, as long as you mention me in the plugin and the description, feel free to use or modify my plugins for your own creations.

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: Roads

#24

Post by Hadestia »

about the bridge how to customize it?
 ! Message from: Hadestia
Visit my YouTube channel:
https://youtube.com/channel/UC5qG-r8y21036JZbGRClbdQ

User avatar
mdk_813
Inhabitant of a Country
Reactions:
Posts: 857
Joined: 16 Dec 2016, 02:38
Location: Germany
Plugins: Showcase Store

Platform

Re: Roads

#25

Post by mdk_813 »

mdk_813 wrote:
14 Jan 2018, 02:56
Indeed, thanks. I specified the same image three additional times as frames and the crashes are gone now.
The road still doesn't work, though. My cars won't spawn (I used a custom flag both in the car and the spawner building). Don't know why, but nothing happens there.
It gets stranger and stranger. Now I got the car to spawn. However, parts of the car's other frames as well as completely unrelated cars (e.g. parts of the S-Bahn etc.) are shown when the car makes a turn :?
My Plugins: Link

Update Sep 12, 2020:
As I am not really active here anymore, I am not able to answer any PMs in time.
So, as long as you mention me in the plugin and the description, feel free to use or modify my plugins for your own creations.

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

Plugin Creator

Platform

Re: Roads

#26

Post by CommanderABab »

Maybe you have "v2" vehicle images and didn't specify that in the code.
my avatar:

User avatar
mdk_813
Inhabitant of a Country
Reactions:
Posts: 857
Joined: 16 Dec 2016, 02:38
Location: Germany
Plugins: Showcase Store

Platform

Re: Roads

#27

Post by mdk_813 »

CommanderABab wrote:
14 Jan 2018, 10:19
Maybe you have "v2" vehicle images and didn't specify that in the code.
Yes, I have a v2-image and I specified "v2"=true in the car JSON, but it doesn't work as intended.
My Plugins: Link

Update Sep 12, 2020:
As I am not really active here anymore, I am not able to answer any PMs in time.
So, as long as you mention me in the plugin and the description, feel free to use or modify my plugins for your own creations.

User avatar
mdk_813
Inhabitant of a Country
Reactions:
Posts: 857
Joined: 16 Dec 2016, 02:38
Location: Germany
Plugins: Showcase Store

Platform

Re: Roads

#28

Post by mdk_813 »

Alright, I got it working. The error was caused by a superfluous quotation-mark in the specified pixel dimensions of the car frame. :thumbsup:
My Plugins: Link

Update Sep 12, 2020:
As I am not really active here anymore, I am not able to answer any PMs in time.
So, as long as you mention me in the plugin and the description, feel free to use or modify my plugins for your own creations.

User avatar
Tiar/A
Former TiarDVaughn
Reactions:
Posts: 471
Joined: 04 Mar 2018, 19:40
Location: Spokane
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Roads

#29

Post by Tiar/A »

Can someone write a road code for me please? And make the road blue like KoalaGuy did? I'm new to this plugin stuff and I'm very confused.
I don't ask for much but enough room to spread my wings and the world finna know my name

User avatar
Caliber
Metropolitan
Reactions:
Posts: 128
Joined: 24 Jan 2018, 03:48
Location: Somewhere in the Philippines
Plugins: Showcase Store
Version: Beta

Platform

Re: Roads

#30

Post by Caliber »

TiarDVaughn wrote:
18 Apr 2018, 07:15
Can someone write a road code for me please? And make the road blue like KoalaGuy did? I'm new to this plugin stuff and I'm very confused.
This is the the road code https://theotown.com/forum/viewtopic.php?f=108&t=5661

For blue road ask permision to koala guy if you want to edit his work.
Creator of the Aouie
Im Filipino
My First Plugin Boundary
My Second Plugin Decarbonator Tower

User avatar
Tiar/A
Former TiarDVaughn
Reactions:
Posts: 471
Joined: 04 Mar 2018, 19:40
Location: Spokane
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Roads

#31

Post by Tiar/A »

I kind-of can't open the file?
I don't ask for much but enough room to spread my wings and the world finna know my name

User avatar
Tiar/A
Former TiarDVaughn
Reactions:
Posts: 471
Joined: 04 Mar 2018, 19:40
Location: Spokane
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Roads

#32

Post by Tiar/A »

It won't let me open ".plugin" files. How do I get around that?
I don't ask for much but enough room to spread my wings and the world finna know my name

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

Plugin Creator

Platform

Re: Roads

#33

Post by CommanderABab »

TiarDVaughn wrote:
18 Apr 2018, 21:45
It won't let me open ".plugin" files. How do I get around that?
Ask the author of the .plugin file.
my avatar:

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 799
Joined: 28 May 2017, 00:07
Location: Freezing in Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Roads

#34

Post by FranchuFranchu »

.plugin files are used by authors who don't want people to see their code
Did you know you can't blink while smiling :) ?

User avatar
Tiar/A
Former TiarDVaughn
Reactions:
Posts: 471
Joined: 04 Mar 2018, 19:40
Location: Spokane
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Roads

#35

Post by Tiar/A »

I'm so confused. This is all so frustrating. I don't know how other people figure it out within hours when I can't even get past the basics.

I tried downloading Pixly and QuickEdit, still don't know what I'm doing!

*frustrated, dramatic scream*
I don't ask for much but enough room to spread my wings and the world finna know my name

User avatar
Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8034
Joined: 24 Jan 2017, 11:15
Location: SE Asia
Plugins: Showcase Store
Version: Beta

Platform

Re: Roads

#36

Post by Brody Craft »

Believe in yourself...
When you get to be called a Board Index because you are too good.>:3

User avatar
Caliber
Metropolitan
Reactions:
Posts: 128
Joined: 24 Jan 2018, 03:48
Location: Somewhere in the Philippines
Plugins: Showcase Store
Version: Beta

Platform

Re: Roads

#37

Post by Caliber »

Im also on your problem on the past months. And i realized that i can.

Getting Started.
https://theotown.com/forum/viewtopic.php?f=41&t=2965

Building template.
http://www.theotown.com/forum/viewtopic.php?f=41&t=3207
Creator of the Aouie
Im Filipino
My First Plugin Boundary
My Second Plugin Decarbonator Tower

User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1624
Joined: 08 Jul 2017, 12:46
Location: Usa
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Roads

#38

Post by -LeoLeo- »

Excuse me, is the in-game bridge texture 'steal'able? ('cause I want to same some space for users)
If so, what ID?


@Lobby
Last edited by -LeoLeo- on 30 Apr 2018, 19:25, edited 1 time in total.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3480
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Roads

#39

Post by JustAnyone »

Not sure.
Just use this code which is @Lobbu's

Code: Select all

"bridge frames":[
          {"x":512,"y":96,"w":32,"h":48,"count":12},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

          {"x":512,"y":96,"w":32,"h":48,"count":4},{"x":896,"y":96,"w":32,"h":48,"count":4},{"x":768,"y":96,"w":32,"h":48,"count":4},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

        {"x":512,"y":144,"w":32,"h":48,"count":12},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

          {"x":512,"y":144,"w":32,"h":48,"count":4},{"x":896,"y":144,"w":32,"h":48,"count":4},{"x":768,"y":144,"w":32,"h":48,"count":4},
        {"x":896,"y":214,"w":32,"h":26,"count":4},

        {"x":512,"y":192,"w":32,"h":48,"count":12},
        {"x":896,"y":214,"w":32,"h":26,"count":4}
      ],
:pickle:

User avatar
-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1624
Joined: 08 Jul 2017, 12:46
Location: Usa
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Roads

#40

Post by -LeoLeo- »

@JustAnyone

Ermmm........
Attachments
Screenshot_20180430_235729.jpg

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”