Learn here how to create and use plugins.

Moderator: Plugin Moderators

mdk_813
Inhabitant of a Country
Reactions:
Posts: 860
Joined: Fri Dec 16, 2016 2:38
Location: Germany
Plugins: Show

#### Platform

Thanks, @KoalaGuy !

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.

mdk_813
Inhabitant of a Country
Reactions:
Posts: 860
Joined: Fri Dec 16, 2016 2:38
Location: Germany
Plugins: Show

#### Platform

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 ?

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.

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

#### Plugin Creator

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

mdk_813
Inhabitant of a Country
Reactions:
Posts: 860
Joined: Fri Dec 16, 2016 2:38
Location: Germany
Plugins: Show

#### Platform

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

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.

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.

rjroldan1
Inhabitant of a Megalopolis
Reactions:
Posts: 626
Joined: Mon Jul 17, 2017 16:16
Location: Antipolo, Philippines
Plugins: Show
Contact:

#### Plugin Creator

about the bridge how to customize it?
T.P.C.

Theotown Philippine Corporation
╔═╗─────────────╔╗────────
║╬║─╔╗╔╦╗╔═╗╔╗─╔╝║╔═╗─╔═╦╗
║╗╣─╠╣║╔╝║╬║║╚╗║╬║║╬╚╗║║║║
╚╩╝╔╝║╚╝─╚═╝╚═╝╚═╝╚══╝╚╩═╝
───╚═╝────────────────────

mdk_813
Inhabitant of a Country
Reactions:
Posts: 860
Joined: Fri Dec 16, 2016 2:38
Location: Germany
Plugins: Show

#### Platform

mdk_813 wrote:
Sun Jan 14, 2018 2: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

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.

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

#### Plugin Creator

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

mdk_813
Inhabitant of a Country
Reactions:
Posts: 860
Joined: Fri Dec 16, 2016 2:38
Location: Germany
Plugins: Show

#### Platform

CommanderABab wrote:
Sun Jan 14, 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.

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.

mdk_813
Inhabitant of a Country
Reactions:
Posts: 860
Joined: Fri Dec 16, 2016 2:38
Location: Germany
Plugins: Show

#### Platform

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

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.

Tiar/A
Former TiarDVaughn
Reactions:
Posts: 462
Joined: Sun Mar 04, 2018 19:40
Location: Spokane
Plugins: Show
Version: Beta
Contact:

#### Platform

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.
Spokane Valley Police, open up the door!

For real though, I don't do roleplay anymore, so quit askin'

Caliber
Metropolitan
Reactions:
Posts: 129
Joined: Wed Jan 24, 2018 3:48
Location: Somewhere in the Philippines
Plugins: Show
Version: Beta

#### Platform

TiarDVaughn wrote:
Wed Apr 18, 2018 7: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

Tiar/A
Former TiarDVaughn
Reactions:
Posts: 462
Joined: Sun Mar 04, 2018 19:40
Location: Spokane
Plugins: Show
Version: Beta
Contact:

#### Platform

I kind-of can't open the file?
Spokane Valley Police, open up the door!

For real though, I don't do roleplay anymore, so quit askin'

Tiar/A
Former TiarDVaughn
Reactions:
Posts: 462
Joined: Sun Mar 04, 2018 19:40
Location: Spokane
Plugins: Show
Version: Beta
Contact:

#### Platform

It won't let me open ".plugin" files. How do I get around that?
Spokane Valley Police, open up the door!

For real though, I don't do roleplay anymore, so quit askin'

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

#### Plugin Creator

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

FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 798
Joined: Sun May 28, 2017 0:07
Location: Freezing in Argentina
Plugins: Show
Version: Beta

#### Plugin Creator

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

Tiar/A
Former TiarDVaughn
Reactions:
Posts: 462
Joined: Sun Mar 04, 2018 19:40
Location: Spokane
Plugins: Show
Version: Beta
Contact:

#### Platform

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.

*frustrated, dramatic scream*
Spokane Valley Police, open up the door!

For real though, I don't do roleplay anymore, so quit askin'

Brody Craft
Inhabitant of a Infinity
Reactions:
Posts: 8035
Joined: Tue Jan 24, 2017 11:15
Location: SE Asia
Plugins: Show
Version: Beta

#### Platform

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

Caliber
Metropolitan
Reactions:
Posts: 129
Joined: Wed Jan 24, 2018 3:48
Location: Somewhere in the Philippines
Plugins: Show
Version: Beta

#### Platform

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

-LeoLeo-
Inhabitant of a Solar System
Reactions:
Posts: 1622
Joined: Sat Jul 08, 2017 12:46
Location: Planet Fastoon, Polaris Galaxy // Th
Plugins: Show
Version: Beta
Contact:

#### Plugin Creator

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 Mon Apr 30, 2018 19:25, edited 1 time in total.
• The KING of procrastination! •

¤ The P.M. of Attobaxia.
¤ The CEO of Leopolis Corp.
¤ Love Ratchet&Clank

Löbby
Rip-off engineer
Reactions:
Posts: 2985
Joined: Sun Jul 23, 2017 12:45
Location: Easter Island
Plugins: Show

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}
],