#plugin-support
1 messages · Page 9 of 1
Fixing some minor coding errors and adding night animation
ok
How do you know where to set your y value for night animation?
you measure it
I know that but how?
by counting pixels
the animation is anchored to the leftmost pixel of the ground base
Oh gotcha
Is it by counting the amount of pixels to where the light anim should be?
Ohk, I understand.
Does rotation work in "upgrades"?
Can upgrades have multiple frames?
Yes*
Doesn't seem to work
Hi um,those who had privileged key,mind tell me how does in game toolboths work with the income?
The one where you pull the bar to set the toll price?
Nope,toll price in general.
I can check later, but i believe even normal users can make tolls that take 1T
The documentation is somewhere in the forum but I have to find it
Guys i just remember that in one of my old cities i had a building that is a police headquarter of seoul
But i did my research and i didnt get any proof of it existence
But i still remember it
well it prob got deleted then
I got a problem with a rogue plugin. Anybody knows what's the plugin that spawns these cars?
ATM world i guess
Will try. Thanks for the tip.
Sure it is. Thanks for the help. Now that troll is out of theonia for good.
Uh what
Your plugin trains or stations???
station
The bugged json is long gone, I've been using animation instead.
A quick question,can a car that had tail attach itself?
Disabling does uninstall it
The only good going any further does it make it so you have to repurchase it if you want to use it lol
Did you just have a stroke or something..
I mean I just watch the ads so idc
No?
Then there should be a bulldozer icon
Are you sure, cus that text looks kinda confusing
No I'm pretty sure I said exactly what I meant
Uh huh..
@delicate karma were you asking for a downloaded plugin, not one from the in-game store?
You can delete store plugins from the folder as well. Managed plugin folder specifically
Yeah
Excuse me All I want to ask why i can't install plug-in With watch Ad, My internet Was Online, Anyone Know How to fix that?
Ive never used ad for plugin
Have you used it for diamonds?
do you have an ad blocker?
On my dns yes but it doesn't work
My Another app still made a Ads
This
can you turn it off and see if it works? (reload the game)
If it doesnt work after that, its either a connection issue or an isp issue
Tysm for the solution its works now
I Use the Same DNS service but i never watch ads to obtain plugin since i had enough diamonds. Ads blocker Is obvious, Will block ads.
How can i make a json that pick a random animation within an array of animations?
that doesn't exist
an easier implementation would be to create several frames that look the same, append each of your animations to each frame and enable frame randomisation
is that how the eyropean extention pack was made?
no?
The closest thing to do i want is using really low animation probability. Since i tried to put some of my train with occasional ads & special events stickers.
it doesnt use random animations
oh
try lua
After i try using animation probability. Doing experiment soon.
Can someone direct me to The Leaf's discord server?
@young hearth
sure
its in his bio
it's in my bio @lime blade
Thx
Can you guys also direct me to vönark's server
I dont know what's causing this error, the only solution that i've seen is putting(renaming) the category file at the top but it doesnt work either
pls helgp
your ids don't match..?
I don't have access to the link
join leafs server and you will
I did join @young hearth
because you didnt read my messages?
members in my server are required to graduate elementary education
wait, which id? The json for the pole is completely fine itself when the "category":"" key and the "0-Category" file is removed.
"category": "id of the category you defined"
ohh
I did
have you chosen the member role
it appears that you only choose the plugin creator role
Yeah. Should I choose more?
yes obv
Can defold engine be used to program lua for Theo town?
it's a game engine, how would you expect that to work
Forgot about that 💀 , sorry to waste your time. It was the first thing that came to mind when I thought Lua.
Ohk
Whats wrong with it this time?
The poles category won't go inside the WiresNpoles one
tag name should be lowercase
Thanks
Good day. My plugin was not approved again today. Moreover, the code is working. The reason was "inefficient use of plugin space", due to the fact that I have animations that are similar, but they are different and differ in color. Why is a fully working plugin not approved for this reason and what do I need to do to fix this situation.
Thank you.
what was your forum name?
Ckykcha
if it's only colors that make your animations different consider using the "color" attribute
main reason was you had a lot of empty pixels around your graphics
it was like 2/3 buildings with the same style but different colour, most buildings had different designs
for the animation part, I meant the night animations
I saw a couple night animations which looked identical
there are no night animations at all*
so how do i fix it
Oh right, that is my bad. Just crop your textures in that case
You have a lot of empty space on the top.
Okay. This somehow interferes with the work of the plugin, which was the reason for the non-approval?
I think youre missing a manifest file, could you add that when you update the plugin?
Yes
your plugin is rather big. When making plugins of this size, it is important to keep texture size in mind. Users have a limited texture space and if you dont make the best use of it, some users may not be able to get more plugins they could have if you did make good use of it
Is a 400kb plugin a lot?
Is it possible to get the .png frame from another folder?
Like the .json getting the png would be in
plugin1>file1
But the png is in
plugin1>file2
why would you do that though
reusing frames i guess
might be issues if the json loads first as the folders get opened alphabetically or something
You could try it, but theres more chances of things going wrong that way
Id probably just dump everything to a single folder
how can i?
how do i undo a disaster
First of all, if its a normal non plugin item that would be better for #town-square or #1085157639706640414 .Read channel descriptions. Second, you can't undo disasters. You'll just have to repair things. The only way disasters are avoidable is if you had a copy of your city before the disaster struck.
As far as I know.
@thorn oriole when you will realese the plugin ?!
Hi
how do I make it look good
Its already great, amasing. 10000000/10000000
Nah bro teach ME how did you make it look good
For those who actually need to know how to make it good or better, check #plugin-discussion
because there're many templates and tips
on how to make it good or better.
after 5 years
jeez another one
Is there a way for me to apply my changes to the plugin without restarting the game, or is there a tutorial for that?
Lua? Yes. plain JSON? No.
Can you send me a tutorial or something, thanks a lot!
The body of my plugin is still a json program, can I use this method as well?
no
dont worry, we all have that kind of problem. and me personally just stick to JSON easier to learn plugin making
Why I put animation1 in a.json and animation2 in b.json, when I use animation1 in c.json, it won't report error, but when I use animation1 and animation2 at the same time, it will tell me that I can't find the ID of animation2.

show the not woeking json
also why not put them all in one json
its just
[
{
animation 1 stuff like id, type etc
},
{
animation 2 stuff like id and type
},
{
whatever plugin youre makings id and type and other required attributes
"animation" : [
{animation 1 id, coords}
{animation 2 id, coords}
}
]
Like this.
If I put the four animations in one json it works fine, but not in different jsons!
Since I have a large number of animations, I want to put different animations in different json files so that it is easier to distinguish between them.
you can write comments in your json
just use //comment
empty line or after what you wrote on the same line
like
"id": "random id" //this id is used for part a
I don't think it has anything to do with the order, if it's named like that shouldn't the animation json be loaded first?
//this id is used for part b
"id": "random id"
airplane loading json stuff doesnt load yeah?
i think numbers might be loaded before the hyphen
in that case 101 is before 1-
I'll try alphabetising.cal order.
Looks like the problem is solved for now, thanks a lot
youre welcome
I'm once again asking,how do you make a custom frame for slope concrete and road shore border frame?
Is there a tutorial for a decoration that can be placed on an aerodrome, or is he the same as a normal road decoration? Or does this also have to get permission from trusted developers
whats an aerodome
An aerodrome is the part of an airport that is used by aircraft. Its design, its safety-related equipment and operations, including aerodrome operators, apron management services and groundhandling operations help ensure the safety of aircraft, as well as other vehicles and persons present.
Thanks google
Yes
no idea, cant find the tutorial, you have to wait for kulche
When in doubt, Kulche
how to make plugins?
Check pins in #plugin-discussion
yeah but what do i use? like i literally know 0 about creating plugins. do i code? do i draw? like i know ZeRo
You can use pixly (mobile) or paint.net pc to draw
Does the preview image of the upgrade feature take up mapping space?
So, does this mean that these preview images invoked by “preview frames”:[] will not take up a lot of texture space?
Sorry, I'm having trouble with my browser.
Caused me to miss your reply.
So can the preview images be stitched together using animation or something, as I may need to use more preview images
I don't think that's gonna work
It is possible to create the animation or some “fun” so that the rocket can take off?
it is, but the implementation depends on you
I guess you can use the move y feature.
Ask @deep dawn for help
I want to make residential and commercial version of the same building
Should i make a separate json for each type or is there another more effective way?
it looks okay, i recommend using a duller, less saturated bleu for windows and adding details/shadows
I have some simpler drawings that I made
The last would be the night
And some are for the inv
How do I make a blink animation in the winter cartoon
Explain
This is my super code
[
{
"id": "ChineseI",
"type": "decoration",
"category": "CatChineseSpace",
"author": "Plugin creator website 3.0 & AndroxArev",
"width": 1,
"height": 1,
"frames": [
{
"bmp": "Long March 2.png"
}
],
"title": "Long March 2",
"price": 1200,
"monthly price": 50,
"power": -10,
"water": -50,
"draw ground": true,
"burnable": false,
"destroyable": true,
"needs road": false,
"pickable": true,
"on click fun": [
{
"actions": [
{
"type": "move y"
}
]
}
]
😭
It's an animation function,like shown here:
https://forum.theotown.com/viewtopic.php?f=41&t=2232
It seems like I'm able to program for theotown, how do I put some animation in these codes, like night animation, some movement like the antenna lights blinking, for now I've only managed to add one normal sprite and one for winter, and no night animation, help please?
building code:
[
{
"id": "predio-c1",
"type": "residential",
"level": 1,
"author": "Y6g",
"capacity": 40,
"habitants":40,
"workers":3,
"width": 1,
"height": 1,
"frames": [
{"bmp": "predio-c.png","count":1}
],
"night frames":[
{"bmp":"predio-c-nigthy.png","count":1}
],
"frames winter": [
{"bmp":"predio-c-neve.png","count":1}
]
}
]
bunker code:
[
{
"id": "bunker1",
"type": "residential",
"level": 1,
"author": "Y6g",
"capacity": 40,
"habitants":20,
"workers":5,
"width": 1,
"height": 1,
"frames": [
{"bmp": "bunker.png","count":1}
],
"night frames":[
{"bmp":"bunker.png","count":1}
],
"frames winter": [
{"bmp":"bunker-neve.png","count":1}
]
}
]
ignore the workers because I was just doing a test by putting him
Any can give any tips to make good glass
try very low alpha white perlin noise
Hello could anyone recommend some interesting plugins I could download for the Paint.net software to facilitate plugin making
Thanks in advance
I use none
Would it be better round or square? I will change the colors and improve the glasses,
I thought about leaving it round because of this plugin
I don't know much about Theotown's audience, so I'm going to ask a lot so that my plugin isn't like those plugins that are forgotten, please send your opinion!
And I'm also creating more variety of cars
What is the maximum car size for roads?
Because in my city there are very large buses that have 4 axles and 2 floors
vertical clearance is like
12 pixels
for the bus sprites
Maximum x and y
Horizontal and vertical
@grave sonnet And horizontal?
I have a train plugin,which the max x is 20px before clipping into another wagon. Then for you, there's no limit except if you want to follow Bridge height,then the max is 12px.
Is the fence animated without rotation perception?
My fence animation is only right in two directions, the other two are wrong
Here's my code.
What should the form of a plugin be? For example...
Images folder
.json files
How do I format the folder for a custom plugin basically
Just put in the image folder and the json
Thanks
I wanna ask,which one is more senior plugin creator think better?
This is an case with Indonesia Transport Pack.
I use animations for 8.2b flatbets. So it'll be texture space efficient. But also pre 1980 and 2000 years livery were mostly just color change. So should i do the same as i do with the container trains?
Why do I get garbled code when I localise the title and description of the fence?
"title": "Site Fence_Blue[zh]蓝色围挡",
"text": "Site Fence_Blue[zh]蓝色围挡",
missing characters
i think the procedure is to send the settings.txt file
Ppunish 442395292881649665
deemele907 was banned for the following reason: Sharing or spreading scams or phishing content.
Hey does anyone know how to get night animations to rotate with the building / Add night animations for different frames?
(The code)
"frame" 0
"frame" 1
"frame" 2
"frame" 3
(after the png put a comma and then frame)
Forgive me if I'm being a bit dumb 😅 but is this what you mean?
leave the comma, remove the } and put it after the number before the comma
oh wait no
should be in animations rather than in frames
winter frames and animation
Alright cheers mate 👍🏻
How to create an animated plugin?
If you saying about custom animations
I'm going to show you but I never tried it before
Maybe it's like the helicopters and don't work
Fir step
Change your frames code by this
frames":[{"w":,"h":,"count":}]
Second step
Put your current light id here and Position
"id":"","pos":[frame 1 L/R,frame 1 U/D,frame 2 L/E,frame 2 U/D,frame 3 L/R,frame 3 U/D,frame 4 L/R,frame 4 U/D]}],
L left
R right
U up
D Dow
Use x and y
Maybe you don't understand 😢
I'm sorry 😔
Hello buddy how are you
Here's
id":":rocket:",
"frames"[{"bmp":"","count":,"h":,"w":}],
"type":"animation",
"speed":1.0
},
{
"animation":"id":"🚀","x":,"y":,
Id as a smile, sounds good
@grand spruce
Pmodmenu @late heron
trev4s_yt was banned for the following reason: Sharing or spreading scams or phishing content.
Many thanks
I took the code from the official example from Lobby, but the script file, as I understand it, just won't load, since not even the script:nextDay function is executed. How to fix it?
Have you allowed it to be loaded by script security policy in-game?
well how are you checking whether it loaded or not
Checked the box
function script:nextDay()
Debug.toast("h");
end
Or smth like that
lua doesn't use semicolons
not like that
also, "something like that" is a pretty shiddy way to get help
i mean, i didnt use "h" literally, i worte that from head, don't take it literally
Are those the good options to build a building on water and on land ?
need water and needs land together makes it working like seaport
like, it placeable only on the coast
What should I do to build only in water and only in land please ?
I mean not only in coast
I mean that setting 'land only' and 'water only' at the same time will make it so that it can only be located on the coast. I'm sorry, but I don't know of a way to place a building both there and there, other than creating two different buildings
I found an old conversation, I think it's false for land and water
you can try it
it's as if that's the important part
"draw ground":true,
Thank You
Np mate 👍
d -> D
I really hope that this is not the case, because then the script simply does not work :)
is anyone else having issues with the railroad expansion plugin?
for some reason no trains spawn in whenever i build a depot and upgrade it
idk if it's an issue with the plugin or the game itself (like the number of sprites or whatever they're called)
I need some help with something
the frames are mixed with other textures
I fixed its x and y handle and these suddenly showed up on my frame
Left one check again dimensions and add "draw ground":true,
Right one use x and y for lights
Looks really cool 👍
maybe try sending the whole plugin file so that I can have a look into it
there could be like a million reasons for that
cool
Mind somebody explain this for me,which i found in a more recent version of public code:
"deco": [
{"id": "$streetlights01_one_reverse", "stride": 0, "dirs": 5, "step x": 2, "step y": 1},
{"id": "$streetlights01_one_reverse", "stride": 0, "dirs": 10, "step x": 1, "step y": 2}
]
@vague scarab How can I encrypt a plugin to a .plugin?
Pencrypt-plugin try this in dms with pidroid
Please provide the plugin zip file as an attachment.
shut up
okay
DM pidroid
Can you download forum plugins on iOS?
Yeah sure
If you mean zip and others
Hi!
I was thinking of trying to make a plugin inspired by actual buildings. How does the copyright thing work?
Am I allowed to reproduce any building in pixel art? Even those which are considered historically and/or architecturally important?
It's a building in pixel art, it's so far from reality, your not gonna get sued by some random architect with too much time on his hands.
My concern was more about institutions
I don't think you have anything to worry about lmao
Ok, perfect, thank you!
You can read about whats allowed and whats not here: https://forum.theotown.com/viewtopic.php?f=41&t=4144
Is it possible to influence the taxi depot in the json file for the game TheoTown?
Extracting the ZIP file
I use iOS too
probably
the original taxi depot json can be found on the forum
Are plugins broken now?
What?
nope, why do you say that?
Because when i try to touch the plugin store button, it does nothing
can you show a screenshot?
or a video
Ok
I tried touching the plugin button, but it doesnt redirect me to the plugin store
Good day. Today I noticed that mine, Warsaw pack, is not approved due to the fact that in some objects there are many empty pixels above or below it. So last time I had the same problem, this time I decided to correct myself and cut off most of the empty pixels, but again it did not satisfy you. I don't understand why. In other plugins, I agree, flying pixels can get in the way, but I don't know about this.
Last time you argued that I was inefficiently using the plugin space. This time the pixels have been cropped, and the small part that remains has almost no effect on the size of the plugin. Adding a manifest file will increase the size of the plugin significantly and I won't get anything from pixel clipping
Thank you
@low shoal
what about the grren arrow while youre in the map, same thing?
@low shoal The problem got worse
What?
oh
It said "Hacking detected"
where did you install it from?
The appstore
did you install from a different place before?
Nope
are there any maps youd miss?
The small part does use up plugin space. Now, generally it wouldnt be a huge problem but I did check for all the images which were provided. It adds up pretty quickly when you have more than like 20 images with rotation frames.
i can tell you how to fix it, but you will lose all your progress
.
go to settings, apps and games, theotown and clear all data
Ok
it seems to me that the reason is sucked from the finger, or the unwillingness to approve it :/ Because I already tried to satisfy you, and left a minimum of empty pixels
Wait, i think i might know whats wrong now
yes , i believe so
Okay, elt me talk to someone else and get back to you
I think it might be because the appstore has the wrong version
It still says its by blueflower
nope, youre on 1.11.53 which is the most recent beta
Oh ok
Also, the reason for the disapproval of the Vilnius package was the seemingly flying pixels near the cathedral. Having decided to fix this, I filled the empty spaces with a different color to see them, but they were not found. Where did you find them, these flying pixels?
Looks closely
interesting (also, know i have my brush on 0 opacity)
well, here is this cathedral in the program in which I directly made it, there are also no flying pixels. When loading into the game, I did not see them either
Facts
I recommend downloading the plugin file you uploaded and viewing it
That's it, I put the patched plugins to check
I’ve downloaded a plugin and I’ve selected “decompress” on the zip file in the Files app. Now I have this (image) but the plugin is not yet installed. How would you proceed to install it from here?
Put it inside a folder
Into TT plugins folder
I’ve got it! Thanks for your help 🙂
Np bro 👍
Be a good person, respect the hard work of the devs, and install the game in authorized sources
how do i redownload all of the 'deleted' plugins?
i just came back from the game
also download is all stuck at 0%
download is really slow too
You dont understand. I did install it from the appstore. I do not own a pirated version of the game. It just keeps giving me that screen tho. I am not hacking
#1232041662943858769 its an on going issue.
Thanks!
Do you guys know how I can make plugins on my chromebook? I have so many ideas, I just need a way to create them
In Chromebook u can use Piskel or Photophea, and for the Json any online editor would work.
ohh kk, thank you soo much
How come it shows water instead of the tile below (grass)
Must i texture the grass manually or
Add "draw ground":true in your json
I am also a mobile device theotown user. Is this app available on Androids? I just searched it to create my first plugin ever but there isn't an app called "pixly" What's its name and is it available on Androids?
the playmarket has pixly, but i recommend pixel studio
Ok thanks
My friends recommend me pixly but I can't find it. What's its full name?
Or its icon
Pixly
some functions are easier to do in pixel studio. As for me, it has greater functionality and is more understandable.
Play market
I downloaded it but I find pixly too. Just not in play market
I downloaded both
Thanks
Where can i find the texture for concrete ingame under world textures
Its located here by this world texture page
Thankyou 💜
I need help guys I just made my first plugin and gonna load it to theotown using theotown create a plugin website but it errors, saying this plugin isn't a pca work
Or something like that
What I need to do?
A screenshot of the error would likely be more useful
dont "load from zip" fill the information on the website and "export as zip archive"
Ok thanks I'll try
It says this I dont know what to do
I didnt add all the optional choices
On the page the mandatory attributes requested appear in red, check it calmly and without rushing.
Also, have you already checked what each one does? https://forum.theotown.com/viewtopic.php?t=1355
Yeah but only the plugins
The export a zip archive part makes me download plugin.zip
Yep, that is how PCA works...
I think that what you really want to do is to upload it to the plugin store, so u need to do it through the forum: https://forum.theotown.com/plugins/upload
As long as your old ZIP is functional without bugs you should have no problem, PCA is not required, in fact it doesn't support several features.
Remember to check the plugin store rules
I just want to use it myself. I dont want to upload it to the plugin store. If the same happens for both I'll read them all. I just looked at it a bit but still dont know whats the problem. Also thanks for help
My mistake then, to use ur zip plugin is to simply go to Menu - File Manager - Plugins and import the Zip file there, If you get an error in the code, it would say right there
But again, it has nothing to do with PCA 🤔
My zip plugin only has codes, not the project. Nothing happens when I upload it to plugins
well did you add the frame
show a screenshot of the attributes you're filling in on the website
The attributes are above the tags that u showed
you didn't add any frames
what do you mean "empty"
Add empty frames
ah
"Add a empty frame"
then what is your problem now
It isn't downloadinf
click export as zip
It just downloads plugin.zip
yeah and what else did you expect it to do??
of course it downloads a zip archive after clicking the 'download zip archive' button
Yeah lol
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 did it with another plugin.zip but nothing happened
Its an empty frame, what exactly do you want to happen?
Check if its active in ur local plugins and see if some empty unnamed appears in the category u selected...
well if you didn't add any frames then not much could've had happened
enjoy
...
It still says please ensure all plugin attributes are correct
Finally I made it
Thanks
All of you
It means they are "Featured", It's an algorithm that marks a plugin that has been downloaded a lot recently or something like that... Without seeing the code it is difficult to know 😅
nah
it's not an algorithm
If it is manually its quite impractical and somehow it shows sometimes some awful plugins hahaha but idk
Moderators can feature it as well as the game system does automatically
So youre both right
interesting
My own plugin goes in and out of featured since it does by itself
anyways, plugin support, nah?
Guys, can anyone help me? How do I make a building that only unlocks when the city becomes a specific size?
i guess this
And how do I make it unlock when I build a specific building?
@low shoal ?
i saw the ping the first time
i have to search for it since ive never used it
How does that make her see your messages sooner
i had already seen it lol (when he pinged)
{
"type":"RANK", // Requires a specific city rank
"lvl":2
},
{
"type":"BUILDING", // Requires a specific building
"id":"$theidofarequiredbuilding"
},
{
"type":"HABITANT_COUNT", // Requires a population of at least 1000
"count":1000
}
]```
thanks arturo <3
i found everything except the building one
the habotant one was in getting started page
In Local Plugins its normal, don't worry. When you upload your plugin through the forum it will be displayed correctly
Oh okay, ty!👍
Thanks bro, it helped a lot
How can our plugin produce water and electricity?
I can't seem to access the game files from Zarchiver anymore :<
Does anyone know how to access it? I mean, I had access to it before, but now, for some reason, Zarchiver says that there's nothing in the game files.
Ptag files
TheoTown files are located under such directories:
- Windows: C:\Users\(insert username)\TheoTown or %USERPROFILE%\TheoTown
- Linux: ~/TheoTown
- MacOS: /user/TheoTown
- Android: /storage/emulated/0/Android/data/info.flowersoft.theotown.theotown/files
By default you should be in /storage/emulated/0/. Uninstalling the game on Android will delete all files, unless you decide to keep the files when prompted by uninstaller.
If you cannot access game files through these directories, game has an in-built file manager for mobile devices which is accessible from the region view menu.
You can find your plugin, music, region and city files there as well as logs for debugging purposes.
are you accessing the correct directory
Yep. As a matter of fact, I had access to it before, but now it says it's empty
Maybe it's the recent updates on my device
try using the ingamme file manager
I did
nothing?
How do you do a fence plugin?, I already have the pixel art
Thank you Kulche my love
you're welcome
Oh no, competition, hes mine 🙂
Anybody knows how to build Brandenburg Airport?
I didn’t find anyway to build it
Video about this plugin has a little bit wrong
Hi, I'm having an issue whenever I download a new plugin. As seen in this image, the plugin remains at 64% and still hasn't finished downloading until now. Does anyone know how to resolve this issue?
recommend #1085157639706640414
Hello everyone
Can someone help me with publishing my first Theotown plugin? I want to publish it on Forum, not in Plugin Store
And is it possible to make it like that?
Yep, with bbcode you can do it without problem
Example code for the IMG/Description table.
-|-
[img]URL .PNG/JPG[/img]| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi in leo orci. Ut vitae pharetra massa. In aliquet, lorem tempus suscipit pharetra, nunc sapien dictum nunc, sit amet finibus urna ex in mauris. Donec bibendum bibendum neque a facilisis. In dignissim laoreet eros, at dictum mi viverra sed.```
Yep, you can do it here: https://forum.theotown.com/viewforum.php?f=60. Create new topic and do what Arturo had said
A question, can the random frame be applied to animations?
If not, is there any way to generate randomness in an animation other than generating it manually?
yes, you can use it in animations and set the speed to 0
you can also add multiple identical frames to a building and append animations to each of them so the user can choose
Got it, thx
anyone know the offsets for seawall? i cant find any info on the forum. im assuming its similar to fence but not sure about the offset numbers
Can anyone tell me if it is possible to add more than one night animation? Like one night an animation appears, but when it ends another one starts, is that possible or not?
Yeah, put two frames when you define the animation and add "speed"
Bro your issue are same as me
I always thought it was some WiFi connection problem.. but when i open the other apps, all just seems normal tho
Yep, even I open another game like PUBGM everything are smooth
Probably it was a bug from the game itself??
Maybe, anyway what version are you on to?
1.11.52a
Ah so we have the same problem on that version, lmao
Hello, you can start by downloading the templates in #plugin-discussion pins and start drawing your graphics in a pixel drawing app
Ok after that i am going to ping you?
XD
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/
After that?
Ok
While listening to linkin park and bring me the horison XD
hmm okay, thats a start
I uploaded it to pca or how its called
do you plan on making it for yourself or publishing it somewhere?
which is?
Public XD
ah
well if youre going to post on the store you do need to work on the graphics a bit more
but now you have a base! so thats cool
Then what would I say lmao, if its for your own use youre free to do whatever
that sounds great
How do i make it for me
WELL THAT EXELENT ENGLISH XD
you need to make the json
then just change the file format
Rename?
also show the contents
inside the json
show us your json
lol that's not a json file
One sec
that's a .plugin file and you just added .json to it's name
funny characters
oh btw
PCA?
you should download the json separately from pca
pca what
Change the file?
you downloaded the .plugin file which is encrypted
I try to but its kinda hard because i am german
we want the json which you can also download
yeah just download the plugin as a zip archive
just send the file here
It wont let me
what do you mean "it" "won't let" you
"Empty plugin"
did you fill in the information...
show a screenshot then
you did not in fact fill in the information
read the error message and define your plugin
you only created a manifest
How i never did that
There we go
should work now
What now
put it in your plugins folder
Where can i find it
Ptag files
TheoTown files are located under such directories:
- Windows: C:\Users\(insert username)\TheoTown or %USERPROFILE%\TheoTown
- Linux: ~/TheoTown
- MacOS: /user/TheoTown
- Android: /storage/emulated/0/Android/data/info.flowersoft.theotown.theotown/files
By default you should be in /storage/emulated/0/. Uninstalling the game on Android will delete all files, unless you decide to keep the files when prompted by uninstaller.
If you cannot access game files through these directories, game has an in-built file manager for mobile devices which is accessible from the region view menu.
You can find your plugin, music, region and city files there as well as logs for debugging purposes.
Well done! Your first plugin
Congrats 👏🎉🎉
Export as ,plugin file?
I'm having trouble, I can't use the console to turn a plugin into . plugin, the command does not find the file
U can do it through @tulip rock
Just need to write Pencrypt-plugin in his DM and attach the zip file in the same message
Btw if u can share the ss of the error would be great, because I just tested it through the console and it still works, remember that the plugin folder that u wanna encrypt must be in TTPlugins folder
i need help
I did a house and when I build it, for some reason what should be the ground becomes water
add "draw ground": true, to your json
thanks
you helped me a lot
Known issue, will be fixed soon
☺️
I was using - export:{dir:" "} - but that's not the one you use, right?
export:{dir:"Plugin name.zip "}
Or, it's not to be used in the console, right, I don't understand where to use Pencrypt-plugin
This is why bro
It's a bug, ask for help on #1085157639706640414
Oke bro
There is still a lot of bro around 82gb
Looks like it's a bug from the androx plugin I downloaded earlier.
How do I make my business generate and receive a specific type of truck from industries? Like, I'm building a gas station, how can I make it receive tanker trucks?
You can't make trucks go to specific places
You have to put the car that will appear from your construction in JSON
They kinda just go to whatever industry or commercial building they want
strange, I have some gas station plugins and I see tank trucks going there
Must be a coincidence
idk how to do this
It's something called "FLAGS" I think
uhmmmm
Calm down, I'll try to show you an example
Patience is the key.
thanks and sorry for the inconvenience too 🥹 I made my first plugin yesterday, I'm still learning some things
How can I resolve this?
crop your image
frame:[{bmp..., "y":18}]
But it shouldn't happen, unless you have left that height in the PNG
the dimensions of the png are 128x128
I can't find the correct dimensions and my game takes a while to open, which makes it difficult for me to figure it out
Can someone explain what this means?
https://forum.theotown.com/viewtopic.php?f=41&t=14695 heres a tutorial that may help
Ok thx
I want to ask
Can't 2 animation type IDs be included in 1 plugin ID at the same time?
Because I entered two animation IDs, only one appeared.
Nvm
Pmodmenu @summer stirrup
red_void_ was banned for the following reason: Sharing or spreading scams or phishing content.
indeed
Okay thanks
hi i tried to make a simple plugin thats add minecraft dirt block but apearred a massive block so wath is the resolution in pixels to make a 1x1 tile?
thx
32x32
thx
Then, How can I join rockfort server?
no
Rockfort doesn't have a server
He is retired.
Anything that is private of his he didn't want released
And if it was released it was against his will and stolen
Man 😦 okay then
@lakanharaya @vague scarab @vague scarab
Why you're pinging me?
Ground type or decal type?
Not really but it can seem like it
Dont be shy to ask questions, we were all beginners once
We probably have tips for you if you need help. So enjoy!
Can i convert a building to a road
why?
Lmao 😂😂
Good Idea 💡 Indeed
Like make a building with road in the roof
Cuz i want them to have the properties of a road but with same building frames kinda like how it's done in "New railway system" plugin
maybe you can try https://forum.theotown.com/viewtopic.php?f=41&t=9694
Thanks for the link,here these buildings and roads are on separate coordinates, so maybe i can have a road and building on same coordinates as a combined building if that's possible
I see, I'll do some experiments with it, thanks for help
Tell me how to make an animated plugin? Animation of the type of flag movement
So I want to make a plugin. Is there a certain pixel by pixel density I should use? When I load up pixly what should I set the canvas size to?
It depends on what type of "waving" effect u want to do, you can make a fragmented flag and move it with Move Y, but depending on the design it may look a little meh for not having much detail in the shadows. But it is quite efficient in plugin space. At least if it is a single animation.
If there are multiple animations the ideal is that you simply do the movement in different frames (can be the same PNG u just need to define the W), and the pole is the "fixed" frame and the flag is positioned with X/Y as an animation, so u can set the speed and be able to make the effect too.
Thx you 🙏
Save as
how do i make my own plugin in the game?
Go to #plugin-discussion and check the pins. Goodluck!
@grand spruce
can anyone point me in the direction of examples or tutorials on how to add seawall to a pathway when its next to water similar to how the "towns decal" plugin works?
appreciate that! i was looking in the wrong sections of "getting started"
What app you are using?
Pixly.
You may not be able to download it if your device is too new. Its not supported on newer devices.
@earnest pendant
Now I had that issue so i used Aurora store which is a google play client which apparently doesn't block you from downloading older apps like google normwlly does.
How do I remove a plugin if I can't get in the game?
Use a file manager then go to your plugin folder and delete it
Seeing as it's local ingoring it may also work
ignoring doesnt
k thx
probably missing comma
Ah, i see
please send the json
what are you doing?
is this an animation and a building?
if youre using speed are there multiple frames?
Its a building
to be sure it doesnt produce water or electricity, just consumes, right?
Yes...
you have type animation set as well as speed
I used some example coding, i didnt notice that
Sorry
just checking, minus figures are used for consumption
its alright
Still sorry, i modified the json and removed the speed, changed type to building
And also added minuses to water and electricity amounts
But i still get the error with the "}" placed incorrectly
what is the error
thats not the one i sent you
i removed build time
remove all previous versions before using the new one
That's the current one used
From u
Okay it Works now, i restarted the app one extra time
Thank you so much
youre welcome
What's your theotown nick? I'd like to include it in the authors section
You dont have to include me in the authors section
Bunny or PBbunnypower
How to make a fence
You can find the tutorial here: https://forum.theotown.com/viewtopic.php?f=41&t=13521
Thx
Why are you making fence plugin?!
Heya, how do i make building make money?
Or more precisely
How do i make a decoration make money?
If I remember correctly, only trusted plugin creators can use those functions of monthly income.
Oh, that's odd
what are you even making?
In terms of mods? Nothing much, mostly things for myself
But generally speaking i wanted to make an "anomaly field" from stalker, and then make it upgradable to provide small amount of profit from selling artifacts that spawn in it
is slope frame an attribute?
Uhh, no
i was asking someone knowledgable. It was for my own plugin. But does turn out the answer is no for what I wanted to do. Though slope frames is an attribute for ground
you can set monthly income to 1T
Oh, sorry, i didnt know
Oh, okay
I was trying to make a tram but I only saw the sprite
How do I create the tram code? (I didn't find any examples that work)
A friend wants a specific train but I don't even know how to start
Not the tram
Does anyone have a plugin which will increase my income as my 100,000 city has a very low income I'll show it
Btw I change my date Years ahead for the extra money
Ok I'll try to make one
Hello, could you help me with what needs to be written in the line "type" for the industry 🧐
industrial
start with a black rectangular cube
No I mean.
and shadows
ahh, I see
3-5
@graceful heart
Sorry for the ping
But how I can implement it to the game after I'm done?
Mewing
wheres the graphics?
Bro will put 3d buildings in TT 😱
We have 3d tt before gta 6
make graphics for the building and coding
here’s the link 🔗
this link might help you make plugin easier
How do you make a street decoration plugin?
Miyamura 😄
Yep
@grave sonnet
Pmodmenu 953545536567377920
val_6443 was banned for the following reason: Sharing or spreading scams or phishing content.
me when the
alright
does anyone know what plugin the yellow lines are from?
Advanced Road by Mew
ok ty
Where did you get that from?
A friend had passed it on to me months ago.
Where did he get it from
I don't know, I asked him for a Plugin that he had in his City of a Building and he gave me that Plugin
Ppunish 1234756954992279597
francodefe. has been warned: Sharing of private plugins. You NEVER share someone elses plugin without their consent. If it is on the forum or store. you give them a link. Getting it from a source other than the forum, store or a link provided by the creator (and/or sharing it) is punishable.
So I delete the file?
You should
Evan said it looked like a private building by rockfort yet you chose to share it.
Hello, I have the following problem: I went to my plugins page (they are not yet approved) and I saw that one of my plugins does not show an update that I recently made. I thought there was some mistake and posted the same ZIP, I was told that there are no changes, and yesterday I was banned for this, and I can't post plugins😭
My nickname is Energodarec
you were asked to increase the contrast on your plugins multiple times, on different plugins . if you want to improve them, you can go to #plugin-discussion and we can help you
you can be allowed to post again when you improve your plugins
At least tell me how much you banned me for
I dont think theres a hard limit. Whenever you fix your textures, we can unban you. Let me know when you want to put in the effort (so I can give you feedback)