#plugin-support
1 messages · Page 29 of 1
you have to enable debug mode first before it becomes visible
but it should be there yes
well your fill ratio is 88%
thats quite high
so probably you filled plugin space
damn rjoldan really just used a fullhd picture for his plugin thumbnail
i have downloaded 37 plugins but yeah xd
the bug in the second photo keeps flashing, disappears and appears again
probably a faulty night animation
if i remember correctly this buildings should have an rgb underglow
the way is to disable the plugin
that will remove the plugin though
if you know who the creator is you should notify him
I know
I will try to find out about him, if I find him, I will notify him
'§7
@rocky geode
Hahahahhahahaha
Just remove tho
is it possible to add ambient noises to buildings/helicopters/cars?
?
Idk
I want to know this toooo
Kingtut had ambiat sounds on his nature plug in so maybe he would know
can you show me an example?
Let me find jas epic plugin
@terse void remove the swearing and old code if you do
lol
ok so first off
youd have a sound draft for your audio file like ```json
{
"id":"bluepickle.plugin.meme.song",
"type":"sound",
"file":"file.mp3",
"volume":1.0
},
and code would be ```lua
local bx, by, buildingDraft, songDraft
function script:init()
buildingDraft = Draft.getDraft("bluepickle.plugin.meme.building00")
songDraft = Draft.getDraft("bluepickle.plugin.meme.song")
end
function script:event(x,y,level,event)
if event == Script.EVENT_REMOVE and Tile.getBuildingDraft(x,y):getId() == buildingDraft:getId() and song then
song.stop()
bx, by = nil
song = nil
end
end
function script:nextDay()
if City.countBuildings(buildingDraft) > 0 then
bx, by = City.getBuilding(1, buildingDraft)
if song then
song.setPosition(bx, by)
end
end
if bx and not song then
song = City.playSound(songDraft, bx, by, 0.5, true)
end
end
this works for 1 building only
wdym, only 1 building in city can play sound?
this script only works for 1 building
if you want more youll have to figure something out
Is there a way to make custom decorations appear on custom rci zones, like with in game ones?
I guess soo
you can use your custom rci decors and use ids of in game rci decos both together
Is it possible to control wether a building is unlocked via lua?
*without using draft.append
Can anyone tell me why this is happening?
[
{
"id": "$Colflag",
"type":"animation",
"frames": [{"bmp":"Colombiaflag.png"}],
"light":true,
"light switching":true
},
{
"id": "Nocolor01",
"type":"animation",
"frames":[{"bmp": "NoLedColTower.png"}],
"light":true,
"light switching":true
},
{
"id":"white03",
"type":"animation",
"frames":[{"bmp": "WhiteTower.png"}],
"light":true,
"light switching":true
},
{
"id": "$ColpatriaTW",
"title": "Colpatria Tower",
"type":"public",
"frames":[{"bmp":"ColpatriaTW.png"}],
"animation": [{"id":"Nocolor01","x":0,"y":-320}],
"text": "Torre",
"author": "XergioMH",
"width": 5,
"height": 5,
"influence culture": 85,
"price": 28000,
"upgrades":[
{
"id": "Nocolor20",
"frames":[{"bmp": "NoLedColTower.png"}],
"animation": [{"id":"Nocolor01","x":0,"y":-320}],
"only one": true
},
{
"id":"$Colflag20",
"frames": [{"bmp":"Colombiaflag.png"}],
"animation": [{"id":"$Colflag","x":0,"y":-320}],
"only one":true
},
{
"id":"whitet3",
"frames":[{"bmp": "WhiteTower.png"}],
"animation": [{"id":"white03","x":0,"y":-320}],
"only one":true
}]
}
]
(since when is only one a thing?)
he might trying to make it build once per map
I made three night animations but when I upgrade it to one of them, it also appears in the daytime.
I already put that code
there should be another code 🤔
hm yeah
there isnt
but for real, what is only one: true about?
I just noticed that those are in upgrades objects
that means only one upgrade can be active at a tine
No idea about that animation tho, is it also lit at night and the next day?
😕
are you doing anything io related
Is there a way to make building ignore needs/services?
e.g. if I want to make a building that doesn't need religion, park, etc.
while not changing the type
Not that I am aware of
?
New system is very confusing and time consuming
that means the release of the Tower Bridge plugin will be delayed
😢
In this tutorial for TheoTown, I'm going to show you how to install forum plugins for game versions 1.9.95 and above (or Android 10 and above and 1.9.82 and above)
Also go download my fill sandbox requirements plugin ;)
https://forum.theotown.com/viewtopic.php?f=73&t=7591
Time stamps:
0:00 Intro and Explanation
0:31 The "Classic" Way
2:18 Usin...
Yes i already watch this
I mean it's possible move all data in theotown folder?
help please i'm having a problem in the game i'm not loading the list of plugins in the game. I already reinstalled the game and this did not solve the problem.
How can i fix this
Did you install ghe plugins in the plugins folder
You understood me wrong. I mean, not the sheet where the plugins are already installed, but the sheet where you can install the plugins, which is exactly what is not displayed
How hard is theotown lua
In this tutorial for TheoTown, I'm going to show you how to install forum plugins for game versions 1.9.95 and above (or Android 10 and above and 1.9.82 and above)
Also go download my fill sandbox requirements plugin ;)
https://forum.theotown.com/viewtopic.php?f=73&t=7591
Time stamps:
0:00 Intro and Explanation
0:31 The "Classic" Way
2:18 Usin...
if you know programming in scripting languages its not that hard
if you dont its not very easy
id reccomend making some basic standalong lua programs first
before diving in headfirst and getting errors like this
in a 16 line script
woah
I know nothing about about coding
maybe after I finish university exam stuff
also I am wondering something, roblox lua and theotown lua. What are the differences
hm nice
if you know lua youll have no problems
if you add #luawrapper, yes
maybe 10 years later, when I am 39 years old
it wont refresh gui objects but you can use the refresh city ui plugin for that
I will do lua stuff for theotown
can I make a building requirment, require 4 of the same building?
JSONLint: https://jsonlint.com
PCW: https://pca.theotown.com
0:50 Introduction
1:15 PCW - Introduction
1:28 Error Measage
2:05 Common Words in JSON
2:34 Syntax Errors - List of Errors
3:05 TheoTown Errors - List of Errors
More info on how to debug JSON errors: https://forum.theotown.com/viewtopic.php?f=49&t=7560
You are completely not require...
Huh?..
You capitalized commercial
🤔
Replot your work
Wdym?
Plot it again on 2x2 template then save again
Alr
It occurred also in mine and that's just what i did
how to add night frames to a road?
the same way you would add animations to a building
you just have to specify frame index
how
There was a road plugin on forum with snow textures... It was beatiful
So how do I specify frame indexes or something?
"frame": index in building's animation definition
for most roads it would be 0-15
eg. a def with frame: 0 will apply the animation to the first frame only
this
things...
"frame": 0
}]```
Ah ok
Hello community. I would be interested in how I can create my own plugins and then share them.
thanks for the tip
@runic geyser Getting started:
https://forum.theotown.com/viewtopic.php?f=41&t=2965
Also, check #plugin-discussion pins
Um, i have a question
What i have to do to make building Sprite more in the center?
use the templates for buildings in #plugin-discussion pins
Ok
can I add several frames into one helicopter, like with cars? (different sprites under same id)
where's the lua
Hello! Does anybodey know how to be able to get the plugins?
ah, lol
And updates?
Thank you so much😁!
there are dozens of plugins which are free and most likely better than plugin store ones
also all Rockfort's plugins on plugin store also on forum
and pounkiller
I want to add those sounds for bucket wheel I am working on https://www.youtube.com/watch?v=Y7zIZVlMtFY
Amazing Excavators at work, Trucks and Dumpers, Wheel Loaders, Bulldozers in action, Construction Machines, Mining Machines, Heavy Transports, Heavy Lifts, Hydraulic Hammers, Crushers and Attachments.
Brands: Caterpillar, Komatsu, Liebherr, Volvo, Hitachi, Terex.
@Mega Machines Channel is ready to travel all over the world, make videos and pr...
this is lua right?
trying to do something
tested this
why
btw what is the difference between noise and sound codes
I guess for adding sound to something I need to use "getXY ()" with "playSound (sound, x, y[, volume=1[, loop=false]])" this stuff
sadly that's not how lua works
dang it
square brackets in documentation mean optional
I need to use i = stuff, right?
you need to actually call the function
not quite sure what do you need for loops for here?
¯_(ツ)_/¯
you also include the module name before the function
but for the thing I want, this is what I need right?
hmm
depends on what do you want to achieve
I want to add sound to a building
kind of like party house by ja
once you get away from it, the sound will drop
get coordinates of your building, get your current coordinates, write a complicated function to calculate distance, ????, profit
oh my...
I would recommend starting with something simpler
soo ja made those all stuff just for a party house with strange sound effects
thought it was easy stuff
you know, you won't make a script with like 2 lines

can I make something like.. uhm treeplanting stuff in game
play around with the functions and what different modules have to offer
not exactly, just practise some basics
this is an end code right?
an end code??
a finished one
it just shows a text and thats it
if I change local counter to 15 text will popup again while playing?
Damn I need to get into lua sometime
Will it be hard if I have medium knowledge of python?
if you set the counter var to 15 the text will just start counting at 15 instead of 0
noise code?
why tho
idk what could it do
maybe it does what ja's party house do
what?

go ahead
obviously
maybe it's for getting noise influence, idk
not sure why would you need that function if there's Tile.getInfluence or something like that
still gotta try but how do I implent it to a building
I am going to use this ability one day, was searching for that code but couldnt find it
-- let's move to dms so this place doesn't get flooded
yep thanks
Not that noise
That's City.playSound
does it literally do the all things (except crazy light) in party house?
it plays a sound in a location on the map
it returns a object you can use to stop and play the sound
and make it play in a diffrent location
they do get played from a certain location in your city
just like enviromental sounds
if you want to change the volume thats in the draft
as for changing volume during runtime, idk
you want to change the volume dynamically?
yes
it should be but complicated, thats what kulche said
can it be implented to game with an update? It is an awesome feature
that doesnt change volume
hmm
i would know i have a copy of the code
well
its undocumented
so thats why i said toast the contents of the sound object
to find out whats possible
one off question too
can I make a building with auto adjustable performance indicator which player cant change manually but it is connected to an influence(?)?
like a building that produces energy on the amount of produced trash
I know there should be a code for getting amount of trash info
ops there isnt, only isfullofwaste
we can cheat too
cant you use a power plant with the waste disposal influence
or do you want it dynamic
I want it dynamic
this is a waste disposal and also an energy producer in my country
its actually aim is destroying trash but also makes energy for side product(?)
it uses gasses of the trash, more trash more energy
here is another idea, while looking at the lua codes of TT I found that possible
a good idea for a lua plugin is global warming, it can count cars, industrial workers and people with their own increase ratio for global warming. Negative effects are trees disappearing, pollution at random locations and sea pollution (yellowish water)... how to prevent it is planting more trees and using clean energy
the only thing I need to learn is adding them own increase ratios, trees despawning, random pollution stuff
for planting more tree being possitive effect, I guess there should be a code for counting trees
or using nature influence
but I mean, it is sooo unnecessary thing
not even a good idea actually. Whoever wants things like this. Waste of time
I would play with that mechanic
What size of image would reccomend for 1x1?
Use templates in the pins in #plugin-discussion
But if I remember correctly it's 32x16
I use 32x32
prepare your eyes guys
it might even burn, I am gonna post the first lua thing I wrote. Kulche helped me but I am rewritting again
I have problem with i
open whit your own risk
it actually works but not exactly
at least the game is opening without errors
The base looks wrong what's the size
The stepping for the base is incorrect
dont
Index is to pick which one you want
For example
You have 5 buildings with ID 'the thing'
With an index of 2 you'd get the second building with that id
with the index of a I can hold them all right?
no
youd have to use a loop
besides this only gets the x y positions
to collect all their positions
getting buildings and countbuildings in script:update 
id use script:event in the script linked to your sandspider building to catch EVENT_FINISHED events
then increment the count with that
and decrement it when EVENT_REMOVE happens
Oh alright
ah yes
the ideal scripting language
also
math.randomseed(os.time())
is supposed to be in script:init
you shouldnt set that seed again
and you dont use the result of the math.random on the next line so its useless
can I change script event's x and y
like function script:event(thingX, thingY, level, event)
How fix?
put "draw ground":true
In JSON?
yes
Thanks.
Me when I invent vsco girl but in theotown with lua
is a cool idea but I cant draw those
can I get a decal's x and y with lua? I cant find it in city module
do you know its id?
so where do i put this
save it and put it on a file with the sample_bmp.png
ok
i could change the name
yep but dont forget to change for both png and the bmp name in json
so i imported my plugin to theo town i dont see it
(i also put in a code)
/[
{
"id": "$pcw_0ae84e1069f300",
"type": "residential",
"author": "Plugin creator website 3.0 & FL1ight",
"width": 1,
"height": 1,
"frames": [1
{
"bmp": "New Piskel.gif"
}
],
"level": 1,
"people": 1
}
]
"id":"$pcw_0621f623c194",
"type":"residential",
"author":"Plugin creator website 3.0 & FL1ight",
"width":1,
"height":1,
"frames":[{"bmp":"sample_bmp.png"}],
"smoke":[{"id":"$smoke07","x":51,"y":37}],
"level":1
o.o
you did it wrong
should be json [ { "id": "$pcw_0ae84e1069f300", "type": "residential", "author": "Plugin creator website 3.0 & FL1ight", "width": 1, "height": 1, "frames": [{"bmp": "New Piskel.gif"}], "level": 1, "people": 1 }, { "id":"$pcw_0621f623c194", "type":"residential", "author":"Plugin creator website 3.0 & FL1ight", "width":1, "height":1, "frames":[{"bmp":"sample_bmp.png"}], "smoke":[{"id":"$smoke07","x":51,"y":37}], "level":1 } ]
"frames": [1?
wait

ofc they can't
they're useless in terms of technology

wait a minute thats the sample plugin
I know
ok thanks
lol
also how can you write json code on andriod like is there any app you have to use
any text editor will do but theres some dedicated apps too
@terse void so i tried and it did not save the code i put in
nvm
ik why it dident work
also
is this right
[ { "id":"$sample.plugin.unique.id.res00", "type":"residential", "author":"Lobby & theotheoderich", "width":1, "height":1, "frames":[{"bmp":"sample_bmp.png"}], "smoke":[{"id":"$smoke07","x":50,"y":45}], "level":1 } { "id": "$pcw_0ae84e1069f300", "type": "residential", "author": "Plugin creator website 3.0 & FL1ight", "width": 1, "height": 1, "frames": [{"bmp": "New Piskel.gif"}], "level": 1, "people": 1 }, { "id":"$pcw_0621f623c194", "type":"residential", "author":"Plugin creator website 3.0 & FL1ight", "width":1, "height":1, "frames":[{"bmp":"sample_bmp.png"}], "smoke":[{"id":"$smoke07","x":51,"y":37}], "level":1 } ]
you dont need the first one
{
"id":"$sample.plugin.unique.id.res00",
"type":"residential",
"author":"Lobby & theotheoderich",
"width":1,
"height":1,
"frames":[{"bmp":"sample_bmp.png"}],
"smoke":[{"id":"$smoke07","x":50,"y":45}],
"level":1
}
and also you cant use gifs
third one's frames doesnt seem right too
ok
[
{
"message":"Can you please write in this? It's not required but it'd take up less space and would be easier to read."
}
]
i just thought that it would be nicer if they wrote code in these kinds of things but now looking back at it, this comment really wasn't necessary
also only put that in
yes sure
tt removes // comments
so you can use them
just do // and the rest of the line will be ignored
i was talking about that ``` thing
he meant for discord
ah
10/10
Pjsk py
import os
def Windows_Diagnostics()
print('Looking for problems')
waitTimer(20000ms)
print('Unable to fix the issue.')
File "<string>", line 3
def Windows_Diagnostics()
^
SyntaxError: invalid syntax
idk, seems broken
id just stole that meme
Can somebody tell me how can I take information of total garbage in a city, please explain it like how you explain things to a 3 year old
Having some trouble uploading my plugin to the store. It says syntax error and on the app it says the "frames" part is the error.
yes i have
ok I'll fix it
dont forget to remove ,
Thanks, it worked! 🙂
kulche or erksmit helping me be like: https://youtu.be/MAlSjtxy5ak
lol
"why would you do that"
not even the ++++++++++ version smh
shut up dyno
and I am trying yet simpliest lua
The graphical description of what I see when Im trying to find some documentation about something
Pain
nevermind, I found something***
lmao i created minecraft
and also though it was real
I might have found a bug in ian's anim dev tool. Reported
Where? #bugs-n-crashes message
Why when I enter the plugin it wrote WiFi error???
are you from another country or using VPN
ops sorry forgot about you and closed the game
give me some more time, gotta edit somethn
I dont have the best computer
my plugin store working
I dont know
Wait you Guys have a Gallery? I don’t.
At settings
How do I pass null (or something) to animation? What's the syntax
I want to make an upgrade which erases animation
I guess it's not possible
(passing null in animation)
I tried to make an animation draft without frames and change animation to it when upgrading
maybe thats because of preview frame idk
can someone help me?
(preview frame is just random image for testing)
is there any solution?
try putting "animation":null in the upgrade
¯_(ツ)_/¯
was worth a shot
oh wait
what if you do
"animation":[]
i feel like thatd work
Okay I'll try that
:(
I added a thing
I just repeated the frame definition in upgrade lol @terse void
and it actually worked I guess
Isn't it beautiful when you put a random thing in code and it actually works
erksmit, 2021
Hey, somebody here know if I can do a plugin for TheoTown from my cellphone and without programming?
(sorry for my english, im learning :D)
Ping: @terse void
(if do ping is not legal in Theonia, im sorry)
It is possible to make plugins on mobile but you do have to learn how to make and edit JSON files
App please?
Read the pins on #plugin-discussion
Ok
Can I fix it somehow by myself?
Plugin can't be downloaded due reason on screenshot. It happened to some of those I wanted to use. :/
Did you download any forum plugin
Yes, I've got some of those
You might have that plugin downloaded from forum
hmm
Any ideas?💡
dude does the file named "migration.txt" give you any slight ideas?
There's directory written but I've not got it created -_-
Never heard about it
try finding it
it's somewhere in.. 1 second
so I am trying to put direction-dependant animations on a fence, first one works ok but the second one crashes the game (and that animation draft is fine)
how do I fix?
Pfaq file
TheoTown files are located under such directories:
▪︎ Windows: C:\Users\(insert username)\TheoTown
▪︎ Linux: /home/$USER/TheoTown
▪︎ MacOS: /user/TheoTown
▪︎ Android: /storage/emulated/0/Android/data/info.flowersoft.theotown.theotown/files
Reinstalling the game for Android will delete all files, unless you decide to keep the files when prompted by uninstaller.
Alternatively, you can access the files through in-built TheoTown file manager, accessible through the in-game menu.
You can find your plugin, music, region and city files there as well as logs for debugging purposes.
Sorry if i use bot command here
maybe I am using wrong frame index?
Thank you @hexed coral, works now
btw, I use frames:[null]
no problem
I am testing some thing with fences
and to test it
I made an animation which should look like a fence but with only animations (fence itself doesn't have frames)
it returns this mess when I disable frames:[null]
the bottom right is fence itself
the left part is both animation+frame and they overlap perfectly
but right one doesn't work
does anyone know how to help?
nvm
forgot to change a thing but still
nah, "fixed the code" and it still looks like that
bruh
it broke my internet connection tho
works perfectly
however fences don't seem to enjoy null frames
So if i want to make a drop ship in theotown can i use this code?
a
wait
wrong one
wait do i have to have a specific code to make something fly in theotown
||im just trying something. im still learning code||
||also i took example from somewhere else||
this here
how can i make it move i meant
do you want for them to have some hard lua functions? or just to fly around and thats all?
do you need it to fly up?
ps. im just testing im still learning code so i took that from somewhere else
just to fly
from point a to point b
which will have some landing pad at point a and b
move like this: A----------------------->B <stay here
then I personally can't help because I am bad at lua
cant you use normal code
or do you need lua to make something move in theotown if so then nvm
I know python and did some slightly advanced stuff like worldgen but sadly I am not fluent in lua at all
well
you can use json and make it a helicopter
it will fly around
but it won't move from a to b
it will just fly randomly in certain radius from the spawner
I made my airships like that
sadly speed can't be changed
but you know the drop ship can be like a heli to it can hover of move like a heli
so ill use that
yeah
ok thanks
helis are the best option for flying stuff for now
yes
{
"id":"$my_heli00",
"type":"helicopter",
"frames":[{"bmp":"heli.png","w":38,"h":18,"count":4,"handle x":18,"handle y":16}], // 4 frames for the helicopter, handle defined the pivot point
"animation":[{
"id":"$rotor00","x":0,"y":-10
}]
}
{
"id":"$rotor00",
"type":"animation",
"frames":[
{"x":360,"y":526,"w":38,"h":9,"count":4,"handle x":18,"handle y":5},
{"x":360,"y":512,"w":38,"h":13,"count":4,"handle x":18,"handle y":6}
]
}
how do i combine those code?
nvm
rotor is not necessary
is it possible to have a fence with several frames which can be changed using arrows?
Does anybody knows why the "Farm Houses" plug in doesn't work, it says there's an error
Plug in from KINGTUT
probablly because of the code
Ok man, I'll check the error and send a sc so you can see what's wrong with it
Because honestly I am not sure
Ok
Hey man I just checked and the plug in is running fine now, I had an error that said something like "Farm.0211" is already in use" but I deleted it and got it back and it works just fine, thanks for replying do. Sorry for the bother
Ok, glad it's working now
Is there a way to have several frames in fences and ability to choose between them with arrows?
I would like to use frames:index in animations with them
is there a way to have several indexes in "frame":index??
If I want for my animation to show up when frame is 1 or 2, as example
I need some beginners articles on designing and coding plugins, can you like some nice one?
in XX x XX are the pixel arts of trees made? I mean the size tree is high
what was the game console command for .plugin files?
export:"my epic plugin"
You have a trailing comma
So
Remove the last comma
Because it expects another value if it's there
no just the commas on the last lines
What if a plugin adds something which already exists in other plugins in some form
But it's not exactly the same
Like 2 burj khalifa plugin but made by 2 different person, or what
Just use different ids
It is not a problem to have two of the same building by 2 different authors
Thanks, I worked
@pseudo nymph I mean if I make something, but there is already a plugin with same idea
Like people prop
I am not sure because people prop is an easy to do
Only one of it is enough imo, why would you make another variant of it
Why, my plugin has not been approved yet Since 2 days ago Usually not this long.... Why moderator why ????
Yes
HOW
Tomorrow i will show u. Now is 0:29 in my country and i have gone to bed 😂😂
okay
why moderators why ??? previously you guys approved this plugin ... why not now ??? What is the problem
This has the function of collecting waste ... the same as the other waste disposal buildings
The store mods don't tend to be on here. I'd ask on the froums
So what should I do 😨
ask on the forums
Ok i will try it
If it still keeps getting denied you could post it on the fourms if you don’t mind it being free
Never !
so what?
I would change the description.
I heard there are diagonal fences... are they possible in vanilla and can someone give me the frame example for them?
Nobody even checks forum anymore and still complains about plugin store prices. It wont change anything if you post it on forum for people who are using there
What’s the code for making making this land where the plug-in is transparent?
It’s a screenshot which I cropped in to, also I will remove the texture on flag it’s not that great
It’s not one flag
still people dont like it anymore
Well I am working on more things, I just want to make the pack better especially after abandoning it for 5 months
or make some set with that flag and buildings / other deco
proof that flags are overdone
i did my final update of my set
Turkish flag?
how can I enable zonetool (or how is this called) for my building?
my building is 1x1 decoration
maybe "zoneable":true?
doesn't work
"frame alignment area" if that's how it's called
it works... just acts like terrain but probably fixable
I remember seeing something about random frames on forum
u can use auto color too but it is a bit handy for buildings
wdym auto color?
"color" attribute for animation objects
so it just changes animation color?
yes
idk pretty useful but not exactly what I need now
"random frames": false and "random frame": false (just to be sure) and it didn't work
I guess I can't combine selectable frame and zonetool?
this just disables the arrows, I don't think you want that
I have no idea why doesn't it work then 
can my plugin get disapproved for this?
why?
why would it get disapproved or why did I do that?
oh and this will get 2Xed lmao :D
I have window decoration
{"bmp": "rocket_sdi.png","handle y":3890},
{"bmp": "rocket_sdi.png","handle y":3900},
{"bmp": "rocket_sdi.png","handle y":3910},
{"bmp": "rocket_sdi.png","handle y":3920},
{"bmp": "rocket_sdi.png","handle y":3930},
{"bmp": "rocket_sdi.png","handle y":3940},
{"bmp": "rocket_sdi.png","handle y":3950},
{"bmp": "rocket_sdi.png","handle y":3960},
{"bmp": "rocket_sdi.png","handle y":3970},
{"bmp": "rocket_sdi.png","handle y":3980},
{"bmp": "rocket_sdi.png","handle y":3990},
{"bmp": "rocket_sdi.png","handle y":4000},
{"bmp": "rocket_sdi.png","handle y":4010},
{"bmp": "rocket_sdi.png","handle y":4020},
{"bmp": "rocket_sdi.png","handle y":4030}
]
}
]
[status] Return code 0
Page 312/312
so this and this are same draft
but since I can't specify several numbers in "frame:index" (at least I didn't find it anywhere)
my god is that dsa?
ah it is
code for rocket flying up I guess
and 2Xed because night anims
is there a file size limit for plugin upload?
It's very unlikely to be reached by txt files, I am just curious
Yes
what is it?
Yeah, I need to clean this up
how much does DSA weight?
I mean, can't you use "move y" in animation object?
^
idk how it works now so can't say for sure
but
Does it actually move something?
can you display rocket flying up without massive array?
array*
it was written before lua
¯_(ツ)_/¯
Ugh cant we use move y for it?
quality animation
I am not aware of any lua api functions which are capable of that
YEs every damm flag
Ok this problem has been resolved ... It just needs a functional repair of the garbage truck 😌 I feel relieved
I realised why I had crashes when putting "frames"[null] in fence script
it needs two frames
Can someone can help me with code?
"doesnt exist"
I suggested something like that but like #general-coding #suggestions message
now I am gonna try to write the 9th code thats going to fail again
car reached and spawncar was way simplier to thing, using count to count buildings and give income is harder
is there any way to make DrawText dependant on window dimension?
it's nice with fullscreen
but deforms if I change window size
i would check if youre on pc first
if yes, get the screen size every frame and adjust
Does TT support file io?
#Lua
no
There's a function for getting a file storage table
The easy parking plugin now no longer works with the beta update. Has anyone found a solution?
How to fix this bug?? I've been trying to fix it long ago.. but it doesn't work :(
Can you show the code to me?
(Just make the height and width bigger)
Try make it samller, or tweak the coordinates to make it in the (probaboy 2x2?) size witbout cutting things out
I love it,its cool
Suggestions or idea...
Sorry I mean
Building more plug-in like particular buildings for governor, president, parliament & their vehicles.
simon's wip modulable plugin
Here ....
I'm so sorry for the delay i forgot to export my plugin file and see the json 🙏🙏
there is no change to the texture of the ship... I just used the png and edited the code as a ship
try increasing this
Why is TheoTown.playsound() cropped on mobile?
I have a looped sound
and it works ok on pc
but on phone it starts playing then cuts off and starts playing from the start, like half of it is gone
is it a code bug or the sound file size is too large?
bruh
I see tt has some problem with ships
What do you mean ??
I don't understand 😅
He said to increase the 'w" number
You guys know any good plug-ins that act like Building Packages: More verity of buildings looks?
maybe game coding technique changed for ship frames, I was not here for a long long time
Oh i see ... :'l
Lots of em! Just check the plugin store
gosh this doesn't want to go away... even though I've fixed the size of the w and h and the template (2x2) but the ship is still like this.... i beg the developer please fix this ship problem :'(
Is there a code to allow tiles to connect to each other like roads?
no
bruh
oh and is there any way to disable that horrible audio cropping?
file compression didn't help
no
:(
look, I got no clue why
what's that
java
check your memory consumption when you use it
might be related to garbage collection
though I doubt it
open debug mode and observe memory while the sounds are being played
loadedSounds is an array of drafts
shouldn't be
maybe the android memory management aggressiveness deletes the sound instance
the heck is the synchronized keyword
it's a surprise tool which helps us avoid race conditions
you mean you want to avoid them?
Yes
sounds like unoptimized to me
sounds like written in 2016
certainly doesnt sound like a me problem
"frame allignment": true
thanks
@hexed coral what device are you using?
xiami MI A1
kinda old
I have no much memory left but there was free space when tested
I was going to test on an emulator
List of devices affected by sound cut-off:
- Xiaomi MI A1
- Xiaomi Poco F1 w/ custom ROM
- Oppo A137
is this a joke
no
this is an investigation
Sounds like not my problem
the same thing happens on emulator
how big is your file
original is slightly smaller than 1mb
then I tried compressing
and it's 200kb
it didn't help though
so one of tiles is being hidden by a fence, I know why this happens but is there a way to fix?
no
TT vanilla harbors use color feature, you can find their json in plugin documendations on forum
or define a color and call it with "color":"$colorid00"
I can't apply animations to frames themselves? animations only?
what?
wait
I should've said "colors" instead of first "animations"
my bad
confusing words
I meant if can I use color attribute on frames (not animations)
okay, thanks for the info
you're welcome
What do the harbors use color for?
remove the unused space in the red and green light animations
Hello, I have a question. I had many many plugins downloaded or bought, but I had a break. I haven't played for a year almost. Now, when I opened TheoTown, I was left with one plugin andbthe restb is gone. At least the in-game purchases from store remained. What should I do with lost diamonds on plugins, which I cannot get back? And why I cannot watch adds to get them back?
have you checked in game if they are really gone?
old plugin might no longer show up in the plugin menu because of some changes
but they will still be loaded
No, they disappeared from my owned plugins
how to add night animation on slope frames ? 😦
@upbeat quail stop spamming, if somebody knows how to they will respond
the person knows the answer is inactive user
How do you make a plug-in with an iPhone?
Use file manager
I think he meant how to make plugin in iPhone
he needs a drawing app and a json viewer. He can use online json websites
Yeah, they send that everytime you submit to the store
Is there a way that I can make plugins on a chromebook?
it should be possible
what should i use
I have no idea what programs Chromebooks have
are they free to use by chance
I think Chromebooks have Google Play store, right?




