#plugin-discussion
1 messages ยท Page 251 of 1
without going through all city tiles preferably
i wanna run some code but only if the building has been placed
i dont actually really need the location just checking if it exists is enough
to check the existence of the building, you can use City.countBuildings(draft)
ah yes
that will work
i used event_placed but that wouldnt work when reentering city
for location, you can use script:event(x,y,level,event), but only for draft that attached with the script
idk about script:draw, i never use it
wont script:event not get called unless something happens?
i preferably want the location on city enter
need to do some 1 time calculations
use City.getBuilding(index, draft)
when your script is 40 lines
for some reason Script.getDraft() errors but Script:getDraft() doesnt
can i not call script.getDraft in script:init
cuz whatever i do its just nil
ah wait the lua docs say its Script but its actually script
Is it ok now?
Gotta love that case sensitivity
I had errors in concatenated nil string i don't know how i can fix it, well it supposed to be like that caused the string only updated each using script:nextDay and displaying it using script:update
Nil checks?
#plugin-showcase message ill take your entire stock.
embed fail
Ok, thank you.
How do i set it to 2x2 building
I didnt make a json i use uhhh
i use https://pca.theotown.com to make plugin JSON code
An easier way to create plugins via friendly UI interface.
This
Ok
I guess you can use Json Genie or Quickedit to write the json easier
It is just my opinion
I think i will try making some undustrial plugins
@sharp kettle You made this?
Yea
Cool
Its my second plugin so the texture is kinda whack
Doesn't look too bad to be honest
Thanks
it's a pretty good attempt
I still need to add more textures to it
Maybe the railway type dosent fit xd
I would try and see if you can copy paste the train track texture
From world texture
Nvm I don't think it's in there
Maybe try to color pick it out of a screenshot
I make "the new marina" plugin, cooming soon in plugin store
But it spawned the original sailboat (by lobby and theo)
the main buildings lack texture
It's the base (Beta version) :v
i mean, adding some texture doesnt take much work
I already edit but admin wasn't accept
Why????
are you editing the plugin insted of submiting the plugin again?
remeber if you're just updating your plugin, just update the plugin by just changing the file instead of jjust uploading as a plugin by itself again
also, keep in mind that they told you before to improve shadows and textures
so you should do that
one of them got accepted already
just get rid of all the duplicates
spamming isnt a good idea
Okay and
I already edit this 2 months ago
One is already approved just remove the copies
And do what the plugin store moderators say aswell
if you update it it should say pending approval
if it says disaproved they disaproved it
No this word not show
After re submit
Thats.. a big building
Yah
The rooftop looks strange tho
8x8?
Yah
add softer shadows
But they're good
yeah and also the colors look neon to me
they are nice otherwise
even if there are texture in some of the buildings, some of them still feel like it still lack texture
I hope after i re texture again
This will accepted
also the blue text thingies on the roof aren't isometric
That one wasn't approved
๐
Nothing's new
Because it's suspended
I've sent a message to suspendor
It should be unsuspended at some point
I presume
I wish they would approve my plugin
@stoic palm. Today, I Need Help To Create A Plugin!
follow the pinned message in this channel
the floating lamp
Morocco Contacts
which windows looks better, above or below?
Below
alright
How do I improve the texture of my plugin?
time to make some avenue's to make that guy cry
also why give an road these flags
"x flags":{
"flag normal":true,
"flag user2":true,
"flag user3":true,
"flag airport":true,
"flag military":true
}```
this is mock an guy who made an copy of my road with no perms
Uh... how to make a transparent terrain? I put the building and the terrain change to water ;-;
Ofcourse
Add more texture to it
Suree
IT'S NOT COMPLETELY so.. keep patient and gave me request for this decoration
(bad English ๐
Is it 8x8?
It's 12 x 12
Yes, because it's so BIG management building
You have to check gedung sate in google..
Well, you gotta do some jsons to make that work
Yap
Well, goodluck
Thanks
Maybe alot, i dont know how to make it as a pack tho
Ive made 1 building and 2 deco so far
split it up into 4 6x6 buildings
What is that ??
Just some more details like windows and it should be done
Oh it's from you?
And the German flags too?
Thanks!
bundestag?
@livid agate yes
@JustAnyone yes
@steady harness
Nice lol
Thank you!
I have a question
Who will accepted the suspended plugin?
the suspender
How many they are
The suspender is the original one
Lobby? Or you
Yayks
How they will approve
Or any requirements
Up to them
U r one of them ๐
I have the right to suspend, unsuspend , approve and disapprove plugins, however that wasn't me and I cannot unsuspend it.
Improving my apartment
https://forum.theotown.com/viewtopic.php?f=59&t=12811&p=169968#p169968 man this kid cant read
Credit is on top of the post but it also says Contact me if you want to use it
fixed
I like how he copied my post
should i remake my first plugin
Pforum-ui q_man_02
Yes
Does this looks okay?
it looks okay
How bout the building?
but more details on the windows / building can be done
Cool apartment
Thank you
But, make more details
use my apartment door texture or window texture if you need help
Ah alright
with help from rock it came to this
or i could just make more cranes for the construction plugin i forgot about
@static sail it is the stockholm block building ? I remember it
yeah
Maybe gonna make some punk buildings
And ask their twitter if i can use the names used in game
Hmm... i dont like the night lights
specially the one at the top
maybe you can make them more transparent
@hybrid sedge there are two types of roads:
the ones found irl
the ones not found irl
@Q_man_02#3940 "kuality"
- Lobby
all my roads in one pic
ill add some racing roads in the avenue set
only the stripes change ngl
Cool
thoughts on the texture so far? did i mess up the roof in any way?
Oop
it looks good to me, but then again I'm not a pro just yet
Looks nice
alright, red side's finished. thoughts?
Wait the minute.. isnt the shadows suppose to be at other side?
i haven't added the shadows yet
I was trying to texturize my desert house, idk if it's good
one word: shading
I cant see the roof
I'll add
i can't tell which sides are which
I just wanna know if the texture is good
Where do i shade?
Is it like a desert houses?
I'm trying to inspire on that
I think its 2x2
It's 1x1
Its kinda looks like 1x2
Stop trying to guess, I wanted to know if the texture is good
Cool
time to work on the ground
But I'm using that as base
Oml
Read the pins
O ok
O ok thnx
Awesome
Nice
i'll do the coding after i sleep.
looks a bit too bright
If i reduce they will look like gray
Unseenable
ah
Same color in metal body
just tone down the brightness, not saturation
ait, gotta go now. cya!
Wait how did you-
Oh cool..
Wow cool mrt and the train ๐ฅ๐
Where can i upload it to plugin store
In forum... Tap the upload plugins... You must have a picture of plugin and the file/zip plugin.. and DESCRIPTION
Terrain maybe
?
Also, i added shade but nobody said if it was or not good
The shades is to small
Terrain category
@modest blaze i already upload it in forum
Well, idk but the base od 1x1 is this
Why plugin store isnt loading for me
Uhhh also the forum wont load now...
Will you stop? I asked about shade not base
@modest blaze you literally asked to small
Smh
Then will you STOP asking me about the shades -_-
Sigh.. this man
I asked wdym by the "shade is too small"
Cute.
i have this plugin
What is t h a t?
Its very usefull for me
Well, what is it?
the very first model of the jc3 mil road
found my old rome road project i gotten from kekman
Time to retexture everything i guess xd
I dont know
there are multiple plugin moderators, the ways how they accept and reject plugins vary from mod to mod
im now just moving my files from my old phone to my pc so i then can move it to my new phone
no need to retexture they already look good
But.. it got disapproved
I think i finnished with the new shadows and i did some bug fix
hmm yes old files
Looks cool
Well, i gotta reset TT to test the new plugin... which mean now i have to wait 10 min ;-;
How do i get plugin novice rank?
contact pickle bot with your forums name
i checked the tutorials and documentations, i found how to make those winter codes, but i don't really understand what that said
help
Also, everytime i tried to delete the disapproved one, it always error
I am making content
I try to make RECYCLE CENTER โป๏ธ
But i can't to write the json of waste disposal building,please HELP ME ๐ญ
Use this https://ja.theotown.com/pca2/
An easier way to create plugins via friendly UI interface.
Also, improve the frames first
They lack texture and shadows
dont send that
An easier way to create plugins via friendly UI interface.
pca2 is bound to go down at some point
but what is the way to make the building work so that it can collect waste like other waste disposal buildings ?? (Can we talk private)
plugins cannot do that
:'(
help
i have no idea how to code winter frames
even if i saw a tutorial
i don't understand it
just have a seperate tag like ```json
"winter frames": [{"bmp":"winterframe.png"}]
seperate of the normal frames tag
Its possible to name your plugin same in other?
The name of plugin itself?
name?
In store
Also once true is needed if you want to make an bigger set
Copies of the plugin in outer sets*
Other
You cant reuse the same id
You can use reuse the name just fine
But that would just cause confusion do don't
Just not id
I'm done with the texture and shading, it's good?
I'm sorry but this looks kinda bad
Not so good
A part of the building needs to be darker
The door needs one more pixel
Roof is undistinguishable from the walls
that's what i meant by shading, you have to be able to distinguish the roof, walls
where's the shadow
yeah was kinda confusing to look at
I want to due this requirement
Even in sandbox and free mode
How to make this kind of codes?
Because i don't feel the essence of game system
Some players are lazy
You have to go in the plus icon and scroll down until you reach the requirement cost 4 diamonds
there is no official way to do this
it might be possible with a lua workaround
i wouldnt reccomend it
Please, where do I find this?
New Buildings that will be added to the Modernist Pack
Oo I can't wait
Why is that appearing?
A plugin made by ja
@sinful meadow What is the name of the street plugin?
Mexican and Philippines road
Oh ok alright, I've been looking for it for a long time
Thanks :)
Its possible to remove the road barrier in turning point?
I dont want to make them permanent like fg animation
You can just remove all the railings in your bridge frames
I know i mean changing to another barrier but exchangeable
A bridge frames have a diagonal barrier
But I don't want permanent barriers like fg frames
I think i need to due experiment
@sinful meadow i think you can only change them by changing the frames of it into diagonal
What is that?
there was an attempt to build lampposts
Like me when i first encounter 16 fg animation
ghghhg
why does it place 3 lamps when i only defined 2 omigosh
wish this worked
This is the 16 frame pattern
straight segments: 5, 10
indices for 5: bg0, fg0
indices for 10: bg1, fg1
how do i get a third lamppost?
Sorry im week in English
But you can follow this
{"id":"$wirehanger00.anim"}, //0
{"id":"$wirehanger01.anim"} //1
],
"frame animation indices":[[],[0],[1],[],[0],[0],[],[],[1],[],[1],[],[],[],[],[]],
"animation fg":[
{"id":"$wirehanger02.anim"}, //0
{"id":"$wirehanger03.anim"} //1
],
"frame animation fg indices":[[],[0],[1],[],[0],[0],[],[],[1],[],[1],[],[],[],[],[]],
You can shorten that frame animation significantly
have you adjusted the x or y of the animations?
I recommend to using x and y as in the lights animation. it's easier than handle x or y.
[
{
"animation": [{"id": "animId", "x": 42, "y": -42}]
}
]```
I know how light animations work, I made nearly all the ingame ones
thx, I think i got it working
Great!
Road deco rotation is more messy, but it works
now I wish "frame alignment area" worked for road decos
Yes its work?
I need that code?
it doesn't
also I'm not sure about diagonals, let's see
try "allow diagonal"
Thanks
np
I need to show those placement highlights too but through lua
So Lamp post requires lot frames
Just 4 frames
Ok
why?
more undocumented stuff
documented on github. lol
is that more simpliest if you put the text than you choose a letters on the dialog?
yeah thats what im reading through rn for reference
some pretty usefull stuff
like TheoTown.setToolFilter
for highlighting which squares can and cant be built on
almost no comments about them in the code
that's how TheoTown java variant looks like too
at least with that you can just go to definition
now i just gotta geuss how to use these
and what they do
7 layers deep
wait a minute
does script:draw get called for all tiles on screen for tools
oh boy
lag time
ive been looking at the tree brush for like 10 mins now and i still dont know what theotown.setToolFilter does
bruh
tried copy pasting the code and running it but nothing visible happened
oh wait a minute
i see now
this limits to what tiles script:draw gets called
i can improve my text placing plugin a lot with this
by decreasing fps by 10
that is. filter true = draw false; filter false = draw true. lol
a small price to pay
whos actually gonna sit in the tool for more than 1 sec anyways
gonna add some comfort features for pc that nobody is gonna use
define comfort
not your username
go play cyberpunk on your ultrawide or something

currently my checks for valid placement are trash
so im overhauling that
also actually highlighting which tiles are invalid
like the tree plugin does
Imagine having ultrawide
Imagine having a desktop
Imagine
that's what ja's doing
imagining that everything he codes is upmost quality work
without any bugs whatsoever
Imagine
roof decoration
Trees
ik
Its possible to make 2x2 helicopter spawner?
But its possible to make 2 x2 helicopter spawner?
idk
it's got tanks fighter planes and a navy
oh
Its possible to add many helicopter in 1 spawner?
Idfk
@tranquil galleon then why answer??
Built diff
you can only have one helicopter spawn per helicopter spawner
Pog
Noo is by my friend he make this house can be flying as helicopter .. i just remake the texture with his permission ๐๐ผ
Cool
I see
Admiral Carl have a deferent version
Yes of course ..
In my version
I use the sample house texture for our plugin
Anybody here got a question
Pls
Question is do I have to use road texture to make a parking lot
Y not
I mean is it recommended
Do road texture make better parking lots
Just do it
If not then that good bc I be making strip mall with lot parking lots
Big strip mall with lot parking lots
So what is your question ๐
the size?
Yes
go to image > change canvas size
Ty
How can i make a fance?
there's a fence tutorial on forums
There's no fence" tutorials in forum
there is
I think it's finished
What do you all think about it?
Wow cool ๐๐ผ๐
Thanks!
Amazing!
add texture on the flags
There is
Just the bad quality of the picture which doesn't show it
isn't this practically advertising?
Yes
Now it's gone
Nice
An ad
Bundestag or Reichstag @jolly wadi
I know it more as reichstag from cod World at war...
Whats the Name of fence plugin
@lilac shuttle where did you get the tree texture
it's the ingame one
Woowww
Is there any function on how busses collect passenger at bus stops?
Just a function that decrease a random number of passengers at bus stops
Either way, that's hardcoded
Im not pointing out on how it whole works
Hope y'all like the parking lots
Why there is a shadows
How does City.getPeople() works?
City.getPeople() will get the amound of people in the city
optinally you can specify the level
so City.getPeople(1) will get amount of TT inhabitants
City.getPeople(1)
I thought it will get people from the people storage such us passenger capacity on bus stops
there are no lua functions for the bus system rn
Btw why RCI still complains about transportation even they are touchable by its influence
traffic
i do like traffic
Lol im in sandbox and Don't have traffic
Thank you!
Finnaly i can making the seabus SAILING
Kredit : poundkiller for the Maritime ships..
Oh wait.. i can make the kevin hung's star ferry sailing too ๐
Oof
Looks awesome!
Finna spend my diamonds on something good
Pog
oo im intrested
i could install that on my low dense residential sprawl
I taught its strip commercial hmmm..
plugin request da y
im taking requests for plugins just for today
GET YALL PLUGIN REQUEST BEFORE I CHANGE MY MIND
X wing
3x3 city hall for small cities
ill extend request time to an hour
One of those really tall arcades in japan?
So this needs improvement but how
make those tires which are stacked on top of each other around the track
is that a race track?
hmmmm
I know I have to texture, but that's gonna happen later
In my area, all I can find where grey/black tracks
I actually don't know how to improve it
It already looks pretty good but I feel like something's missing
Start
I might remove the grass and
"draw ground": true"
so it can be suitable for winter lol
Okay
Sad fence thingy
Kinda looks like electric fences tbh
But so far, it looks good
Add sum mud-like thing to the interior of the racetrack
I think it would fill the empty space well UwU
@floral pivot add some sort of sports field pattern in the middle? Or maybe a long jump path.
yes
yes
you made that?
@sinful meadow your custom fence?
It's too focused on one area
Merry Christmas guys
This game made my 2020
Guys
@slender briar what suggestion won?
@someone
Where do I get those lamps?
That's include
ุุุุ
Pending
๐
i'm pretty sure what he means is that those lamps are included in desolan's plugin

the trees look really out of scale
It part of my plugins
Link pLES LINK!!!
pLs SeNd LiNk
Hehe
Just wait to moderators

Lol
Nice
Yep it first part of mall
I think its better to make individual building
yeah and they look out of scale
Probably got from a file that couldn't download properly.
I've experienced this before.
It happens when you try to download the file in a low to no connection area.
And the file can't download the full quality.
So it downloads a lower-quality, and thus blurry, version to make things a tad bit faster.
i like the very right one
Awesome
My plugin is wrong spelling ๐ณ
I will change the name and add new more
Its Gucci Just Trying to Do The Roof.
Why this is 60ยฐ
The trees are still blurry
@sinful meadow What's 60?
@sinful meadow I Always Thought That 60% Angle Is That 60% Normal?
I Always Thought That 60% Was Unique @sinful meadow
How Do You Get This?
isometric is 22.6 degrees if i remember right
hm wtf its actually 30 or 32
weird
this means the angle on left and right corners are 45,and top should be larger
math too hard for me
I bet there's some random psycopath that actually likes math somewhere around the world
my crush maybe
Thanks.
6x6?
7x7
usually plugin creators don't take requests
Awww
I need more hostility and wsr amd and prison tho... if anyone has the time, please do a prison,
Ill give hug!
There a prison in forum and in game
prisons fit no categor
its not exactly residential , its not commercial unless it's a horrible prison ,it's not commercial
public at most
or maybe police
but since people can escape jails it would probably increase the crime rate near it
My locomotive train and the classic station
I also try to make the poundkiller's trawler boat pier
epic
i hope someone makes telcom/electric wires as a road deco so i can make realistic dense cities, id do it but i dont know how to code, just a idea for anyone who wants one.
Very good :) what is the name of this plug-in?
Ok, thank you
Philippines
My Monorail is under progress now
Wow cool โค๏ธ๐๐ผ๐ฅ๐๐
The roof looks off but nice work!!

Sorry for ping, mate
Its alr
With concrete
Why i cannot browse in forum
Even store โน๏ธ
also, what is happening with the reactions in #announcements
Hahahahaha
well, i 've made some classic steam too
Nice
is there a wind turbine plugin that has the in-game wind turbine without that building and parking lot?
yes
Where
In forums
What name
sad
someone should make some nice residential plugins with ZONES
i'll just repost this every time i see a plugin request
pie droid
thanks for this very necessary comment ๐
droid pies
bro idk what game you are playing but the entire game and most residential plugins are in zones
I didn't know I have to be this specific, I mean separate zones of the buildings
what
Making a zone in itself is hard enough...
yeah its a nightmare
damn
is the hard part like picking out which buildings can be built and which can't?
i'm just guessing, i've never tried coding zones before
no its the hard part coding the one in itself
and telling the zone what to build
you made a zone with a tag and it can only build this stuf?
let me build nothing
you fixed it ?
let me build everything else
so in one word: pain
yes
heres a wacky challenge, who can make za best zones
the winner gets to be crowned the king of the plugins
or queen
Here's a wacky fact
dont try to make us do your stuff
well darn
that's a bait for free plugins and you know it
Plugin creators don't take suggestions
plus zones have been done
wanting me to repost this?
rock fort did one
perhaps I shouldn't have come to this channel
I think he means he want RESIDENTIAL with own zones?๐
Just build the buildings manually...
Like Slumps
It's really not that hard
like slums zone , like french zone from rock fort ,like so on so forth
they aint impossible ,but a waste of time
Thiught this was general whoops
you shouldn't have posted that message asking for residential zone thing or sth
No, I'm doing the work myself. Not making others
plus if you want to make a zone you need a bunch of buildings , because making a zone for 3 buildings is useless
or just learn to make plugins man i mean if people from poor areas of asia can make plugins i am sure you can too
We don't really need a zone plugin for that, instead, why not just a plugin or a game feature that lets you pick what you want in the zone similarly to how the plant painter thingy works. It'd be pointless making one zone plugin for a single theme when you can just manually build it or what I suggested before.
You can make a plugin for that
looks nice
jesus
that is miles away from the abu dhabi boardwalk
did you look at it at least
and also if you make it make it on a 1x1 template
its just a basic diamond template jesus
But what if they want some none basic stuff idk
First Modern Look of My Mumbai Monorail Plugin !!
