#plugin-support

1 messages ยท Page 8 of 1

steel verge
#

Change

"on click fun":[
      {
        "actions":[
          {"action":{"type":"call","id":"$lobotomyscript00","code":"lobotomy","frame":42}}
        ]
      }
    ]

to

"on click fun":{
        "actions":[
          {"type":"call","id":"$lobotomyscript00","code":"lobotomy","frame":42}
        ]
    }
#

It will call
function script:lobotomy(x, y, lvl, frame)

for lua script defined in $lobotomyscript00

earnest pendant
#

ok now i have another problem

#

lua gives an error when i try to get/set a frame of a building (the building object itself is valid)

#
org.luaj.vm2.LuaError: libs/Building.lua:-1 attempt to index ? (a nil value) with key 'isValid'
stack traceback:
    libs/Building.lua: in function 'getFrame'
    plugins/lobotomy/lobotomy.lua:4: in function <plugins/lobotomy/lobotomy.lua:1>
    [Java]: in ?
org.luaj.vm2.LuaError: libs/Building.lua:-1 attempt to index ? (a nil value) with key 'isValid'
stack traceback:
    libs/Building.lua: in function 'getFrame'
    plugins/lobotomy/lobotomy.lua:4: in function <plugins/lobotomy/lobotomy.lua:1>
    [Java]: in ?
    at org.luaj.vm2.LuaValue.error(LuaValue.java:1039)
    at org.luaj.vm2.LuaValue.indexerror(LuaValue.java:3391)
    at org.luaj.vm2.LuaValue.gettable(LuaValue.java:3299)
    at org.luaj.vm2.LuaValue.get(LuaValue.java:1134)
    at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:341)
    at org.luaj.vm2.LuaClosure.onInvoke(LuaClosure.java:244)
    at org.luaj.vm2.LuaClosure.invoke(LuaClosure.java:237)
    at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:438)
    at org.luaj.vm2.LuaClosure.onInvoke(LuaClosure.java:244)
    at org.luaj.vm2.LuaClosure.invoke(LuaClosure.java:237)
    at info.flowersoft.theotown.scripting.MethodCluster.invoke(MethodCluster.java:273)
    at info.flowersoft.theotown.scripting.MethodCluster.invoke(MethodCluster.java:348)
    ...
steel verge
#

can I see the code

earnest pendant
#
function script:lobotomy(x, y, lvl, f)
    local buidling = Tile.getBuilding(x, y)

    Debug.toast(buidling.getFrame())

    local case = math.random(3)
    local sound = "lobotomy.sound." .. case  

    buidling.setFrame(case)
    TheoTown.playSound(sound)

    local currentTime = os.time()
    repeat until os.time() > currentTime + 2

    buidling.setFrame(0)
    Debug.toast("test1")
end
#

ahhh this repeat until part lags as hell

steel verge
#

shouldn't it be

#

buidling:getFrame() instead

earnest pendant
#

is there some adequate way to sleep in lua?

steel verge
#

depends what you want to do

#

if you want to reset it back

#

you can just use Runtime.postpone

earnest pendant
#

oh gosh

#

thanks

#

lua is so painful

steel verge
#

sleeping in this case

#

sleeps the render thread

earnest pendant
steel verge
#

can I see the modified code

earnest pendant
#
function script:lobotomy(x, y, lvl, f)
    local buidling = Tile.getBuilding(x, y)

    local case = math.random(3)
    local sound = "lobotomy.sound." .. case  

    buidling:setFrame(case)
    TheoTown.playSound(sound)

    -- local currentTime = os.time()
    -- repeat until os.time() > currentTime + 2

    -- buidling:setFrame(0)
    Debug.toast("test1")
end
#

json is practically the same as before

hollow flax
#

actually, the postpone function is not a real "sleep".

steel verge
#

as in

#

1st frame is 0

earnest pendant
#

ah it was because of repeat until

#

with that sht commented out it works

hollow flax
earnest pendant
low shoal
#

lmaooo

eternal lake
#

wtf

steel verge
low shoal
#

Jaja, i still need help with mine ๐Ÿฅบ

steel verge
#

ask danek

low shoal
#

Dank please help me smile

raw ermine
#

Anyone know how to add education influence and student count to plugins?

low shoal
#

@raw ermine

raw ermine
#

Thank you!

olive kernel
#

How do I make a building appear in a category

low shoal
#

usually its like $cat_(name) for all vanilla categories
"$cat_decoration", "$cat_police"

olive kernel
#

Can all types of buildings be added in a category

low shoal
#

you can even make your own category

olive kernel
#

Okay

#

One last question

#

How do I make a local plugin appear on the plugins tab

low shoal
#

manifest file

olive kernel
#

Is it still the same

low shoal
#

"category" : "your category id"

#

in your building code

grand fog
#

To ban cars from a road, what code should I add to my json?

signal magnet
#

What plugin is suitable to use to create housing?

tranquil ocean
#

An editor to collaborate with a plugin in progress, to make a sprite and that's it?

brazen tendon
#

How do I edit the JSON file for a plugin that I got from the forum since whenever I import it there would be an error message in which when I edit it, it never saves or I'm probably doing it wrong or I don't know what I'm doing.

cedar stone
brazen tendon
cedar stone
#

Check the forum post if there is a link to download the category separately

brazen tendon
#

oh

#

ok ty

hazy mesa
#

Guys, I need help with a plugin, I've been searching the forum for hours but I haven't found anything similar to what I want to do.
Let's say we have images A and B, A is the base of the building, B is the update, well, when I update A to B, image B is placed on top of A, but I want only image B and image A to be seen be hidden. how do i do it?

eternal lake
#

then what's the point of image b having parts that won't be shown?

#

just delete those parts of image b that intersect with image a

low shoal
#

oh i get it

#

you want to switch the frame

hazy mesa
#

the plugin is a tres growing, but, when I upgrade the building, the second texture overlaped the first

eternal lake
#

ah you want to hide it

#

then probably use animations

#

but I can't say much more without exact examples

low shoal
#

youre making a type tree with upgrades? ๐Ÿค”

#

interesting

eternal lake
#

they never stated it's a type tree

low shoal
#

fair

eternal lake
#

depending on the implementation you'd ideally want to have an upgrade for each growth stage that would have null frames and a single animation

#

those upgrades would of course have to be "only one"

hazy mesa
#

These are the frames, but, I dont know how to do the animation

eternal lake
#

see a tutorial on animations then

#

there are like 3 of them

hazy mesa
#

I cant find a tutorial of animations in the forum

prime quail
#

im sick of this

#

nvm

#

it loads now

#

but for some reason it uses textures from the base game

#

instead of the dirtpath.png

#

ah nvm

#

it doesnt use png

#

finally it works

#

so cool

earnest pendant
#

I clearly have roads connected to this big town hall building but idk why the no road sign won't go away any one know why or what I can do ?

lavish wraith
#

Looking to partner with a plugin creator on a epic project dm me if you want to

earnest pendant
earnest pendant
#

NVM I destroyed the road and rebuilt it and it's fixed now , just a small glitch maybe

frigid arch
#

is it possible to use animations for slope texture/decals?

eternal lake
#

decal is just ground so it doesn't support animations of any kind

frigid arch
#

I see

hollow flax
#

idk what you want to do, but

mystic python
#

How to get mew's advanced roads plugin?

#

I've been searching for in for days

olive kernel
#

Search "advanced road" in the plugin store

#

No plural

mystic python
#

Is the forum or the in-game store?

#

And I am an Android user

#

i only found this

eternal lake
#

and what is the first plugin

mystic python
#

Ok thanks sooo much

soft tide
#

how do i make a ground transparent?

vague scarab
soft tide
#

aw, do you have a tutorial for that Plugin Creator App?

vague scarab
#

No, unfortunately,but internet exist

low shoal
boreal forge
#

Idk what's wrong here

#

This is pissing me off

mortal owl
boreal forge
#

I guess I fixed it sort of

#

At least I can open the game

trail furnace
#

Uh

boreal forge
trail furnace
boreal forge
#

I don't think I'll need ilthis specific one anyways but I will need two other textures so ima gonna have to fix this

trail furnace
#

Goodluck i guess

boreal forge
vague scarab
trail furnace
#

Yes i have

boreal forge
trail furnace
#

Send json

#

Dude is playing wt smh

boreal forge
#

Why is this happening

boreal forge
#

But why the template is supposed to do that

hollow flax
#

did you know the space and underscore are different?

boreal forge
hollow flax
#

actually, that template is only for edge frames. so, you need to create your border frames, or just use the existing frames with:

{
  "border frames": [
    {"bmp": "fg1.png", "w":32, "count": 6},
    {"bmp": "fg1.png", "w":32, "count": 6},
    {"bmp": "fg1.png", "w":32, "count": 6}
  ]
}```
boreal forge
#

๐Ÿ˜ซ

eternal lake
#

of course it isn't, your objects aren't closed properly

boreal forge
#

I don't know ๐Ÿ˜ญ

eternal lake
#

don't know what

boreal forge
#

Idk what to do I'm not a nerd ๐Ÿ˜ฎโ€๐Ÿ’จ

eternal lake
#

it's actually arrays and not objects

#

but yeah

#

close off your brackets properly

boreal forge
#

Uh

eternal lake
#

your brackets don't match

#

if you open it, you also have to close it at some point

boreal forge
#

I should do this? Or

eternal lake
#

now you're missing a comma

boreal forge
#

Bruh

#

You mean after the bracket or after the 0

Because I was told to not have a coma after that 0

eternal lake
#

after the bracket

#

commas in json work in the same way as in english

#

you go a, b, c and not a, b, c,

boreal forge
#

Makes sense I guess

#

Well the game loads but this is what the texture is ๐Ÿ˜ญ

low shoal
#

lol random frames

eternal lake
#

you sure your png has 6 frames of 32 width

boreal forge
#

Not at all

boreal forge
#

Yipeeee

#

Thx for all teh help

tall rover
#

the european style building dont work

#

no one goes to them

eternal lake
#

the free european expansion?

#

they are level 2, they need schools and parks for people to move in

tall rover
#

oh

severe elm
#

hi i made a plugin for test it's a residential plugin and it's my first time can u guys tell me how i can change it's space for habitants

cedar stone
severe elm
#

THX SO MUCH

#

can u tell me how i can make income ???

#

i mean like "habitants" how i need to write it

cedar stone
#

You should read these tutorials if you don't know how to code Json

severe elm
#

thx

severe elm
#

i cant find how to enable income ๐Ÿ˜ข

grand spruce
#

You have to be a trusted plugin creator

severe elm
#

i don't want to release it I'll just make it for myself

grand spruce
#

You still can't

severe elm
#

whyyy

grand spruce
#

Because?

wide rock
#

Really why

grand spruce
#

Because you have to be trusted lmao

#

Pretty simple

wide rock
#

But we want to know why it should work this way

grand spruce
#

English mate

#

Try again

wide rock
#

Ah my apologies

severe elm
#

more workers = more income right?

#

what the

#

why bot does that

wide rock
wide rock
severe elm
#

k

severe elm
grand spruce
#

Again pretty simple

severe elm
#

so i can get a op plugin from trusted creators???

grand spruce
#

No?

severe elm
#

k

grand spruce
#

If they make OP stuff then they lose their trusted status

#

Once again pretty simple

grave sonnet
#

lol

severe elm
#

btw there is a religion plugin that gives you 10 k

#

and can built infinity

grand spruce
#

I mean at a certian point the game just determines you've gone to the OP status and disables your achievements

#

And futhermore at that point you might as well play sandbox lol

severe elm
#

really???

#

i have like 50 of them lol

wide rock
severe elm
#

like u can make a residential building with 1 million habitants

grand spruce
#

Because not everything needs to be made behind a wall that puts you in direct contact with the devs?

grand spruce
severe elm
#

yo mayor

#

if i make a residential building with 1 million habitants is that disables my achievements???

grand spruce
severe elm
#

k thx

uncut steeple
#

Does anyone know if there is a line of code so the plugin does not interfere with transport?

#

and I would like to put more than one smoke in the same plugin, but when I copy the line it says that the "smoke" already exists.

uncut steeple
#

[
{
"id":"cocafactory",
"type":"industrial",
"width":16,
"height":16,
"level":3,
"frames":[{"bmp":"cocafactory.png"}],
"title":"Coca Cola Factory",
"text":"A coca cola and fanta factory",
"influence noise": -1,
"influence pollution":-1,
"influence radioactive":-1,
"smoke":[{"id":"$smoke05","x":347,"y":-16}],
"price":2,
"monthly price":1,
"author":"adrianbsk",
"draw ground":true,
"needs road": false,
"rotation aware":false
}
]

#

the error being reported is 50% transport

vague scarab
#

Screenshot the error message

uncut steeple
#

So, for me the error doesn't appear, but in the comments in the plugin store several people are talking about transport error

#

The number of workers is at 50k too, I think I should decrease it to 20k, which is the highest number allowed

vague scarab
#

Hmm,your code that provided doesn't have any transport relating code, it's possibly a misleading comment.

low shoal
#

The building doesnt recognise the transport thats provided. It remains at 50%

uncut steeple
low shoal
#

but i dong know if thats actually the problem

eternal lake
#

it probably is

glass karma
#

whats the type name for management?

low shoal
#

does type:management not work?

glass karma
#

theotown doesnt seem to recognise it

low shoal
#

lemme see then

glass karma
#

"category: "management"

#

is there a " too much?

low shoal
low shoal
eternal lake
#

categories and types are different things

glass karma
#

oh

#

is type a sub section of category?

#

forget it, imma just not include it

#

thank you ๐Ÿ™‚

low shoal
#

"$cat_award" for example

wide rock
#

Why cat

grave sonnet
#

that's qhat its supposed to be

wide rock
vague scarab
#

Regarding to this #information message

I planned to make a third party website where i post my own plugin,so should i also provide the option for both .zip or .plugin to my plugins downloads with the exception of plugins with TPC code in it. (Yes,i am Trusted plugin creator now.)

low shoal
#

Probably

#

Were not supposed to share our TPC code files without encrypting it so

mortal owl
#

Please help me find the bland part so i can fix it

olive kernel
#

I guess the real building had a some sort of railing

#

And also the building with the beige roof

mortal owl
#

Okay thanks

low shoal
tulip rockBOT
lavish wraith
lavish wraith
low shoal
#

and please stop pinging me

#

theres others here that can help

lavish wraith
#

How does that look

#

Its my first plugin

eternal lake
#

horrid

#

please read a tutorial

calm island
deep dawn
#

Just make it isometric

trail furnace
#

definetly faraway from being nice

lavish wraith
deep dawn
#

I will teach you

lavish wraith
#

Okay great here or dms

deep dawn
lavish wraith
#

Okay

deep dawn
#

Dm

prime quail
#

whats the difference between uploading plugin as a zip

#

and as a .plugin file

#

and how do i convert zip to .plugin

low shoal
#

plugin store says to upload a zip though

#

plugin files are encrpted so typically youd use it if you dont want people to access the plugin components

#

plugin store encypts the zip anyway so its not needed

prime quail
#

oh i see

steel verge
#

Plugin store accepts both, .plugin file encrypts the contents protecting it from modifications from other people and access to its contents

lavish wraith
#

How to do a in-gane preview?

cedar stone
lavish wraith
trail furnace
#

๐Ÿคฆ

grand spruce
#

@lavish wraith take a screenshot of the plugin lmao not your logo

trail furnace
grand spruce
#

For his sake I hope not

olive kernel
#

I think it is

wicked frigate
low shoal
# lavish wraith

havent i already told you to go through the tutorials and resources> Some are pinned here the rest are on the forum

calm island
#

Look for tutorials Mart

white pike
indigo sierra
#

But the game is isometric

lone heron
#

Hi everyone, where the Meow's road plugin? Cant find it in the store

wicked frigate
lone heron
#

Found

#

And i need help again

#

How should I markup here?

#

With advanced road plugin

uncut hollow
#

It's kinda annoying for me ๐Ÿ™‚

low shoal
#

Yours?

uncut hollow
#

The ship was cut a little

low shoal
#

Oh probably caude it doesnt fit the base

uncut hollow
#

I see

lone heron
#

Titanic

indigo sierra
#

Is there any way for my road layout to have diagonal support?

#

I mean, that the construction tool supports diagonal mode.

indigo sierra
#

okay what

spiral cove
low shoal
low shoal
# spiral cove

can i see a screenshot of your uploading screen where you put in your file

spiral cove
low shoal
#

are you only uploading an image?

spiral cove
#

Yes

low shoal
#

thats not how it works, you need a json

#

Ptag pca

tulip rockBOT
spiral cove
#

Oh

low shoal
#

you can make one here. add an id, type and frame. along with height and width with draw ground true. download the zip it offers

spiral cove
#

Okay

#

Where do i put the id?

low shoal
#

it will open a small tab at the bottom

spiral cove
#

Oh thanks

#

This is width 3 right?

spiral cove
#

Yay it works thank you

spiral cove
sturdy mica
low shoal
vague scarab
# spiral cove Umm

Extract the zip.
Then,make sure these files are in the folder:

  • Your plugin json
  • your plugin frames
  • your plugin manifest
low shoal
#

extracting isnt necessary

vague scarab
#

Well it varies from person to person.

spiral cove
#

I think i imported the wrong file

#

And can i test it before it's aproved?

low shoal
#

yes

#

youre supposed to

low shoal
#

move the image to the same folder

spiral cove
#

Now it says that it's missing the manifest file

low shoal
#

Ptag pca

tulip rockBOT
low shoal
#

and put it in the same folder

spiral cove
#

Okay

#

Can i import my plugin?

low shoal
spiral cove
#

Umm

#

But how

#

When i try to load the .json file nothing happens

low shoal
#

download the manifest

#

it should be getting downloaded

rancid tinsel
#

There is Undertale mod?Like statues or smth

spiral cove
#

It's not here

low shoal
#

not local ones

spiral cove
#

So where i can find it

low shoal
spiral cove
#

Okay

low shoal
#

it will only appear there if you have local plugins

#

but if youre finding your house

#

look in manual building

spiral cove
#

Something is off....

#

It suddenly started flying

#

And it generated water

low shoal
# spiral cove

you have space at thye bottom of your image and you forgot drawground true

spiral cove
#

Oh

#

What now

#

Can i change it somehow?

low shoal
#

yes

#

crop the bottom unused pixels on the image

spiral cove
#

But the image is transparent

low shoal
#

if you have pixels on the bottom iit will keep floating

#

just crop the pixels you arent using from the bottom

spiral cove
#

Like that?

#

I will make the plugin again (not the sprite)

#

When you think "it's Perfect nothing can go wrong now." And then you realize you forgot to set width

#

Atleast it's not flying

#

IT'S WORKING

#

Thank you

#

Without you it wouldn't be possible for me to make it work

low shoal
#

youre welcome

#

um glad it works

#

but also some criticism on the graphics if you want some

#

||you need to remove the outlines and also add noise||

spiral cove
#

Noise?

low shoal
spiral cove
#

I don't use pixly ...

low shoal
spiral cove
#

Pixilart

#

But i think i found a website that works

eternal lake
spiral cove
#

My pc broke down

spiral cove
#

It fits more into theotown now

#

But i think i need to make the grass a little bit darker

worn locust
wide rock
wide rock
#

Also would be better with more decorations on the roof

bleak obsidian
#

Why can't I find the modular houses plugin anymore?

tall oar
#

I eated it all

spiral cove
#

And also

#

How to add night animation

eternal lake
#

make sure to learn regular animations first

spiral cove
#

And i have one more question

#

How to make packs

#

Like 12 buildings in one plugin

eternal lake
#

add more objects to your json

#

or multiple jsons, but that's probably inconvienient

spiral cove
#

Can i make it upgradable?

steel verge
#

Not a currently supported feature

spiral cove
#

Oh

#

๐Ÿ˜ฆ

#

Can i script it?

steel verge
#

you can edit it in manually by editing the generated JSON and reading the documentation on forums

spiral cove
#

plugin. (Example: Waterslide upgrade for pool)

This is how an upgrade may look in a plugin:
CODE: SELECT ALL

[{
"id": "$sample.plugin.unique.id.park00",
"type": "park",
"author": "Lobby & theotheoderich",
"width": 1,
"height": 1,
"frames": [{
"bmp": "sample_bmp.png"
}],
"influence park": 40,
"upgrades": [{
"id": "$sample.plugin.unique.id.park01",
"frames": [{
"bmp": "someupgrade_bmp"
}],
"price": 2000,
"monthly price": 20,
"influence park": 20
}]
}]

#

Hmm

#

Looks like it should work

low shoal
#

huh

bright bluff
#

Huh

#

What happenes if I make the "influence park"; to 1000000

eternal lake
#

it will either crash your game when you try to place it because of the calculations or clamp the number to an acceptable value that isn't terribly overpowered

bright bluff
#

Il try it๐Ÿ˜‰๐Ÿ‘

#

It did not crash when I press it it make my big world green I mean green green

low shoal
eternal lake
#

bunny learn to read

bright bluff
#

And it crashed

low shoal
#

oh

#

dont make me smile kulche lol

eternal lake
#

lol

bright bluff
#

Is there any plugin that's adds canals

#

Because I can't find one

earnest pendant
#

It looked so goddamn awful without plugins

#

But i forgor the plugin name

lavish wraith
#

I would need that right now

wicked frigate
bright bluff
#

Thanks

lavish wraith
#

How to create a earthquake strength system

vague scarab
lavish wraith
#

Whats that?

vague scarab
lavish wraith
#

K

#

Lua is a programming language designed primarily for use in applications

lavish wraith
vague scarab
wraith ice
#

Where I can found Florence Cathedral????

vague scarab
#

In game plugin store.

olive kernel
#

Really?

#

I thought it's in LSC server

wide rock
#

Not LSC

#

If I'm not wrong

olive kernel
#

Yes but LSC also released his version on his server

low shoal
cedar stone
#

Does anyone recognise this road from any plugin? A plugin f-ed up the vanilla highway texture

young hearth
#

lmao

olive kernel
#

Oof

cedar stone
#

Ok, i finally found the culprit. I had like some plugin which was a single .json. deleted it and now i's fixed

low shoal
#

lol

#

where did that json come from?

cedar stone
#

Probably was some really old plugin that i've downloaded before

#

It just added a few different roads styles with the vanilla roads

grave sonnet
warm portal
#

Ok thanks

red sundial
#

Hey

low shoal
worthy flax
#

is there a plugin to make trees waving

eternal lake
#

they already wave?

worthy flax
#

for me no

#

its like swinging trees

#

is there a plugin for that? or is it in the settings

eternal lake
#

all vanilla trees have wind animations

#

it's up to plugin creators to add wind frames to their trees

worthy flax
#

look at the trees

#

nvm i found it

#

in graphic

thin blade
#

Do anyone know what "chargeable": false on car plugin does in game?

#

Is it related to tollgate?

steel verge
#

correct

thin blade
red sundial
low shoal
red sundial
low shoal
#

You need to download the catefory separately i believe

#

Probably on the forum also by mdk

red sundial
#

I will try here

olive kernel
#

How do I get a local plugin to show up on the plugins tab in the build menu

#

Like the sample plugin

wicked frigate
low shoal
#

It wont show in the plugins tab regardless

#

manifest makes it show up in the local plugins place though

thin blade
inner haven
#

Is it possible that I could upload a .plugin file in the plugin store?

#

I have that .plugin file and I was wondering that is it ok that I could upload it in the store

inner haven
#

Iโ€™m waiting for a reply

mortal owl
#

Yes you can

low shoal
inner haven
#

Oh ok

low shoal
#

Also if you want the zip

#

See our dms, you sent me the zip and I sent you the modified png
Just switch out the old png

inner haven
#

But Iโ€™m just going to upload the thing later

low shoal
#

Why are you trying to upload a .plugin to the store then

#

it doesnt even matter

inner haven
#

zip and plugin file?

low shoal
#

No

#

plugin files are encrypted

inner haven
#

Oh

low shoal
#

But the store decrypts them for the plugin mods

inner haven
#

Oh ok

frigid arch
#

how would you go about adding animations to fences?

#

for instance, I want to use animations to stack fences on top of each other

#

don't know what I'm doing wrong tbh

#

{
"animation":[{"id": "mew_C_Wall","y":4},{"id": "mew_DarkC_Wall","y":4}],
"id": "MewConcretefence_2",
"type": "fence",
"title":1,
"category":"$00cat_MwConcreteDecalWall",
"frames": [{ "bmp":"MwConcreteSheet.png","y":16,"x":97,"w":16,"h":11,"handle x":0,"handle y":-1},{ "bmp":"MwConcreteSheet.png","y":16,"x":113,"w":16,"h":11,"handle x":0,"handle y":-1}
]}

#

{"type": "animation","id": "mew_DarkC_Wall", "frames": [{ "bmp":"MwConcreteSheet.png","y":16,"x":113,"w":16,"h":11,"handle x":0,"handle y":-1}]},
{"type": "animation","id": "mew_C_Wall", "frames": [{ "bmp":"MwConcreteSheet.png","y":16,"x":97,"w":16,"h":11,"handle x":0,"handle y":-1}]},

heavy solstice
#

Guys

Someone know Why

I put positive numbers in water and energy is actually produces it?

And I Using negative numbers for energy and water consumption but getting rejected by theotown?

steel verge
#

What do you mean rejected?

low shoal
#

@heavy solstice

heavy solstice
# steel verge What do you mean rejected?

I created a plugin and I want it to go to the store, but there are conditions

And I use the negative number for consumption
But rejected because negative number for Produce energy and water

And I use the positive numbers and It produces the energy and water

heavy solstice
low shoal
# heavy solstice ???

i pinged so you can see his reply since most inactive members forget to check back

heavy solstice
#

What

vague scarab
tall oar
grand spruce
#

Pmodmenu @dusty wind

tulip rockBOT
steel verge
heavy solstice
worldly compass
#

Hello, does someone know a plug in for an old looking small bridge /it shouldnโ€™t be longer than 3 blocks itโ€™s just for a small ditch

grand spruce
#

@bright crescent please use this channel sorry for the double ping

urban quiver
#

Hello, how feasible is it to create a T, TT and TTT mod for Houses, shops and Factories with 1Million capacity?

urban quiver
low shoal
#

nothing stops you from soing it yourself

#

even if you do manage to accomplish it, its going to disable chievements

urban quiver
#

So achievements are not my priority

low shoal
#

okay have fun

urban quiver
#

In fact I can do it, distribute it on the network Theo no

low shoal
#

you cant upload it on the plugin store but you can use the forum

earnest pendant
#

I'm trying to find the Volkshalle Plugin but it doesn't appear.

#

Wait, a minute.

#

Let me check again.

#

Yup, I can't find it.

grave sonnet
toxic wasp
#

hi can someone helpmemy game wont open even i delete and redownload the game
i think the plugins cause this
how can i repair this

earnest pendant
#

Its ok

earnest pendant
#

@earnest pendant nvm ill send here

#

There

grand spruce
earnest pendant
#

๐Ÿค”

#

Then imma dm

tall oar
#

How would I fix this? This is from the Custom zones plugin on the forum. I'd like to just remove the building from the plugin so I don't have to deal with it. I don't understand where in the json it lists it.

#

What this plugin does is group the standard buildings so they are more organized.

#

It's a zip file thankfully, so I'm able to edit it

low shoal
#

lol

#

fomd the graphic, replace the graphic?

tall oar
#

I can't find the building code in the json in the first place, if I could I would

#

I would either like to delete or fix it

#

It's only an issue with the US urban zone

#

(I hope)

low shoal
#

can you dm me the json so i can have a look?

tall oar
#

Sure

cerulean spruce
#

Hello am tryeing to crate a Custom animation but it doesn't work. Can anyone help me please.

low shoal
cerulean spruce
#

Ok thanks

urban quiver
#

Hi

#

How can I open a .mpf and modify it?

grave sonnet
urban quiver
grave sonnet
#

because

#

idk it's a plugin store file

#

afaik it's also encrpyted

urban quiver
#

I just realized

urban quiver
terse void
#

what are you trying to do

urban quiver
#

Necesito plantillas para crear construcciones

olive kernel
urban quiver
zealous niche
#

Hi who can help me with this error code i am confused

low shoal
steel verge
#

paste it in jsonlint

#

and it'll show the issue

teal lantern
zealous niche
#

Thats basically it i was just testing plugins and stuff

#

Tried to make my own plugin just a lil test and it ended up like this there used to be a "handle x": -2 beside the string

#

I removed it and it gaved that error

low shoal
hollow flax
low shoal
# hollow flax

Ian, what does the string attribute do?
(Also I did not see that comma lol)

hollow flax
#

nothing, maybe he try it, because the child attribute is number.

low shoal
#

Child attribute. Thats so cute.

zealous niche
#

Oh

#

Ah

#

I see

#

Thx sorry for late rep had stuff to do

zealous niche
zealous niche
#

Btw how does one become a verified plugin maker?

zealous niche
#

How to add working animation?

low shoal
low shoal
#

This would help

zealous niche
#

Alr thx also no ive never made night animation

#

That is making my head hurt๐Ÿ’€ i don't understand it

#

Ill learn it later

#

๐Ÿ˜ญ

low shoal
#

pretty much, you define an animation first using type animation
and then you make the actual building/whatever else and you use "animation" to attach it to the building

unborn ether
#

Hello

#

Whats the best plugin for my city!? Please and thank you!!

low shoal
#

theres thousands of plugins

surreal shuttle
#

Guys I need medieval times roads and bridge plugins can y'all help

low shoal
surreal shuttle
#

It doesn't have bridges

#

It has a dirt road but I need stone one for towns and cities

reef raptor
#

Anyone here good at making plugins and can that person contact me if he/she wants to make 1 for me

low shoal
reef raptor
low shoal
#

theres pixel studio among others. pretty much any pixel drawing app

reef raptor
#

Can you explain in private pls just add me

low shoal
#

it isnt hard

#

you only need a pixel drawing app which has layers and transparency

reef raptor
#

I have that but I'd now anything further than download ap open app

wise patrol
#

Hello is there a way to make appear railway plat forms in the user interface train/parts?
While using "type":"railway station" it ens in the road section!
Thx

mortal owl
wise patrol
#

thank you so much it worked!

pseudo moat
#

So I downlode the San Fransisco pack plugin from forum to my files but on samsung android idk how to transport them into theotown (app):/
Can you help pls?

tulip rockBOT
# pseudo moat So I downlode the San Fransisco pack plugin from forum to my files but on samsu...

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.

cedar stone
#

you'll need to move the files to the plugin folder located in the location up here

#

You may want to use a 3rd party file explorer like Zarhciver

pseudo moat
#

Okey fhu a lot of information well thx anyway:3

#

Oh thx it worked

#

Thank you so much:3

cedar stone
#

np

pseudo moat
#

It does not want to work:(

cedar stone
#

the plugin should be there

pseudo moat
#

Oh ok

cedar stone
#

Even though it doesn't appear in the local plugins tab

pseudo moat
#

Oooh wait i chek

#

I dont find it

#

:/

#

I cant find it

cedar stone
#

oh probably there is some stuff in monuments and some residential stuff

#

i forgot the pack wasn't only the birdge

pseudo moat
#

Yes..

#

But I dont find them eather

#

I just imported the zip into the file manager/plugins

#

Nothing...

#

Anyways goodnight i need to get some sleep next day should we keep trying thx for the help!

vale portal
reef raptor
surreal shuttle
#

do you guys know any medieval military plugins

vale portal
vale portal
#

I'll use it after this

reef raptor
#

Your welcome

#

What are u building

vale portal
#

I didn't started yet

#

But I gonna build some buildings from New York a bit

reef raptor
#

O okay what are u gonna build

vale portal
#

I plan to build this building called Millenium Hilton which is located nearly by the WTC

reef raptor
#

Nice I am working on a Spanish residential/commercial building thus is what I got I still need to do a lot with it tho

vale portal
reef raptor
eternal lake
#

make sure it actually fits the standard theotown tile sizes

vale portal
vale portal
eternal lake
#

check the pins

vale portal
eternal lake
reef raptor
#

I sended friend requast

vale portal
reef raptor
#

Alright

past timber
#

How do I put a download file of a plugin into Theotown?

#

Im on a Android btw

grand spruce
#

Use the ingame file manager

past timber
#

Wheres that?

grand spruce
#

when your in the region overview menu you can access it from the gear icon

past timber
#

Oki Dokie

#

Ill try that and report back

#

Hooray it worked! Thanks!

grand spruce
#

Enjoy your plugin!

past timber
#

Because I go into plugins and it doesn't show up

#

How do I put them into the plugin folder in the file manager?

#

Wait disregard, I figured it out

low shoal
#

thats only for store plugins

reef raptor
tall oar
#

Much better

wide rock
vale portal
#

Making in progress

reef raptor
#

Wow

wicked frigate
bleak obsidian
#

does anyone know what's wrong with this plugin?

tidal furnace
#

i have enountered the error during the update of the new modular Airport

#

and if you're seeing behind yeah, the Vistamall is also encountering error

low shoal
vale portal
tidal furnace
vale portal
#

It takes a lot of time to take care of the texture, I need to improve after this

tidal furnace
pallid geyser
#

Is there a downtown zone with only skyscrapers for a plugin?

calm island
#

for a start

grand spruce
#

Correct me if I'm wrong but Dutch hasn't made a zone which is what they were asking for

grand spruce
#

Oh look at that

#

Not many skyscrapers but it's a start

pallid geyser
# calm island Nah he made this

Tell him I said "Shut up and take my diamonds for the plug-in!" ..... If I can save enough. I can hardly resist spending mine on a new area.

tall oar
#

Watching ads:

olive kernel
full light
#

If anyone's using this plugin, can you tell me how to make the curve as the shown by the arrow?

pallid geyser
vale portal
#

Hello, may I know how to make a night animation? I had already finished making my plugin, so I wanna make for the night animation.

tidal furnace
tidal furnace
#

but there's no Comments in the store

tidal furnace
#

Why just why!

low shoal
#

if you dont know sharing the json could help but i assume thats whats wrong

tidal furnace
low shoal
eternal lake
#

isn't that a problem with a store plugin

#

it's not theirs

low shoal
#

is it?

#

ah

dusty ledge
#

Hii, I've been receiving this message while trying to add night animations to a building , but I'm not entirely sure where in my code I've gone wrong, would anybody be able to identify my error?

#

(The code for the night frame)

eternal lake
#

wtf is -0

#

you have to make sure your animations are loaded first

#

putting it all in the same file will make sure it works

dusty ledge
eternal lake
#

then your code isn't formatted properly

#

send the json

dusty ledge
#

Kk

#

[
// This is a sample plugin
// See https://forum.theotown.com/viewtopic.php?t=2965 for more information
{
// Id will be used to identify the building; use a unique string and don't change it afterwards
"id": "$st_pauls",

// We want to define a residential level 1 building
"type": "residential",
"level": 1,

// Optional information about the author(s)
"author": "Geothalste",

// Tile size of the building
"width": 4,
"height": 4,

// Image of the building
"frames": [
  {"bmp": "StPauls.png"}
],

// Optional winter frames will be used in winter
"frames winter":[
  {"bmp": "StPauls_Snow.png"}
],

// Add some lights
"animation":[
  {"id":"$stpaulsnight", "x":0, "y":-0}
],

// Add some smoke
"smoke": [
  {"id": "$smoke07","x": 15,"y": -17}
]

},
]

[
{
"frames": [
{
"bmp": "StPauls_Night.png"
}
],
"id": "$stpaulsnight",
"light": true,
"light switching": true,
"type": "animation"
}
]

#

I'm just using the sample code and changing bits as I go, since I'm trying to improve my coding

eternal lake
#

you can't use more than 1 main array

#

merge the building array and the animation array

#

you're also using the animation before it's defined, so you have to change the order

tidal furnace
low shoal
dusty ledge
eternal lake
#

yes

dusty ledge
#

Kk, done that, now onto a new error message hahaha

eternal lake
#

can't help without your json

dusty ledge
#

Kk, no probs

#

Cheers for setting me in the right direction tho : )

low shoal
#

names must be strings but

eternal lake
#

b-b-buttt-- ๐Ÿค“

low shoal
#

i have no idea what that thing wants, why is there an error between anymation and the end bracket lol

eternal lake
#

no idea

#

that's why I need the json

low shoal
#

is of type (type what xD)

#

type 2 complete dysentry

steel verge
#

probably a missing comma

low shoal
low shoal
dusty ledge
#

[
{
"frames": [
{
"bmp": "StPauls_Night.png"
}
],
"id": "$stpaulsnight",
"light": true,
"light_switching": true,
"type": "animation"
},
{
// This is a sample plugin
// See https://forum.theotown.com/viewtopic.php?t=2965 for more information

// Id will be used to identify the building; use a unique string and don't change it afterwards
"id": "$st_pauls",

// We want to define a residential level 1 building
"type": "residential",
"level": 1,

// Optional information about the author(s)
"author": "Geothalste",

// Tile size of the building
"width": 4,
"height": 4,

// Image of the building
"frames": [
  {"bmp": "StPauls.png"}
],

// Optional winter frames will be used in winter
"frames_winter":[
  {"bmp": "StPauls_Snow.png"}
],

// Add some lights
"animation":[
  {"id":"$stpaulsnight", "x":5, "y":10}
],

// Add some smoke
"smoke": [
  {"id": "$smoke07","x": 15,"y": -17}
]

}
]

#

Got it working now ๐Ÿ˜„

#

Just need to position it

tidal furnace
dusty ledge
#

One extra question tho - is there a way I can stop the night animation showing at daytime?

#

The coloured bits are not part of the main building

eternal lake
#

try replacing the underscores with spaces in your key names

#

I never trust those

dusty ledge
#

No luck with that sadly

steep belfry
#

Got it to work now

#

But i can see there's water

olive kernel
#

"draw ground": true

low shoal
#

^

eternal lake
#

also crop your image

cold light
#

Who can help me with the fences?

eternal lake
#

and what help do you need?

cold light
#

coordinates

eternal lake
#

yeah ok but where is the problem

cold light
#

A long time ago I tried to make them but I forgot everything

#

How do they work?

eternal lake
#

the exact same way coordinates work in math

cold light
#

ok

worthy flax
#

any seawall plugins?

olive kernel
#

Yes

worthy flax
#

i have that anything but that?

olive kernel
#

No

languid compass
#

someone can help me with my building's night lights?

#

the texture appears in the night, with full brightness

#

but it also appears in the day

#

(smiley just for measure)

#

it's my first plugin

#

and my first time dealing with JSON

#

so i'm very lost

#
  {
    "id":"$kaai.yuki.urban.school.nightmode.plugin.unique.id.res00",
    "frames":[ {
           "bmp":"building_night_bmp.png"
        }        
      ],
    "light": true,
    "light_switching": true,
    "type": "animation"
  },

  {
    "id": "$kaai.yuki.urban.school.plugin.unique.id.res00",
    "type": "education",
    "author": "Arcoma",
    "width": 4,
    "height": 4,
    "frames": [
      {
       "bmp": "building_bmp.png"
      }

    ],
    "animation": [
    {
        "id": "$kaai.yuki.urban.school.nightmode.plugin.unique.id.res00", "x": 0, "y": -93
    }
    ],
    "title": "Kaai Yuki Urban School",
    "text": "An urban stylised school, also, Arcoma's first plugin.",
    "influence education low": 90,
    "influence education high": 90,
    "monthly price": 3000,
    "provide aspect education high": 3500,
    "provide aspect education low": 2000,
    "price": 122000,
    "performance": true,
    "water": -10,
    "power": -20
  }
]
#

the code

#

ah

#

forget about it

#

i got it to work

languid compass
eternal lake
#

you're welcome

low shoal
#

looks pretty good

#

but i think the people on thr roof are ghosts

#

they dont have shadows ๐Ÿ˜”

languid compass
#

done

#

i don't wanna make a plugin ever again

low shoal
#

is that 3x3?

languid compass
#

4x4

low shoal
#

bigger than the biggest size i ever made lol

#

props off to you

languid compass
#

how it fits in my city

low shoal
#

it looks sooooo pretty

#

like girllll(?) if i were to guess but just looking at the final result, i woulda thought youve been making plugins for agess ๐Ÿคฉ

vale portal
fossil hearth
undone juniper
#

sir, you used plugins didnt you

low shoal
undone juniper
#

ikr

#

sorry

low shoal
#

its okay

olive kernel
#

What does this mean

#

If I checkmark all, does it make a difference?

#

I didn't click on the what's that button and just checkmark all and click apply

#

I didn't know it's gonna restart the game

grand spruce
#

Well logically

#

How do scripts run if the game is already started

#

Common sense mate

mortal owl
#

Nothing appears when using composition. How to fix this?

hollow flax
mortal owl
#

Each part is 3x3

hollow flax
#

3x7=21 not 18

mortal owl
hollow flax
#

the y also wrong. 0~2, 3~5, 6~8, ...
y = size * (n - 1) [if all size frames are equals]

#

e wait. lol

#

looks like your drafts needs land active

#

but, is the composition buildable? or only no preview?

mortal owl
mortal owl
hollow flax
#

even on the ground?

mortal owl
#

Json of the main plugin

hollow flax
#

have no idea bear_shrug

#

try to create the composition one by one, frame by frame.

mortal owl
#

Okay thanks for the help

#

Still nothing even at 1 frame

wraith ice
#

What is the name of this plugin???? #everyone

eternal lake
#

Ppunish 1111738451063230494

tulip rockBOT
eternal lake
#

just because it doesn't work doesn't mean you should try it

vague scarab
#

I guessed these plugins are that iOS only japanese building pack plugin.

vague scarab
wicked frigate
vague scarab
paper tiger
#

Hi anyone staff on??

grave sonnet
#

what do you need

paper tiger
#

Im need help to download forum mods two theotown pc

#

I put in game folder but not workin

grave sonnet
#

oh

#

did you put it in the plugin folder?

#

Ptag files

tulip rockBOT
# grave sonnet 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.

paper tiger
#

Wait im gonna try

paper tiger
grave sonnet
#

huh

#

are you sure

#

can you show an ss

#

you could make a plugin folder as well in the main folder

grave sonnet
#

eh

#

can you show me an ss of what shows in the folder

paper tiger
#

Yes of course

grave sonnet
#

uh huh

#

you've just installed the game?

paper tiger
#

If is important a has downloaded by steam

paper tiger
grave sonnet
#

ah

#

create a new folder with the name "plugins" ig

paper tiger
#

Like this?

grave sonnet
#

might be case sensitive so all lowercase

paper tiger
#

ok

#

I already put it

grand spruce
grave sonnet
#

ah

#

did i just forget to ask him

grand spruce
#

From what I remember that's where you are

grave sonnet
#

lol

grave sonnet
paper tiger
#

So am I supposed to follow these directories and put the plugin in it?

grave sonnet
#

delete that "plugins" folder in the steam file ocation

#

press windows+r

paper tiger
#

Ok

grave sonnet
#

and put %USERPROFILE%\TheoTown

paper tiger
#

Put the plugin in folder "plugins" right?

grave sonnet
#

yes

paper tiger
#

Thanks

grave sonnet
#

yw

paper tiger
#

Still not working :/

grand spruce
#

It won't show up in the game plugin menu

#

It'll just be within the categories

paper tiger
#

Ah ok, sorry

#

Worked

#

Thank u guys for help

earnest pendant
rose beacon
#

Does anyone here encountered these kind of issue?

low shoal
rose beacon
low shoal
#

Ah

#

okay do is this yours or downloaded?

rose beacon
#

Downloaded in Theotown in APP store.

low shoal
#

Basically the issuw is that the nose of the ships is outside the template so it cant be loaded unfortunately

#

the plugin creator can fix it by making the width and height bigger

#

Likely old plugin cause new creators make them bigger

rose beacon
low shoal
#

Awesome

#

glad its fixed(?)

vague scarab
#

Pmodmenu 571637551769845771

tulip rockBOT