#plugin-support
1 messages Ā· Page 6 of 1
Ohhh do they? Let me check
Both cannot work diagonal š¢
Wooo nice
and they wont
Kk thatās fine with me
But still wonder why diagonal road plug-in failed
Is it expected?
Ahhh kk
first time seeing this
Just worry break another good plug-in when I download some new
Ancient diagonal road plugs, doesn't support new diagonal frames introduced on the later version of the game
Thanks @eternal lake @low shoal
you're welcome
Ahhh got it, so I can just uninstall it right?
and yes, that plugin is ancient
backwards incompatibility is real
you should be fine, the vanilla roads are identical
Kk noice
is there any way to select which road gets autobuilt for custom zones
I combed the forums but I don't think I saw anythin related
Nope, it's hardcoded
I did in fact try to create rotation aware ground at some point
the game just said no
have you tried cityRotation fun for that?
it should work, provide 4 different decal objects for each 4 rotations then have fun
Is the Light Rail Transit plugin buggy for anyone else? mine keeps locking up the trains and the wagons walk separately and alone, I've demolished and rebuilt the deposits several times and nothing (sorry for my bad english)
it's like this
if i want to grab terrain map edge textures from the world texture, what coordinates do i have to specify in world_0_0.png?
for your reference you can use an inbuilt template to use those for ground type drafts
how do i use it
since i only want these regular ones
default vanilla grass textures
oh wait i gotcha i think
is the default grass template "$template_ground"?
am i doing this correctly
the wagons should walk together like a train, but they walk apart as if only the driver's wagon was operating
what
He's refering to the vid
it was a game bug, and it's already fixed on the later version of the game, ig
make it a type decoration or something
Does the listed animation id are overrideable?
$anim_connection_overlay00
$anim_ui_tilehighlight00
$anim_weather_fog00
Found in 11083 source.
for vanilla animation, yes it is, ig
I'm looking too, all I know is that u have to add "rotation aware" true
and provide 4 different frames (for buildings, at least)
I created a decoration to spawn cars, but when I enter the game and go to: public>decorations the object I created is not there
even if my puglin is activated
the crystal ball says: "š® show me your json"
"category":"$cat_decoration00"
okay
you create the main array like [{}, {}], not [{}][{}]
it worked great, thanks a lot
you're welcome
Hi does anyone know how to install forum plugins onto iPadOS? I am using an iPad Pro with iPadOS 16.6, thanks
Also the plugin is japan buildings pack 2.3.1 so i dont know if its an issue with the plugin itself
hello! I think they would work the same way as with apple devices. You would move the downloaded plugin inside the folder in the theotown foldar (through your files manager)
Yeah for some reason it does not appear in the app when i opened it, even though i moved the entire pack into file manager lol
Thanks for the help tho
Not all plugins appear in the plugins menu
its likely there, if you look, you may find it in manual build
Can someone tell me how to make a decal ??
Is there any blue print ??
a what
Probably asking for the tutorial
No
code
Something like this
check #plugin-discussion pins
need help
with what
so i was trying to make the polluted water look polluted
lobby suggested i can use an invisible tile to do that
except when i place it on my water it goes back to the default water
what is the json
you don't have to create a separate empty png
use a null value
also try draw ground
"frames": [null]
ohh
doesnt let me place it on the water
oh actually nvm, it works
thanks kulche :D
also any idea how to make it frame align which ever like the water does?
that line of code is really doing nothing
weee awesome but so time consuming to place them one by one
cool
probably providing 16 frames would be a good step
like null, null, null?
how do you want anything to align if it doesn't have frames
I have no idea what are you trying to achieve
a pollution tile that i can spawn in a line or area at a time instead of one tile at a time
well yeah but how do i make it have frames. by using null, null, null or using the empty pixel one i had
Is there any way to solve this, the trams keep automatically disappeared
no, thats just what happens once they arrive
But there is still another stations to go and it's all circular routes but they just keep despawned
that's just how the game works
Damn
you said to start with 16 frames, so now we have 16 null frames
and what do you expect it to do when they are all empty
š¤·āāļø
a null frame is still a frame ig? xD
do i not need all of those?
I have no idea what is your point
you need 16 frames if you want stuff to align like roads
eh its working with one null frame
but its WORKINNGGGG tysm kulche <33
i cant believe that type was the problem the whole freaking time š
wtf is the coordinates format for v2
if I have 8 frames and 16 coordinates does it go like [x0, y0, x1, y1 .... x7, y7] or [x0, x1, x2, x3, ... y6, y7]
It's only for y axis unfortunately, something like a convenient way to handle y a car.
it's actually either [y0, y1, y2...] or [[x1, y1], [x2, y2], y3...]
indeed
Why the residents number still be default?
Anyone know whatās wrong with this JSON
Can anyone send me the plugin creator website plz
Hello
Is there any wrong?
{
"condition":
{
"type":"and","inner":[
{"type": "fence","id":"$E_Electric_wire_W"}
]
},
"actions":[
{"type":"build","id":"$decores01","x":1,"y":0}
],
"p":1
}
]```
is there such a type?
Doesn't look inherently wrong
I can't choose a prewiew. Loading and loading only... (WI-FI is good)
How is this plugin related?
Wdym
Hello, what does this mean in a plugin file exactly?
"id":"$E_Electric_wire_W"
You can reference this from another plugin using the "$E_Electric_wire_W" string ?
@steel verge just curious, is this hashed? to a 64 bit or like 128 bit uuid?
no
I mean inside the game
It is not
I thought it was stored inside a hash map for fast access when needed like:
unordered_map<u64, AssetDescriptor> or something like that :S
It's internally stored in a string hashmap, the actual hashing is done by Java, not at the higher level
nice thank you
There's someone who has already done this.
pretty sure that's a privileged function
I could be wrong, but I think that you forgot to put a space between the function and the input:
"A":"B"
ā
"A": "B"
that does nothing....
so i don't know
then don't answer
"diamond price": n
tyvm
is there anybody with experience making a road plugin?
I'm sorry buddy
why, whats your question?
can theotown of pc playing?
yeah
for free?
using an emulator like bluestacks yeah
The app Not power on win7
lets move on to #town-square and can you elaborate your problem there
Can someone tell what is use of
"invert" and "p":1
There's any fun discussion group on forum? How can i join?
Hello, I'm new to this server.
Today I'm trying to add a LineTool Codes for the mdk_813's breakwater & sunken highway walls plugin.
Unfortunately, i am a freshman here for both the codes and the sprites.
So i need some help of how does a linetool frames work?
I'm using mdk_813's traffic barrier as a reference but idk how this frames work for the Linetool.
Im talking about group just like trusted creator group
He use "frame alignment":true
Instead of "line tool"
Frame alignment is good for making separate frames join each other
But i don't think u can use same method on water breaker because it has 4 rotation frames
Hmmmm...what about the sunken highway?
Yah sunken highway has frame alignment code
But does it have 4 rotation frames?
No If u combined water breaker frames it will become 32 frames
His sunken has only 16 frames
If u looking his code u can find count 16
U can do some experiments if u want,
Frame alignment work like a road frames
If u are confused
Just look on road frames
Ordinary road has only 16 frames,
One way roads has 32 because of their rotation.
Sure, thx for the help.
how do you put age of sail on iphone
Try to Ask @rocky geode
How new meta tags system works?
{
"id":"$train_freight_station00",
"type":"railway station",
"template":"$template_train_freight_station00",
"frames": [{"x":896,"y":220,"w":32,"h":19,"count":4,"offset x":2048,"offset y":1024}],
"car spawner": [{
"tags":["freight_train"],
"count":1,
"radius":128,
"target tags":["freight_train_station", "heavy_freight_train_station"]
}],
"meta":{"tags":{"freight_train_station":{}}}
}```
I need some answer pls
it seems roaddeco defined "dirs":[]" are broken eh?
v1119
from: #updates message
š Allow road decorations to define "dirs", "sidewalk offset" and "sidewalk size"
Hey @dusty stirrup
looks like the bug only occurs in > 2 directions road.
still broken on symmetric roads (road frame 5 and 10)
if you use 2, 2, 2, 2 in the 6th row, it will be like -> -> | <- <-
so there are no way for the car to moving on.
I intended it to work on road frame 7 (row 8), 11, 13, 14, 15
right in the intersection
"dirs":[
0,0,0,0,
0,0,0,0,
0,0,0,0,
0,0,0,0, // rf3
0,0,0,0,
0,0,0,0,
0,0,0,0,
1,1,1,1, //rf7
0,0,0,0,
0,0,0,0,
0,0,0,0,
8,8,8,8, //rf11
4,4,4,4,
2,2,2,2,
0,0,0,0 //rf15
]
it seems to be working but why some random cars dont follow and just disappear? I've waited enough time
Pathfinding doesn't seem to respect it
No comment
Is it possible to make a plugin that adds a night animation to vanilla buildings???
yes
how?
youd need building id (and thats all i know)
well building id isnt an issue bc i can see them easily
just how do i make it work
you inherit the attributes
alr, ill try to mess around with it and figure it out
Hi, guys, itās my 1st. Wanna make a set of fancy bridges. Made 1 fully rotational. But how to put it into water???
I can build it only on land :/
The second question: how can I put my fancy bridges in a new folder? āTransport/Bridgesā. Or ātransport/road/road decorations/bridgesā.
Add to your code:
"needs land": false
Do you mean a new category?
Yea, that things in construction menu
One moment. I'll send the code for it
Thanks! Btw, are u that guy who made St Pancras Station?
Yeah I'm.
Okay you just should write this code(change the id, these names and the icon. "$cat_tree00" should be)
[
{
"id":"$JustTreess00",
"type":"category",
"category": "$cat_tree00",
"title":"JustTrees",
"frames":[{"bmp":"ikonka.png"}],
"ordinal":0
},
Next you should add "category": "$id"
To the code with your objects
Thank you! It works!
You're welcome
Woah cool
Nice plugin btw
I like ur St Pancras St. Plz, fix rotation. I ll put it in every city )
Alright. I see you use ")". You're Russian, right?
I am
If you want tell me something you can dm me. I speak Russian
Thanks!
Nice plugin really
Iām still struggling with this.
What is the size of the icon, I should make?
26x26
Mmmm! Thank you!
No problems
This one seem like retexture of existing plugin...
It's not?
i guess it's only concidence
I held that plug-in u mean at hand as an example. But I totally painted my bridge from scratch, all the sides.
Thank you! The folder works well. Now I can add more colour versions of ma bridges.
That cool
what does x and y do again?
can u check the pins of plugin discussion...
it shifts the affected image along those axes
oh okay
is it the animation top left corner assigned to the point of origin?
i think it goes like this
ćā x
ā
y
Bunny, do I have to unite all the png files into one and rewrite the code if I decide to publish my plugin?
no
Where i get this bridge???
is it possible for me to override a vanilla vehicle?
yes
how do i do it?
with override or inherit
like override id?
aight thanks
Man, plz, hold on, itās not finished yet.
install java, restart your pc
64 bit
Because you need java to download plugins and play online?
If they are available on forum then you can, but i dont think they are
Theotown uses java
Java is required to run the game. The game already comes bundled with Java, however the bundled Java has issues with connectivity to our services so it is advised to install Java at a system level.
yes
Guys!!, do you have any recommendations for plugins to make money quickly?
yes, build a city quickly
can level 1 decal have night anim???
well you could experiment
i did, it did not crash, but the night anim is not showing.
ground type drafts never supported animations
uh, any tutorials for the diagonal part??
What about a tutorial to do diagonal roads directly, like the vanilla, instead of going zigzag?
it already exists?
i hope figuring out the night anim wouldnt be hard
Link?
roads tutorial?
Okay?
1.11.20 seems to have a huge bug on roads or vehicles, I only used vanilla roads and doesn't have any road decoration placed on it
road have been acting kinda weird for me too, cars drove to a disconnected road that has a fence seperating it (didnt despawned tho)
gonna ping ja for that
i dont think its plugin related but here it is
i don't really understand what the frame animation indices work
first array denotes the first frame
uhuh
and the indices within denote the indices of the animation which you'd want to show up for that frame
I prefer using frame as it's more concise but to each their own
well, gonna take 60 trials and errors before i fully understand how this thing works i guess
it really isn't that hard to grasp
there as many arrays as your frames
"frame animation indices": [
[], [], [], [],
[], [0], [], [],
[], [], [], [0],
[], [], [], []
]```
is equivalent to simply using `"frames": [5, 11]` in your animation spots of index 0
a.. i have not reached this far and this is new to me so im not entirely grasping it
ill just read these first
yeah fg simply stands for foreground
regular animations are background in relation to cars
that's the 16th frame
ohhhh
see how roads are defined
i use the wire frames to see what direction the roads and stuff go
there are a plenty of examples for that
yeha but the wires are easier to look at than the road tutorial
you don't have to have a tutorial for that lol
i dunno mane
be aware that those do not reflect the indices values
as indexing starts from 0
to what?
i think ill just start with simple steps, ill try making a light pole or sum
i can show you how they work
can i sum it up for you
1.11.20
Cars also drive on the wrong side of the road
I doubt it from
1.11.12 #updates message
š Add directionality to non one-way roads so they can be kind of rotation aware like one-way roads
1.11.19 #updates message
š Allow road decorations to define "dirs", "sidewalk offset" and "sidewalk size"
1.11.20 #updates message
šFix road decoration dirs were not considered by pathfinding
haraya finding all the road bugs
i'm not found that bug, with vanilla or plugin roads.
But how? I already disabled all plugins including local plugs
1.11.20
ja said to make a log of it in #1085157639706640414
Hello,i just created a plugin,i added transparent ground so you can use the decal you want,but ingame ground transparency is replaced by water..how Can i fix it plz š
And plz can you tell me the difference between "density" and "people" ?
"draw ground": true,
Oh Thanks mate ššš
Usually, you don't touch the density attribute
You should let it be calculated by the game
The higher the values, the higher expectations the building will have. Only useful in specific cases where building expectation management should be deferred to the plugin creator, which is rare.
Thank you for your answer
Hmmm when I try to start TheoTown, I get this
[
{
"id": "obeliscodaherth",
"type": "commercial",
"author": "Daherth",
"width": 3,
"height": 3,
"frames": [
{
"bmp": "obelisconuevo.png"
}
],
"title": "Obelisco",
"text": "Un edificio comercial de nivel 3 que alberga a 9000 trabajadores.",
"level": 3,
"workers": 9000,
"draw ground": true,
"requires road": false,
"build time": 5
}
]
This is the json
I would greatly appreciate help solving it.
is there anything else in the json?
whatever the error is, doesnt look like its in the part you just sent
why is it in sample plugin folder btw
try moving it outside into the plugin folder
should be here
not inside the sample folder
Oh ok, tsym, i'll try
Heyy, did it work?
Hey, hmmm I've been busy today, it's already night in my city, tomorrow morning maybe I could try šš»
sure, just let me know if it works or not
Okay
What part of it is wrong?
Category not found
[{ "id": "$cat_australia00", "type": "category", "title": "Australians Road", "category": "$cat_road00", "frames": [{ "bmp": "auroad.png" }] }]
Can you show the whole json?
did you define the category first?
Yes i think
would like to see it
doesnt seem to be a problem in the part you showed here
Here, i created a category for road pugin that have decoration
oh i see the problem
your roads json is loaded in before your category
try renaming the catgory json something like "00category.json"
alternatively, you can combine the jsons into one
I'll try
its not that hard :)
Yeashshss finally, Im stuck wasting time because of things like that
Thank you again bunnyš
Youre welcome!
Hey Bunny, If the plugin worked, thank you, I just changed something in the files, It was just a simple error, there were two different jsons, one old one trying to work, and the new one that did work, I just deleted the old json and put the new one in its place, anyway tysm 
I was stupid for a moment until I checked the json properly
Its great that you were able to find the error
Yes, sorry for the inconvenience, but when I place the building there is water on the land, I think there should be land
I'm going to go to college, when I get back I'll take a screenshot and send the image
i believe you did put in the code of your building "draw ground": true,
in that case idrk, double check your code ig, that line is what makes the ground underneath your building texture seem solid
Ok
[
{
"id": "$METROBUS",
"type": "car",
"frames": [
{
"bmp": "MB1.png",
"w": 22,
"h": 16,
"count": 4
}
],
"v2": true,
"tail":["$MBTAIL"],
"override":true
},
{
"id": "$MBTAIL",
"type": "car",
"frames": [
{
"bmp": "MB1.png",
"w": 15,
"h": 13,
"count": 4
}
],
"v2": true
}
]
How can I make a car chain?
xd
@vague scarab do you know?
please do not ping users, wait till someone with the answer gets back to you
Maybe later on after i finished preparing for school.
thanks
How can I make a car exclusively use those cables? it's an elevated road
Use flag
Just wondering something related to the official "european building" plugin, does anyone know how the devs made it so each building could have a randomised colour palette? Iād like to use this tool for future creations of mine but find myself unable to understand how it was made
lua
kulche can probably tell you since he did that
Hey I'm a newbie and I don't know how to add multiple buildings in one plugin someone pls explain
you put them all in the same square bracket and separate the different buildings by putting a comma after closing the curly bracket
Iāll have to ask him then
So I created one plugin using yt tutorials so I didn't know any json.I got the code from the website.
So I need to learn json to do this?
json is as easy as copy pasting
infact, you can use jas pca website for the json
Is it possible to put cars under the road?
in this case, under the cable?
Something like this
How should I add the png file for multiple buildings in the website?
when youre here, make one for each building
Hmmm
I didn't noticed that.Thank you š
Flags affect road deco?
Hello ,where Can i find a post about how to create animated plugins and how to open .mpf file plz? I would like to learn how plugins works š
You can't open .mpf as they are encrypted
For animations, check this
https://forum.theotown.com/viewtopic.php?f=41&t=7455
So there IS no way to see how downloaded plugins works?
Nope, you cannot get the raw files from plugins downloaded from the plugin store
If you want to learn how to make plugins, you should check this
Thx ! I I had lost the link š
Yes
- Your current road texture should be defined on road deco
animation fg, and adjust it just 12px above - then, make this animation as a built-in road deco for this new road
id : $new_cableway,
type : road,
... // more stuffs
animation fg : [
{ id : $anim_cable00 }, // index 0
{ id : $anim_cable01 }, // index 1
... // 16 defined animations for 16 road frames
{ id : $anim_cable15 } // index 15
],
frame animation fg indices : [
[0],[1],[2],[3],
[4],[5],[6],[7],
[8],[9],[10],[11],
[12],[13],[14],[15]
]
More on road decoration tutorials
How long does it take to get the plugin approved?
Within a month
Plugin mods are volunteers
KK
My plugin got disapproved.It said insufficient graphics quality.How can I fix this?
what does it look like again?
you have to make the texture look better
probably something like this
exactly why i recommend taking a look at the pins
they are very helpful for beginners and experienced players alike
Also it took me like 45 minutes
though i dont think it will be accepted like this either
What you mean?
Should I add more buildings?
try to make them more like the ones in game
Ok
Roof texture is too low with respect to its bridge level in order to draw cars just below them, the only solution I can see here, is to move that roof a little higher (my best example would be Monorail Suspension)
How long does it take to wait for approval?
got it. thank you for your reply
If I am not approved, can I get approval again?
no, not if you keep stealing graphics
Fixed a plugin that was pointed out as having "poor graphics".
they still don't fit in the game
Please tell me more about the poor graphics.
look at the world texture
You look at Japanese buildings.
lol
What's wrong? Are you making fun of Japanese architecture? I'm using Google Translate, so my English may be strange.
you are not going on the plugin store with those graphics
either improve them or release them on the forums
got it. thank you.
where is it
awh i wanna see it
I need emotional support
What si happening?!
Why only spawn 3 cable cars
"car spawner": {
"cars": [
"$CABLEBUS01"
],
"radius": 200,
"targets": [
"$CBendPoint",
"$CBStation"
],
"count": 24
Sorryā¦
what tt version you're working on?
v1.11.19i
[
{
"type": "animation",
"id":"$Power-light",
"light": true,
"light switching": true,
"frames":[{"bmp":"Power-light.png", "hande y": 8}]
},
{
"type": "animation",
"id":"$Water-light",
"light": true,
"light switching": true,
"frames":[{"bmp":"Water-light.png", "hande y": 8}]
},
{
"type": "energy",
"id": "$Power-building",
"title": "POWER-BUILDING",
"text": "Powering your city",
"author": "Zakira.Zen78",
"frames": [{"bmp": "POWER-BUILDING.png"}],
"animation": [{"id": "$Power-light","x": 0 , "y": -10 }],
"width": 2,
"height": 2,
"price": 10000,
"monthly price": 100,
"power": 400000,
"water": -100,
"build time": 25,
"draw ground": true
},
{
"type": "water",
"id": "$Water-building",
"title": "WATER-BUILDING",
"text": "Watering your city ",
"author": "Zakira.Zen78",
"frames": [{"bmp": "WATER-BUILDING.png"}],
"animation": [{"id": "$Water-light", "x": 0 , "y": -10 }],
"width": 2,
"height": 2,
"price": 10000,
"monthly price": 100,
"power": -100,
"water": 40000,
"build time": 25,
"draw ground": true
}
]
Can you guys help me
Why my custom night animation does not showing at night?
most likely incorrect coordinates
deep look on plotting coordinates, I doubt it on handle y
there really is no point in setting handles if you're gonna use regular coordinates as well
does it refer to the road "frames":[null] tag ???
key tags
"key":"value"
btw I'm working on road type objects, and it seems [null] is not a valid value, am I wrong?
when loading " "
let's say it's ||$unique_id_of_confidential_road||
blurred turns out to be an erase tool, blame me for tht
nope
apparently it wasnt working cause i mispelled something
lemme check
no, it only has one frame now
well, ig im coming to my last resort, to use a dummy texture 16x1 px
make it 1x1
i dont think it matters
it is
it does not
if it does you're doing something we're not aware of, or you're doing it wrong
it gets anchored on the point of origin which is the left most pixel on the template
ahh
hmm
would love to see valid "copies":15 of none for frame tags
When will it be approved?
@earnest pendant
I tried to remove the disapproved plugin, but it didn't work.
you can delete it, but that wont help
Hi, I keep on doing my bridge. Itās much faster to get an answer here than through searching at the forum. Does anyone know how to deal with the slopes? I need to put my fully rotational superfancy bridge extender on the slope. Are there any tags to stop showing that platform underneath and put my bridge extender one level lower so that it connects my bridge to the ground?
Bridge plugin??
It's not out...
Ohh
sir this is plugin support
He is working on it right
yeah i think hes making that
Did a little better
There's no door?
it looks of the quality which couldve been put together in 5 minutes (esp if youre experienced)
No
I will add
cmon dual, pretend the door is behind the building :)
Oh right
What should I do with the land?
The building looks kinda small maybe make it a bit taller? Not too tall
leave it transparent and set to draw ground true on the json
^^
Idk json
you dont need to know json
its just copy pasting and changing some things
KK
hmmm. I hate JSON
i like writing my own jsons, its kinda therapetic. Until the game refuses to work cause theres like 5 bugs in the json i missed
json is like linear algebra, once you get how it works it's really piss easy
yeah
@indigo sierra I guess you are the guy who knows the answer to the attached question above since the poles of your cable cars are usually built on the slopes. Do you?
you need to make slope frames
that's not correct
Thanks. Iāve found how to make slope frames for the road (written by Lobby). https://forum.theotown.com/viewtopic.php?f=41&t=2964
Should I use the same tag for my deco? Just add it to my json?
Like below?
"slope frames":[
{"x":120,"y":311,"w":32,"h":32,"count":4,"offset x":2048,"offset y":1024}
],
pretty sure there is an attribute to disable those foundations
should be "supports slope" I think
give it a try
i meant for that red floating thing
depends on the implementation
Yea, my red floating thing is not a road, itās a deco in the nearby tile. And it wants to stop hovering over the bridge. I will try āsupports slopeā tag first. Thanks.
Hmmmm
Maybe, if you create a fence for this?
And your cable car poles, did you define them as a fence type?
Is it ever possible to make such a super high fence that it would look like a bridge part? I got rotation aware images, and Iām ready to split them and define as a fence, if itās ever possible.
Thanks. It works.
@low shoal
thankyou
@coarse flare Please refrain from sending messages unrelated to the channel
Hiii
I have been downloading some plugins but I can't find them in Zarchiver but
Example
try searching php or 92
Go to your download folder
seems like thats the downloaded file name, can you search y=using that?
Oh ok
And then, it's a .plugin file, That's what worries me
The .plugin doesn't really matter it's just been encrypted by the plugin dev
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.
I already did it, I'm going to try
Is it possible to show a shoreline under a transparent deco object?
It definitely didn't work
well Jеrеmiah said to rename the file extention from .php to .plugin and it should work
Well, I'll try it
Is he 1code?
yes
Yes
Something like that?
I suppose so
Anybody have elevated train json?
Does anyone know what the code for the DSA space rocket launcher is? I'm making a military and space mega-pack š
I added doors
But I'm having trouble with the sign board's shadow. How can I fix this?
What is this Red Bridge plugin name ??
Changed the roof
what app are you using?
Pixly
still havent figured out how to do that in pixly but there is a way in settings
It doesnāt exist yet. Iām still working on it.
what about novix?
Could someone provide me with a cable car json template?
or any idea
And also how to encrypt a .zip file to .plugin
there's a lot of plugin tutorials on forum for you to learn, look for Road, Cars, and Plugin Encryption tutorials there š
Some industrial plug-ins have Broken transportation? Coca cola and fertilizer not sure why but transportation is stuck at 50
Seems to be a problem with that plugin
Does anyone have the same issue after an android security update?
14.0.6?
ive always had that, have to use file when importing to game
More like
Here's more detailed specifications:
Device: Redmi Note 10 (2021 edition)
Android version: 12
MIUI: 14.0.4 Global
Android security update: 01/04/23
Model: M2101K7AG (show in linked picture)
Using MT manager as an example of the issue I faced:
Well maybe the only option i had is either use the built-in file manager or repair my android 8 tablet.
use Z archiver
I try to select a plugin, in this case the Ciudadana Tower, but I can't access the page to download it
You have to use in-game plugin store to download those
How can i make a category in a category?
{
id: $myCustomCat,
category: $cat_road00
},
{
id: $myCatInCat,
category: $myCustomCat
}
works the same way as simple category objects, but nested
Тнаик ŃŠ¾u
can someone help me with this? i just updated theotown and this error started to happen
`In @nature.+.zip:
java.lang.IllegalStateException: When loading "$K012_deco_Bone": No value for id`
even though there is a line that says "id":"$K012_deco_Bone"
The same
Use X-plore
ohhh sucks
Gudafternum. How can i fix this texture? Yeah i made a oversized texture for 1x1 baseplate. But only this side is wrong. Other parts of building aren't showing
Because these houses are too big for 1x1 but too smal for 2x2
So i made them so
of course it's gonna get cut off if the tile size is incorrect
But another side look good
yeah because thats how it works
increase the tile size
2x2? It will be too big for my houses
what can I do about that
This error only started appearing today, which is also the day I updated Theotown to the latest beta
If I update TT, will my own local plugins be deleted from the device? I donāt have the copies. :/
No, updating the game doesn't affect your local plugins
Plugin: @nature+
at least updating on the stable version
So should I wait until a new public version is released
you can enjoy the current version while waiting
It's fine
How
leave beta tester, if it's your intention to do so
Okay
Remove the plugin
Bruh the city I'm currently working on uses things from this plugin
Im probably just gonna wait until some miracle happens and it starts working again eventually
I believe the team that made it is just busy with school and life
Nature Plus,The plugin has been discontinued for several weeks now,most updates are just a compatibility fix,planning to rewrite it,but i didn't really have time to make a big update for a plugin with this android security issue too...
Well,i guess in the newer beta version,the plugin had some issues then.
You know it's hard for people to give support if you don't point out your issue
Maybe there's no issue, just wrong channel
Possibly
?
What do you need support with. This is #plugin-support
do you need anything
Yo
I need help with plugin
I want to make a personal plugin and i don't know how
To release it on public
And I don't know how to do that either.
you havent made the plugin yet?
in that case you would want to check the pins of #plugin-discussion or watch a youtube video
Alright, ty.
How does one make trees
Stare at real trees, use a reference, colour pick from reference, use dark and light colours for shadows and light. 3 pixels is 1.8 m or 2 m scale.
Does anyone know how to fix this?
Cuz I want it to be able to deal with different types of surfaces
Show that texture please
What do you mean?
I dm you
hello, what software to edit mpf files?
ahh okay sir, thanks for answering
Guys I want to make that small red light on the bridge flick. The problems is that the bridge is rotation aware. Can u drive me to the tutorial, which describes the code needed for that?
Also I got a 4x4 tile bridge part. Rotation aware. I want to split it into 1x1 tiles. Is it possible to do it with code? Without splitting the image into 4 new pieces
[
{
"id": "$K012_biome_grass_plains",
"type": "biome",
"title": "Tall Grass Plains",
"preview frames": { "bmp": "blank.png", "handle y": 0 },
"noise factor": 1,
"noise scale": 4,
"coverage": 0.3,
"ground": ["$K012_grass_00"],
"tree": {
"id": "$K012_tree_grass",
"noise factor": 1,
"noise scale": 0.5,
"deriv factor": 1,
"deriv radius": 0.5,
"offset": -1,
"precedence": 0.3
}
}
]
-1 offset?
Copied the code from docs.
guys, how do i fix this problem?
Get the newer version (11).
Because it doesn't work I'm sorry but there's no other way to get aos
that plugin is outdated
ah okay, thanks
Is this available
Available in my GitHub.
Hello, I want to create a road decoration plugin.What should I choose for this? Can you please help?
Not possible
So how can I create a road decoration plugin?
Check this tutorial
https://forum.theotown.com/viewtopic.php?f=41&t=7211
I just did an experiment. I have no information about the sequel.
do you need support with anything
I want my plugin not to be affected by the directions of the roads like the "road stripes" plugin. I want them to appear individually in the road decoration category. Just like the "road stripes" plugin. I don't need animation. What should I do in json?
a guide to it is in here
Name plugin sidewalk?
Still under construction.
what is the name of the highway sign plugin?
How to make Plugin on mobile?
I already have the image, now how to turn it into a plugin?
Did you draw the image yourself?
create a json for it
You can use pca website to make the json, it will also create you a manifest. I suggest downloading it as a zip
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/
visit the forums to see how
" Please use only self-created buildings for your TheoTown plug-ins!
For legal reasons, we are not allowed to provide plug-ins on this website that contain graphics in which you do not have copyrights."
What does that mean?
it means you cant use something someone else created without their permission or steal graphics from the internet and make it a plugin
its basically what i asked you here^^
Then idk why i still can't make a plugin
whats happening?
I fill all the information in that
And download the file
What i have to do next to make it work?
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.
If i do that, it will work, right
I did it
Enter the game
And still nothing happened
try looking in manual build
you can show the json like kulche suggested
you can send the file
please use a different file name š©
also, there is no such category as "indochinese houses"
and that's certainly not an id
thats what happens when you use pcs
along with that nice json naming
Hey, could someone send me the 3x3 building template?
Pmodmenu @daring crane
jttfoxofficial0281 was banned for the following reason: Spam.
You can find .zip files on the forum or discord server
no need figured it out
i think i have most of my plugins restored by either buying them,watching ads, or going to the forums
//Definition of bikes night animation
{
"id": "$FancyFirewatchBikeNightAnimation02",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "FireWatchBikeNightAnimation02.png",
"count": 8,
"w": 12,
"h": 12
}
],
"frames per animation":8,
"rotation aware": true
},
//Motorbikes definition. It has diagonal frames.
{
"id":"$FancyFireWatchBike01",
"type":"car",
"frames":[
{"bmp":"FancyFireWatchBike01.png","w":12,"h":12,"count":8}
],
"frames per variant": 8,
"v2":true,
"speed": 1.3,
"animation":[
{
"id": "$FancyFirewatchBikeNightAnimation02",
"pos": [0, 0, 0, 0, 0, 0, 0, 0]
},
{
"id": "$FancyFirewatchBikeNightAnimation02",
"pos": [0, 0, 0, 0, 0, 0, 0, 0]
}
]
}
Is it supposed to work? With night animation count =8 ?
you have 8 frames and use 8 frames per animation
Yes
how do you expect rotation aware to work
I need answers. Not questions.
you provide 8 frames and 8 frames per animation
rotation aware needs a multiple of 4 animations to work
Will it work if I split animation in two files with 4 frames each? Like this:
//Definition of bikes night animation
{
"id": "$FancyFirewatchBikeNightAnimation02",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "FireWatchBikeNightAnimation02Normal.png",
"count": 4,
"w": 12,
"h": 12
},
{
"bmp": "FireWatchBikeNightAnimation02Diagonal.png",
"count": 4,
"w": 12,
"h": 12
}
],
"frames per animation":8,
"rotation aware": true
},
I deleted this line. The result is the same: normal frames work well; diagonal frames have an offset, unique for each diagonal frame.
then adjust those offsets
pretty easy job considering you already have the arrays set
@eternal lake I can fix them but whatās the reason of this offset? Why only diagonal frames? Will I have to fix it each time I do new animation for a new object of a different frame size?
My night animation is a layer of bike frames. I couldnāt make a mistake in positioning. Here you can check.
that's pretty wasteful of plugin space
but still, car animations are wacky
it'd be much better to simply use the ingame car lights and position them using pos
I know. I could use just a red and a yellow dot. Iām checking this method for possible future uses.
I tried to change the pos manually as you said, began with the 2nd diagonal frame (the red frame I sent above), the result was unexpected: it duplicated and moved the 2nd normal frame and the first diagonal.
"animation":[
{
"id": "$FancyFirewatchBikeNightAnimation02",
"pos": [0, 0, 0, 0, 0, 0, 0, 0]
},
{
"id": "$FancyFirewatchBikeNightAnimation02",
"pos": [0, 0, 10, 4, 0, 0, 0, 0]
}
yeah because you append the same animation twice
yet only provide 4 coordinate position pairs for an 8 frame animation
Hey, can I send here my code and image of my plugin ingame and maybe someone could help me with my night lights?
sure
I have internet problems TT I'll screenshot my post and upload it later on, thanks in advance!
Is it supposed to work if I use my animation only once and state 8 positions in one line? Like this:
"pos": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 4, 0, 0, 0, 0]
Thatās exactly what I wanted to do. Iāll try.
Yay. It works. Thanks. Now Iāll have to delete all this and rewrite animation as two coloured dots.
The code (please do not steal):
[
{
"type": "animation",
"id": "$nightanimation4",
"light": true,
"light_switching": true,
"frames": [
{
"bmp": "NightAnimationStock.png",
"z": 2
}
]
},
{
"type": "commercial",
"id": "lt.svetikas.pca.6a64fe231912cdb38a83b1fc8720aa79",
"author": "MeUsic",
"meta": {
"pca": {
"version": "4.0.3"
}
},
"frames": [
{
"bmp": "StockExchage4.png",
"z": 1
}
],
"width": 3,
"height": 3,
"level": 2,
"price": 65000,
"auto_build": false,
"influence_noise": 2
}
]
The in-game footage
I'd be more than happy if you look into that and maybe find the problem
what is that "z" attribute?
I'm not sure if the underscores do anything but generally you'd want to simply replace them with spaces
you also didn't actually append the animation to the building itself
What do you mean?
wdym "wdym", there are 3 sentences
attaching the animation to the building with the "animation" array would be a solid first step
did you see any tutorials on the forums
I tried, but they were sort of complex
I just want the image to show up when it turns night
I have the model ready, the night lights ready, I just need the .json to work
the only thing you're missing is the animation array in your building
the tutorial tells you how to create that
Can you specify which? I've been through so many
custom animations
Fine, thanks! I'll try it
Will it be okay for you to help me if I'll not understand?
Update: I did not in fact understood. I'll try though
May I send you the video I used as a tutorial? They used the same technique as I did, but it worked for them...
Sir?
there's more than 1 being on the server
you have no "animation": [{"id": "animation-id"}] in your building definition
kulche, what does "z" do
https://forum.theotown.com/viewtopic.php?f=41&t=7455
try reading this
Yeah, it was supposed to be
Already tried..
I mean, you have to add this, you can do it after influence noise after putting a comma after the 2
for how x and y works
also after animations, remember to close all the brackets
this ig
but that id isnt very unique lol. it might possibly conflict with some random plugin
Iām doing a night anim for my building rn. This is an example for you from the forum. Change ācountā from 4 to 1; change h, w; delete ārotation awareā and it will work for you:
{
"id": "$Themax_TrExpStandardPlatform_Side_2Night",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "Themax_TrExpStandardPlatform_Side_2Night.png",
"count": 4,
"h": 32,
"w": 32
}
],
"rotation aware": true
},
{
"id": "$Themax_TrExpStandardPlatform_Side_2",
"type": "decoration",
"category": "$cat_Themax_Train_Expansion_0_Stations",
"author": "Themax",
"width": 1,
"height": 1,
"frames": [
{
"bmp": "Themax_TrExpStandardPlatform_Side_2.png",
"count": 4,
"h": 32,
"w": 32
}
],
"animation": [{"id": "$Themax_TrExpStandardPlatform_Side_2Night", "x":0,"y":-25}],
"price": 200,
"monthly price": 0,
"rotation aware": true,
"draw ground": true,
"water": "0",
"power": "0",
"build time": 0,
"ordinal": 2,
"needs road": false,
"text": "Decorative platform to improve your train station.",
"title": "Decorative platform 1.2"
}
]
I dont think they need to use count and rotation aware. Its just one frame
So far so good, I'll change it tho
W and h depends on the size of the .png?
Is this what you meant? (Except w and h, I still need to figure this out)
[
{
"id": "$StockNightAnimation4",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "NightAnimationStock.png",
"count": 1,
"h": 32,
"w": 32
}
],
},
{
"id": "$lt.svetikas.pca.6a64fe231912cdb38a83b1fc8720aa79",
"type": "commercial",
"author": "MeUsic",
"width": 3,
"height": 3,
"frames": [
{
"bmp": "StockExchage4.png",
"count": 1,
"h": 32,
"w": 32
}
],
"animation": [{"id": "$StockNightAnimation4", "x":0,"y":0}],
"price": 65000,
"monthly price": -500,
"draw ground": true,
"needs road": true,
"text": "This stock exchange building may even make profits.",
"title": "Stock Exchange Building"
}
]
W stands for width, h stands for height. U should measure your png and put there the right numbers.
Change the id of your animation. This one might conflict with hundreds plugins of other users who might have written the same. For example add ācaistroā: ā$CaistroStockNightAnimation4ā.
Count 1 is right. But you also can just delete this line.
āCaistroStockExchange4ā
And price -500. Isnāt it cheating?
"only once":true
you dont need h and w if count is only 1. its for when there is more than one frame on the same image
eh it wont work, its monthly income when you write that way and thats for previleged creators
Monthly income code is only working if you have privilege code, which is you need a privileged creator level of permit.
As i could remember,it could only work with -1 value,and no more.
yep
It works on any value under privileged code
I want the building to give you money. It's expensive, but the stocks are always growing, right?
Wait, i meant monthly price
Thank you all!!
I'll fix it all, thank you so much for helping!
What's about "x" and "y"? Is it about the light source?
Hi
Check #plugin-discussion pins
This one specifically:
#plugin-discussion message
No its because animation starts at the point of origin
so you need to move its position
No that one is for cars
Yesterday my 1 frame non rotational night animation didnāt work until I stated h and w. I donāt know why.
It doesnt need that if its just one frame
If your night animation h and w equals to a size of a day image, then x = 0, y = -h (put in a number, Youāll have to adjust it a bit).
?? Ok, thatās not my kitchen.
Night animation has to be cropped for plugin size
its height doesnt matter since youll have to adjust height either way
If its wifth is less than the basplate then you have to use x
It's the same size... both files are the exact same size, I just saved a specific layer in the model drawing
Do I just have to play with it until it works?
okay then you dont need x
for y yeah, you need to mess a bit to find the height
use a negative value