Page 5 of 6

Re: How to write a plugin

Posted: 08 Oct 2021, 21:41
by たどころこうじ
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.

Re: How to write a plugin

Posted: 21 Mar 2022, 12:03
by TheFennekin
Naufhal wrote:
21 Mar 2022, 11:45
Lobby. How to see the width and height in building while creating plugin?
Each tile is about 32px wide in a canvas. 1×1= 32, 2×2 = 64, 3×3 = 96, 4×4 = 128 etc...

Re: How to write a plugin

Posted: 21 Mar 2022, 22:27
by The26
Naufhal wrote:
21 Mar 2022, 11:45
Lobby. How to see the width and height in building while creating 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.

Re: How to write a plugin

Posted: 14 Apr 2022, 13:06
by The26
Naufhal wrote:
13 Apr 2022, 11:05
The26 wrote:
21 Mar 2022, 22:27
Naufhal wrote:
21 Mar 2022, 11:45
Lobby. How to see the width and height in building while creating 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.
No angry the26.
>:(

Re: How to write a plugin

Posted: 28 Apr 2022, 21:56
by SunAJ01
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?
TheoTown-PluginFrames-AkwaSavings.png
TheoTown-PluginFrames-AkwaSavings.png (28.02 KiB) Viewed 15164 times
Tekiao_22-04-28_20.42.48.png
:android

Re: How to write a plugin

Posted: 29 Apr 2022, 02:47
by TheFennekin
1. You probably can using Lua
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.

Re: How to write a plugin

Posted: 29 Apr 2022, 04:23
by SunAJ01
TheFennekin wrote:
29 Apr 2022, 02:47
1. You probably can using Lua
2. I suggest improving your building first. Wrong and missing shadows, add shading and textures etc.
Thanks.
Any guide on how to add to missing shadows?

Re: How to write a plugin

Posted: 30 Apr 2022, 06:37
by TheFennekin

Re: How to write a plugin

Posted: 04 May 2022, 19:01
by DisconnectedSkin12
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?

Re: How to write a plugin

Posted: 12 Aug 2022, 04:07
by Mako1137
What does PPA/PPAPH on the debug mean?

Re: How to write a plugin

Posted: 12 Aug 2022, 18:06
by Mako1137

Re: How to write a plugin

Posted: 12 Aug 2022, 19:05
by Kulche
Please stop pinging the admins for unimportant reasons.

Re: How to write a plugin

Posted: 14 Aug 2022, 19:37
by JustAnyone
Clearly, it means pen pineapple apple pen H

Re: How to write a plugin

Posted: 30 Apr 2023, 12:29
by JackIscool
Yeah I did it wooo

Re: How to write a plugin

Posted: 16 Jun 2023, 05:30
by Adiwira
I want to make a plugin, but it seems difficult

Re: How to write a plugin

Posted: 16 Jun 2023, 15:29
by Bearbear76
Adiwira wrote:
16 Jun 2023, 05:30
I want to make a plugin, but it seems difficult
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. :)

Re: How to write a plugin

Posted: 23 Jul 2023, 17:58
by Caistrophytum
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

Posted: 28 Sep 2023, 11:38
by Frodo01
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?

Re: How to write a plugin

Posted: 28 Sep 2023, 18:04
by CommanderABab
Frodo01 wrote:
28 Sep 2023, 11:38
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?
#acertaincar

Re: How to write a plugin

Posted: 29 Sep 2023, 09:52
by Frodo01
CommanderABab wrote:
28 Sep 2023, 18:04
Frodo01 wrote:
28 Sep 2023, 11:38
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?
#acertaincar
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?