How to write a plugin
Moderator: Plugin Moderators
Re: How to write a plugin
The process went well until I got the JSON file, but I can't figure out how to copy it to the Theotown / plugins folder, so I can't build my own plugins in town at all... By the way, I have an iPhone and an Android.
- TheFennekin
- Neighborhood fox
- Reactions:
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Each tile is about 32px wide in a canvas. 1×1= 32, 2×2 = 64, 3×3 = 96, 4×4 = 128 etc...
i miss the good ol days
- The26
- Inhabitant of a Megacity
- Reactions:
- Posts: 181
- Joined: 23 May 2018, 22:18
- Location: Lithuania
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Width and height are the templates you make your building on! If you choose a 2x2 template, the width and height will be equal to 2. 4x4 template - w and h are 4.
i sometimes stream jackbox on the discord server
i am active on discord
thank you for reading
i am also known as rtobby on the discord server!
i am active on discord
thank you for reading
i am also known as rtobby on the discord server!
- The26
- Inhabitant of a Megacity
- Reactions:
- Posts: 181
- Joined: 23 May 2018, 22:18
- Location: Lithuania
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
>:(
i sometimes stream jackbox on the discord server
i am active on discord
thank you for reading
i am also known as rtobby on the discord server!
i am active on discord
thank you for reading
i am also known as rtobby on the discord server!
Re: How to write a plugin
Hi, I just created my first plugin. Though, it looks nice and functions more like ordinary commercial building but I want it to function like banks to deposit money, take loans and make monthly gains as well but I can't figure it out.
Any help?
Any help?
Passion makes me do awesome stuffs.
...and thinking of
...and thinking of
- TheFennekin
- Neighborhood fox
- Reactions:
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
1. You probably can using Lua
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.
i miss the good ol days
Re: How to write a plugin
Thanks.TheFennekin wrote: ↑29 Apr 2022, 02:471. You probably can using Lua
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.
Any guide on how to add to missing shadows?
Passion makes me do awesome stuffs.
...and thinking of
...and thinking of
- TheFennekin
- Neighborhood fox
- Reactions:
- Posts: 2728
- Joined: 24 Aug 2017, 11:17
- Location: Wandering around
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- DisconnectedSkin12
- Settler
- Reactions:
- Posts: 2
- Joined: 15 Jan 2022, 16:01
Re: How to write a plugin
When I tried to download my first plugin from the plugin store on my phone, I got a loading error message saying:
java.lang.IllegalStateException: When loading "Small_Synagogue_DiSk12.h": No value for x
Does anyone know what this means and what I should do to resolve this?
java.lang.IllegalStateException: When loading "Small_Synagogue_DiSk12.h": No value for x
Does anyone know what this means and what I should do to resolve this?
- JustAnyone
- Developer
- Reactions:
- Posts: 3480
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: How to write a plugin
Clearly, it means pen pineapple apple pen H
- JackIscool
- Settler
- Reactions:
- Posts: 1
- Joined: 30 Apr 2023, 11:33
Re: How to write a plugin
Yeah I did it wooo
Re: How to write a plugin
I want to make a plugin, but it seems difficult
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: How to write a plugin
Making plugins is quite easy for simple buildings.
You can use websites like https://pca.theotown.com/ to write the code for you. All you have to do now is create
the texture which can be slightly tricky at first but also quite fun if I say so.
Just my opinion
retired
retired
- Caistrophytum
- Settler
- Reactions:
- Posts: 4
- Joined: 23 Jul 2023, 08:13
Re: How to write a plugin
What do I write when I want to put night animations / rotations of the building for day and night?
Re: How to write a plugin
Hello everyone, I have been struggling with one problem for a long time, is there a way to remove road decorations if there is a certain car at its coordinates?
Online
- CommanderABab
- AB
- Reactions:
- Posts: 11109
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to write a plugin
Sorry, but I didn’t understand your answer, I clicked on the hashtag, but only one match appeared and is this your comment or do you mean something else?
Last edited by Frodo01 on 29 Sep 2023, 10:19, edited 1 time in total.