#plugin-support
1 messages ยท Page 8 of 1
It will call
function script:lobotomy(x, y, lvl, frame)
for lua script defined in $lobotomyscript00
ok now i have another problem
lua gives an error when i try to get/set a frame of a building (the building object itself is valid)
org.luaj.vm2.LuaError: libs/Building.lua:-1 attempt to index ? (a nil value) with key 'isValid'
stack traceback:
libs/Building.lua: in function 'getFrame'
plugins/lobotomy/lobotomy.lua:4: in function <plugins/lobotomy/lobotomy.lua:1>
[Java]: in ?
org.luaj.vm2.LuaError: libs/Building.lua:-1 attempt to index ? (a nil value) with key 'isValid'
stack traceback:
libs/Building.lua: in function 'getFrame'
plugins/lobotomy/lobotomy.lua:4: in function <plugins/lobotomy/lobotomy.lua:1>
[Java]: in ?
at org.luaj.vm2.LuaValue.error(LuaValue.java:1039)
at org.luaj.vm2.LuaValue.indexerror(LuaValue.java:3391)
at org.luaj.vm2.LuaValue.gettable(LuaValue.java:3299)
at org.luaj.vm2.LuaValue.get(LuaValue.java:1134)
at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:341)
at org.luaj.vm2.LuaClosure.onInvoke(LuaClosure.java:244)
at org.luaj.vm2.LuaClosure.invoke(LuaClosure.java:237)
at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:438)
at org.luaj.vm2.LuaClosure.onInvoke(LuaClosure.java:244)
at org.luaj.vm2.LuaClosure.invoke(LuaClosure.java:237)
at info.flowersoft.theotown.scripting.MethodCluster.invoke(MethodCluster.java:273)
at info.flowersoft.theotown.scripting.MethodCluster.invoke(MethodCluster.java:348)
...
can I see the code
function script:lobotomy(x, y, lvl, f)
local buidling = Tile.getBuilding(x, y)
Debug.toast(buidling.getFrame())
local case = math.random(3)
local sound = "lobotomy.sound." .. case
buidling.setFrame(case)
TheoTown.playSound(sound)
local currentTime = os.time()
repeat until os.time() > currentTime + 2
buidling.setFrame(0)
Debug.toast("test1")
end
ahhh this repeat until part lags as hell
is there some adequate way to sleep in lua?
depends what you want to do
if you want to reset it back
you can just use Runtime.postpone
now it doesn't crash but the frame isn't changing
can I see the modified code
function script:lobotomy(x, y, lvl, f)
local buidling = Tile.getBuilding(x, y)
local case = math.random(3)
local sound = "lobotomy.sound." .. case
buidling:setFrame(case)
TheoTown.playSound(sound)
-- local currentTime = os.time()
-- repeat until os.time() > currentTime + 2
-- buidling:setFrame(0)
Debug.toast("test1")
end
json is practically the same as before
actually, the postpone function is not a real "sleep".
pretty sure setFrame expects 0 indexed values
as in
1st frame is 0
the simple way, you can just use the click function.
function script:click(x, y)
local building = Tile.getBuilding(x, y)
building:setFrame(math.random(3) - 1)
end```
i have created a monstrosity
lmaooo
wtf
Jaja, i still need help with mine ๐ฅบ
ask danek
Dank please help me 
Anyone know how to add education influence and student count to plugins?
Thank you!
How do I make a building appear in a category
"category": "category name"
usually its like $cat_(name) for all vanilla categories
"$cat_decoration", "$cat_police"
Can all types of buildings be added in a category
yes
you can even make your own category
manifest file
I've created my own category and it worked but I don't know how to add buildings to it
Is it still the same
To ban cars from a road, what code should I add to my json?
What plugin is suitable to use to create housing?
An editor to collaborate with a plugin in progress, to make a sprite and that's it?
How do I edit the JSON file for a plugin that I got from the forum since whenever I import it there would be an error message in which when I edit it, it never saves or I'm probably doing it wrong or I don't know what I'm doing.
Can you send a screenshot of the error
give me a min
You're missing a category needed for the plugin
Check the forum post if there is a link to download the category separately
Guys, I need help with a plugin, I've been searching the forum for hours but I haven't found anything similar to what I want to do.
Let's say we have images A and B, A is the base of the building, B is the update, well, when I update A to B, image B is placed on top of A, but I want only image B and image A to be seen be hidden. how do i do it?
then what's the point of image b having parts that won't be shown?
just delete those parts of image b that intersect with image a
like... fun?
oh i get it
you want to switch the frame
the plugin is a tres growing, but, when I upgrade the building, the second texture overlaped the first
ah you want to hide it
then probably use animations
but I can't say much more without exact examples
they never stated it's a type tree
fair
depending on the implementation you'd ideally want to have an upgrade for each growth stage that would have null frames and a single animation
those upgrades would of course have to be "only one"
These are the frames, but, I dont know how to do the animation
I cant find a tutorial of animations in the forum
im sick of this
nvm
it loads now
but for some reason it uses textures from the base game
instead of the dirtpath.png
ah nvm
it doesnt use png
finally it works
so cool
I clearly have roads connected to this big town hall building but idk why the no road sign won't go away any one know why or what I can do ?
is that the country road?
Looking to partner with a plugin creator on a epic project dm me if you want to
It is yeah
NVM I destroyed the road and rebuilt it and it's fixed now , just a small glitch maybe
is it possible to use animations for slope texture/decals?
decal is just ground so it doesn't support animations of any kind
I see
idk what you want to do, but
and what is the first plugin
Ok thanks sooo much
how do i make a ground transparent?
Find draw ground: true if you're using PCA (plugin creator app),in the boolean Category.
aw, do you have a tutorial for that Plugin Creator App?
No, unfortunately,but internet exist
its not hard. the ones you really need are
id, type, height, width, frames, draw ground to true, (title and text if you want to) and thats pretty much it
Try removing "frames "fground"
I guess I fixed it sort of
At least I can open the game
Uh
I'm trying to make a ground plug in
whys it like that
๐คท
I don't think I'll need ilthis specific one anyways but I will need two other textures so ima gonna have to fix this
Goodluck i guess
Have you made any ground plug ins?
I do
Yes i have
Well could you possibly help me?
did you know the space and underscore are different?
I changed it to be a underscore but I don't know why it's asking for border frames when the whole purpose of that is to not need them
actually, that template is only for edge frames. so, you need to create your border frames, or just use the existing frames with:
{
"border frames": [
{"bmp": "fg1.png", "w":32, "count": 6},
{"bmp": "fg1.png", "w":32, "count": 6},
{"bmp": "fg1.png", "w":32, "count": 6}
]
}```
๐ซ
This isn't working
of course it isn't, your objects aren't closed properly
I don't know ๐ญ
don't know what
Idk what to do I'm not a nerd ๐ฎโ๐จ
Uh
I should do this? Or
now you're missing a comma
Bruh
You mean after the bracket or after the 0
Because I was told to not have a coma after that 0
after the bracket
commas in json work in the same way as in english
you go a, b, c and not a, b, c,
lol random frames
you sure your png has 6 frames of 32 width
Not at all
the free european expansion?
they are level 2, they need schools and parks for people to move in
oh
hi i made a plugin for test it's a residential plugin and it's my first time can u guys tell me how i can change it's space for habitants
"habitants" : x,
X being the value you want
THX SO MUCH
can u tell me how i can make income ???
i mean like "habitants" how i need to write it
thx
i cant find how to enable income ๐ข
You have to be a trusted plugin creator
i don't want to release it I'll just make it for myself
You still can't
whyyy
Because?
Really why
But we want to know why it should work this way
Ah my apologies
So why?
Just because he's a bloody pickle
k
right???
Because if you can't be trsuted with the income command then we can't trsut that you won't make OP plugins
Again pretty simple
so i can get a op plugin from trusted creators???
No?
k
lol
I mean at a certian point the game just determines you've gone to the OP status and disables your achievements
And futhermore at that point you might as well play sandbox lol
The explanation is simple, but, I'm sure, it has its reasons. Like why is this only one function locked, but others aren't?
like u can make a residential building with 1 million habitants
Because not everything needs to be made behind a wall that puts you in direct contact with the devs?
And that once again does this
yo mayor
if i make a residential building with 1 million habitants is that disables my achievements???
As I said here
k thx
Does anyone know if there is a line of code so the plugin does not interfere with transport?
and I would like to put more than one smoke in the same plugin, but when I copy the line it says that the "smoke" already exists.
Change the id of the smoke
In what context again?
Show the code
[
{
"id":"cocafactory",
"type":"industrial",
"width":16,
"height":16,
"level":3,
"frames":[{"bmp":"cocafactory.png"}],
"title":"Coca Cola Factory",
"text":"A coca cola and fanta factory",
"influence noise": -1,
"influence pollution":-1,
"influence radioactive":-1,
"smoke":[{"id":"$smoke05","x":347,"y":-16}],
"price":2,
"monthly price":1,
"author":"adrianbsk",
"draw ground":true,
"needs road": false,
"rotation aware":false
}
]
the error being reported is 50% transport
Screenshot the error message
So, for me the error doesn't appear, but in the comments in the plugin store several people are talking about transport error
The number of workers is at 50k too, I think I should decrease it to 20k, which is the highest number allowed
Hmm,your code that provided doesn't have any transport relating code, it's possibly a misleading comment.
Actually
The building doesnt recognise the transport thats provided. It remains at 50%
Do I need to change something in the code?
I always thoughg the problem was because the size was too massive
but i dong know if thats actually the problem
it probably is
whats the type name for management?
probably that
does type:management not work?
theotown doesnt seem to recognise it
lemme see then
oh category, that isnt a valid category
categories and types are different things
oh
is type a sub section of category?
forget it, imma just not include it
thank you ๐
youd go to the game and see where you want to place it its usually "$cat_category name"
"$cat_award" for example
Why cat
Ah
Regarding to this #information message
I planned to make a third party website where i post my own plugin,so should i also provide the option for both .zip or .plugin to my plugins downloads with the exception of plugins with TPC code in it. (Yes,i am Trusted plugin creator now.)
I guess the real building had a some sort of railing
And also the building with the beige roof
Okay thanks
What app is that
Ptag pca
Plugin creator app (PCA) is a website to create plugins for the game using a UI interface.
It can be accessed at https://pca.svetikas.lt/
Thx
Do you have any drawing apps for beginners
Mart read this https://forum.theotown.com/viewtopic.php?t=2965
And check the pins on #plugin-discussion
definetly faraway from being nice
Thank you how do I do that?
I will teach you
Okay great here or dms
Okay
Dm
whats the difference between uploading plugin as a zip
and as a .plugin file
and how do i convert zip to .plugin
you can use Pencrypt-plugin to encrypt it using pidroid or you can do it within the game
plugin store says to upload a zip though
plugin files are encrpted so typically youd use it if you dont want people to access the plugin components
plugin store encypts the zip anyway so its not needed
oh i see
Plugin store accepts both, .plugin file encrypts the contents protecting it from modifications from other people and access to its contents
Make a screenshot where you show your plugin in the game
How to put the plugin in the game?
๐คฆ
@lavish wraith take a screenshot of the plugin lmao not your logo
@grand spruce this mightve been the building itself
For his sake I hope not
I can already tell your plugin is not gonna get approved no matter what. Please check the pins in #plugin-discussion
havent i already told you to go through the tutorials and resources> Some are pinned here the rest are on the forum
Look for tutorials Mart
lmao
Hi everyone, where the Meow's road plugin? Cant find it in the store
It's called Advanced road
It's kinda annoying for me ๐
Yours?
The ship was cut a little
Oh probably caude it doesnt fit the base
I see
Titanic
Is there any way for my road layout to have diagonal support?
I mean, that the construction tool supports diagonal mode.
okay what
show the json
can i see a screenshot of your uploading screen where you put in your file
Plugin creator app (PCA) is a website to create plugins for the game using a UI interface.
It can be accessed at https://pca.svetikas.lt/
Oh
you can make one here. add an id, type and frame. along with height and width with draw ground true. download the zip it offers
press add first
it will open a small tab at the bottom
Yay it works thank you
Umm
Ohhhh, bro. You reminded me how I tried to make a plugin.
did you put it in the same folder as the json?
Extract the zip.
Then,make sure these files are in the folder:
- Your plugin json
- your plugin frames
- your plugin manifest
extracting isnt necessary
Well it varies from person to person.
Now it says that it's missing the manifest file
you do that using pca as well
Ptag pca
Plugin creator app (PCA) is a website to create plugins for the game using a UI interface.
It can be accessed at https://pca.svetikas.lt/
and put it in the same folder
if you want to, sure
There is Undertale mod?Like statues or smth
It's not here
it wont be, thats normal. those are plugin store plugins
not local ones
So where i can find it
go to the plugin downloading place and press local plugins
Okay
it will only appear there if you have local plugins
but if youre finding your house
look in manual building
you have space at thye bottom of your image and you forgot drawground true
if you have pixels on the bottom iit will keep floating
just crop the pixels you arent using from the bottom
Like that?
I will make the plugin again (not the sprite)
When you think "it's Perfect nothing can go wrong now." And then you realize you forgot to set width
Atleast it's not flying
IT'S WORKING
Thank you
Without you it wouldn't be possible for me to make it work
youre welcome
um glad it works
but also some criticism on the graphics if you want some
||you need to remove the outlines and also add noise||
Noise?
I don't use pixly ...
what are you using?
It fits more into theotown now
But i think i need to make the grass a little bit darker
which program u use
Honestly, it doesn't need grass at all. I wouldn't add grass so people could puts a ground they want
And please, add shadows onto the land
Also would be better with more decorations on the roof
Why can't I find the modular houses plugin anymore?
I eated it all
Alright
And also
How to add night animation
Can i make it upgradable?
Not a currently supported feature
you can edit it in manually by editing the generated JSON and reading the documentation on forums
plugin. (Example: Waterslide upgrade for pool)
This is how an upgrade may look in a plugin:
CODE: SELECT ALL
[{
"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
}]
}]
Hmm
Looks like it should work
huh
it will either crash your game when you try to place it because of the calculations or clamp the number to an acceptable value that isn't terribly overpowered
Il try it๐๐
It did not crash when I press it it make my big world green I mean green green
wheres the other half of that conditional statement
bunny learn to read
And it crashed
lol
I tried making a canal myself once
It looked so goddamn awful without plugins
But i forgor the plugin name
I would need that right now
Industrial Canals&Seawalls or https://forum.theotown.com/viewtopic.php?p=118639#p118639
But most people build from scratch (not using any plugins)
Thanks
How to create a earthquake strength system
Use Lua, i think.
One google search and It'll answer you.
How would that help?
Where I can found Florence Cathedral????
In game plugin store.
Florence cathedral made by Kekman
Not LSC
If I'm not wrong
Yes but LSC also released his version on his server
Kek gave his texture to LSC to complete
Does anyone recognise this road from any plugin? A plugin f-ed up the vanilla highway texture
lmao
Oof
Ok, i finally found the culprit. I had like some plugin which was a single .json. deleted it and now i's fixed
Probably was some really old plugin that i've downloaded before
It just added a few different roads styles with the vanilla roads
Que facha te saliรณ
para hablar espaรฑol usa #language-bar jeje
Ok thanks
Hey
do you need help with a plugin?
is there a plugin to make trees waving
they already wave?
for me no
its like swinging trees
is there a plugin for that? or is it in the settings
all vanilla trees have wind animations
it's up to plugin creators to add wind frames to their trees
Do anyone know what "chargeable": false on car plugin does in game?
Is it related to tollgate?
correct
Ohh I see, thank you
yeah
What is it?
You need to download the catefory separately i believe
Probably on the forum also by mdk
I will try here
How do I get a local plugin to show up on the plugins tab in the build menu
Like the sample plugin
I think you need a manifest, sorry if I'm wrong
It wont show in the plugins tab regardless
manifest makes it show up in the local plugins place though
For me it also shows up on plugins tab if it contains manifest file
Is it possible that I could upload a .plugin file in the plugin store?
I have that .plugin file and I was wondering that is it ok that I could upload it in the store
Iโm waiting for a reply
Yes you can
Yes
Oh ok
Also if you want the zip
See our dms, you sent me the zip and I sent you the modified png
Just switch out the old png
I already had that zip file
But Iโm just going to upload the thing later
Oh
But the store decrypts them for the plugin mods
Oh ok
how would you go about adding animations to fences?
for instance, I want to use animations to stack fences on top of each other
don't know what I'm doing wrong tbh
{
"animation":[{"id": "mew_C_Wall","y":4},{"id": "mew_DarkC_Wall","y":4}],
"id": "MewConcretefence_2",
"type": "fence",
"title":1,
"category":"$00cat_MwConcreteDecalWall",
"frames": [{ "bmp":"MwConcreteSheet.png","y":16,"x":97,"w":16,"h":11,"handle x":0,"handle y":-1},{ "bmp":"MwConcreteSheet.png","y":16,"x":113,"w":16,"h":11,"handle x":0,"handle y":-1}
]}
{"type": "animation","id": "mew_DarkC_Wall", "frames": [{ "bmp":"MwConcreteSheet.png","y":16,"x":113,"w":16,"h":11,"handle x":0,"handle y":-1}]},
{"type": "animation","id": "mew_C_Wall", "frames": [{ "bmp":"MwConcreteSheet.png","y":16,"x":97,"w":16,"h":11,"handle x":0,"handle y":-1}]},
Guys
Someone know Why
I put positive numbers in water and energy is actually produces it?
And I Using negative numbers for energy and water consumption but getting rejected by theotown?
What do you mean rejected?
@heavy solstice
I created a plugin and I want it to go to the store, but there are conditions
And I use the negative number for consumption
But rejected because negative number for Produce energy and water
And I use the positive numbers and It produces the energy and water
???
i pinged so you can see his reply since most inactive members forget to check back
What
Use negative numbers if you want a building to consume energy and water.
Didn't you already get a response to this in #online-mode ?
Pmodmenu @dusty wind
manuelruiz2703 has been warned: Spam.
Can you show me the rejection reason?
Well,nope
Because plugin It's been sent to the store
Hello, does someone know a plug in for an old looking small bridge /it shouldnโt be longer than 3 blocks itโs just for a small ditch
@bright crescent please use this channel sorry for the double ping
Hello, how feasible is it to create a T, TT and TTT mod for Houses, shops and Factories with 1Million capacity?
No
Because?
Its too op
nothing stops you from soing it yourself
even if you do manage to accomplish it, its going to disable chievements
Well, I play in sandbox mode
So achievements are not my priority
okay have fun
In fact I can do it, distribute it on the network Theo no
you cant upload it on the plugin store but you can use the forum
I'm trying to find the Volkshalle Plugin but it doesn't appear.
Wait, a minute.
Let me check again.
Yup, I can't find it.
they gave you a link to a plugin showcase post in forum
hi can someone helpmemy game wont open even i delete and redownload the game
i think the plugins cause this
how can i repair this
Its ok
Wiat ill send it personally
@earnest pendant nvm ill send here
There
Please only send the public accessaible links in this server. No zips
How would I fix this? This is from the Custom zones plugin on the forum. I'd like to just remove the building from the plugin so I don't have to deal with it. I don't understand where in the json it lists it.
What this plugin does is group the standard buildings so they are more organized.
It's a zip file thankfully, so I'm able to edit it
I can't find the building code in the json in the first place, if I could I would
I would either like to delete or fix it
It's only an issue with the US urban zone
(I hope)
can you dm me the json so i can have a look?
Sure
Hello am tryeing to crate a Custom animation but it doesn't work. Can anyone help me please.
first you have to make a animation thing which I see youre making here. But animations dont appear by themselves and youd need to have a different type for it to be seen. Like attached to a building. Reder to the tutorial on forums
Ok thanks
you can't
Why?
I'll go for plan b, create my own train package, will there be documentation on the Teo page?
what are you trying to do
I was thinking about modifying the plugin since it spams bullet train, causing the module to fail.
Necesito plantillas para crear construcciones
What app is that
File Browser
https://forum.theotown.com/viewtopic.php?f=108&t=5659here are the game graphics
https://forum.theotown.com/viewtopic.php?f=108&t=3207 and here are the templates. Have fun
Send the whole json
Do you have an extra bracket?
The code has alot of odd errors but only that somehow triggers the game
Thats basically it i was just testing plugins and stuff
Tried to make my own plugin just a lil test and it ended up like this there used to be a "handle x": -2 beside the string
I removed it and it gaved that error
so what does string attribute do?
Ian, what does the string attribute do?
(Also I did not see that comma lol)
nothing, maybe he try it, because the child attribute is number.
Child attribute. Thats so cute.
Umm i have alr told a admin and gaved him the code umm my code has weird stuff that gives hel alot of income a loophole within the umm games code
Btw how does one become a verified plugin maker?
How to add working animation?
Verified plugin maker is also a trusted plugin creator and its pretty much what the name says
Have you created a night animation before?
This would help
Alr thx also no ive never made night animation
That is making my head hurt๐ i don't understand it
Ill learn it later
๐ญ
pretty much, you define an animation first using type animation
and then you make the actual building/whatever else and you use "animation" to attach it to the building
theres no best plugin, depends on what youre looking for
theres thousands of plugins
Guys I need medieval times roads and bridge plugins can y'all help
see if seigneur has what youre looking for
I have that
It doesn't have bridges
It has a dirt road but I need stone one for towns and cities
Anyone here good at making plugins and can that person contact me if he/she wants to make 1 for me
plugin suggestions go in #plugin-suggestions
most creators do their own thing so if you cant find anyone to do that for you, you can make one yourself. Its easy โข๏ธ
No I can not ๐ฅบ cause of this
okay but thats not the only app you can use
theres pixel studio among others. pretty much any pixel drawing app
Can you explain in private pls just add me
I have that but I'd now anything further than download ap open app
Hello is there a way to make appear railway plat forms in the user interface train/parts?
While using "type":"railway station" it ens in the road section!
Thx
In your json, put "category":"$cat_train00" or "$cat_train00_parts00"
thank you so much it worked!
So I downlode the San Fransisco pack plugin from forum to my files but on samsung android idk how to transport them into theotown (app):/
Can you help pls?
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.
you'll need to move the files to the plugin folder located in the location up here
You may want to use a 3rd party file explorer like Zarhciver
Okey fhu a lot of information well thx anyway:3
Oh thx it worked
Thank you so much:3
np
check the decoartions tabs
the plugin should be there
Oh ok
Even though it doesn't appear in the local plugins tab
oh probably there is some stuff in monuments and some residential stuff
i forgot the pack wasn't only the birdge
Yes..
But I dont find them eather
I just imported the zip into the file manager/plugins
Nothing...
Anyways goodnight i need to get some sleep next day should we keep trying thx for the help!
I actually went through this situation. Due to this, I can't used my tablet for editing instead I had to use my mother's old phone. ๐
I use a other app now it works good as well
do you guys know any medieval military plugins
Ouh, what's the name of the app that you installed? I'm actually afraid if I use the app that doesn't related to TheoTown like Pixly.
@vale portal : Pixel studio
Thanks a lot for the help.
I'll use it after this
O okay what are u gonna build
I plan to build this building called Millenium Hilton which is located nearly by the WTC
Nice I am working on a Spanish residential/commercial building thus is what I got I still need to do a lot with it tho
I chose it bc of its structure that looks easy to build.
Dayum
If you got it can you send a picture to me ?
make sure it actually fits the standard theotown tile sizes
Sure but at this time I'm not very expert yet cuz I'm a beginner person
I was thinking actually abt this, btw how do ya'll get the green base?
check the pins
if it's not here it's in #plugin-discussion
I will
Me to
I sended friend requast
Done n done
Alright
Please remove the black lines
Use the ingame file manager
Wheres that?
when your in the region overview menu you can access it from the gear icon
Enjoy your plugin!
Okay but now it dosent show up
Because I go into plugins and it doesn't show up
How do I put them into the plugin folder in the file manager?
Wait disregard, I figured it out
thats only for store plugins
@wide rock
Much better
Yeah much better
Making in progress
Wow
Nice but please remove the black outlines
does anyone know what's wrong with this plugin?
i have enountered the error during the update of the new modular Airport
and if you're seeing behind yeah, the Vistamall is also encountering error
See what the comments suggest, fo they have a solution?
Same error?
I'll be remove it if finished
let me ugh Screenshot it i forgot
Still in progress
It takes a lot of time to take care of the texture, I need to improve after this
Nevermind i found the Problem for Vistamall
Is there a downtown zone with only skyscrapers for a plugin?
look for aDutchGuy on the plugin store he has plugins that'll interest you
for a start
Correct me if I'm wrong but Dutch hasn't made a zone which is what they were asking for
Nah he made this
Tell him I said "Shut up and take my diamonds for the plug-in!" ..... If I can save enough. I can hardly resist spending mine on a new area.
Watching ads:
If anyone's using this plugin, can you tell me how to make the curve as the shown by the arrow?
I bought 3 plugins from him with 30 diamonds each. I happened to already gotten most of his.
Hello, may I know how to make a night animation? I had already finished making my plugin, so I wanna make for the night animation.
it's below it like literally
Thank you so much!
yeah idk
but there's no Comments in the store
Why just why!
define animation before the actual object
if you dont know sharing the json could help but i assume thats whats wrong
No idea
send the json then
Hii, I've been receiving this message while trying to add night animations to a building , but I'm not entirely sure where in my code I've gone wrong, would anybody be able to identify my error?
(The code for the night frame)
wtf is -0
you have to make sure your animations are loaded first
putting it all in the same file will make sure it works
Yeah as far as I'm aware it is all in the same file ๐ค
Kk
[
// This is a sample plugin
// See https://forum.theotown.com/viewtopic.php?t=2965 for more information
{
// Id will be used to identify the building; use a unique string and don't change it afterwards
"id": "$st_pauls",
// We want to define a residential level 1 building
"type": "residential",
"level": 1,
// Optional information about the author(s)
"author": "Geothalste",
// Tile size of the building
"width": 4,
"height": 4,
// Image of the building
"frames": [
{"bmp": "StPauls.png"}
],
// Optional winter frames will be used in winter
"frames winter":[
{"bmp": "StPauls_Snow.png"}
],
// Add some lights
"animation":[
{"id":"$stpaulsnight", "x":0, "y":-0}
],
// Add some smoke
"smoke": [
{"id": "$smoke07","x": 15,"y": -17}
]
},
]
[
{
"frames": [
{
"bmp": "StPauls_Night.png"
}
],
"id": "$stpaulsnight",
"light": true,
"light switching": true,
"type": "animation"
}
]
I'm just using the sample code and changing bits as I go, since I'm trying to improve my coding
you can't use more than 1 main array
merge the building array and the animation array
you're also using the animation before it's defined, so you have to change the order
Json?
what plugin is causing the error?
Do I do that by removing the square brachites in between?
yes
can't help without your json
names must be strings but
b-b-buttt-- ๐ค
i have no idea what that thing wants, why is there an error between anymation and the end bracket lol
probably a missing comma
why would there be a comma between the last thing and the bracket?
send the updated json?
[
{
"frames": [
{
"bmp": "StPauls_Night.png"
}
],
"id": "$stpaulsnight",
"light": true,
"light_switching": true,
"type": "animation"
},
{
// This is a sample plugin
// See https://forum.theotown.com/viewtopic.php?t=2965 for more information
// Id will be used to identify the building; use a unique string and don't change it afterwards
"id": "$st_pauls",
// We want to define a residential level 1 building
"type": "residential",
"level": 1,
// Optional information about the author(s)
"author": "Geothalste",
// Tile size of the building
"width": 4,
"height": 4,
// Image of the building
"frames": [
{"bmp": "StPauls.png"}
],
// Optional winter frames will be used in winter
"frames_winter":[
{"bmp": "StPauls_Snow.png"}
],
// Add some lights
"animation":[
{"id":"$stpaulsnight", "x":5, "y":10}
],
// Add some smoke
"smoke": [
{"id": "$smoke07","x": 15,"y": -17}
]
}
]
Got it working now ๐
Just need to position it
The Modular Airport(Top Plugin Behind,
The Problem for the One Below, well i just give up
One extra question tho - is there a way I can stop the night animation showing at daytime?
The coloured bits are not part of the main building
No luck with that sadly
"draw ground": true
^
also crop your image
Who can help me with the fences?
and what help do you need?
coordinates
yeah ok but where is the problem
the exact same way coordinates work in math
ok
any seawall plugins?
Yes
i have that anything but that?
No
someone can help me with my building's night lights?
the texture appears in the night, with full brightness
but it also appears in the day
(smiley just for measure)
it's my first plugin
and my first time dealing with JSON
so i'm very lost
{
"id":"$kaai.yuki.urban.school.nightmode.plugin.unique.id.res00",
"frames":[ {
"bmp":"building_night_bmp.png"
}
],
"light": true,
"light_switching": true,
"type": "animation"
},
{
"id": "$kaai.yuki.urban.school.plugin.unique.id.res00",
"type": "education",
"author": "Arcoma",
"width": 4,
"height": 4,
"frames": [
{
"bmp": "building_bmp.png"
}
],
"animation": [
{
"id": "$kaai.yuki.urban.school.nightmode.plugin.unique.id.res00", "x": 0, "y": -93
}
],
"title": "Kaai Yuki Urban School",
"text": "An urban stylised school, also, Arcoma's first plugin.",
"influence education low": 90,
"influence education high": 90,
"monthly price": 3000,
"provide aspect education high": 3500,
"provide aspect education low": 2000,
"price": 122000,
"performance": true,
"water": -10,
"power": -20
}
]
the code
ah
forget about it
i got it to work
thank you Kulche
you're welcome
looks pretty good
but i think the people on thr roof are ghosts
they dont have shadows ๐
is that 3x3?
4x4
how it fits in my city
it looks sooooo pretty
like girllll(?) if i were to guess but just looking at the final result, i woulda thought youve been making plugins for agess ๐คฉ
Funny how they are being enjoying a party up there in the dark
Plot twist: they are ghost
sir, you used plugins didnt you
its their own plugin
its okay
What does this mean
If I checkmark all, does it make a difference?
I didn't click on the what's that button and just checkmark all and click apply
I didn't know it's gonna restart the game
Well logically
How do scripts run if the game is already started
Common sense mate
Nothing appears when using composition. How to fix this?
without clear information, im just can answer: open your code editor -> open your code file -> fix the wrong parts.
Json looks like this
Each part is 3x3
3x7=21 not 18
Removed one frame and it's still the same
the y also wrong. 0~2, 3~5, 6~8, ...
y = size * (n - 1) [if all size frames are equals]
e wait. lol
looks like your drafts needs land active
but, is the composition buildable? or only no preview?
What is that
No preview and cant be built
even on the ground?
What is the name of this plugin???? #everyone
Ppunish 1111738451063230494
soyeb5479 has been warned: Mass ping attempt.
just because it doesn't work doesn't mean you should try it
I guessed these plugins are that iOS only japanese building pack plugin.
I mostly recognized Rockford buildings,and possibly one of the arangasit building pack.
The diagonal buildings? I think leaf made those
"Possibly"
sad him
Hi anyone staff on??
what do you need
Im need help to download forum mods two theotown pc
I put in game folder but not workin
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.
Im not finding
huh
are you sure
can you show an ss
you could make a plugin folder as well in the main folder
How?
If is important a has downloaded by steam
2 days ago
Like this?
might be case sensitive so all lowercase
You need to use this file location not the steam file location
From what I remember that's where you are
lol
yeah for sure it's in there
So am I supposed to follow these directories and put the plugin in it?
Ok
and put %USERPROFILE%\TheoTown
Put the plugin in folder "plugins" right?
yes
Thanks
yw
Still not working :/
indeed
Does anyone here encountered these kind of issue?
Whats the issue exaxtly?
Look all the tips (nose) of all ships.
Downloaded in Theotown in APP store.
Basically the issuw is that the nose of the ships is outside the template so it cant be loaded unfortunately
the plugin creator can fix it by making the width and height bigger
Likely old plugin cause new creators make them bigger
Ow. thank you. I applied that one to my own private plugins.
Pmodmenu 571637551769845771
somebody73 was kicked for the following reason: Sending scam/phishing
