#plugin-support
1 messages · Page 7 of 1
I removed the monthly income altogether
But it says it has an error with "expected literal value" on line 10, when the brackets are
Waitwait I'm trying to fix it
What does that say? I searched far and wide, but I can't find an explanation in human language
I got it working, but I ran into another problem
It says that it doesn't find a certain png even though it's there and I double checked the name
I can show the files and error image if needed
I also changed the name of the file and in the code, it's still not working
the problem is in your frames tag
what does it contain atm
the game thinks you are trying to load a piece of the game textures
and to do that, it expects an x coordinate
but you probably didnt intend to try and load that
"Bmp" and the name of the png found in the plug in folder inside ""
if you capitalised the b in bmp that will be the issue
well now the error says it just can't find the png
you mightve mispelled it
rest looks fine to me
It's an older picture, I tried to rename it
I sent the files picture because I realized it was an older one
I'm clueless :|
The code is OK. You missed one letter in the name of your file. Exchage ==> ExchaNge
Omg thank you so much
IT WORKS THANK TO ANYONE WHO HAS HELPED ME
Really, I thank you all from my heart
Setting the plugin image is "thumbnail" in the plugin.manifest?
its gonna be the image displayed in the store
if you got just the 1 buildings its fine to just have that as your thumbnail
Where do I set the name pf the file? In the .json or .manifest?
Do I have to upload it to the store somehow?
i think manifests are mandatory these days
if you want to upload it to the store
the manifest just tells the game (and the user) what your plugin is about, not what it actually is
it just fills out this menu
if the thumbnail isnt present, itll show as loading forever
It is loading forever
But the .png file is stated in the .manifest and is present in the folder
Should I put it inside the .json then?
no
plugin manifest files contain some basic information about the plugin the game reads to join multiplayer and stuff. they have to be named plugin.manifest for it to work
I did exactly that
I will send here screenshots tomorrow morning
Idk why this little bug is happening
I couldn't find any tags matching that name!
I couldn't find any tags matching that name!
Does the animation work for ships? I’m trying to make paddling kayakers but the animation doesn’t show up 😦
//Declaration of the kayaks paddling animation. 12 frames for each side make 48 frames in total
{
"id": "$FancyKayakAnimation01x01", //1st rotation
"type": "animation",
"frames": [{"bmp": "FancyKayakAnimation01x01.png", "w": 10, "h": 10, "count": 12}]
},
{
"id": "$FancyKayakAnimation01x02", //2nd rotation
"type": "animation",
"frames": [{"bmp": "FancyKayakAnimation01x02.png", "w": 10, "h": 10, "count": 12}]
},
…etc 4 rotations in total.
//Ships declaration. The kayaks Big Pier
{
"id":"$FancyKayak01",
"type":"ship",
"frames":[
{"bmp":"Kayak01.png","w":10,"h":10,"count":4,"handle x":10,"handle y":10}, //Y yellow
{"bmp":"Kayak02.png","w":10,"h":10,"count":4,"handle x":10,"handle y":10}, //R red
{"bmp":"Kayak03.png","w":10,"h":10,"count":4,"handle x":10,"handle y":10}, //G green
{"bmp":"Kayak04.png","w":10,"h":10,"count":4,"handle x":10,"handle y":10} //B blue
//{"bmp":"Kayak05.png","w":10,"h":10,"count":4,"handle x":10,"handle y":10} //P purple
],
"animation":[{"id": "$FancyKayakAnimation01x01", "x":0, "y":-9, "frames": [0] }],
"animation":[{"id": "$FancyKayakAnimation01x02", "x":0, "y":-9, "frames": [1] }],
"animation":[{"id": "$FancyKayakAnimation01x03", "x":0, "y":-9, "frames": [2] }],
"animation":[{"id": "$FancyKayakAnimation01x04", "x":0, "y":-9, "frames": [3] }]
},
Ships do not support animations.
Any idea why the thumbnail still loads forever?
What size is the maximum more or less?
Compress the image
Bruh 27kb is too large as well?
Hey good morning! I was wondering what is the average wait for a plugin to either be approved or disapproved, it's been almost a month
Just submitted my plugin as well, thanks to anyone who has helped me, with huge amounts of patience, in the last days. Thanks to you, I will now be able to make more plugins. 🙏
I submitted some days ago, but now I found about “thumbnail” in manifest file, which I do not have. I want to add this, but there is no way to edit submitted files, only add, so I don’t know what to do. Also since it takes about 2 months till approval consideration, I could make updates of my plug-in for this time, but still I can’t edit submitted files.
Is it possible to change that?
you dont need it, uploading the store makes it automatically have the image you uploaded
also resubmitting plugins increases the time it takes for it to be approved
That’s what I want to avoid. It’s better to edit the current submission (if it was possible) than to make a new one.
same thing
i need coffe, I'm going back
Thanks 🙏🙏
Why is it taking so long tho?
Becuase the people that do it have lives?
Waiting 2 months is long time tho, compared to the wait to get your plugin approved before
At that point maybe we get more plugin mods
Exactly what im thinking
Find me some trust worthy community members and get back to me then
(Don't actually)
Lmao
cause people need to be a trusted plugin creator to even be considered a plugin mod
not a lot of people who have that to begin with
and not all of them would have the same standards as the rest of the plugin mod team so
Is there any template for drawing 1 by 1, 2 by 2 and 3 by 3 buildings?
Thank you
Hello, what should be written in the .json file so that the school has some kind of radius?
If anything, excuse my English, I translated using Google translator
influence is "influence education low/high"
students is "provide aspect education low/high"
Thank you
Influence is the radius?
It just doesn't work for me
you don't put integers in quotes
Ok, thanks
“influence education low"
"influence education high"
"provide aspect education high"
"provide aspect education low"
I made a plugin, thanks for the help
What does these do?
How much space for students and what level of education they are getting?
that's the student space
There is no command to space of insert education level workers?
???
you can't add different level workers
the level is strictly tied to building level
Dense insudtrial, for example, allows more highly educated than low educated?
????
It has no, afaik. This game has very basic economics. Perhaps, more basic than the first simcity´s eco. It would be much harder to maintain, if it had. Not reasonable for a super small community.
is it possible to make custom backgrounds for these problems (like that red banner thing)?
no, only by replacing texture directly
I get it. Thank you for solving that question for me!
You are not greedy on grats. What a rare thing. NP
idk to remove that things, but afaik, you can add "flag" to animation. the values should be 1, 2, 4, 8, 16. 
I'm not familiar with the slang you used in the sentence, but I still am gonna use this: :)
Been looking for vericous airports. Seems limited
When making a plugin with various buildings, should I make .manifest and .json for every model?
no
You can incluse all the buildings in the same json and for the manifest you just need one for the whole plugin
And if I make few .json files, will it affect performance?
Not by much
Okay, thanks again!
Can I control how much traffic a building is producing? I know that industrial buildings are producing x traffic, can I make it 0.8x?
@earnest pendant Idk how zones work. I only know how to spawn cars from my new buildings. I guess the zones mechanic is the same.
"car spawner":
[{
"cars":["$FancyKayakBaseBus01"],
"radius":20,
"count":10}],
I also got a question: meta":{"tags":{"idle bus":{}}} - what sense does this line have if I add it to my bus? And why idle?
you cant adjust the spawning of traffic from a certain zone but you can turn down the volume for the whole game in settings
I get it, thank you!
[
{
"id": "$YK_biome_dessert00",
"type": "biome",
"title": "NP Desert",
"preview frames":[ { "bmp": "icon.png", "handle y": 0 }],
"noise factor": 1,
"noise scale": 4,
"coverage": 0.3,
"ground": ["$K012_sand_desert_00"],
"tree": [{
"id": "$K012_tree_cacti",
"noise factor": 1,
"noise scale": 0.5,
"deriv factor": 1,
"deriv radius": 0.5,
"offset": -1,
"precedence": 0.3
}]
}
]
Another attempt to make an update for nature plus yet it didn't work and only showed this error:
why it's always moving
{
"id": "lamp4fence",
"type": "fence",
"category": "$cat_fencestreetlight00",
"title": "Street Light Fence",
"build time": 0,
"price": 1000,
"removable": true,
"frames": [
{
"bmp": "lamp4.png",
"h": 16,
"w": 16,
"count": 2,
"handle y": 8
}
],
"animation":[ {"id":"$lampnight4","x": 0,"y": -8} ],
"width": 1,
"height": 1
},
{
"id": "$lampnight4",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "lamp4night.png","w": 16,"count": 2
}
]
},
Because you have 2 frames under frames
oh hey, more street light fences
So how to get it in place? is it possible to fix it?such as frame fence lights only one
Oh wait, i dont think thats the problem, sorry
Have you read this? https://forum.theotown.com/viewtopic.php?t=7211
okay
what does this mean?
Ptag demands
Other than power, water, fire, police
Here are the basic needs of different buildings:
Residential
: health
: health + park + low education
health + park + sport + low education + high education
Commercial
: (none extra)
: park
: park + sport
Industrial
-
: (none extra)
finally in its place in the lamp
Is it all (bike road, lamp) rotation aware?
Unfortunately not for now, most likely rotation aware for bikelane in the future
I'm so dizzy from the light
Where did you get those vending machines?
I hope you do it. I have to pass by very beautiful plugins which are not rotation aware, because I don’t stop rotating the city while building. And I promised myself that if I do a plug-in, i do it rotation aware.
From people and props pack (private)
I'm like that too, but for me, a plugin with rotation aware is just a benefit
Does rotation aware can also be used to create different building variations? Concrete, bricks, etc.?
if youre asking if all kinds of buildings can be rotation aware, yes
erm, this happened because of the new update
nature plus moment
ig lmao
do you recommend i uninstall it. i like it for being a versatile plugin but...
Hello, I'm new here on discord. Does anyone know if there is a tutorial for Mew's Advanced Road Network?
It seems to be useful but extremely complicated.
theres one in #tips-n-tricks
try checking youtube, there may be one
its not exactly beginner friendly from what i hear
{
"id":"$roaddeco_lightglow01A",
"type":"animation",
"frames":[
null
]
},
{
"id":"$roaddeco_lightglow01B",
"type":"animation",
"frames":[
{"bmp": "glow1.png", "handle y":-5}
],
"light": true,
"light switching": true
},
{
"id":"$roaddeco_glow1",
"author":"Chipper",
"type":"road decoration",
"animation":[
{"id":"$roaddeco_lightglow01A"},
{"id":"$roaddeco_lightglow01B"}
],
"price":0,
"min dirs":0,
"max dirs":0,
"category":"$cat_roaddeco00",
"title":"Light glow",
"text":" ",
"preview frames":[{"bmp":"preview.png"}],
"frame animation indices":[
[0],[0],[0],[0],
[0],[0],[0],[0],
[0],[0],[0],[0],
[0],[0],[0],[0]
]
}
]```
i tried to make a road decor with a night anim, the night anim dosent seem to show up
Anyone know what name this decal plugin??
let's use another channel for that
Thank you for the response. I ain't beginner but i ain't a pro either
Install the newer version,or wait for the plugin store release. (Now pending...)
how do you set different animations for different frames again?
"frame"?
aye, i saw the update. ill see if it works now (it still doesn't work, i guess I'll wait for the plugin store update)
How to make the latest version road variant toggle? (1.11.30)
And some explanation from this, specifically the colors array
[
{
"id": "$kulche_suburbs_animation_2x2_template_walls",
"type": "template",
"rotation aware": true,
"colors": ["#ADADD6", "#F2EFE6", "#666461", "#7CB297", "#BFB069", "#B29F85", "#CCC1A3", "#A3B4CC", "#5B6B8C", "#7E996B", "#66777F", "#A57F63"]
}
]
I see...
it's for random color animations
hm, wonder if that would work on cars
specifically, the ones spawned by complex industry
then again, when i think back on aligning car animations my brain hurts
it does
ingame cars use that
you can also use "auto colorize" on car drafts and they will get a random color overlay just like the ingame cars
neat
problem is that we'd need to seperate the cabins from the steel frames of the trucks
so it requires animation work
and i am in pain doing that
Is there a way to remove buildings from appearing in manual build category, when they are already present in other?
what do you mean, I don't think buildings can ever be located in more than 1 category?
you can use "hidden" to remove them from the build menu altogether but I don't think that's what you're looking for
For example, there is Mesopotamia category, containing all buildings of the plugin. But these buildings also appear in manual build category, inside zones
Sadly, because it gets messy and crowded when using a lot of plugins. I thought of doing this to mine to ease a little
how do i make it so the light glow is in front of the vehicles??
Ye sorry chip lol
animation fg
I thought he meant the light glow only
kinda clipped it into 2 but i guess thats just how it is?
yeah probably
Is the airplane a special one? I use the same code when adding night animation to an airplane as I do for a car, but the rotation of the night animation always ends up being inconsistent with the airplane
simply adjust the coordinates
they are probably attached to the handle of the plane
Ppunish @remote linden
tghuy_lol was banned for the following reason: Sharing or spreading scams or phishing content.
Was about to ping a mod lol
👏
It's not the coordinates, it's the orientation of the airplane and the nighttime animation that don't match, I don't know why the nighttime animation will only load the first and third frames on the airplane, I have no problem putting it on the car with the exact same code.
I can't help without your frames and json
Someone know a eazy way to invert draw to create a other two positions?
flip it upside down /j
O Go try, thx bunny ❤️
did you expect actual advice lol
there's nothing you can do, you just have to draw the rotations (I know this is beyond comprehension for some of the members here)
how do I convert Minecraft build to a theotown building
i even added /j to indicate i was joking 😭
take a picture, remove background, downscale it and voila!
I wasn't talking to you at that moment
i know
Slightly more advanced method: use blockbench,render it,save the screenshot,downsize it, redraw it (optional),and done.
Sounds like a lot more steps
Here's the code I used for testing, not sure why he doesn't seem to be working.
What is the name of this plugin? And where can I download it?
looks like mew's roads
Where can I download it?
on the store?
Read it! Do you know the exact name?
Mew's advanced road network. that's the name
I don’t know where to look, I can’t find it on the forum. Or only through Discord?
🤦♂️
Do you only use the forum and discord to download plugins?
jesus christ
I dont think u can download plugins on jesus christ 🤔🤔
unless...??
Name changed new name:
Advanced Road(Bus Lane Update)
in game plugin store
and what is the problem
anything you want/need
yes but , i can use all of them for theotown?
that's what the website is for lol
zip is just the compressed manifest and json files
sorry brother
I do not know much about these things 😅
and thank you for helping me
Does anyone here have night animation on the fence type?
I have that
can you give it to me?
Check out my fence decoration plugin on the Vönark server I sent it to, you can see the file
I don't know how to separate text in Json code from other text
Idk what's wrong 
do not forget to specify the file extension
what's wrong actually?
did you forget the [ ] brackets at the start and end?
Oh yes, I forget
thx
how to deal with problems like this?
is that a question
Yes
I don't see a question here
Maybe a fault
what
try adjusting x and y probably
what are they supposed to look like?
hi guys um
is there a way to change the vanilla ui icons/nine patches/etc through plugins?
most likely
thx
i dunno i have searched the forums and the discord server but i haven't found anything useful
never saw a UI plugin in the store either
its likely possible but if it was would require previleged code
you have anime plugin by lobby
replaces some ui stuff so
yes you need to be privileged to do that
sad
Someone know how to fix this Heli spawn?
And the building frame :/
If want, i Can send the files or screenshot of plugin code
What?, just copy and paste it, I often do that from other plugins.
I'm afraid I'm wrong
Why is it like this?
Yes
@slate sable if you're not going to say something helpful please don't reply
Anyone has the ferry port system plugin?
I'm trying to make a custom bikelane with rotation frame
searh on plugin store ferry, boat, ship, but is decorarion type
It's called Advanced Roads now
Does "z" in animation objects is telling you if that animation is displayed above or under specific layer?
I guess it should mean animation drawing order but don't cite me on that
it's probably easier to simply order the arrays yourself as they are drawn in that order
there is no z tag except on fun.
you can change the animations order in animation or indices tag. first in first out and will under the second one.
use indices for the easiest way, [3, 1, 2] => 3 under 1, and 1 under 2.
is it possible to add night animation to vanilla building using "inherit"
yes
Intresting, i think i know what my next work will be, thanks!
Is it possible to download plug-ins from the forum on mobile?
Hey I know you! I'm using some of your plugins. Thank you for making my city look better 😀
But maybe you can help with this also, I'm looking for these breakwater blocks but can't find them anywhere. 🤔 do you know who made them?
enjoy :)
it should be made by mdk if I recall correctly
you can download it through the forums only, it's called 'breakwater pack' I think?
Appreciate you 🙏
Hello, how to make it so that when spavnoy appeared random textures. That is, the same icon as the trees
press the arrow buttons
No, you misunderstand me.
I want my plugin to be randomized all the time when building.
depends, what kind of plugin are you making?
you can use this i suppose
Grass pack
Thank you
Not logical, but reliable
it really doesnt make a difference
it does the same thing as trees
WIP any tips on how to add frames with longer time?
"speed:"
how do you make a blue look like that?
it doesn't
fine, guess ill have to make an animation and then do that :<
wait but that wouldnt work either
why wouldn't it
because i cant make it so it has arrows to switch between the different colours
maybe i should just draw it separately lol, whats 4 more 16x32 pixels anyway
...why not?
you very much can?
howw
just give it more frames and append each animation to each frame
null frames? 👀
whatever frame you wish
ooo thanks kulche :>
[null, null, ...] should work
thankyou kulchee
epic
can terrain use "frames winter"?
coffins
obviously the ingame grass changes to snow in winter
Guys, someone teach me how to make plugins please
check pins in #plugin-discussion and watch youtube tutorial
then ask questions
What's it
Are these coffins made for giants?
Theotown scale is too smol :<
Hello, I'm using kingtut's tram plugin, and for some reason the usage is 0%. Why is that?
this number means nothing
oh
anyone mind helping me a bit? the colors didn't works in this case.
try using all caps
probably doesn't make a difference but better safe than sorry
seems like the servers are smoldering again so I can't quite help much without forums
In the color hex code?
TheoTown forums try not to break every day challenge
Didn't really change the color is still the same even if i use all caps for the letters in color hex.
Perhaps i need to send an zip file for better results
bro is making the las vegas sphere
I've got a question, is it possible to make my building a rectangle instead of a square, i.e. have different width and height? Or would i have to split it in two buildings to achieve that?
the latter
got it
use compositions maybe
well I'm just getting started on making plugins
so I'll just make the building square
smart choice
What is wrong?
I've updated the categories and checked them very carefully, but they still won't load
you probably load them after they are used
Bug?
report it on their server
doesnt sound like a game issue
and i doubt its something we can help with
Ok, thanks.
I don't see any issue
To have.
On the black side you can see the decoration of the car but not on the rainbow side.
If I change sides, now on the rainbow side you can see the car decoration but now on the black side you can't see it.
Click the road
Can i see the json and image name?
no need to bother, it works
even though another image appears in the item
Hi, A friend wants to upload a plugin and needs to put the photo but it won't let him
Does google have access to device files?
Yes
Does anyone here have an example of a rotation aware frame image?
it goes counterclockwise
How do I set smoke for buildings with more than 1 frame? I tried using "frame":0 and "frame":1 but both appeared in both frames
Is there anywhere I can find that shows how to set up a zone plugin?
you can show your code
That's the section
Nevermind, I made an animation
forums, custom zone tutorial
What exactly do I have to do?
But don't worry I will change everything in the next patch update, so please be patient.
Ok, Thanks for the information.
Just in case, These have errors
Hello, does anyone know how to make a night frames?
yes start out by drawing the lights you want to appear
I guess it's better late than never, so, have he tried with .png files?
Pls help
Ty
And i can see your problem description ain't about it
There's something about "frames"
Well, send it again when you'll change that
Pls heelp
Help
Send the full json
just check on https://jsonlint.com/ for the simple json errors.
JSONLint is the free online validator, json formatter, and json beautifier tool for JSON, a lightweight data-interchange format. You can format json, validate json, with a quick and easy copy+paste.
Hello, how can I make a building require another building in the city, as it is in DSA?
check custom requirements forum post
how can I fix this plugin? please
Read the denial reason
This is whg you alwags read the rules and TOS first
I don't understand, means I won't be able to fix it because of the offense
I can't do anything right now
Just don't modify the IDs
Otherwise stuff will disappear when people update their plugin
Unless it's strictly necessary, just don't do that
Current problem is,monk had uploaded the plugin before, deleted it abd reuploaded it without changing the ids. So for people whodownloaded tham bdmefore has clashing ids
Monk I suggest you ask einfach for what you should do next
I will think about it later
why would you think about it lol
its not like the solution is coming to you any time soon
What is wrong?
Send the code
It could be the end
what?
error befor "title" with unterminated object means its a missing comma
Ah
so do you like scour your whole code everytime this happens to you instead of reading the error message lol
I'm more concerned about not using software that highlights such errors on the go
I using that one hahah
The first app what i found in the playmaket
i downloaded json genie purely for reading jsons when im on my phone and its awful
what
Just ignore them
I can't find this specific mods download option :
Car chase spawners any help?
?? car chase?
If your asking if a car chase spawner plugin exists then Yes
I can’t find Mew’s advanced road plugin from anywhere. Can anyone help me?
its just called advanced road now
pfind-plugin "Advanced Road(Bus Lane Update)"
Oh i saw that
I've added a variety of road decorations and it includes diagonal 1 way roads, a highly versatile plugin that can also be used on other road networks, credits to TheoTheo and Lobby for the road textures.
**Remember to turn on Support for multiple road decos
There will be no Rotation awareness, No Light Animations, No Winter Frames
80 
All platforms
there ya go
Is there a better (smaller) way to do this JSON with rotation awareness and animation?
Also, it's not even complete, there will need to be more 8 night animation objects if I continue this way
you can use lua or json template parameters. just check the latest in-game json resources, there are template parameters examples.
I know it exist, I just can't seem to find its download option
@young hearth another guy has "sexual" plugin too lmao
ye ik lol
Thank you, but I found out that I can use "rotation aware" for animation too
That helped a lot
I tried loading theotown with arangsits new plugin, then this happened
It's probably Zarchivers fault considering the fact that it output many error messages when I tried moving the plugin folder to theotowns plugins folder
Where'd you get it?
Arangsits server
yeah, and this some undocumented tags for the animation.
also, template parameters example. you can't put the parameters on the same template, something like if you want to change the id with same template. idk if you can do that from another templates.
{
...
"template parameters": {
"$bmp": "name.png",
"$anim00": {"bmp": "$bmp"} // this will cause an error because missing $bmp value.
..
}
..
}```
Wow
{
"frames": [{
"bmp": "01Bread_Museum_night.png"
}],
"id": "01Bread_Museum_night",
"light": true,
"light switching": true,
"type": "animation"
},
{
"id": "01Bread_Museum",
"type": "award",
"animations": [{"id": "01Bread_Museum_night", "x":0, "y":-18}],
"author": "ChangK team",
"water":"-13",
"power":"-32",
"width": 2,
"height": 2,
"frames": [
{
"bmp":"01Bread_Museum.png"
}
],
"draw ground":true
},
What's the problem here?
Why can't the light be displayed?
animations
thank!
I also had a lot of aragansit plugins, and got this error message often, but since I uninstalled those plugins, there are no more errors. Actually I think it's just because of the size of the plugins, they are too heavy, because of the number of contents and the aware rotation which further multiplies the size.
But see it with him anyway
How to put this category in other categories?
"category": "id"
what is the function of the code "once": true?
if you for example made two plugins with the same category using same id, helps to keep them from conflicting. It takes the first one and ignores the second one
aah okay
thanks with explanation
thank!
plug-in name pls
Airbase from store
How do I get rid of this draft text?
Write in your json "text": "desc",
Does anyone know what these 2 Plugins are?
The first one is vanilla (the tunnel)
💀
How make the tunnel?
I told you 5 hours ago its vanilla.
I never realized XD, and how is that type of tunnel made?
Well, I have to fill out a description for it, more work
I yold you how to get rid of it 🤷♀️
ah yess
I deleted the plugin I downloaded from the forum but I will try to add it again
This plugin is old I think that might be why the error
It had the dependency with another plugin,try downloading kingtut's category plugin first.
Use highway ramp (one way)
or just highways
anybody know how make school json?
"id": "unique id"
"height": number,
"width" number,
"type": "education",
"provide aspect education low/high": number (this is for the number of students),
"influence education low/high": number (this is for the radius),
those are the basics, you can include more
okay tysm
why is this?
you're missing a comma
okay tysm bro
Why are you providing low education with a high education influence?that doesnt make sense
I didn't realize it😅
I need the cars night animations
stop spamming the same thing over and over
you've been told
nobody is going to help you if you don't tell us what the issue is
Just send what you need to send theres no reason to send the same thing all over again other than giving annoyance...
why is this id always already to use
you have a duplicate of the same id
yes finnaly

hello im struggling to put my plugin on my game,i dont know where to place it 😅
woah luffy again
Q: Do we need to use a template to make a Plugin?
A: Yes, it's the most important part of the plugin, if you don't have it, it won't look great.
Q: Where can I find the Templates?
A: At this forum post: https://forum.theotown.com/viewtopic.php?f=108&t=3207
what do i do with the template? (sorry for the newbish question)
Keep the image above the base
anything below the template does not appear in game
did it ty! but why is there water when i place the plugin (again sorry for the newbish q)
In the json, add "draw ground":true,
alright ill try it btw ty for all the help!
No problem
uhhhh
draw ground is not an array
im confuse where do i put the draw ground 😮
in the same place as anywhere else
json is linear, there are really not much possibilities
so do i type "draw ground": true or i was wrong
this is still popping up
could you help find whats wrong?
//File was created by plugin creator website 4.0.3
[
{
"type": "decoration",
"id": "$@raffaejr.decoration.2023-12-01-21:2",
"author": "@Raffaejr",
"meta": {
"pca": {
"version": "4.0.3"
}
},
"frames": [
{
"bmp": "statue.png"
}
],
"width": 3,
"height": 3
},
{
"type": "decoration",
"id": "$@raffaejr.decoration.2023-12-01-21:4",
"author": "@Raffaejr",
"meta": {
"pca": {
"version": "4.0.3"
}
},
"frames": [
{
"bmp": "statue.png"
}
],
"width": 3,
"height": 3
"draw ground": true
}
]
seems to be missing a comma ,
putted comma but this still happends:
//File was created by plugin creator website 4.0.3
[
{
"type": "decoration",
"id": "$@raffaejr.decoration.2023-12-01-21:2",
"author": "@Raffaejr",
"meta": {
"pca": {
"version": "4.0.3"
}
},
"frames": [
{
"bmp": "statue.png"
}
],
"width": 3,
"height": 3
},
{
"type": "decoration",
"id": "$@raffaejr.decoration.2023-12-01-21:4",
"author": "@Raffaejr",
"meta": {
"pca": {
"version": "4.0.3"
}
},
"frames": [
{
"bmp": "statue.png"
}
],
"width": 3,
"height": 3
"draw ground": true,
}
]
"height":3,
"draw ground": true
}
]
how do i make my plugin into like a pack?
put all the {} into one [] in a single file
for example:
[
{
"id": "insiert id",
"frames": [{ }],
"type": "rci"
},
{
"id": "insiert id",
"frames": [{ }],
"type": "rci"
}
]
Does anyone here have a 4-part json frame code with decoration type?
What I mean is the frame code 4 in different directions
you would do them the same as any other rotation aware building
use use frames (2 or 4) the use "rotation aware": true,
What I mean is a rotating frame with 4 different directions in 1 image
how do i add night frame
"frames": [{"bmp": "image name", "h": number, "w": number, "count": 4}]
i cant remember if its h or height though same with w
You define an animation and add "light": true, and "light switching": true,
Then you add it under "animations": "(using the animation id you defined before)"
What is wrong?
show code
[
{
"type": "decoration",
"id": "dda0s00",
"title": "Sidewalk[in]trotoar",
"text": "This is sidewalk[in]ini adalah trotoar",
"author": "Milvandia",
"frames": [
{"bmp": "trotoar1.png", "h": 16, "w": 128, "count": 4}
],
"category":"$cat_Sidewalk7OO",
"width": 1,
"height": 1,
"price": 20,
"monthly price": 2,
"draw ground": true,
"rotation aware": true,
"build time": 0
},
{
"type": "decoration",
"id": "eododkwk",
"title": "Sidewalk[in]trotoar",
"text": "This is sidewalk[in]ini adalah trotoar",
"author": "Milvandia",
"frames": [
{"bmp": "trotoar2.png", "h": 16, "w": 128, "count": 4}
],
"category":"$cat_Sidewalk7OO",
"width": 1,
"height": 1,
"price": 20,
"monthly price": 2,
"draw ground": true,
"rotation aware": true,
"build time": 0
},
{
"type": "decoration",
"id": "axpcbeu",
"title": "Sidewalk[In]trotoar",
"text": "This is sidewalk[in]ini adalah trotoar",
"author": "Milvandia",
"frames": [
{"bmp": "trotoar3.png", "h": 16, "w": 128, "count": 4}
],
"category":"$cat_Sidewalk7OO",
"width": 1,
"height": 1,
"price": 20,
"monthly price": 2,
"draw ground": true,
"rotation aware": true,
"build time": 0
},
]
Probably not a great idea to put [] in the titles and text. Because they are a part of the json. Seee if it works when you remove all of them
you can use ( ) instead
trailing comma on the last line.
do you know how to handle this?
translate it
whats the problem?
the preview?
I mean how to separate them into 1 part
you want to make them the same item?
oh wait you want to connect them?
like a road?
No
if you want help you need to explain what you want better
What I mean is how to separate 1 image item which should be 1 item in 1 frame
^^
count does that. count is for the number of frames
it didn't work
What should separate them instead joins them
Thanks
how to make building plugins have upgradables
And code
[{
"id": "$sample.plugin.unique.id.park00",
"type": "park",
"author": "Lobby & theotheoderich",
"width": 1,
"height": 1,
"frames": [{
"bmp": "sample_bmp.png"
}],
"influence park": 40,
"upgrades": [{
"id": "$sample.plugin.unique.id.park01",
"frames": [{
"bmp": "someupgrade_bmp"
}],
"price": 2000,
"monthly price": 20,
"influence park": 20
}]
}]
yo we are Indonesians
how do i increase people that live in my residence plugin and what is the max
If you press on a building you can see it
oh wait
you would do "people": (number)
dont think theres a max, just keep it realistic
What code can be used to hide a building from the building menu? But it can be found with a search.
Thank.
???
You can click the big thing that says what's that
They can't read
which one
Like about making one
sure, you can find resources to help you in #plugin-discussion
Alright thanks.
you can ask any and all questions there as well
does someone have a json code for 1 way and not 1 way?
why not just read https://forum.theotown.com/viewtopic.php?f=41&t=2964
did you define a template first of all?
Template must be loaded first rather than the road. So if the template is loaded after the road, it'll cause that error.
So where should I put the template?
before where you defined the jalanraya4
[
{
"type":"template",
...
},
{
"type":"road",
...
}
]
does someone have a picture of a diagonal fence?
can you send the picture?
just an example image
I need it to add my plugin items as well as add the manifest
Are there other directions too?
vertical?
Yes
What caused this in new version? Also how to fix?
read it
Nvm already solved
Does anyone have these Plugins?
Pedestrian Bridge: China Railway Pack (Forum)
Warehouse: Rockford Warehouse.
Industrial Vent: Complex Industry. *±
Hi guys, does any one know these 2 plugins that I circled. Appreciate a lots if anyone can help me to find it
Resized images
what is the name of the plugin?
I don’t know the name, that’s why I’m asking for the name of the 2 plug-ins 😂
I'm Brazilian, I don't know much about English
Also this ^^
you can use #language-bar to speak brazilian
Ok
Private
@wicked frigate Can it be shared by my boss?
@wicked frigate I've been looking for that plugin for 1 week
Why would you reply ping me to that? That has nothing to do with me, or the issue I have.
Im not well versed in plugins made by other people either so I wouldnt know anyway, lol
@low shoal huh
@vale elbow sharing private plugins is bannable.
thankyouuuu ❤️
probably doesnt work
lol
Only the first animation is running in a loop and tapping doesnt do anything
now figure out why
New railsway system plugin
I tried to put the traincrossing but it shows nothing
Picture on left
have you seen my lua code?
The issue is fun is not called as fast as your animation goes
That results in failing to detect the animation ending
and starting a new one
so wait is this supposed to work or is it just you explaining it?
wont work, didnt get far enough
okie
what if i made it one animation, would that be easier?
can i like make 2 animations and then make it into one animation? :0
type: "animation"
"animation": [{"id:": "snowflake_1"}, {"id": "snowflake_2"}]
lua wouldn't even be that bad tbh
my problem with having one animation is that they have different rates of rising and falling
aside the spelling mustake, i cant create an animation combining the two of them?
can you explain how i would do it in lua?
please :>
ask again tomorrow
i assume by tmmr you mean after you wake up
cause i thought you wouldve been asleep by now
you can
Can someone please send me a building template from 1x1 to 8x8
#plugin-discussion pins
🔮
i am not home
my problem is anything outside basic json (lua or fun) i still dont know what to do or how to do it since its very out of my knowledge
im willing to learn by making different things but right now, im just completely lost in the world of not so fun, fun
that's a viable strategy
then wtf is this
like a business suit
I'm not wasting texture space
dsa wasting both
then scale it down to 32x32
sure
alright
it's your plugin
huhhhh ive never seen that one before
Does anyone know how make json for road deco? I forgor how to do it
Does anyone know how to code a fence?
Aside from type fence?
how to handle this?
Load the category first
Put it at the top of the json before any of the other stuff
@steel verge looks like Tile.setGroundHeight override the Tile.getGroundHeight due to a typo.
elaborate
ah
you are indeed right
Will be fixed in the next update next year
How can I edit the GUI that appears when I click on a drafted building? (by LUA)
drafted?
I got a .zip plugin file, how do I put it in my game?
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.
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.
Place the zip in the files/plugins folder
Thanks
will transferring my plugin folder from mobile to pc work ?
it should
Okay thank you
yw
Pmodmenu @livid mountain
.gmsfox was banned for the following reason: Sharing or spreading scams or phishing content.
LMFAO
Search castle on the plugin store and you'll find it
The staircase is probably pedestrian zone, that's probably a park or something making the drop off, and that's probably a fence making a custom wall
Okay thanks
Do you know how to separate building from the road with like a sidewalk in the middle
Pedestrian zone counts as a road iirc
You can have an alleyway going around the back and just use asphalt or other decals as well
Some people use tunnels to satisfy road needs as well
But you need to make sure that the services cover the buildings, especially if the fire trucks or ambulances can't get to them
Anyone know the building used in this build
How do I unzip files
you dont need to
They won’t pop up in the plugins tab
Ohhh
Use Ian's animation dev tool
How can I make my decal plugin appear under buildings instead of just grass being there
"level": 1
I did that yes but somehow it still disappears
{
"id": "$Themax_PropExtended_Road_OldLamp1_1N_01",
"type": "animation",
"light": true,
"light switching": true,
"frames": [{
"bmp": "Themax_PropExtended_Road_OldLamp1_1N.png", "x":0, "w":32
}]
},
{
"id": "$Themax_PropExtended_Road_OldLamp1_1N_02",
"type": "animation",
"light": true,
"light switching": true,
"frames": [{
"bmp": "Themax_PropExtended_Road_OldLamp1_1N.png", "x":32, "w":32
}]
},
{
"id": "Themax_PropExtended_Road_OldLamp1_1_01",
"type": "animation",
"frames":
[
{
"bmp": "Themax_PropExtended_Road_OldLamp1_1.png", "w": 32, "x": 0, "handle y": 24
}]
},
{
"id": "Themax_PropExtended_Road_OldLamp1_1_02",
"type": "animation",
"frames":
[
{
"bmp": "Themax_PropExtended_Road_OldLamp1_1.png", "w": 32, "x": 32, "handle y": 24
}]
},
{
"id": "$Themax_PropExtended_Road_OldLamp1_1",
"type": "road decoration",
"category": "$Themax_PrpExtended1_LightsCategoryRoad",
"author": "Themax",
"frame animation fg indices":[[],[1, 3],[0, 2],[],[1, 3],[1, 3],[],[],[0, 2],[],[0, 2],[],[],[],[],[]],
"animation fg":[{"id":"Themax_PropExtended_Road_OldLamp1_1_01"},{"id":"Themax_PropExtended_Road_OldLamp1_1_02"},{"id":"Themax_PropExtended_Road_OldLamp1_1N_01"},{"id":"Themax_PropExtended_Road_OldLamp1_1N_02"}],
"price": 50,
"monthly price": 0,
"ordinal": 5101,
"required flag normal":true,
"required flag pedestrian":true,
"required flag tram":true,
"required flag user0":true,
"line tool":true,
"text": "A set of hanging lights placed above your roads providing for your magnificent cities.",
"title": "OLP1: hanging lights"
}
]```
I don't really see what's wrong with my code
Nevermind, just fixed it
Error was that I had forgotten the "$" in the IDs.
Use this if you want to mirror the building
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.
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.
There you put it in the plugins folder
tks
There's a code for adjust the Car frame in game?
Not the texture inside the frame I mean all the frame
What's mean "offset y"
Bro I'm sorry but I need your help
I mean adjust the Frame not the texture inside the frame
Becaus the largest vehicles can't appear correctly
About this
I mean the whole vehicle square
This square
Handle Y move the texture inside the square
Not the square
there's no code able to move this square?
Omg it's working "handle Y"
Thanks 👍
is there anyone that can help me ? i don't understand anything about JSON
I can't select multiple pictures in the pcs thing anymore?
You can, they are called frames. One frame is one image/texture.
trailing comma after y
Does anyone know what the Plugin for this building is?
@spiral palm Italian historical buildings?
verona historical buildings
also you can ask the person who made the city directly??
Anyone know Skyway?or like Road below to road plugin?
'Cause there were gaps, due to the road being rounded
So I tried to just change the json and texture
s
and it didn't really work lol
I didn't find anything on the forum 'bout it, so if anyone knows how to help me or if it's even possible
I'll appreciate that
these are the changed versions of sprites and code
does anyone know how to handle this?
"W":32
well it did change something
But it didn't quite give me the result that I wanted?
now that i think of it, it's probably a little complicated to do custom barriers on corners so i'll settle with the gaps
nevertheless, ty for help
you can't add custom corner frames
where did you find that it was possible in the first place
bridge frames take 4 frames
no more, no less
as in for railing
whatever you're trying to achieve is simply not possible
yes you should clean up your frames and just use that
On first image:
- Suburban Road beside the road as a river.
- In game sidewalk?
Second image: - Possibly private road plugin.
wow so is there any way to fill such a gap?
Idk,you should ask the image owner yourself.
tks
farm decal
you won't get the same effect though
the image is edited heavily
helloo, does anyone know this plugin?
caterpillar truck
It's a mining plugin
I searched the forum but couldn't find it :((
Italian historical buildings
It's in the industrial section
Alpha mine
Or mining
It's on the store
Why it get cut off?
Thanks 👍
Alpha Mining
Help, I cannot see my Dense Police Station plugin in-game when I transfer the JSON and image in my phone. Haalp.
Here is my codes
the file extension is txt. lol
why dont you put it into a folder than convert to zip or plugin file? since the game properly loaded, there is no error with the json if you place the plugin into the right plugins folder.
Its in the right folder eh...
What should I do? Halp please
as i said before, it should be .json.
what is the website that you may recommend to convert this text into JSON?
I forgot how because I worked in this project 1 year and 6 months ago.
just rename it. lol
unchek the "hidden extension" option before you rename it.
also you can rename the file in the game.
like this?
DensePoliceStation.json
yeah
just see the animation id.
I did what the tutorial tells me to do. But I do not see my night frame...
Wait NVM I did not do what the tutorial tells me to do 🤦♂️
The tutorial I'm currently watching:
Hello, and welcome to my new video!
This time I will explain how to make a simple night animation for a TheoToown plugin.
Night animations are a very requested feature in many plugins, but making it seems very hard to many creators, so I made this video which will hopegully help you!
This tutorial however is based on my experience as plugin ...
Hi guys! I cant collect my offline money and tickets. Every time I try to collect I watch an add but money don't come.
Why should I do?
What*
Just click ok
and where is the "I need help" part
can i restrict choosing the building frame, so it can be only placed with the first frame?
no as far as I'm aware
so how should i implement the following functionality
building seems to have only 1 frame when placed but when clicked on it changes the frame
Try "selectable frames": false
thanks
undocumented feature no 39553893535
There's also "random frame": false to disable a random frame being selected by the game
i'm sorry what
[
{
"id": "$danekbel.award.2024-01-05-15:45",
"type": "award",
"author": "danekbel",
"meta": {
"pca": {
"version": "4.1.1"
}
},
"frames": [
{
"bmp": "lobotomy.png"
},
{
"bmp": "lobotomy1.png"
},
{
"bmp": "lobotomy2.png"
},
{
"bmp": "lobotomy3.png"
}
],
"selectable frames": false,
"random frame": false,
"width": 2,
"height": 2,
"on click fun":[
{
"actions":[
{"action":{"type":"call","id":"$lobotomyscript00","code":"lobotomy","frame":42}}
]
}
]
},
{
"id":"$lobotomyscript00",
"type":"script",
"script":"lobotomy.lua"
},
{
"id":"lobotomy.sound.1",
"type":"sound",
"file":"lobotomy1.mp3",
"volume":1.0
},
{
"id":"lobotomy.sound.2",
"type":"sound",
"file":"lobotomy2.mp3",
"volume":1.0
},
{
"id":"lobotomy.sound.3",
"type":"sound",
"file":"lobotomy3.mp3",
"volume":1.0
}
]
looks good to me
this man does lua?
apparently
where is the lua????
script
isnt type script lua?


