#plugin-discussion
1 messages Β· Page 247 of 1
Ja said he can't say cuz privacy reasons
It was a rethoric question.
But it doesn't change the fact that those kind of plugins are flooding the plugin store.
And it's really annoying for plugins creators who put hard work on plugins to see those being lost in a flood of low quality plugin.
If it was once a month, i wouldn't mind.
But there are more and more of such plugins.
7 pixels are equal to 4 meters
so, you divide those 7 pixel by 4
1.75 pixels are equal to 1 meter @midnight obsidian
thanks
The pixel to meters ratio is pinned on this channel.
yeah, i know, i was just too lazy to do the math
Alright, so i'll continue on my European commercial pack
π
There are some buildings from Oslo and Stockholm i want to make later
Are you from an European country ?
Do you know any building in your town / country that could fit well for a european commercial building pack ?
cause there is a few i liked from Vilnius, Riga and Talinn but any suggestion is welcome.
Epically opens Microsoft maps
All the stores in my town are in a single shopping center
https://www.google.com/maps/@54.6778459,25.2876125,3a,75y,175.21h,89.41t/data=!3m8!1e1!3m6!1sAF1QipOifnRnEb8Xq843KDoYr0N4qcKDkph5qVkcdrZv!2e10!3e11!6shttps:%2F%2Flh5.googleusercontent.com%2Fp%2FAF1QipOifnRnEb8Xq843KDoYr0N4qcKDkph5qVkcdrZv%3Dw203-h100-k-no-pi0-ya300.41516-ro-0-fo100!7i7200!8i3600 you can take inspiration from the old towns in lithuanian cities
Same
i'm showing the old town of vilnius here
and it's actually a quite popular tourist attraction
I already took a screenshot of the church for later
this is a pretty nice building
I already took a screenshot of the church for later
@keen helm this?
I just remembered that Im using mobile data as ethernet
that one
I am looking at buildings from Stockholm and i'll look at buildings from Helsinki next
There is also a lot of french buildings i want to make.
I want to make the Toulouse capitole and the Oslo Royal Palace someday.
Toulouse Capitole
Yes, i definitely want to make that one someday.
Although i would also like other plugins creators to try that one.
You should do it , i'm too busy with my Normandy stuff
looking forward to seeing that building in theotown
um
i want to make a plugin
road deco
a custom crosswalk
IIIII like that and not the other one with the lines on top and bottom
Actually, i really think the european commercial pack should be a community project
β¬ββ¬ γ( γ-γγ)
nice fun fact
This river is not dirty at all. The reason it is brown is because the current is extremely strong and spoof tons of mud, sand and dirt
It's the fastest large river in France. The gironde
Ah. nice
@keen helm thats hot
anyways, thoughts on this building? kinda feel i got the shading a bit wrong but whatever
ah wait, i noticed that the shadows are a bit wrong
still kinda feel that those shadows on the roof side of the building are wrong but it was a try
thoughts?
In what programm do you work
thanks thobby
Ok
I quickly made it on my phone to explain what is wrong
@vapid hull the tools i use to create my plugins are Paint.net and Notepad++, both on windows.
ah, so i suppose that's where the shadows should go
And i use the steam version of TheoTown which is more creator friendly
Interesting
trying to fix the shadows rn
there
so we can see it
first i think the left side should be a bit brighter
so that the contrast is stronger
and the roof is a bit too bright ,in my opinion
i can give you a complete dissection
constructive criticism
but it might be a lot
@midnight obsidian
would appreciate if you told me
Itβs your first one ?
so following ,i think the windows are too close and too small
it ain't my first one, i've made more in the past
well the windows are ok but little to no space between them
what i really apreciate is the texturing , so you could overall just make it bigger ,brigth side brighter and the roof a bit more dark
and maybe make the windows color a bit more saturated
this should help i hope
Did somebody remember that funny undergroud city entrance?
It was uploaded yesterday and now it deleted
good
I think its orginal and after remaking and balancing it would be pretty interesting add
What do you think?
Damn i wanted do that
OK i will make A TELEPORT that opens 100000 living places lmao
1*1
For 10 MT
Overpowered
Yes
So 100000 people in one resedent building is really too much
Yup
y e s
But when i saw that strange thing
@midnight obsidian when you finish the changes to your plugin i'd love to see it
stadium can't fit that many people
8*8 underground
Its amazing
Yeah sure
But its fresh idea
Something unusual
Looks simple but
been done before but with smaller scale
Its a good idea...
Maybe tho, make it a sewer enterence but can only hold 100 people
(Aka T or Hobos
-)
space out the windows more, make them more saturated, adjust brightness and fix shadows are the things i have to do
I got a private plugin that artificially increase workers, inhabitants and school / hospital available rooms/classes.
I didnt use it for a while tho
alright, improved plugin
magnified
lets compare
while the new one looks better lighting and contrast wise
the old one has a bit more realism i think , both are good
its your choice which you preffer now i guess
hm
btw this is great , keep doing it
could try to make a mix of two
let me get some pics i have
they'll help you a ton
but i need to connect my mouse and stuff brb
im in bet
i didnt forget about the pictures rtobby , i have to search or em and i was a bit b00sy
it's a-ok
goddamn this is what happens when you have over 20gb of pictures in your download folder
i have pirated games , sprites , random stuff
i need to clean my donwloads folder
these are some of the most relevant tips illustrations i have
@midnight obsidian
alright
i think the ones about roof texture and windows would help you
thanks
finally finished it ,rome residential building , will be part of new italian pack
fuuuuu
its too big for 2x2 , and too small for 3x3
so i have to add like 10 pixels on each side
tf am i gonna put there
How do you get rid of the wall thingy
Do you know any building in your town / country that could fit well for a european commercial building pack ?
@keen helm Sorry for replying late, but I have some buildings from Buenos Aires that you may like
@worn elbow
but it gets rid of the lanes
Emm... Thanks, I will fix the roof with my test house plugin
huh
ill try again
Ty it works now
I was using the outer lanes which is prob why it didnt work
Hello plugin experts, what lua function should I use in order to show dialog box after tapping a certain building.
Kay itsuki
I got a idea
What if there is a plug on about mining
Like if you have a mine you can make money
Think of it
Already posible
Mining industry
???
Open pit
Name
Hello plugin experts, what lua function should I use in order to show dialog box after tapping a certain building.
@left gale
You must include :
function script:click(x,y,level)
showdialog()
return false
end
At the end of the script
I was using the outer lanes which is prob why it didnt work
@worn elbow
There are 2 types of outer lanes you can check it again if you put the right one
Someone pinged me?
I like how the creator implement Lua there
Wot
He's not talking to you
I think, you need to move your buildings or your airport
place the airport in other part of your city
Its not my city)
But i think problem in other thing
Wait
Sth like that
And sure If there are high buildings already lane would not be places
Placed
if the planes have enough free space next to the runway they wont do that
theyll just cruise up to high altitude and stay there
Yes, but i think that planes must not have opportunity to land up so strange
first of all, why did you put tons of skyscraper near to the airport?
first of all, why did you put tons of skyscraper near to the airport?
@static sail
Yep
Most of them are the same.
Urban planning 0/10
Nice start, Rickykingz!
yeah announcement time i guess
ya boi kekman just got news that tommorrow i'm going back to school
im happy and terrified at the same time
and work on italian pack will be slower and activity overall lower
How can i import this to pixly
?
You want edit this house on phone
Oh
Wait
Firstly
This is jpg its bad
It can formate image
Wdym
I suck at making plugin
Its not plugin problem
Is the pixel size are incorrect?
e
And look on quality
Should i rebuild it using pixly?
I make it using pixel studio
Nice can you open it in pixel studio and save as png file?
After open on phone png image
It would better quality and totally as you did in pixel studio
512x512 px?
32*32
Ok take the lowest
I think everything you send in discord going jpg for low size
@sharp kettle are you on pixly?
I made the house using pixel studio, but since pixel studio isnt really working to make plugin, im trying to make the house on pixly
once it's on pixly, try cropping it in the settings menu
settings > edit > resize canvas
is that house 1x1?
it should be 32 pixels long
and the height is the height of your house
and if the house doesn't fit, which it should fit, then you might have to remake it
Smaller?
Lower hight
Width = 32 and hight <= 32must be
Firstly you save file as png drop it on Google disk or usb to phone folder etc
And open it in pixly
Should i start with this?....
go wild with it
Oh, ok
I cant see all screen
First idea is try to open full screen and maybe it would be find a button and second one that saving option can be in settings
This the full screen
Up and right
Im really scared that im gonna lose the house
Dont worry
Its already png picture so you can simple "save"
Oh it means that last version would be delete
pretty good for a first plugin ,
Click right
Save as 1x1 png?
Yes
Nice
there are tutorial
@midnight obsidian where is it?
forums
Wait
Im still pretty confused
Id must start with $
But thats what i see from the video
The 1x1 is the house
Do i click plugin creator?
It doesn't need to but its standard for all ids in the base game
I never understand.. ;-;
If you have the JSON and the frames you can just put them into a zip and upload
For security, I recommend convert it to .plugin file
2 current olive trees variants
dont be surprised if the leaves are quite bright, it's normal.
Although if it doesn't fit, those are fairly small trees so it's fairly easy to edit
doesn't look too bad, ngl
could be better so i'll try some different variants
it looks better with more contrast
but do you guys know what look even better ?
the new preview frames for trees
@keen helm add a seperate variant that won't spawn in with the basic variants where there's a basket full of olives
an industrial variant ?
that can be done.
Fairly easily actually.
Perhaps even with an income or idk.
more of a decoration variant but industrial could work, i'd suggest making it a farm though
Yes, farms are industrials in-game tho
yeah
But do you like the preview frames ? @midnight obsidian
looks nice
Cause i really love those and i'll now make all my trees plugins that way.
i like it
tbh, i feel like it's better than vanilla preview frames for tree
petition to change all in game tree preview frames to something like thobby does
exactly ! x)
so, the preview frame is nice but i will likely remake the trees
not today tho.
I am a bit tired.
cya.
cya
Lmao
I also balanced it
What do you think is it total bullshit to try load it
Its worse than classic water tower of producing
But it doesnt need road
Sometimes it useful
???
Where is JustAnyone...
Sexy
Ty
ππ tee heee
I. It's missing effects in glass.
What you mean
Reflection
ye
Oh lol
it's hard to do i know lol
Yes
I still cant even make a plugin yet lol
oh
what plugin is this?
I think he made it
Y'all killing me
Looks better
Need noise, shadow, reflection
Rooft and alignment
It is Ping An Finance Center by boblovespi.
It is in the forum
lobbu funny lol lobby get it
there, fixed it
Yep
Ggwp
i dont get fun attributes
@chilly mango
In Which directory should i put my music file if i do play sounds with lua? Is it in the same directory?
i think you have to make a draft for it with json
not sure what the tags for that would be though

hang on i got a plugin that does it lemme check\
@low loom ```json
{
"id":"bluepickle.plugin.meme.song",
"type":"sound",
"file":"file.mp3",
"volume":1.0
},
for the plugin its in the same directory

shhhhh
In metres or pixels
I'm add light to it
Ah then you need the handle
@low loom ```json
{
"id":"bluepickle.plugin.meme.song",
"type":"sound",
"file":"file.mp3",
"volume":1.0
},
@chilly mango
I do TheoTown.playSound() but it only plays the first 1 second of the music
if you want it to come from a certain point in the map you should use city.playsound
in the code i got on hand it just keeps playing until .stop is called on the object
are you putting the return of .playsound in a variable?
Water bottle
ye but are you doing song = Theotown.playsount(etc)
cuz you can use the variable to stop the song
In my script :
sound = Draft.getDraft("")
function script:enterCity()
TheoTown.plauSound(sound,1,true)
end
Can you send me the full documentary about playsound if you know @chilly mango not in lua API
ill send the plugin in a dm
Why if i put true(loop boolean) it always loop for the first 1 second of the music
i think because you dont put the return in a function it gets discarded by the garbage collector
Yea I want to add light to it
Have some work done today again
Can somebody tell me how to get the height of my plugin so I can add light to it to upload to the store
Everything under the red line is -y and everything above is y
@lilac shuttle
Red line in Middle of base is 0
@lua expert anyone? Does the game support lpeg? Like:
local lpeg = require 'lpeg'
```?
Ok
@low loom game only supports mp3 cuz of multiplatform
I think that's too softy
Ofcourse cause that is pexel png
I will likely remake all the olive trees.
????
@sinful meadow
private plugin.
????
@sinful meadow plugin for tests
I was just gonna say, if it's published by JA, it's prolly a test
hes probs messing about with the bot
Damn i am so tired of making this
Its not the end
I need 2 hours to make shadows and softness for better view
Use less neon colors maybe
check pins
Did my message get removed?
Can someone DM me all missing building that need to be added to the games
Maybe I try to make them as plugin
Pls
I Don't Know Any Old Stuff Because I Played This Game In 2020
Sorry mahn,you weren't through the struggle
You should have joined when it was new,you could have appreciated the current features,then THEOTOWN 66 changed it all and it was all worth itπ€€
@slender grail if you have an issue with region owners don't play online mode...
Or don't play in their regions
It's their region you are simply playing in it, and that is your choice
Okay,I'll try playing in other regions
Pequena Copacabana update(WIP)
I like the idea of this but I'd also recommend having different versions that are just separated
I like how wide it is.Continue making wide buildings
That looks awesome
Ikr
Price 1000 diamond?..
1080p π
Someone should make a d-day plug in.
Lmao
Lol
There is already a day-night cycle button in the game, @rain gate.
@rain gate d-day is a game of some sorts i suppose, not day/night cycle stuff
making d-day plugin sounds stupid ngl
D for doom and day for day
The code or the Json file for this house just doesn't work. can someone have advice and help
Get rid of all the \" in there
You probably entered the "'s in the plugin creator too and it added them on top
also theres a bunch of tags that arent really needed
Is there a plugin that is a recycling plant because I would love to add one to my city
There's none due to in-game restrictions
We could make a "fake" looking one , but it won't act as a proper in-game trash facility
Yeah trash disposal is a privileged function for plugins so most creators can't use it
Sad
trusted plugin creators can make them but theres no guidelines about their pricing and stuff
Yah
so im geussing nobody wants to risk it
Some of trusted creator can use code like free tunnel
I hope some of code can be seen in public like bus
priveliged key doesnt unlock anything related to bus system
*as far as is documented
its only really for a couple specific cases
and some lua functions
I forgot the name so maybe someone have this plugin:
A park plugin that let's you place paths and make custom sized parks.
I think it's a plugin cmade by mdk
i don't remeber the name exacly, but you can find it in the forums
Any decal packs you could recommend?
Probably the decals from Josh
Plugin name?
just check the forums, there a bunch of them
@rain gate you can use Tile.getInfluence(Tile.INFLUENCE_POLLUTION, x, y)
and do some maths to get it for an area
i aproved like 50 new users in a theotown group jesus christ , moderators dead
jaysuus
and lmao all of them were from asia
someone should make falling leaves from trees for fall or winter
also @rain gate see https://forum.theotown.com/viewtopic.php?f=115&t=12183 it has an example of a progress bar using ninepatch
I mean a circular progressbar, @chilly mango
So which is the most downloaded plugin
ah
Is it diagonal road?
I thought DSA was a plugin then was inputted into the game
Oooh so it's kinda both
the game lists it as a plugin
but its more integrated with the game than you can make with a plugin
Ooh.Thanks
City.polution (x, y[, z[, w]])
Returns a pollution value for the specified coordinates.
Parameters:
β’ x: number
β’ y: number
β’ z: number (optional)
β’ w: number (optional)
Returns:
(number) Ranges from -1 to 1
@rain gate
you can use Tile.getInfluence(influenceType,x,y)
local pollution = Tile.getInfluence(INFLUENCE_POLLUTION,x,y) -- x and y must be set into building or road coordinates.
Debug.toast(tostring(pollution))```
Shouldn't you use Tile.INFLUENCE_POLLUTION?
SHould i Complete my Road dEcO sEt
@signal lagoon your light can support pos animation and fence animation?
fence animations aren't supported generally
Idk back to old problem
You did not open keys
Does anyone know if there are actual multi-lane highway plugins where traffic actually uses more than 2 lanes in one direction?
There are quite a few
The ones I have tried all have the same problem where only the outer-most tile is used by traffic, unless you manually add "cross-overs" but then you get a bunch of intersections which makes traffic worse
where traffic actually uses more than 2 lanes in one direction
this can't be guaranteed
that's how cars work currently
that's how cars work currently
Yeah, thought it might be a game limitation
So I guess the best way to proceed is to have regular (2 lanes each direction) highways split before each intersection with one part of the highway being used for through traffic and the second part used to acces the intersection?
I would say that's most likely to get the effect you want
Its possible to pickup passengers in train station by using car?

@sinful meadow that's not how things work, vehicles don't pick up anybody if I'm correct
What app can you code with on andriod
I use an writer
you can use the plugin creator website if you don't want to learn json
otherwise use any other text file editor
bad json?
Did you try to
Quit and back
Yep
Maybe Not enough watter supply?
Can someone know how to close the type:tool draft automatically after it's usage without clicking the "CANCEL" Button?
One more thing is why script doesn't read draft that has "hidden":true on it self?
200,000 downloads
I do like that modern building plugin a lot
I do like that modern building plugin a lot
Thank you!
@lilac shuttle
I saw this
Is "dirs":[...] allowed in road decoration?
whats the order for rotation aware buildings? or is it just preference
I meant that the side should have the same color as the lower walls
also I think rotation awares are counterclockwise
Alrighty
Roof needs a little bit of overhang
Can someone know how to close the type:tool draft automatically after it's usage without clicking the "CANCEL" Button?
@low loom
I need help here :/
It's really tricky for me i used tool.close() just guessing that it will work but isn't π
idk
i tried to make a button to enter a tool but i got stuck there too
i hope they make the lua docs more complete soon
i tried to make a button to enter a tool but i got stuck there too
@chilly mango
This works for me but still stuck how to close it not by the cancel button
You can use
City.createDraftDrawer(draft).select()
For that @chilly mango π
Can someone make a 1x1 bucket brigade plugin for medieval and isolated cities. It would have fire influence. Maybe a small water tower or something. Thanks.
Can someone tell if this right pls
ah nice
@low loom pretty sure i was warned by ja not to call createdraftdrawer too often
you might wanna cache some of that stuff
or consult ja about it
Is my coords right anybody
depends on which frame do you want to use
Who me
you should really add texture into the walls and the roof
and the night anim...
I'm fine with those texture on the wall and the roof but that night animation texture is too yucky
ground lacks texture, other than that, it's ok
yeah, it looks quite good now
@lilac shuttle what app do you use to create plugins?
Pixly I think, you can see apps for making plugins in the pins
Pixly
Can someone know how to close the type:tool draft automatically after it's usage without clicking the "CANCEL" Button?
@low loom
I don't know about what condition of the "usage", to close tool you can do like this :
-- any conditions
GUI.get'cmdCloseTool':click()```
> i tried to make a button to enter a tool but i got stuck there too
@chilly mango
you can do like this :
```lua
parent:addButton{
onClick = function()
if City.createDraftDrawer(draft):isSelectable() then -- optional condition
City.createDraftDrawer(draft).select()
end
end
}```
Ah nice cheers
@low loom pretty sure i was warned by ja not to call createdraftdrawer too often
@chilly mango
Ohh... I just saw this from lobby and themax tree planter tool
Guys
What if you wrote a desc on the web when submitting a plugin but its different from the json will it be ok ?
Also the title
Different title than the one on the json
you can do like this :
parent:addButton{ onClick = function() if City.createDraftDrawer(draft):isSelectable() then -- optional condition City.createDraftDrawer(draft).select() end end }```
@signal lagoon Do we really need to used "isSelectable()" Before ".select()"?
What if you wrote a desc on the web when submitting a plugin but its different from the json will it be ok ?
@shut quail
Yes but make sure it is the same what you pointed out
Ok thx
yeah maybe put city.createdraftdrawer into a variable so you dont have to recreate it all the time
i added this road to my road set some time ago
Can i do plugins on phone aswell ?
yes
Cool, do i need to download something or?
yeah, check the pins on how to do them
Do we really need to used "isSelectable()" Before ".select()"?
@low loom
optional.
Pretty sure that function is now the same as doing
Draft.isUnlocked()
But without the spicy memory leak
Hello, may I ask why the mods are taking too long to check new plugins?
Can someone make a car spawner?
There is a car spawner in plugin store i think
I think its possible in online region
I'm too lazy to make a military base
Oof
Aw
My mil base suck
Mine sucks-er
@stoic palm I know they have lives, Thank you.
Sorry for my impatience @stoic palm
@stoic palm Sorry too, Its just we're not used to it π.
damn thats a lotta json
actually, you can separate it.
Any gud plugins to reccomend
looks like they didnt feel like it
Well, that was the only JSON that holds monorail translation file π
ah they put all the text in 1 json?
its like they were planning to get it translated
Great update !
Thank you. :)
Yeah that's better π!
@left gale why ur json has foreign languages lol
@lilac shuttle roof
@shut quail those are translations within the json
He looks to be translating that one Chinese railway plugin
@stoic palm ook
@left gale why ur json has foreign languages lol
@shut quail
Translation π
Kk
It is normal,but needs more assets and shadows. Good work
Oof, the building window looks so flat
Oh my
the windows are wrong, ricky
I haven't start on it yet
Hello, how can I contact Leo? I would like to ask some permission. π
Nice
Anchor Weapon Systems ,dystopian look factory
gotta finsih it
@plain python thanks
Amazon web services
yes
Ah, nice
i just started writing letters , a then w and then s and i made up some name for it
and it became achor weapon systems to fit the dystopian look i want
maybe if i have time i'll make an animation for the big boy smoke thing on the roof
Nah, I think Amazon Web services is better Nice
i just realised it needs more grunge
ill add like a lot of cables to give it extra sludge
Some French Zone SimCity Buildit mansions. It got me some inspirations.
I could create them as plugins.
Make soviet houses
I could create them as plugins.
@rain gate COPYRIGHT
Unless ur in the USSR
Because there in the USSR that house is OUR house
@shut quail
@rain gate COPYRIGHT
@shut quail I will do it anyways.
Wounder if there is a copy and paste plugin would make it cover areas
Because there in the USSR that house is OUR house
Stfu slavaboo
^
For tropical lovers, here is a new future roadset plugin.
Looks cool and good.
Thank you.
what
ah yes, .plugin file creation
Emmm... No "ID": "helpmeplsimdying123$",?
no hes translated the railway plugin
i was going to answer you @rain gate
did you know who is?
these palm trees were created by theo and lobby
ah, alright
you can use them for making plugins
alright them.
There should be more Soviet-style panel houses though.
Plugin creators don't take suggestions, I suggest you try and make it yourself
I know there is a pack for ones from Russia and some buildings from Budapest,
Yeah i tried and i should try again sometime
There's a bunch out already
@static sail LOL
seriously though
its not funny
nobody is laughing at it
soviet jokes is stupid as hell
sorry to break you up but it is true
Well fine
A crazy idea, but I like it. I could add truck building transport in TT.
Wha.. the
It's common here
When the houses are easy to remove and aren't that heavy it can be moved
Emmm.... yeah
oh
Especially in Santa Catarina and Rio Grande do Sul.
But at least here, not like that
well, i never left northwest region sooo
Oh, by what I know most of wooden houses could be moved... But it depends of location and money of course.
In hills it couldn't be moved.
No, I mean, yeah you can move it, but the process is not like the photo π
i never saw a wooden house, i think
Here is common see wooden houses everywhere
i live in a very hot part of Brazil, so people barely build wooden houses here
Lol, that is 0% common here
I never saw something like that
Emmm...
No, not common here
i keep wondering how a truck can stand a big house
Here we have "pre-fabricated" homes, or sometimes wooden homes that you can move it I think, but with huge trucks
Imagine traveling for your entire city in a helicopter
Yes, here too. Until I know there is no a way to transport brick houses.
In the comfort of your home
Ah, lol
well, changing a bit the subject, i'm going to add a new pack with roadside trees
more likely 5 variants
o_o
π
@rain gate can u make plugins?
yes
Emm... Im still thinking about animations, I mean, dynamic animations
But the issue that Im investigating is about performance
american houses are basically made out of drywall and wood ,not brick and cement like in europe , so they can just pick em up and haul em , its weird
and they wonder why tornadoes destroy em
Oh
american houses are basically wooden frame isolation and drywood ,while european are cemented into the ground so you can't separate it ever
lmao a street in my hometown in romania is on wikipedia in the house page
Oof
show code
your plugin must define a type
if you want to make a house it needs to be type:"residential"
oi erk man
oi
[
{
"frames":[
{
"bmp":"lll.png"
}
],
"Height":4,
"id":"lll.house",
"Type":"residential",
"Weigh":4
}
]
I used json maker idk if it helps
Or is it the right way
also type needs to be lowercase
height





