#plugin-support
1 messages · Page 16 of 1
Thank you
is it possible to use a custom tunnel frame for a road?
through "tunnel frames", yes
oh nice, thanks
How do i add a description to my building?
You were answered by kulche the last time you asked
Hey, what is the color code for a light in theotown, like the night lamp in buildings
Never mind i got it
You can use any color you want
I have turned on my network but it's still like this @heady steeple @pine terrace
help me please
there just aren't any ads available
is there a way to download external plugins without the need to access the game files?
cause my phone doesnt allow me to access the game files
use the ingame file manager
Take a look at my city guys it's not done yet
sir this is #plugin-support
what da hell is a plugin support
So um how is this related to plugins?
Nice plugin bro
Opp sorry guys I posted it in the wrong chat
Hello, @hollow flax, what's your preferred way of receiving bug reports for your plugins
And do you mind if I send you a DM
yeah, no problem.
Is it possible to create a plugin that uses an image from a separate plugin file (no duplicates)
Probably possible but not envouraged
Plugin dependency 🤮
Where can i found this lost plugin?
this is NOT the best place to ask
Another thing is, it might be private
Oops, i thought plugin support was for, well, support, like asking where to find a speficic plugin
Another thing is, it was on the store, and got vanished
Privated by the its creator, it seems
Do you know who made it?
-# on a side note, you play BA?
I know who made it, just wondering where it is now
You do know you can contact its creator
what is the name of the pluguin?
@modest nimbus
There are like 50 of them
Does he/she have a discord server?
you didn't even tell us who is the creator
besides, they don't need a discord server if they are here
the best is to ask the city builder, if he didn't make the plugin then ask him if you can contact the creator
Well, i remember the creator of that plugin is Nagisa Kowaru
Does anyone have the firetruck base? I want to make an arff truck decoration plugin
I think it's on the vanilla textures, look for World textures on forum
How do i fix this (mobile IOS)
I'm having problems with the train manger plugin
Press ok
I do everytime i want to know how i get those plugins because they dont show up
They won't show up in online mode
Simple enough
And they won't show up in the plugins section they are just found in the game categories
The plugins outside the plugin store doesn’t show in the plugin category
So you have to search them manually
I mean you could create your own manifests for them to get rid of just pressing okay... but we don't suggest that and will not be of assistance for that process
Oh ok
can RCI buildings provide nature/park influence ?
okay, I'm just curious because I need that plugins to my city that I'm currently building.
why wouldn't they
are animations always on sync
my animation is on sync
how to make it only run when building is placed?
no idea what do you mean
animations run all the time and loop
if you want to restart the animation from the beginning on construction lua is probably your best bet
oh no, not the lua 😭
Explain me what you want to do
I wanna make animation only run/start when the building is placed?
All the animations start when the building is placed
why mine is sync? lmao
I think i can see the error here 😂
Send me the plugin
And tell me what’s supposed to do
I DM you
How do i place a decoration on a terrain slope without it making it elevated like this?
(like a tree)
I remember this
#plugin-discussion message
I used this to make a plugin, but when I put it on the map it creates a hole in the map
Template by @grim zodiac
You have the plugin??
Player warned you to credits him and you just drop the png
Forgot it. Sorry
In the actual plugin I did credit him. I forgot to credit now. Had a hard day today. So, again, I'm so sorry.
No problem, also no need to always ping him just saying Player is enough, see with him anw
Ok
Hey there! I just wanted to say everything's good on my end. I appreciate your understanding in giving me credit at the end. It’s just that I have a little worry about my assets being taken, so I felt it was important to mention it. If you have problems just ask us
Nice is like more in future
Huh.?
Okay. Again, sorry for not crediting you st the beginning
No no worries mate it's okay
Ok
Can someone remind me again? Does x move right when the value greater or lesser? Does y move up when it's greater or lesser?
X left and right
Y up down
Thank you
How do i make my draft appear specifically under "bus" instead of "road"?
Explain what you want to do
When you open it in the build menu its under roads, not bus
I want to put it in the bus category
You mean the order in the tool bar?
Then search the category transportation id
And write
“category”: “the transportation category id”,
But I don’t remember the id
is there an easy way to adjust the position of the night animation?
Does anyone know the id for the bus category?
$cat_bus00
X and y
Never fails
I mean it's always out of the main frame
its there a way, how to calculate it without testing it in game first?
by default the animation is on 0,0, which is the leftmost baseplate pixel
animation anchor point is the topleft pixel by default
you can extrapolate the rest yourself from that
I think I understand now
is there a list of current plugin moderators?
Is there any Diagonal Taxiway Plugin available??
Or something like Road Decoration that can be placed??
You can use advanced road since it has yellow lines
well, what's the problem there
Also I tried placing "type" at the top and then at the bottom, because that's how I found json from two tree plugins
Eh wait maybe that's just a space after the « : »
Still doesn't work
Ok i found out, surely because i mistaken } and ]
Well i actually used the bottom one again (while keeping count)
It worked, I also forgot to add .png to my frame name
However how to add the manifest
Is it just I write anything in PCA, don't put draft type and export as manifest file ?
Because this is in my plugin, yet you can notice the game warning there isn't
So my manifest isn't wrong ?
I downloaded a plug in for soviet apartments but no residents will move into it, what do I do?
what does this error mean?
java.lang.IllegalArgumentException: May not find a loader for type not defined
it doesn’t give a line number
you most likely don't have a type
🤭
I can help you with the code
no worries, i figured it out (i forgot to define a "type" for some buildings)
What are exactly the incentives of being a privileged plugin creator?
is it possible to a plugin make my device literally freeze? like massive burn-in because of massive lag or anything
is there a way to make the lights from ian’s animation dev tool rotation aware?
You can do commision
Or sell plugin like leaf
No not that
Wdym
being a privileged plugin creator allows you to use some features in the plugin system that are not available to regular creators
One of them is the negative monthly cost attribute
The thing is, I want to know all of them
I have a trick to make a lot of money without the “”privileged attributes 😂””
let us keep it ethical
you do know the more you talk about workarounds the higher the chances they will fix it
I’m talking more than 500.000.000 per minute
Lmao
I made the plugin
And isn’t even a bug lol
Yes, it is possible
you know that's an explot and you can get banned for that
so you better contact us with the details if you want to stay here
Isn’t hacking
Ppunish 1355767757819351140
forge0761 was jailed for the following reason: Exploits
also includes theon tunnels and placing images directly on the world texture
.
Removes the perms to see everything else and sets it so they can only see a private channel
Oh ok
If you'd let me finish typing before trying to get smart with the whole . reply thing lol
hi guys, which diagonal road plug in should I use in PC version?
Almost all vanilla roads have diagonal??
Preview works properly on buildings created with animations. It doesn't work on fences. Is it possible to have a preview on fences like on buildings? I can only upload one png. It does not reflect the reality for my fences that have multiple combinations. Can you please suggest a solution?
British road pack (though I am biased as the creator 😅)
What causes texture bugs like that?
incorrectly defined frames
You’re under invasion
appriciate bro!
What does it mean
Oh i think i got it
My template doesn't have 32 frames
No frame height?
Useless for trees i think
if I'm not mistaken, make it a type decoration and remove the built-in ground texture
how do i do that?
You should add "supports slope":true and "supports terrain":true.
thanks
Help!! If I delete theotown and i download again, my plugin still need diamond to unlock??
No, if you have an account
hi
I am newbie
I don't know where to start creating plugins, can someone discuss with me privately?
Ptag creation
Step 1: Download a baseplate of your choice It is recommended to keep it small if you are just starting.
Step 2: Download a pixel drawing app. It is recommended that you get one with layers and transparency options. You can find a list of suggested options here
Step 3: Here are some tutorials that show how to make a house. One by Theo and one by Kulche
Here's a tutorial by rtobby that provides tips on improving the plugin quality
You may find more tutorials in the getting started page and on the forum
And even more tips pinned in plugin discussion
Step 4: Last step is to create a json. You can create one by using PCA or use this tutorial here to make one. To make one manually, you can use any text app which allows you to save files as a .json
Feel free to ask for help or suggestions on the forum or on the server
Bonus step: Once done, you can upload your plugin on the store which once approved can be downloaded in-game by anyone or post it on the forum showcase or both! Remember that store plugins must oblige to the store rules
can you include fences in compositions?
you're doing something wrong or the plugins are faulty
Does silence mean it is not possible?
How do i require an upgrade of building1 to build building2
Even if i will upgrade b1 it still doesn't let me to build b2
So i tried some ways
It doesn't work
I need to have a central research building thing which will unlock new buildings via upgrades.
Is it allowed to make a Building plugin that happened a tragic event, I know there is a WTC but anything like the Al noor christchurch mosque because I wanna that mosque. But the problem is that admins can delete my plugin for posting that has a tragic event on 2019
Hey there! I have a question for you. Could you share with me what your intentions are for needing this building? I'd love to hear your thoughts.
I mean the building is just a normal mosque
Religious building but the problem is its based on the christchurch mosque
Al noor
But the problem is 6 years ago it had a mass shooting
Yeah I wanna create that mosque plugin the problem is it gonna be deleted?
Alr
So can someone actually help me with this?
The idea is to make progression tree inside building1, and by researching upgrades it will let you build new buildings from plugin.
At the end this small harmless building was a ultra secret reactor 😨
Send me in dm what you want to do
You would have to use a CONDITION requirement with fun variables, as you cannot use UPGRADE to require upgrades from other buildings.
hey one question, I just downloaded some plugins from the forum and put them in my plugins folder but they dont show up in my game. What is the problem?
don't show up where exactly
because they most likely won't show up in the plugins tab
ah really? the others ones i got from the forum do. ill check again
hmm its not there
"there" as in
i cant find it in any tab
for example i got some new res buildings
and i checked the res buildings tab and it was not there
then you either got a faulty plugin, didn't download it correctly or you aren't looking hard enough
there are no other options here
Does this require an upgrade to be applied to any building in the city or to be applied to current building?
why not just try it out yourself
upgrades and requirements are really horribly documented
sure thing buddy
thats why im asking
im trying to make progression tree thing as i said here before
like in DSA you need to have upgrades to build some things
.
well until i wont fix it i will leave it
gonna make night anims
Oh mate
Building 1
"upgrades": [{"id": "$😊",
"frames": [{"bmp": "Same frame name"}]
}],
Building 2
"requirement":{"requirements":[{"type":"BUILDING","data":{"id":"$:blush:"}}]},
Enjoy
And there’s another way but that’s a secret 🤫
ah yes dsa servrets
oh wait thats actually the thing missed when tried different ways
lemme test
the syntax is outdated and that's not how you do it nowadays
but it should still work
yeah i just realised syntax is old
"(id) could not be found" btw
i think i have some stupid mistake somewhere in the json but im too blind
depends on how you do it
so how should i
put it into a single json if you're just starting out
i totally lost all the knowledge since abandoned plugin creation in 2022
because moved to roblox studio
{
"type": "UPGRADE",
"id":"$vver1000-338"
}],
"frames": [{
"bmp": "research_center_bmp.png"
}],
"title": "VVER-1000/320",
"text": "unlocks VVER-1000/320 reactor and subsystems",
"id": "$vver1000-320",
"price": 100000,
"ordinal": 1
}
Research building json
I mean the upgrade exactly
this is anotehr upgrade req for this upgrade
I'm gonna be honest I have no idea what am I looking at
either provide the whole code or make sure it's actually a comprehensible snippet
If you want to make more upgrades you have to separate them with
},
{
Not
“type”:”upgrade”
thats a part of upgrade array not the whole
Anyway
So it locks 320 until you research 338
is it work?
here yes
"id": "$soviet.nuclear.vver1000-320-1",
"type": "energy",
"title": "VVER-1000/320 reactor unit",
"text": "a standard and unified third generation VVER-1000 reactor built according to the V-230 project. one of the most popular reactors around the world",
"width": 3,
"height": 3,
"frames": [
{"bmp": "1000-320-1_bmp.png"}
],
"influence noise":1,
"power":25000,
"water":-10000,
"price":51980,
"monthly price":1000,
"build time":150,
"category": "$cat_1000320",
"requirements":[{
"type":"BUILDING",
"data":{"id":"$vver1000-320"}}],
"explodes":true,
"explosion radius":24,
"nuclear":true
},
The target building json (which requires upgrade)
so yeah the requirements thing is mjsahbgdnhvs
Idk what is mjsahbgdnhvs, but I agree with you
@eternal lake the json
the id is an id of an upgrade
you're still giving me random snippets that aren't even correct json syntax
Idk then
I'll give up then
i demand help on this cuz i cannot work with json properly
Idk
provide us with the full jsons then
working with random fragments like these doesn't make it easy
ok have this
In the research center json?
probably
"requirements": [
{
"type": "CONDITION",
"condition": {"type": "value", "code": "variablecode", "z": 1}
}
]
that's what you'd use in the upgrade object
Hmmm
Lua is a thing im trying to avoid because I'm tired of Roblox studio scripting
But ok
What
It works??
No i hadn't even tried really
Busy
I don't really think i will I'm totally blind in theotown's lua things
Bruh
Thats actually sad you can't do it with json
Wait can you do this with upgrade condition type somehow?
Or you need to use "manually" set value
Wait nvm i wont even try
Better return to making things somewhere else than in theorown.
I guess trying to create plugin here was a mistake.
Sorry for a lilbit off topic but here's the difference of me making games and me making theo plugins
Is there some tools for theo lua scripting maybe?
Wich one is more easy??
Sadly it doesn’t work
The update happened but no unlock 😞
I can give you a version but instead of upgrading is pressing on it
You can test it by yourself
And the crash because I didn’t have a picture 🤣🤣
Theo obviously
Steam generator with steam overheater script is enormous
Radar
Bringing socialism to rich lads instead of scripting
So what should it really test
Like there's just building req detector nothing else
Fair
I actually found a good sound for turbine hall
Ignore the music i just like it
Its background
Nice
Would this work ?
I'm trying to have border frames with full tiles on the same png, but the code must separate the two types of frames
What this attribute does?
"targets":["$"],
If I add it to a car spawner the car will target the building with that Id??
And this one??
"frames per car":4,
"ordinal":3,
“offset x/y”:0,
Wait!!!
I coded a whole train just for realise that only need one attribute in the car spawner
"flag train":true,
Really!!!
Nonono 🤣🤣
Super tank
Bruh making trains is like cars but adding
"flag train":true,
If the “target”attribute works in the way I want
Military patrols and checkpoints soon
Can i use PNG that is over 1024 pixels long so I get more frames (than 32) using count?
why on earth would you want to do that....
I just want more frames than 32
then use multiple frame objects rather than trying to fit everything inside one
that's literally what x and y are for
Use animation
For example two images of 1024 one of top of the other
no do not stop giving dumb advice
Think I'll just use several pngs anyway. It's just quite boring to change id and png name for hundred of frames
Also is there even a good ai that can replace id and frame names
Chatgpt just shifting sentences of the code by a few spaces and I couldn't get it to be written correctly
Is it possible to make a road decor that boost vehicle speed?
There was a road deco plugin featuring an orange crosshatch pattern that increases the speed of any vehicle, so yes, it's possible, although I don't know the code.
well the speed attribute is a multiplier
..just put them on top of each other instead of a single long png?
Like this ?
I admit i used code of another plugin. I put y 21 because there is 21 pixels space between my frames. Im just not sure about handle y, and the big thing with 0 and 1 at the bottom
I know it's about road decoration level, I'm just not sure if it's the correct one for that it's level 1
Hmm i also noticed i should add height so it doesn't code the vehicles above
that's not how you do road decorations
Yeah i made another
Actually i only find codes using one frame per png
And it might not work to just add count, h and y
'' improved '' version
Ofc it didn't work
of course it didn't
please read the actual tutorial
you need separate animation drafts
Can't use count?
It's gonna be a pain when i can put 1356 vehicles in a 1008*1024 template
Also what handle y does
96 frames
And yet i only get one that doesn't work
Ok because there were 4 frames in the sample just to put two together, and the other two are the rotation 
Wich means i have to repeat even more lines
Aw it's really not possible to add count for such plugin type
yeah you can't use count since each draft requires a single frame
but that doesn't mean you need a separate png for every draft
Yeah i can still use my huge png although I should make it smaller because of the high frame count
Chatgpt can just change id, x and y of only 10 frames in one message, is there any more efficient AI to code way more ?
Also code for only one frame is 15 lines long
Grok suggested me to use python script instead
Is there a guide for drawing roofs?
There's mine pinned in #plugin-discussion
well duh you want the road decos to have a description, not the animatoins
How do I install the 'New Railway System' plugin into the game? I tried placing it in both 'Plugins' and 'Managed Plugins' folders, but it still doesn't show up in the game. I'm using an android device. Thanks in advance 🤜🤛
you put it in the plugins folder
if it doesn't show up you either doing something wrong or not looking hard enough
it doesn't have to necessarily show up in the plugins tab
There's a category for this plugin
Like this?
Yes
May I see what it looks like if you don't mind? I'm still having a hard time finding it 😔
Or am I doing something wrong with the file
plis be patient with me 😔🥀
2D rail from above
And name is on Chinese
In general category, not transportation
I’ve looked thoroughly, but it still doesn’t appear in the tab. I think the issue might be with my phone now.
How cooked I am 😭🥀
Try to look within roads category it might be there
Did you really look thoroughly? It may be hiding within another category
Yes, I’ve checked every nook and cranny, but I still didn’t find any section with Chinese characters name
Perhaps it has something to do with my phone’s file-reading capability or something like that? I tried placing another plugin file from the forum, but that one also doesn’t appear in the tab.
Finally, it works for me now. I cleared the app’s data and the plugin appeared. Thanks for your help
It was definitely not in the general category before
Hey, what's the name of the Heads Up Display for the game again?
Were you referring to the 'Highlight new content in toolbar' option?
Yeah, as well as the main HUD.
this???
In the code its the line of text below the "bmp": "a mass grave,png" (after the } and ])
Yea i have and its still at 90.5k
Why is there 2 ]] at the bottom
I think that's not an abbreviated amount
There's an option in the setting to turn on the abbreviated amount
See if it changes
Its 90450 theons exactly
I have experience, and I'm a game developer in a different language. But I like to make small projects here and there using Python and this doesn't look too different than a challenge I like to give my self!
I removed one and nothing changed
Change the price to something like 500 will it change ingame?
I originally had it set at 4500 then i moved it down and it stayed at 90.5k ingame
I also added a plugin for my baseball field whos price is correct
Make build time something higher and see if takes longer than 0 then we probably have an error before the price is being updated
Goodness you all can't just post in one channel xD
I would assume it's capacity based
Just applying some simple logic to this problem
If everything else has the proper price
Ill try changing the capacity to 70000
70k for 1x1 ?
Also, I have no knowledge on Json just trying to help 😅
I think build time will be more appropriate
with 70k capacity, the price is now 70350 ingame

also i set the price to 4200
Wtf
what do these have to do with it
Oh nothing just a question I had
But wtf is there like a auto pricing that's applying that price???
idk
What's the price you have in mind
its weird
4200
So
980 = 90.5k
4200 = 70350
and you changed capacity
I don't want to just keep adding numbers till we get to the right price cause that might ruin things in the future
What would the price ingame be if you set it to 10 000
That's like pressing enter but in json
You're supposed to have those
ill set the price up to 420k

Set whatever this is to below the value you want and I think it should work
That's why it rounds to 90.5 when it's lower
at 120k it works properly
wdym?
This thing
i already did
To what
That is 120k
ik
i changed the price to 3975 and its back to being 70350 in game
Wait
i set the price to 0 and its still 70350 ingame
Sorry, I don't think I know what is going on at this point. Try contacting support 😅👉
should i ask in the theotown forum
Do "meta tags" and "override" are the same for to plug cars?
is it actually a requirement to paint the red cross symbol for hospitals green for plugins?
yes
alright, thanks
Btw how do you edit a manifest file
How does this help me edit the file
and what kind of help do you expect
This doesnt tell me how to open the file to edit it
The easiest way is rename from manifest to json edit and rename again to manifest
It works for me
Alright, thanks
I tryna make animated night animation with rotate aware and it got glitched, idk why
RCI buildings made with composition don’t rotate the zoning correctly, leading to ‘phantom buildings’ that are RCI but aren’t attached to a zone
However the plugin moderators have rejected my plugin for making these buildings as decoration (which can rotate properly). What do?
try adding the zone itself to the composition
What do you mean? How can you add zones to a composition
Currently I have a 1x2 object with type "residential", which has a composition comprised of two 1x1 objects of type "residential"
I don't see any documentation of how to 'add the zone itself' to the composition on the forum page either
Upon further testing if I change the type of the composition object to "decoration" (while still keeping the 1x1 objects as "residential"), both 1x1s become residentials without zones, or 'phantom buildings'
When you use eyedropper on them they still build as residential with zone, but the ones placed by the composition can't be removed using the 'remove zone' tool
just like any other draft? I'm not sure what do you mean here
I have set the type of the composition object to "residential", if that's what you mean? The objects in the composition are also type "residential".
This is the code for one of my compositions:
"composition":[
{"id":"Bloomsbury sandstone quarter building","y":0,"x":0,"frame":0},
{"id":"Bloomsbury sandstone quarter building","y":1,"x":0,"frame":2}
]
How can I add a zone?
like this???
"composition":[
{"id":"Bloomsbury sandstone quarter building","y":0,"x":0,"frame":0},
{"id":"Bloomsbury sandstone quarter building","y":1,"x":0,"frame":2},
{"id":"$zoneresidential","y":0,"x":0},
{"id":"$zoneresidential","y":1,"x":0}
]
If not then could you give some example code?
Ok I'll try and see if it works
nope still results in the same problem.
How can I start making plugins?
Ptag creation
Step 1: Download a baseplate of your choice It is recommended to keep it small if you are just starting.
Step 2: Download a pixel drawing app. It is recommended that you get one with layers and transparency options. You can find a list of suggested options here
Step 3: Here are some tutorials that show how to make a house. One by Theo and one by Kulche
Here's a tutorial by rtobby that provides tips on improving the plugin quality
You may find more tutorials in the getting started page and on the forum
And even more tips pinned in plugin discussion
Step 4: Last step is to create a json. You can create one by using PCA or use this tutorial here to make one. To make one manually, you can use any text app which allows you to save files as a .json
Feel free to ask for help or suggestions on the forum or on the server
Bonus step: Once done, you can upload your plugin on the store which once approved can be downloaded in-game by anyone or post it on the forum showcase or both! Remember that store plugins must oblige to the store rules
Thanks
Does .json support code comments?
Not really, there is some roundabout way of doing it iirc but it really isn’t worth the effort
Still have no clue why the price of myass grave isnt working
feel free to send me the plugin
How should i send it? Dm you the zip file?
anything that works for you
oh just like c++
heya guys newbie Theotown player and coder here... apparently you can't add animation to ground types which i learnt the hard way after trying the whole day yesterday... so i decided to try to cheat the system by marking it as type 'tree' so that I can place it on slopes too. And I found out that "animation: " does not work on type trees, and that tree animaton is done by the "frames per tree". But now the problem is the animation is paaainfully slow fo rmy needs I tried "speed" but it has no effect.. can anyone help me figure out how to increase the tree's animation speed?
what are you trying to make exactly
basically animated ground , can be foggy ground or lava, etc.. i can't use "water:true" since it has a lot of restrictions like it can't be placed on slopes and all. so now i am experimenting with type tree
and also it would be cool to know how to add animation and change its speed for "type :tree" as i may be planning to make an alien tree in the future
Trees do not support the "animation" tag
yeah, but u can animate them using "frames per tree", what i wanna ask is how to change the speed of that animation
You cannot
I didnt notice this sorry lol
Does anyone have a folder with all the game's sprites? I need it to help me when making buildings.
is there a way to define frames with mxn sprites instead of 1xn with // "count":n// ?
so basically i cannot work with the first one, i need to use the second one right? Theotown has a picture dimension limit so it did not support one row of 40 frames.
no?
you'd just move down using y
count 8 on y=0, count 8 on y=frame height, then y=2*frame height and so on
ahh i got it, thanks a lot!
you're welcome
is there a way to start the animation from a random frame imstead of always the first frame? because when when i place my animated element side by side and restart the game, they play the same thing syncronized, which can look a bit weird sometimes
This will be my first plugin, what do you think?
Pls i need help with 3 errors in my plugin
1- It is poorly located
2- It is not aligned with the chasubles on the map
3- the height is exaggeratedly high
what size of your building png?
My building is a 2x2 and the image is 512x512
Guys I finally finished it
Crop the image,was that too hard?
2x2 is just 64xn not 512x512,no wonder you got that.
does anyone knows how to code bus spawner platform plugin
Car spawner but not working as a bus 😞
is there a way to have an animation change depending on the frame, if it isn’t rotation-aware?
like say you have an object with 3 defined variants, each with their own frames; can you have an animation that changes depending on which variant is selected?
I think there’s a tutorial
the point is that it has variants but isn’t rotation-aware. i know how to do rotation-aware animations but i’m not sure if animations can change on frames without being rotation-based
What you want to do?
i’m not working on a particular project for this but just wondered if it was possible.
you'd use "frame": index
I really wanted to update my racing car plugin to improve experience, by adding a starting lines where the cars stop at the moment then accelerates when green light pops. The starting functions are the same as the traffic lights. I tried to study outdated choggoba's codes for traffic lights but I could not understand it because of multiple json. I hope, somebody can help me
you can't likely do that tho
Hi, this isn't a message from a plugin or anything like that, but I want to report what happened to me.
Hi, I'm from Mexico and if you don't understand me it's because I'm using Google Translate lol on my phone I have a lot of cities and I don't want to lose them so I wanted to create an account to be able to I have the same account on my tablet where I'm writing this message, I can't create an account, I don't know if it's a bug or not, I hope you help me or fix it. And guess what... I already exceeded the limit of attempts and I couldn't 😦
June 3, 2025
This channel is for plugins but if you want to save your cities or move them to another device just copy and paste the maps folder and regions folder to the new device simple as that
THANK YOU VERY MUCH THANK YOU REALLY
Does anyone know how to code hidden category for building?
I already try to make category with hidden:true, but doesn't work
also try $cat_hidden00, doesn't work too
“hidden”:true/false,
Is for hide plugins in the toolbar
why would you want a hidden category? that... defeats the whole point of putting drafts in a category
like "dirt road" but its building
tool groups?
oh right i forgot about that thanks
maybe? idk what its called
then you'd put the subcomponents into $cat_hidden00 and create a tool group draft with them
I tried searching how to create a tool group draft, I still don't understand 🥲
"type":"tool group",
"category":"$cat_bus00"
"draft":[
{"id":"$building1"},
{"id":"$building2"},
{"id":"$building3"}] ```
that's not how any of it works
"type": "tool group", "drafts": [<add drafts here>]
it's not a very documented feature (unexpected)
Ptag creation
Step 1: Download a baseplate of your choice It is recommended to keep it small if you are just starting.
Step 2: Download a pixel drawing app. It is recommended that you get one with layers and transparency options. You can find a list of suggested options here
Step 3: Here are some tutorials that show how to make a house. One by Theo and one by Kulche
Here's a tutorial by rtobby that provides tips on improving the plugin quality
You may find more tutorials in the getting started page and on the forum
And even more tips pinned in plugin discussion
Step 4: Last step is to create a json. You can create one by using PCA or use this tutorial here to make one. To make one manually, you can use any text app which allows you to save files as a .json
Feel free to ask for help or suggestions on the forum or on the server
Bonus step: Once done, you can upload your plugin on the store which once approved can be downloaded in-game by anyone or post it on the forum showcase or both! Remember that store plugins must oblige to the store rules
ive put my .json in a folder and that folder in the plugins folder in theotown but its not showing up in my local plugins list
this is the json
can anyone help?
(its for a road decoration)
if you don't have a manifest it won't show up there
it will only show up in the road deco category@echo bridge
Is there a way to specify upgrades in compositions?
no
oh ok thank you
I need massive help if someone would be so kind I'm trying to download something from the forum, and my actual game file won't show up, the file is downloaded shows up and everything but when I go to place the downloaded file into where the game file would be it shows nothing, How can I get the game file to show up in my android tab
I'm just trying to get the golden gate bridge
I use ZArchiver to access data files
I think you need permission to access data in android files
Ptag files
TheoTown files are located under such directories:
- Windows: C:\Users(insert username)\TheoTown or %USERPROFILE%\TheoTown
- Linux: ~/TheoTown
- MacOS: /user/TheoTown
- Android: /storage/emulated/0/Android/data/info.flowersoft.theotown.theotown/files
By default you should be in /storage/emulated/0/. Uninstalling the game on Android will delete all files, unless you decide to keep the files when prompted by uninstaller. (android 11 onwards restricts access to external storage for apps, so if the files cannot be accessed this way, opt for the in-build manager explained below) - ios: Search "TheoTown" in the file manager app
If you cannot access game files through these directories, game has an in-built file manager for mobile devices which is accessible from the region view menu.
You can find your plugin, music, region and city files there as well as logs for debugging purposes.
Just use the in game file manager
- Forum plugins
- Hadestia's plugins
Ptag files
TheoTown files are located under such directories:
- Windows: C:\Users(insert username)\TheoTown or %USERPROFILE%\TheoTown
- Linux: ~/TheoTown
- MacOS: /user/TheoTown
- Android: /storage/emulated/0/Android/data/info.flowersoft.theotown.theotown/files
By default you should be in /storage/emulated/0/. Uninstalling the game on Android will delete all files, unless you decide to keep the files when prompted by uninstaller. (android 11 onwards restricts access to external storage for apps, so if the files cannot be accessed this way, opt for the in-build manager explained below) - ios: Search "TheoTown" in the file manager app
If you cannot access game files through these directories, game has an in-built file manager for mobile devices which is accessible from the region view menu.
You can find your plugin, music, region and city files there as well as logs for debugging purposes.
How to fix the category please
Name the category json file alphabetically before the other one, or just define the category in the Cascadia file at the beginning
It’s just that the Cascadia file loads first, before the Freightliner file has loaded (it goes in alphabetical order)
putting a number at the start of the filename works too
I actually separated category from the plugins
Now I'm trying categories into categories
I just download each categories plugin one by one by restarting game each time I download the next one
Now it can't put a category in another category being in a main category
didn't read the entire thing but are you still facing problems
I can't bypass the Alphabetic order by just downloading category one by one in the logic order
the only thing you have to worry about is making sure categories are loaded before they are used
I need help with this
Trying to make a map with a map from a video game, but I Don't know how to code
taht's not how to do it
don't use chatgpt for this stuff
Ptag Heightmaps
You want to make a region that resembles a real place? Use heightmaps!
- Go to https://tangrams.github.io/heightmapper/ and find your wanted location.
- Make sure that the colors are right. Black will become water and white will be hills.
- Take a screenshot and change the name (example.jpg).
- Put the image in your TheoTown folder, not in the subfolders.
- Go to the region generator and and type in the image name (example.jpg).
- Enjoy your new custom region!
in #seeds-n-maps you can see examples of maps and how they should be
What's the best json coding app
This by E Tech Blitz
No longer available on gplay
But can be downloaded by tru apk stores on Google search
what platform are you on?
I have a question (albeit not a serious one)
Who are the current plugin moderators as of today?
plz someone help me,even tho i draw the house image in 512x512 but the system always thought it was 1280x1280. What did i go wrong?
JA really showing out of the blue
Your frame size is 1280x1280, it should usually be 32x16
I have layered the sample plugin frame on top of yours
Android
use template
Can anyone help me on how to make the art style theotown like
see the game textures
the pinned messages in #plugin-discussion would like to introduce themselves
is it looking good?
remove black outlines, add a difference between shadow (right) and highlight (left), follow the lines of the grid (straight lines go 2-across for every 1-up), and in general follow this guide: https://forum.theotown.com/viewtopic.php?t=25943
Could anyone show me how to write code to decorate roads?
see the road deco tutorial
I watched the one by Lobby, but it’s quite complicated for me😢
and what part do you not understand
What is this error?
{
"id": "Vienna Central Station",
"type": "road decoration",
"title": "Vienna Central Station",
"text": "Vienna Central Station",
"category": "Austria Vienna",
"author": "H.nle",
"price": 6000,
{"id":"Vienna Central Station0",
"type":"animation",
"frames":[{"bmp":"frames.png","x":0,"w":192,"handle y":40}]},
{"id":"Vienna Central Station2",
"type":"animation",
"frames":[{"bmp":"frames.png","x":192,"w":192,"handle y":40}]},
{"id":"Vienna Central Station1",
"type":"animation",
"frames":[{"bmp":"frames.png","x":384,"w":192,"handle y":40}]},
{"id":"Vienna Central Station3",
"type":"animation",
"frames":[{"bmp":"frames.png","x":576,"w":192,"handle y":40}]}
"animation":[
{"id":"Vienna Central Station0"},
{"id":"Vienna Central Station2"}
],
"animation fg":[
{"id":"Vienna Central Station1"},
{"id":"Vienna Central Station3"}
]
"frame animation indices":[
[0,1],[0,1],[1],[1],
[0],[0],[],[],
[0,1],[0,1],[1],[1],
[0],[0],[],[]
],
"frame animation fg indices":[
[0,1],[0],[0,1],[0],
[0,1],[0],[0,1],[0],
[1],[],[1],[],
[1],[],[1],[]
]
what kind of category is thats?
what’s happening here? it looks like you didn’t close the object with a } before starting a new one
yeah your brackets are really broken here
It no longer has an error, but after I entered theotown my plugin turned into a road:v
did I make a mistake at any step?
how?
It's not a road
It's the preview of your road deco
However because of handle y or y it shifted the road deco far from the position you wanted
So what should I do now?
I have no idea which y handle to use. If my frames appear, but offset, I count the vertical offset and that lets me find the y handle to use
I think it disappeared
I've adjusted it many times, but it's still no different from the beginning
{
"id": "Vienna Central Station",
"type": "road decoration",
"title": "Vienna Central Station",
"text": "Vienna Central Station",
"category": "Austria Vienna",
"author": "H.nle",
"price": 6000,
"animation":[
{"id":"Vienna Central Station0"},
{"id":"Vienna Central Station2"}
],
"animation fg":[
{"id":"Vienna Central Station1"},
{"id":"Vienna Central Station3"}
]
"frame animation indices":[
[0,1],[0,1],[1],[1],
[0],[0],[],[],
[0,1],[0,1],[1],[1],
[0],[0],[],[]
],
"frame animation fg indices":[
[0,1],[0],[0,1],[0],
[0,1],[0],[0,1],[0],
[1],[],[1],[],
[1],[],[1],[]
]
{"id":"Vienna Central Station0",
"type":"animation",
"frames":[{"bmp":"Vienna Central Station0.png","x":0,"w":192,"h":219,"handle y":219}]},
{"id":"Vienna Central Station2",
"type":"animation",
"frames":[{"bmp":"Vienna Central Station2.png","x":192,"w":192,"h":219,"handle y":219}]},
{"id":"Vienna Central Station1",
"type":"animation",
"frames":[{"bmp":"Vienna Central Station1.png","x":384,"w":192,"h":219,"handle y":219}]},
{"id":"Vienna Central Station3",
"type":"animation",
"frames":[{"bmp":"Vienna Central Station3.png","x":576,"w":192,"h":219,"handle y":219}]}
what on earth is this
first of all, fix your brackets
second of all, animations have to be loaded first
I don't know why so many plugins from other people are showing up
then your coordinates and dimensions are wrong
I can't help without json and frames
are you copying that's attributes from someone?
I followed what lobby did
jesus christ trim your images
as I said your dimensions don't match
your images aren't of 192 width
Someone can steal your plugin
I can assure you there's nothing worthwhile to steal
Guys, what plug in should I use, for services like, police, firefighter,military,education ??????
see the services tab in the plugin store
if you're on mobile then in the additional content tab
please use #town-square for thta
Ohh ok
But wait
I can't see the additional content tab
it should be somewhere in the menu
I can't screenshot because that doesn't exist on windows
Ohh ok
I have trimmed the images
congratulations, is the problem fixed now
🤧
then you did not fix it
why don't you make something simple first
like making the road decorations first, if you succeed then you can move to the animation
road decorations are animations
isn't road decoration a type?
yeah but you can't have a road decoration without an animation
my previous message was a mental shortcut
I didn't mean that it's an animation draft
Guys how I can make animation for my plugin
if i understand you correctly then you need to have rotation frames and define them with frame animation indices. a snippet from the road deco tutorial:
Only this way can make the plugin work normally again
Thx but it's about animation that is moving, I meant just changing sprites of building
"how do I do x" "here's the tutorial for x" "ok but I actually don't want x, I want y"
you'd use either "override" or "inherit"
see the advanced tags forum post
you can define several images as frames and they will appear as variants of the building
if that’s what you mean
Guys help why don’t my night frames work ?
The json is right I checked it like 10 times
-0 😭
also, of course it doesn't work, it has random brackets in the middle
lines 37 and 38
can't help without your json
in what way does it not work
besides, there's a comma missing
go scouting for it
(or just use any json validation software)
Ok thx
I meant like animation, sprites that are automatically changing with a certain interval
Hey, dumb question I know, but I'm trying to make a waterfall, but everytime I place a water tile near the slope it isn't placing
That is a game limitation
You can use water decal or other like that instead of water
can anyone point me in the direction of how to fix the diagonal frames on this portion of my bridge attempt?
i cant find any tutorials on diagonal bridge frames
do i need to adjust the frames for that section in the .png or adjust the json?
what app is this?
NMM File Manager
Should every plugin have their own manifest?
Or is it okay without it ?
@eternal lake ?
why would you ping me
Idk
manifest files are necessary for online mode play and the plugin store
Alright
It's planned to make them mandatory moving forward
Yeah thats why I had to make some fake water blender tiles
can anyone help? i had this working yesterday but today its floating ≈ 8 pixels above where it was
i dont recall changing any json but just in case i have
- replaced the image
- changed the x, w, and especially the y
- gone through all parts of the array
this is what it looks like now
this is the .png
this is the code
you need to adjust your handle y
they either break the image or all just show up floating
I'm thinking the game should consider Handle y 0 as the correct position but that breaks all current route decoration plugins. Anyway I think you're supposed to set Handle y 0 and then count the gap manually
By the way is it supposed to always be handle y 8 for this kind of frame?
both 0 and 12 (number of pixels the deco is below where it should be) result in this
i dont know, but ill try 8 again
now it does this (still needs to be 4 pixels higher
i found it! for some reason it needed a y of 14
"some reason" that's how your image looks like
theotown doesn't magically know how to position your images
Isn't there a way to know in advance? It just seems random every time
you count the pixels
ok but why would it change if the frames are placed the same
what?
For the road deco sample from forum, that was 8
My question is not related to that. I'm just wondering why the frame shift is changing
What do you mean changing
Positive x values shift to the right. Negative y values shift it up
Because bmp is the name of your png file
You need to know what the name of your png file, than write it in there and add ( .png)
Thats incorrect
Why
Your reasoning is okay but your logic is wrong
[NULL] frame is valid
And iirc casing here needs to be caps and it has to be in the square bracket
[NULL], [NULL]
Or you can use a "copies": 3 attribute instead of doing NULL multiple times
A NULL frame is basically an empty frame which you can attach animations etc to. You dont need an image
I dont do trains but should be on the forum
Ok thanks 👍🏽
isn't there a thing to find every tutorial in the forum
sooooo.......nobody knows how to do diagonal bridge frames?
Make the corners of the bridge diagonal
👍
i think i might know what the problem may be (though admittedly i have never made a diagonal bridge so you’ll have to try it out and see)
so with this diagonal bridge plugin you can see that the inner part of each ‘corner’ is short, whereas the outer part is long, and this alternates in a pattern on a diagonal bridge. i think one of the problems with your bridge is that your frame for the inner part is all long, which is fine when it blends in with the rest of the diagonal bits but it sticks out when it transition into a straight part.
still doesn’t explain why the railings of the straight pieces adjacent to a diagonal one seem to be nonexistent, but i hope this helps somewhat
why would you need "short" pieces when "long" pieces already cover an entire tile?
because when a long piece connects to a straight piece where it is supposed to be short, it may protrude out like in jebus’s example
(but again, just a hypothesis, i haven’t done this myself)
I have no idea what are you talking about
the "long" side of a diagonal tile covers all 32 pixels
so there's absolutely no reason to have any other barrier variants other than the "long" one
These are just the corner pieces, idk why so much text
yup i see now, i think you’re right, so i think one of the problems with jebus’s corner pieces might be that they define a railing on the other side at all, making the protrusion
might be the case
Is it possible to make a plugin cost 0 diamonds ?
no
Only if it'll be local
or posting it on the forum for people to download
if it costs 30 diamonds,
yes, by watching an ad
This is true but not for all of them
that’s why i qualified it by saying ‘if it costs 30 diamonds’
Ah
from the plugin showcase thumbnail
Umm can i ask how to code decal overlays?
Thank you so much
You mean like those in polydiv decals plugin?
i tried this
only thing i could get to work is to put the bridge barriers on the road frames with the piles all together
thats too much work
u have to make each slope frame as well
it seems like the just the diagonal frames of that part of the bridge are inverse anyway
and i dont know how to change it
does anyone know how to make the animation stop at the beginning?
I tryin use "on click fun" animation control
"Loop": False ?
doesn't work 😦
That's why it's a question cus im trying to confirm
Yes
I renamed the json file and then this showed up
that means there is an object where you haven’t defined a type (e.g. "type":"decoration",), i’ve gotten this before
But it's already written inside. That is why I'm so confused cus all i did was rename the file.
I have to clear it up using Grok
can't help without your json
you have 4 attached animations yet only use indices 0, 1
Oooooh
also, road decorations are inherently rotation aware
I thought it would be necessary
road decorations depend solely on the underlying roads
Anyway, it is closer to finishing, 1 out of idk how many, regardless thanks 👍
you're welcome
Help why are my night frames working during the day ?😭🙏🏼
"light switching": true
for what reason?
Like for helping me with night frames
Ok
I guess someone forgot to turn off the lights. 😄
Does anyone have a plugin to make money fast?
Please let me go😭
So you want cheats but in a plugin form?
Whatever my friend as long as you make a lot of money
Too bad
The only thing you can do is to teach him not to be bad at TT
What
Just get good,it wasn't that hard.
..what
did you bother looking at the lua documentation or did you just copy whatever chatgpt spewed out
I asked chatGPT because I didn't know where to look 😭
your lua won't work for adding money
so don't even bother because you aren't allowed to use such functions
So is there any way to make money?
no
😭😭😭
play the game like a normal person or use sandbox mode
There already a bunch plugin that can make income in the store
What is that...
don't expect any cheat buildings that you can just spam everywhere
there's just a bunch of stuff that provides a bit of income
just search "income" on plugin store
who cares? just use sandbox mode if you don't want to worry about money?
Just use sandbox...
literally what's with those people
Any plugin that grants the user insane amounts of money would disable achievements anyway
So there's no real benefit to whatever your trying
I think so but where is the sandbox mode?
in the city generation menu
Or in your cities info menu
There should be a little wizard
Oh thanks
Do you guys have any way to know the code to make plugin?
If it's a simple commercial building code it with PCA as a commercial plugin. You already know the attributes to use such as Draw ground.
I don't know I just asked gpt chat and it doesn't work quite a bit
use PCA to get simple codes (buildings, decoration, tree etc) and for more complicated codes (road, road decoration, ground etc) search on the forum
chatgpt can't really generate code or imagine attributes. It's just useful for copy-pasting code by changing plugin id for example.
Sigma
use english
there's no such thing as "income"
the values will most likely get capped automatically so it's not ridiculously overpowered
anyway if all you're looking to do is cheat then I'm not going to help you, you're on your own
Huh
fym "huh" what part of my message is unclear
So which line should I fix to make it reasonable?
and what is "reasonable" in your dictionary?
As long as it runs well
you should be fine as it is other than the single non existing attribute which I have already mentioned
Even though I don't understand what you're saying, I'll keep asking 🤡
stop :))