#plugin-support

1 messages Β· Page 23 of 1

grim zodiac
#

:v

south gate
#

Does anybody know how to make the golden bridge plugin work?

#

It only contains the pngs and the json file

ruby vale
#

but thats the necessary

south gate
#

Yeah but it doesn't appear in my local plugins

grand spruce
#

check you decorations folder

grim zodiac
#

Downloaded plugins from the forum really won't show in plugins section but instead you will get a "new" label when you check other section that that plugin belongs to

last venture
steel verge
#

plugin issues channel is for plugin issues

last venture
#

yeah this is my plugin

steel verge
#

probably some issue with it

last venture
steel verge
#

I need full code

last venture
#

(dms)

hot sluice
eternal lake
#

your image is probably not properly cropped

hot sluice
#

Huh

#

It on a 4x4 Idk why it came out like this

eternal lake
#

crop your image as much as possible

hot sluice
#

Idk how

eternal lake
#

uhhh

#

just resize it

hot sluice
#

Figure that what you meant I like messing with you lol

eternal lake
#

what

hot sluice
#

Nothing

eternal lake
#

does it work?

hot sluice
#

No

eternal lake
#

can I see the code?

hollow flax
#

Can i see your frames codes? Just "frames":[{...}], <this line

hot sluice
eternal lake
#

I don't recommend using spaces " " in ID definition, use hard spaces "_" instead.

hot sluice
#

Oh it work but size not right

eternal lake
#

also, RCI buildings don't support text/title/price/monthly price

#

the frame def is ok

#

I guess you didn't crop the image

hot sluice
#

I tried to crop it

eternal lake
#

can I see it?

hollow flax
#

I see, just set "w":?px,"h":?px in frames arays.

eternal lake
#

Don't.

#

I wouldn't use them in single-frame definitions

hot sluice
#

Sorry that was wrong one

eternal lake
#

are you sure you changed the file?

hot sluice
#

Yes

eternal lake
#

looks weird

hot sluice
#

Brb

eternal lake
#

expand the image one px to the right

#

it's missing a pixel in the template

hollow flax
#

I wouldn't use them in single-frame definitions
@eternal lake

That is the ways for the lazy one to fix frames without open pixel editor apps. πŸ˜‚

eternal lake
#

lol

hot sluice
#

Lol

hollow flax
#

What? Still have problem?

hot sluice
#

Tyvm

last venture
#

trying to make a building require a certain upgrade id

#

or upgrade

eternal lake
#

can we see the json?

last venture
#

{
"id":"$plobster_idr00",
"type":"category",
"title":"IDR",
"frames":[{"bmp":"idricon.png"}],
"ordinal":10
},
{

"id":"$plobster",
"type":"public",
"width":1,
"height":1,
"frames":[{"bmp":"CyberSecurity.png"}],
"author":"Plobster",
"title":"CyberSecurity Office ",
"text":"CyberSecurity Staff will crack down llegal activity on the web",
"needs road":true,
"draw ground":true,
"power":-21,
"water":-5,
"price": 10000,
"category":"$plobster_idr00",
"influence police": 150,
"requirements": [{
"type": "id",
"id":"$test.plugin.unique.id.idr"
}]
}
]

eternal lake
#

is there a square bracket at the very beginning?

last venture
#

yes

#

i just missed it in selection

earnest pendant
#

You do have a comma after a bracket, is that intentional?
I don't use json often but the code seems ok

last venture
#

no comma is always used if its not the last line in the group

eternal lake
#

is there even such an upgrade type "id"?

#

what would it detect?

last venture
#

i don't know honestly

eternal lake
#

in my knowledge upgrade definitions don't need types

last venture
#

all i want to know what that error is

eternal lake
#

it's used I'm fun

#

in

last venture
#

all i want is a building that is restricted unless you have a certain upgrade lol

earnest pendant
#

Huh, did you miss a period some where?

last venture
#

i did not miss anything

eternal lake
#

I think it should have "UPGRADE" as type

earnest pendant
#

It looks ok

last venture
#

and keep the "id"?

eternal lake
#

hm

#

no

last venture
#

so just type upgrade?

eternal lake
#

probably

last venture
#

ja prob knows but he aint answering

eternal lake
#

or keep the ID with upgrade id

last venture
#

yeah

#

because upgrades have id too

eternal lake
#

lol

#

I have never really played with requirements

last venture
#

mostly because people don't really make unique plugins

eternal lake
#

I always used fun or lua for that

last venture
#

don't want to touch lua yet

eternal lake
last venture
eternal lake
#

Let's say you want building A with an upgrade A1 be required to build building B.

#

First you have to define a fun definition with "upgrade" condition in building A to check for upgrade A1.

last venture
#

never played around with the "fun" thing

eternal lake
#

it is pretty easy

#

I never touched variables though, so it might be difficult

#

fun is some basic if a then b or do c everyday

last venture
#

so its a lua thing/

eternal lake
#

no, fun is used in json

#

and variables in fun

last venture
#

ah

#

so how am i supposed to write this

eternal lake
#

I don't know how should building B know if A1 is done

last venture
#

ah ok sad, well thanks for the help

#

maybe ja will come by some time

eternal lake
#

yw

#

there is no action to block building placement so it might be difficult

#

I mean, I could reference dsa raw code xd

last venture
#

but ja could activate defcon

eternal lake
#

I'll look in all this tomorrow

coarse light
hollow flax
#

recheck your frames, may the bmp names is incorrect or different with png files, or may your images is not in the same folder.

earnest pendant
#

Ditto

coarse light
#

is there a limit to the number of files in plug-ins? because I’m posting the Copacabana Pack several times, and the last selected files look like they’re not in the plug-in

hollow flax
#

Yes, there is have frames limit. 8192x4096px.

#

You can check in console and type "pt"

coarse light
#

No, it isn't that

hollow flax
#

I don't know. So far, I only know the texture is limited. and maybe another limitation is code, not files.

flat sonnet
#

It's ok to create 24x24 RESIDENTIAL πŸ˜…

hollow flax
#

What do you mean? 24x24 residential building plugins or 24x24 residential zones?

flat sonnet
#

Yah

#

But 16x16

#

Only allowed 😩

grim zodiac
#

make it modular

hollow flax
#

Yes, make it modular or you can separate it into 8x8 and use a composition if you want to make it together.

hot sluice
cedar stone
#

can't find a frame

vale minnow
#

you keep breaking that plugin lmao

#

edit the frames from L,R if you want it to have more lanes

hot sluice
#

Huh

vale minnow
#

edit the L,R frames located in the highway file

hot sluice
#

Is it one way

#

Which frames is it

vale minnow
#

it's one way yes and it's roadL, roadR

hot sluice
#

Don't see it in file

vale minnow
#

damm you keep breaking it

#

i have send you many files of it

hollow flax
#

This is the difference between L and R (i called that LH and RH). The one way need 64 frames, and you can make them different between frames 1-16, 17-32, 33-48, 49-64.

hot sluice
#

Wow

#

And lol Q man it not my fault I didn't touch nothing

#

I see the files now

#

So I gotta add more frames to L/R right

#

how many frames

#

But my highway gonna look like real highway tho

vale minnow
#

redhighway doesnt even look like a real highway

hot sluice
#

Ik I want to redo it

vale minnow
#

it looks more like a race road

hollow flax
#

64 frames if you make L and R in one plugin. 128 frames if you separate it. Or just 34 frames if you can use the x and y for set the coordinates.

vale minnow
#

to make it easier for you take my road pack highway

hot sluice
#

Ok

vale minnow
#

search road pack on forums

#

or wait

hot sluice
#

DM me Q man

#

We killing space in here lol

earnest pendant
#

Hello, can someone help me where are the json code for made cars in TheoTown? I'm in doubt.

last venture
#

@eternal lake update on my json. so i managed to make a fun command for the building to require an upgrade. but how do i make the requirement false if there is already a upgrade built

eternal lake
#

let's see if there is such a condition..

last venture
#

"requirement":{ "requirements":
[
{
"type":"CONDITION",
"data":
{
"condition":
{"type":"and","inner":
[
{"type":"upgrade","id":"$test.plugin.unique.id.idr","min":1,"max":10},
]
},
"text":"Needs CyberSecurity Upgrade"
}
}
]
}

#

heres json

#

if you need it

earnest willow
#

How to make a disaster ?

eternal lake
#

does it work?

last venture
#

yes

#

it just needs a action for requirement to know that the upgrade is been built and can be built

#

i have no idea how to make the action

hollow flax
earnest pendant
#

thanks

eternal lake
#

hm

#

can I see the buildings in action?

last venture
#

in game screenshots?

#

sure

eternal lake
#

Checks whether the upgrade - given by id - is applied to the building at the current position.

last venture
eternal lake
#

hmm

#

because the building checks for upgrade at it's position

#

i guess

last venture
#

so its local?

eternal lake
#

hold on

#

variables are a godsend

#

You can apply daily fun to upgradeable building to check if it was upgraded, and if it returns true it should change a custom variable to a number like 1.

#

Then, building which requires the upgrade, would read if the variable is at 1 and if true, it would allow construction.

last venture
#

dang

eternal lake
#

they are stored citywide

last venture
#

yeye

eternal lake
#
if it returns true set variable Y to 1
for bldg B: check whether variable Y is 1, if returns true, allow placement```
#

that's basically how would it work

lime rapids
#

Hi, i would like to report ,in name of APBR Team, a serious issue. Our Residential Pack lost almost all of it buildings, only left 1 building, the last change in forum was in May 2nd, the day we upload the Pack.

#

What could be the cause for it?

vale minnow
#

ignore reports

#

is it just spam

lime rapids
#

No, it's not that

#

See

vale minnow
#

ooh

#

reupload it

#

with everything in it

lime rapids
#

The problem is, that i don't have the file anymore. Can I update a plug-in without doing changes in It? XD

vale minnow
#

yes

hot sluice
#

Nvm I think I found the issue

earnest pendant
#

.

runic hollow
#

I didn't know wether to go to support or plugin issues so I just went with plugin issues. I've been having some problems where the plugins won't download, it feels like a waste of diamonds. They always end up in the deleted catagory. Whenever I try to download them, they have the " Error: java.io.IOExeption: Couldn't save file". I was wondering if this was an issue on my end or not and if there's anything I can do. Please advise...

grand spruce
#

No an issue @agile ember

agile ember
#

Ok

grand spruce
#

@runic hollow try restarting your device or otherwise give it a few days

runic hollow
#

It started about a week ago and I have tried it a few times since

grand spruce
#

Hmm

#

That's odd

#

Are you connected to the internet?

runic hollow
#

Yes

#

4-bars

grand spruce
#

Does your phone have space?

runic hollow
#

Maybe that's the issue because sometimes it tells me I don't and can't create anymore but I've created 7 cities already

grand spruce
#

Yeah that's probably it

exotic scarab
#

0 Mb

runic hollow
#

That's not true though

grand spruce
#

Try cleaning out some space on your phone if possible

runic hollow
#

Ok thanks

exotic scarab
#

Maybe cache files

#

(My phone generates 1.0 GB+ of cache sometimes, lol)

grand spruce
#

I'd assume it's on the phones internal memory and not on the SD

#

Soo your phone could have alot of space just not space TT can access

exotic scarab
#

Android saves some space for system

runic hollow
#

I'll do a clean out tommorow and update on if it works

#

I use Android

grand spruce
#

Alright, let me know how it goes

exotic scarab
#

(For example: When you want donwload something from Play Store, and your device is with 100 Mb left, Google Play will show an error, even if you still with 100 Mb)

#

(Or even is the app is less that 100 Mb)

runic hollow
#

I do have a lot of stuff but I should be able to clean out enough space, thank you for the help

grand spruce
#

You're welcome

molten sand
#

Is there any fun condition to detect night time?

hollow flax
#

Is there any fun condition to detect night time?
I questioned that, but I didn't get the right answer. I think you should use the Theotown.daytime condition lua, but i have not tried it.

molten sand
#

thanks :') I wanna nuke city every night

hollow flax
#
if TheoTown.daytime == 0 then
stuff
end

This is how to detect night time. Day time doesn't require condition.

molten sand
#
if TheoTown.daytime == 0 then
stuff
end

Thanks!!! 0 is day?

hollow flax
#

0 is night and i think 1 is day. Maybe, 0.1-0.9 is transition.

plucky ridge
#

Malaska market will be back soon sorry for the inconvenience

molten sand
#

How can I use "building count" as a fun condition properly? bear_think

hollow flax
#
"condition":{"type":"building count","id":"ids","z":1},
"action":....
#

value can use z, min, max

molten sand
#

what does min and max do?

hollow flax
#

minimal and maximal of count.

molten sand
#

Oww... I see ... Thanks

#

Btw, is there any action-type for unlocking buildings?

#

I think, there's no way to do that? bear_think

hollow flax
#

Requirement. Try to looking that in forum.

molten sand
#

actions:[{ type: requirements, ... }]?

eternal lake
#

your json could be useful

#

also it clearly says that the ID is already in use

#

change your ID to something more inique

#

unique

cedar stone
#

you didn't specify X,

cedar stone
#

{
"id":"$LRTlg00",
"type":"animation",
"frames":[{"bmp":"Lrt light.png", "x":0, "w":32}],
"light":true, "light switching":true
},
@flat sonnet Remove the coma at the end of } You don't need a coma at the end

flat sonnet
grim zodiac
#

there should a json checker before you save a json file

flat sonnet
#

For car light

#

$LRTlg00", "pos":[X,Y,0,0,0,0,0,0], "frames":[0]},

cedar stone
#

if you start with a [, you must close it with a ]

#

you start the code with [ but you didn't close it

#

hence, the error

grim zodiac
#

double check the json if there is missing

flat sonnet
#

I don't know how to add light in car

flat sonnet
#

Thanks

hollow flax
#

np

median junco
#

there should a json checker before you save a json file
text editor (PC)

#

@grim zodiac

grim zodiac
#

no like Text Validator. I have one in my JSONeditor

median junco
#

I already told u its text editor lmao

#

U can look up VSC (visual studio code) since its lightweight

grim zodiac
#

nah

#

i already have one

#

simple yet good

#

get's the job done

median junco
#

Well u asked for

there should a json checker before you save a json file

grim zodiac
#

huh? every json editor I used, either mobile or pc, have some sort of validator that says like "something is missing at this row n' column" like that

#

I was pointing at that

eternal lake
steel verge
#

Not a bug, ignored

molten sand
#

Hello, someone help me?

hollow flax
#

i think you need more } in the last line of codes.

#
}
]```
molten sand
#

Nah... Even the tutorial sample has that error

hollow flax
#

Try to remove " // ..."

#

If you want add some information, place // after or before {}.

#
// something
{"id": .....
}
]```
#

or

....
}
]```
steel verge
#

comments are not supported in json

#

TheoTown is forgiving

hollow flax
steel verge
#

It's invalid json data

#

TheoTown is lenient for many things

earnest pendant
#

The ambulances

#

They're part of a hospital, st grews I think

agile ember
agile ember
hollow flax
#

The, house is floating, in full, water.☹️
Your frames position is to high i think. Try to down the position about 4 pixels

molten sand
#

Credits to Thiago, that plugin is from plugin store which is encrypted... And... You can change description (and title) in an encrypted file

#

???

steel verge
#

Using lua or translations?

molten sand
#

JustOrdinaryTranslation

steel verge
#

not an issue

molten sand
#

Ohh... thanks

earnest pendant
#

?

earnest pendant
#

Ikr

#

That question mark tells me everything

fallow fulcrum
#

this message showed up after mass installing plugins

#

:(

#

cant even open the game

exotic scarab
#

Emmm.... Texture space full I think

fallow fulcrum
#

:/

#

i cant open the game to uninstall any plugins

steel verge
#

Remove them manually

fallow fulcrum
#

ahh ok

#

thanks just

vale minnow
#

oh really

#

didnt know

grim zodiac
#

This is from the one of the Japanese plugins

#

The image is 3x3 yet 2x2 in use

bright harness
#

:/

mellow raft
#

Width,height sets to 2 than 3

earnest pendant
#

Hello can You help me πŸ˜” ?
Because I made a school building and I used Theotown plug in creator lite for its json files. Now after I moved the plug in to my city, I found out that the school itself doesnt have an influence of education in its range. How can I make an influence of education for my building?

#

This is the building

#

As you can see there's no influence radar on its information

#

Please help me

molten sand
#

Hi, try to add some line into your json file ... @earnest pendant
"influence education low": integer

#

Or you may also add
"influence education high": integer
for high school influence

eternal lake
#

probably numerical attributes

grim zodiac
#

if you can't do it with plugin lite u have to edit your json instead

#

Json Editor by E-tech Blitz is my go to editor for mobile

young hearth
#

Hey

#

Do u have any error with my building - Garden Hills?

grim zodiac
#

@young hearth

hollow flax
#

That building is have magnetic system. Lol

#

For frame, don't give gap in bottom of frames, but give 1 pixel gap on top.

earnest pendant
#

hi

#

i used an object instead of using array at the root

#

how can i fix that?

eternal lake
#

probably change the object to an array

earnest pendant
eternal lake
#

gosh how much i hate one line jsons

earnest pendant
#

lol

eternal lake
#

what are the numbers?

#

like #1

earnest pendant
#

this is what i thought

#

i used object instead of areay

#

this isn't supposed to be like that

#

i must remove these #1

high patio
#

I have the same error with that building πŸ‘€

#

I put a fence to it so it doesnt look like it floats

hollow flax
#

As i know, JSON have array with [ ] mark.

$id = {stuff}

Is same with :

[
{"id":"$id",
 stuff
}
]
#

I have the same error with that building πŸ‘€
@high patio

Your problem is in frame. That have gap under the building frame. Make it to be 0 pixel gap.

high patio
#

Wut ;-;

eternal lake
#

in the .png

#

it is not cropped properly

hollow flax
vale minnow
#

oh really didn know while making roads

#

this is sarcasim

grim zodiac
#

i think leaf is addressing this problem

#

if u are gettin bothered by what u are seeing just ignore it. the fix might come soon

#

hmmn I will try to fix leaf's plugin

#

I actually found out the reason of why it floats

earnest pendant
#

Ponga

grim zodiac
#

the whole canvas is in image size and I made a grid just like in TT

#

and it has -3 pixel width

#

when an image has less than pixels on width, it automatically shown as floating

#

this happen to me when I'm making the big cherry blossom tree

#

i actually cannot fix this if there's missing parts

vale minnow
#

because you dont know how they want it

young hearth
#

@grim zodiac wait so have ya fix it?

grim zodiac
#

I can't fix it if there's missing parts

young hearth
#

@grim zodiac can you draw the missing parts with concrete color?

grim zodiac
#

ok

silent spoke
grim zodiac
#

is that a road deco

#

??

hot sluice
#

What

silent spoke
#

Road deco bug

grand spruce
#

@silent spoke that is a normal issue with all road decos when places on the end of a road

silent spoke
#

Ok, thanks now it clear

earnest pendant
bitter hazel
#

The creator is busy fixing it prolly

#

As he already acknowledged the problem

earnest pendant
#

Ok

earnest pendant
#

Ok

earnest pendant
#

Help me how to fix this.

cedar stone
#

Looks like there is an image missing

#

Only the plugin makes can fix it

grim zodiac
#

oh wow

#

I'll fix it now

#

@earnest pendant thank you for reporting I'm fixing it now. The problem was the image name is not match to the json

earnest pendant
#

@earnest pendant thank you for reporting I'm fixing it now. The problem was the image name is not match to the json
@grim zodiac ohh thanknyou for the response bro. I need your building in my business district. I love it

mint rock
#

@earnest pendant

Delete the warehouse1 first then download warehouse2, it will work after that...

dawn marlin
#

Trees in railways

#

Only works of plugin trees

grim zodiac
#

This wasn't a bug nor a issue actually

#

So you can place any trees underneath the elevated right. But the trees you've chosen are taller, which is unnecessary to use in anyways, so that's why it shows like that. In theory can do the same thing by using the already tall in game trees, the red pine and the forrest tree and NOT the plugin trees specifically.

#

You should understand how the game works mate

earnest pendant
#

makes it look abandoned@dawn marlin

mint rock
cedar stone
#

You didn't dowload the category

mint rock
#

How can I download it?

cedar stone
#

Just check the oage you doqload the original plugin

#

The category should be there

mint rock
#

Okk thanks..

dawn marlin
#

Icant download plugins i tried s mountain plugin but won't go in game i moved in theotown plugins folder but dpnt work

cedar stone
#

did you unzip it in the plugins folder and not in the managed plugins one

dawn marlin
#

What?

#

I just move plugin zip file

#

And otherd worl

#

Others work

#

But this dont work

cedar stone
#

unzip the zip file just in case it works

dawn marlin
#

How do i unzip?

cedar stone
#

just select it and ckech if there is an option to unzip it

dawn marlin
#

There is no unzip

noble anvil
#

Download an Archiver(something like RAR) and in there you can "unzip to", unzip it in plugins directory and check

dawn marlin
#

Ok

#

There is no unzip still

#

I downloaded RAR

hollow flax
#

unzip = unrar = extract

dawn marlin
#

Ooohh

#

Ok

eternal lake
#

booleans

exotic scarab
#

Wait

eternal lake
#

these aren't supposed to be in quotes

exotic scarab
#

Numbers requires ""?

dawn marlin
#

I just want a realistic mountaiin

eternal lake
#

false/true and values are bools

#

they don't have double quotes

dawn marlin
#

?

exotic scarab
#

!!!

eternal lake
#

"price":"5000" -> "price":5000

dawn marlin
#

wat

exotic scarab
#

Numbers dont requires ""

eternal lake
#

and true/false neither

dawn marlin
#

So do i have to edit the code?

exotic scarab
eternal lake
#

apparently

dawn marlin
#

Ok so do i remove "" in true/false and numbers?

eternal lake
#

yes, that's what I said

exotic scarab
#

Yeah, and correct {] error

dawn marlin
#

Ok

#

Ok

exotic scarab
#

Is just {}

dawn marlin
#

Ok

#

Brb

eternal lake
#

improper enclosure

#

check your brackets in frame attribute

#

[{}, {}, {]

exotic scarab
dawn marlin
#

Ok

#

?

exotic scarab
#

Wait a moment

dawn marlin
#

All in ]?

eternal lake
#

no

exotic scarab
dawn marlin
#

?

eternal lake
#

each opening bracket { needs a closing bracket }

exotic scarab
#

Is [{ Text here }, { Other text here }]

dawn marlin
#

Ok so like all into this? {} []

#

Ok

eternal lake
#

these are objects {}
these are arrays []
objects go into arrays [{}]
multiple objects are allowed [{}, {}]

dawn marlin
#

Ummmm

#

Ok?

eternal lake
#

nonono

dawn marlin
#

whaaat??

eternal lake
#

you don't put each array {} into object []

#

[{}, {}, {}]

dawn marlin
#

How do i know its array or object?

eternal lake
#

I literally just said that

#

see higher ^

dawn marlin
#

I dont understand coding

exotic scarab
#

This: "frames": [{"bmp": "image.jpg"}, {"bmp": "image.jpg"}],

#

The objects (Images) are in {} and the array (frames) are in []

grim zodiac
#

I dont understand coding
@dawn marlin unfortunately mate you have to

dawn marlin
#

So the .png are in {}

grim zodiac
#

yes

eternal lake
#

yes, in arrays

exotic scarab
#

arrays (in this case: Images, like "Image.jpg")

dawn marlin
#

Just {}? Or with [] in it?

eternal lake
#

each png is a separate array, and they all make an object (frames)

exotic scarab
#

{Image.jpg}

dawn marlin
#

Oooohhh

#

Is the bmp an array?

exotic scarab
#

Object: {Image.jpg}
Array: "frame": [],
Array with object/s: "frame": [{Image.jpg},{Image.jpg}],

eternal lake
#

also it's useful to run your code through a checking website like jsonlint.com to detect errors

dawn marlin
#

Ok should i check it?

eternal lake
#

if you want to

dawn marlin
eternal lake
#

copy whole code here

#

This: "frames": [{"bmp": "image.jpg"}, {"bmp": "image.jpg"}],
as @exotic scarab said

dawn marlin
#

Error results?

eternal lake
#

code

#

your json

dawn marlin
#

[
{
"id":"$mountain.ao",
"type":"terrain",
"author":"Okcirimorem",
"title":"Large mountain",
"text":"Where more could habitants hike and climb?",
"price":5000,
"monthly price":500,
"draw ground":true,
"needs road":false,
"needs power":false,
"needs water":false,
"influence park":500,
"influence happiness":500,
"influence nature":50000,
"influence environment":1000,
"width": 24,
"height": 24,
"frames":[{"bmp": "mountain.png"}],[{"bmp": "mountain-winter.png"}]
}
]

exotic scarab
#

Ah

eternal lake
#

that's because you didn't change the frames as typical said

exotic scarab
#

I found your mistake

dawn marlin
#

Where?

exotic scarab
#

"frames":[{"bmp": "mountain.png"}],[{"bmp": "mountain-winter.png"}]
Here

#

e

dawn marlin
#

And what i change it to?

exotic scarab
#

Is: .....png"},{"bmp":.....

dawn marlin
#

I change to that?

exotic scarab
#

Yes

dawn marlin
#

Ok

#

Brb

#

Still error

#

It says this is error

#

Error: Parse error on line 3:
[ "id": "$mountain.ao",
------^
Expecting 'EOF', '}', ',', ']', got ':'

steel verge
#

"frames":[{"bmp": "mountain.png"},{"bmp": "mountain-winter.png"}]

dawn marlin
#

?

hollow flax
#

[{
"id": "$mountain.ao",
"type": "terrain",
"author": "Okcirimorem",
"title": "Large mountain",
"text": "Where more could habitants hike and climb?",
"price": 5000,
"monthly price": 500,
"draw ground": true,
"needs road": false,
"needs power": false,
"needs water": false,
"influence park": 500,
"influence happiness": 500,
"influence nature": 50000,
"influence environment": 1000,
"width": 24,
"height": 24,
"frames": [{
"bmp": "mountain.png"
}, {
"bmp": "mountain-winter.png"
}]
}]

dawn marlin
#

@hollow flax is that correct code?

#

Do i use that code?

#

Whaaat

hollow flax
#

Yes

dawn marlin
#

Ok

#

It worked

#

But

#

Its SUPER LAGGY

#

When u place it

hollow flax
#

Width and high is 24x24, max 8x8

dawn marlin
#

And so big

#

Omg

fiery olive
eternal lake
#

it lacks a comma

fiery olive
#

fixed that issue, but for some reason the game now doesn't like the number 63

dusty vortex
#

check comma after bracket code in jaon file

fiery olive
steel verge
#

post full json plox

fiery olive
steel verge
#

that comma is not needed

dusty vortex
fiery olive
gaunt cloud
#

missing a comma

#

after the }

steel verge
#

just use this

fiery olive
#

Fixed all of the remaining problems

#

Fixed up some y positions and now everything is fine.

wintry hazel
#

Hello, do you know what to do?

ruby vale
#

you downloaded it from the forum?

wintry hazel
#

no, Mr montemarino sent me the file.

eternal lake
#

it could have dependencies

#

you should download it from forums

wintry hazel
#

This one, I downloaded from the forum.

#

But it still have a problem

eternal lake
#

you didn't download a dependency

#

this plugin probably requires another one to use

wintry hazel
#

Yes. and I downloaded it and that's the error

eternal lake
#

both files?

wintry hazel
#

Yes.

eternal lake
#

can I have a link to the plugin?

wintry hazel
#

Here.

#

I already downloaded, kingtut intertrain category and did the instructions but there's still an error

eternal lake
#

you can do as commander said

#

remove a line from the json file

wintry hazel
#

Already did

#

And still an error

eternal lake
#

it's a problem with the plugin then

#

you should post it on its thread

wintry hazel
#

It showed after I deleted the line from json file

#

I talked to Mrmontemarino, he sent me the file but there's still an error

#

Anyway, thanks

eternal lake
#

you're welcome, good luck

weary zinc
#

Is it possible to make plugins andriod?

#

I meant to say on android

cedar stone
#

yes

tight fulcrum
#

How do I get the design?
coal power plant

#

possibly I'm going to make a plugin

pliant knoll
#

Uhhhh no

#

It will not work

#

It doesn't even match to the game graphic design

tight fulcrum
#

thanks for being honest i will try to improve

dusty vortex
#

just reload page, maybe your connection issue

dawn marlin
#

Whats image size fpr 1x1 plugin??? Pleasee

eternal lake
#
  1. not an issue
  2. 32px
  3. get templates in pins or forums
flat sonnet
#

{
"id":" $stat01.rdc", "hidden":true,
"prices":500,
"type":"road decoration",
"animation fg":[
{"id":"$stasyon10r.anim"}, //0
{"id":"$stasyon20r.anim"} //1
],
"fun":{
"condition":{"type":"value","code":"cityRotation","z":0},
"actions":[
{"type":"build","id":"$stat02.rdc"}
]
},
"frame animation fg indices":[ [], [], [], [], [], [0], [], [], [], [], [1], [], [], [], [], [] ]
},
{
"id":" $stat02.rdc",
"price":500,
"type":"road decoration",
"animation fg": [
{"id":"$stasyon30r.anim"},//0
{"id":"$stasyon40r.anim"} //1
],
"fun":{
"condition":{"type":"value","code":"cityRotation","z":2},
"actions":[{"type":"build","id":"$stat01.rdc"}]
},
"frame animation fg indices":[ [], [], [], [], [], [0], [], [], [], [], [1], [], [], [], [], [] ]
},

#

Anyone can help meπŸ˜…

dawn marlin
#

@flat sonnet what

flat sonnet
#

My road decoration dosen't rotate 😒

true vault
#

:/

flat sonnet
#

"fun":{
"condition":{"type":"value","code":"cityRotation","z":0},
"actions":[
{"type":"build","id":"$stat02.rdc"}
]
},

#

I use this

dawn marlin
#

Oh

flat sonnet
#

But how😭

dawn marlin
#

I dont think they have to rotate

flat sonnet
#

They can

dawn marlin
#

Nothing in this game rotates

#

Except some buildings

flat sonnet
#

Some of Monorail station is road decoration

#

And Stoplights

flat sonnet
ruby vale
#

I dont think they have to rotate
they can rotate

eternal lake
#

isn't it because of "rotation aware"?

molten sand
#

That's the same question I was asking before... 😐

hollow flax
#

animation as overlay doesn't have rotation. it follows the frames of the main layer.

#

That's why "frames animation / animation fg indices" are exist.

eternal lake
#

we use "frame" in building anim def here

molten sand
#

I use fun to rotate road deco, but there's an issue when rotating the city counterclockwise

  • Monorail Issue 4/6
pure glen
#

@flat sonnet oh its my plugin

#

@flat sonnet one way use 16 * 4 = 64 frame

flat sonnet
#

Thank you @pure glen @hollow flax @eternal lake 😍

flat sonnet
#

I did not use my commonsenseπŸ˜… πŸ˜†

eternal lake
#

you're welcome!

hollow flax
molten sand
#

Sorry

uneven marlin
#

@hollow flax do you have any idea of where i can find a tutorial for ground tiles ?

hollow flax
uneven marlin
#

thanks a lot. do you also have sample pictures ?

#

most of the tiles i found are old one which look horrible next to the water.

hollow flax
#

You can see the world texture for reference

uneven marlin
#

thx

hollow flax
#

yw

uneven marlin
#

Someone know the name of the train category ?

molten sand
#

You can see that in the upper left of the toolbar πŸ™‚

#

All > Transport ($cat_transport00) > Train ($cat_train00)

uneven marlin
#

by the way, how can i allow my road decorations to be used on both rails and roads ?

#

@molten sand

#

and i am getting annoyed.

#

my road decorations doesn't work.

molten sand
#

Flag 'em

hollow flax
#

"flag normal":true
"flag train":true

molten sand
#

Right

uneven marlin
#

ok thx

#

one last problem

#

how can i turn these into a road decorations for trains ? i have been trying for an hour to make those work and it doesn't want to work.

#

those are supposed to go with these

hollow flax
#

All of those are road deco?

uneven marlin
#

no

#

the bottom one isn't

#

but the 2 ones up there are supposed to be road deco

#

yet, i have been trying for a while to make those work without any success.

hollow flax
#

Combine them with "composition", you can use composition tools by lobby

uneven marlin
#

composition ?

#

you didnt understood what i mean.

uneven marlin
#

i can't make road decorations.

#

i tried to

#

but i dont know why i can't

hollow flax
#

You want to make train station, right?

uneven marlin
#

not yet

molten sand
#

How can I help you πŸ™‚

uneven marlin
#

and i have no idea why.

#

i have been looking for 3 hours at various tutorial, existing ones and i haven't been able to make those work

#

i just want to turn those 2 into a roof

#

i do know how to make a normal road decoration (such as lampost) but not into a roof.

molten sand
#

They should be "animation fg":[ ... ]

#

Something like uhh...

hollow flax
#

Can i see your code?

uneven marlin
#

yeah sure, i'll show it to you

#

i'll try again if it doesn't work, i'll send the code

#
[
    {
        "active": true,
        "author": "THEMAX",
        "category": "$cat_transport00",
        "frames": [
            {
                "bmp": "WIP_Logo.png"
            }
        ],
        "id": "$cat_Themax_Train_Expansion_0",
        "title": "Themax Train Expansion Category",
        "type": "category"
    },
    {
        "id": "Themax_Train_Expansion_Platform_Deco_1",
        "type": "decoration",
        "category": "$cat_Themax_Train_Expansion_0",
        "author": "mdk_813; trees by Lobby and Theo",
        "width": 1,
        "height": 1,
        "frames": [
            {
                "bmp": "Themax_TrExpDec_Train_Platform_1_A.png"
            },
            {
                "bmp": "Themax_TrExpDec_Train_Platform_1_B.png"
            },
            {
                "bmp": "Themax_TrExpDec_Train_Platform_1_C.png"
            },
            {
                "bmp": "Themax_TrExpDec_Train_Platform_1_D.png"
            }
        ],
        "price": 100,
        "monthly price": 0,
        "rotation aware": true,
        "draw ground": true,
        "water": "0",
        "power": "0",
        "build time": 0,
        "ordinal": 306,
        "needs road": false,
        "text": "Decorative platform to improve your train station.",
        "title": "Decorative platform 1"
    },
#
    {
        "frames":
        [
            {
                "bmp": "Themax_TrExpDec_Train_Platform_Roof_1_1.png",
                "handle y": 14,
                "w": 32,
                "x": 0
            }
        ],
        "id": "Themax_Train_Station_Platform_Roof_1_1",
        "type": "animation"
    },
    {
        "frames":
        [
            {
                "bmp": "Themax_TrExpDec_Train_Platform_Roof_1_2.png",
                "handle y": 14,
                "w": 32,
                "x": 0
            }
        ],
        "id": "Themax_Train_Station_Platform_Roof_1_2",
        "type": "animation"
    },
    {
        "animation fg":
        [
            {
                "id": "Themax_Train_Station_Platform_Roof_1_1"
            }
        ],
        "category": "$cat_subway_Astrellia_0",
        "id": "THEMAX_Train_Station_Roof_1_1",
        "price": 100,
        "speed": 0.5,
        "text": "A roof for your train station",
        "title": "Train station Roof",
        "type": "road decoration"
        "flag normal":true
        "flag train":true
    },
    {
        "animation fg":
        [
            {
                "id": "Themax_Train_Station_Platform_Roof_1_2"
            }
        ],
        "category": "$cat_subway_Astrellia_0",
        "id": "THEMAX_Train_Station_Roof_1_2",
        "price": 100,
        "speed": 0.5,
        "text": "A roof for your train station",
        "title": "Train station Roof",
        "type": "road decoration"
        "flag normal":true
        "flag train":true
    }
]
#

i have no idea where the problem could be

#

found the 1st error

#

also the flag train doesn't work @hollow flax

hollow flax
#

1 roof id = 2 animations

...
"animation fg":[{"id":"1st_roof"},{"id":"2nd_roof}],
"frame animation fg indices":[[],[],[],[],[],[0],[],[],[],[],[1],[],[],[],[],[]],
"required flag normal":false,
"required flag train":true,
 ...

look carefully at the comma

uneven marlin
#

thx, i'll try

#

here is the code

hollow flax
#

Remove the comma if that is last line

uneven marlin
#
    {
        "frames":
        [
            {
                "bmp": "Themax_TrExpDec_Train_Platform_Roof_1_1.png",
                "handle y": 24,
                "w": 32,
                "x": 0
            }
        ],
        "id": "Themax_Train_Station_Platform_Roof_1_1",
        "type": "animation"
    },
    {
        "frames":
        [
            {
                "bmp": "Themax_TrExpDec_Train_Platform_Roof_1_2.png",
                "handle y": 24,
                "w": 32,
                "x": 0
            }
        ],
        "id": "Themax_Train_Station_Platform_Roof_1_2",
        "type": "animation"
    },
    {
        "category": "$cat_Themax_Train_Expansion_0",
        "id": "THEMAX_Train_Station_Roof_1",
        "price": 100,
        "flag normal":true,
        "flag train":true,
        "animation fg":[{"id":"Themax_Train_Station_Platform_Roof_1_1"},{"id":"Themax_Train_Station_Platform_Roof_1_2}],
        "frame animation fg indices":[[],[],[],[],[],[0],[],[],[],[],[1],[],[],[],[],[]],
        "required flag normal":true,
        "required flag train":false,
        "text": "A roof for your train station",
        "title": "Train station Roof",
        "type": "road decoration"
    }
hollow flax
uneven marlin
#

where ?

#

ok i saw

#

i'll try again

hollow flax
uneven marlin
#

ok now it works

#

the last problems i have is with the train tag

#

i can't get the roof to be placed on train tracks

#

i made a few edits

hollow flax
#

Make it true

uneven marlin
#

i replaced the false with true so i'll see if it works

#

great

#

it finally works.

#

on both.

#

As intended.

flat sonnet
#

I hope (type car train/car,) can carry passenger in future updates

molten sand
#

Massive Transportation Update πŸ˜•

bright harness
#

@uneven marlin
What are these?

uneven marlin
#

Parts for a train station

dusty vortex
#

@uneven marlin add diffrent one, light blue is great

uneven marlin
#

maybe i will, rn i am working on other stuff

uneven marlin
#

an high speed train for example.

uneven marlin
#

alright so the jsonlint says my json is correct

#

it didnt work in the game tho.

#

my train seems to work but one of the carriages seems wrong

#

.....

#

what is wrong with that train.

#

anyone know what is wrong ?

#

it finally works.

molten sand
#

Awesome developments haha

bitter hazel
#

That station is hot

brittle pond
#

Is there a solution to buildings that fade out too early when scrolling up?

flat sonnet
#

Help

#

How to do 64 frames road deco πŸ˜… πŸ˜†

pure glen
#

There are 16 frames in each direction of one-way traffic.

high patio
#

Invisible street light which is supposed to be in front of the black car

#

It still appears as decoration

flat sonnet
#

Idont know what happened 😭

earnest pendant
#

How to fix this

woven idol
#

JSON file @earnest pendant

earnest pendant
#

Hi

#

File?

eternal lake
#

obviously you uploaded the wrong file type

#

A png is not a plugin

#

you have to upload a zipped json and png file

earnest pendant
#

How can i do that?

eternal lake
#

select a folder with your plugin and zip it

earnest pendant
#

Do you handle the game problems

eternal lake
#

we are moderators, we do

#

unless it's some kind of an internal bug

earnest pendant
eternal lake
#

?

earnest pendant
#

This game has zone making problems

eternal lake
#

explain your issue deeper, and you should probably do as the Google Store answer told you to do

vestal spear
#

That a station train ?

#

Nice

#

And whar the problem

earnest pendant
#

😭

lime rapids
#

😭

#

(idk)

bright harness
#

Reee

thin blade
#

what am I missing

thin blade
#

Nvm I think I found the problem

thin blade
earnest pendant
#

I fixed the bug, @thin blade.

hot sluice
#

Help pls

hot sluice
#

Anybody

polar quarry
#

help make to JSON file

hot sluice
#

Can someone help me pls

earnest pendant
#

@hot sluice in what do you need help?

earnest pendant
#

what do you want to create?

#

Road deco, deco, fence?

hot sluice
#

Road deco

earnest pendant
#

alright

#

wait a sec

hot sluice
#

It a street sign

cedar stone
hot sluice
#

I'm not good with amination

earnest pendant
#

I was searching for that

hot sluice
#

Well I don't know how to measure my plugin

earnest pendant
#

Ricky, those codes where says animation, refer to the frames that will be shown when you rotate the camera

hot sluice
#

Oh ok

earnest pendant
#

From TheoTown forum

#

you must draw 4 frames of your sign in all this positions

hot sluice
#

Hey let do this in DM

earnest pendant
hot sluice
#

So we don't take much space in here

earnest pendant
#

ight

#

for every question, you have the TheoTown forum. There's a search bar on it, so you can search: "Road deco" and look for help in a thread

hot sluice
#

Ok

molten sand
#

Road deco needs a prior knowledge about animations and roads

hot sluice
#

Ok

uneven marlin
#

i might need some help

exotic scarab
#

?

uneven marlin
exotic scarab
#

checking...

earnest pendant
#

is the initial character a [ ?

exotic scarab
#

Im thinking in a missing ","

uneven marlin
#
[
            {
                "id": "$sample.plugin.unique.id.park01",
                "frames": [
                    {
                        "bmp": "someupgrade_bmp"
                    }
                ],
                "price": 2000,
                "monthly price": 20,
                "influence park": 20,
                "car spawner": [
                {
                "cars": 
                [
                    "$Themax_Train_Real_1_TGVinoui_Short"
                ],
                "count": 1,
                "radius": 10000,
                "targets": 
                {
                    "$Paris_MP89_subway_Station_2"
                    "$Paris_MP89_subway_Station_1"
                }
            ]
            }
        ]
#

it's this part that has a few problems

#

i haven't been able to find them tho

exotic scarab
#

Comparing...

earnest pendant
exotic scarab
#

!!!

earnest pendant
#

just use a validator

exotic scarab
#

Emmm....

uneven marlin
#

i tried

cedar stone
uneven marlin
#

doesn't help me much

exotic scarab
#

Yeah

uneven marlin
exotic scarab
#

After the }?

uneven marlin
#
            {
                "id": "$Themax_TrainSpawner_Real_1_TGVinouiShort",
                "frames": [
                    {
                        "bmp": "Themax_TrainSpawner_Fictional_1_AeralisExpress.png"
                    }
                ],
                "price": 2000,
                "monthly price": 20,
                "influence park": 20,
                "car spawner": [
                {
                "cars": 
                [
                    "$Themax_Train_Real_1_TGVinoui_Short"
                ],
                "count": 1,
                "radius": 10000,
                "targets": 
                {
                    "$Paris_MP89_subway_Station_2",
                    "$Paris_MP89_subway_Station_1"
                }
            ]
            }
        ]
#

this is the part that is wrong

#

and i can't find what is wrong

exotic scarab
#

I have an idea....

earnest pendant
exotic scarab
#

Im comparing with Visual Studio help

earnest pendant
#

this key doesn't seem closed

uneven marlin
#

ok i fixed it

#

well i think i did.

exotic scarab
#

Visual Studio says there is 2 ":" missing and a "}" missing (Trying to find the place....)

#

Nvm, probably just a "}" missing

#

Emmm...

uneven marlin
#

i found it

earnest pendant
#

and what it is?

uneven marlin
#

a } / {

exotic scarab
#

Ah

heady steeple
#

Who owns this plugin.

earnest pendant
#

@uncut steeple, look at this.

earnest pendant
#

solved it nvm

heady steeple
#

@uncut steeple when you respond @me.

vestal spear
#

Maybe decoration@earnest pendant

exotic scarab
#

Probably "draw ground": false

grand spruce
#

solved it nvm

exotic scarab
#

Ah

#

πŸ˜…

grand spruce
#

haha I am interested to see if you were right though

exotic scarab
#

Opening Notepad++ πŸ˜…

#

Opening TT....

grand spruce
#

waiting

exotic scarab
#

getting unexpected result

grand spruce
#

interested

exotic scarab
#

Trying with Need ground : true....

#

Oh wait

#

Is draw ground: true πŸ˜…

grand spruce
#

lol

exotic scarab
#

Im 80% sure "Type: decoration" is needed

grand spruce
#

result = success

exotic scarab
#

And dont forget about floating cars (Since a normal car will get RIP in water lmao)

grand spruce
#

Yes, water powered

analog wedge
sage crescent
#

@ruby vale Up here

ruby vale
#

oh, i'm going to fix it

molten sand
#

Road deco rotation is coming! Yahhh...

uncut steeple
#

@uncut steeple when you respond @me.
@heady steeple sorry for the delay, i will check today what happens

#

@uncut steeple when you respond @me.
@heady steeple Did you download it only from the plugin store? I tested and downloaded it right here, can you call me in private?

woven idol
#

ok

earnest pendant
#

The plugin creator

fiery olive
#

You can get a redeemable code in the forums, as far as I'm aware

earnest pendant
#

Yes

#

Don't think that's possible

fiery olive
#

No. You make plugins for gems.

earnest pendant
#

No. You make plugins for the community and because of the love to this game,

#

and why?

#

You can't send gems in-game but with redeem codes obtained in the forum when you sell plugins

#

it doesn't work like that

#

almost everyone we set the plugin price at minimum, 30 gems, so people can download them by watching an add. For each x number of downloads we get a gem. I don't remember that numer

steel verge
#

download = price * download

earnest pendant
#

however, 10k gems aren't that much. I mean, if you create great plugins, you can achieve them

cedar stone
#

yeah, you can get that if you make some good popular plugins

eternal frigate
#

How do I Really Get Gem Codes?

#

Redeem Codes*

grand spruce
#

You have to make plugins

eternal frigate
#

How do I Make plugins??

grand spruce
eternal frigate
#

Ok

#

So Its Technically work

grand spruce
#

yeah

eternal frigate
#

My God

grand spruce
#

that's why they get diamonds

eternal frigate
#

I Dont No How to Properly Make Pixel things like that.

grand spruce
#

And the diamonds come from people downloading your plugin off of the store

#

You can always give it a try

#

and I'm sure that people will help you

exotic scarab
#

There is free software for help

true vault
#

what if they get it with ads

eternal frigate
#

Unless I Download A App Where I Can Imagine something screenshot it and Put it here.

exotic scarab
eternal frigate
#

I saw it.

#

Soo, The Only other way is Buying them.

#

Wow.

#

Welp Ill Think of Somthing.

grand spruce
#

Nothing that is needed with diamonds is critical to game play

exotic scarab
#

I dont really care much about diamonds, you can buy the Steam version

eternal frigate
#

Wait can people give diamonds?

grand spruce
#

if they have a code sure

exotic scarab
#

Emm... I think.. yeah? Diamonds code I think

eternal frigate
#

Wdym?

exotic scarab
#

Ah

grand spruce
#

But they can't be transferred from account to account

eternal frigate
#

Ah

#

Ive seen the code chrs05

#

What is that about?

exotic scarab
#

You can validate it in the forum (To see if it still available)

grand spruce
#

give it a try

exotic scarab
#

Yeah

eternal frigate
#

Ok.

#

Error

exotic scarab
#

?

eternal frigate
#

It was a Dang Error

#

I ran it

#

I type in chrs05

#

Then clicked run

#

Then it said error

exotic scarab
#

Run?

eternal frigate
#

Yeab

#

Yeah

exotic scarab
#

That is a code for?

eternal frigate
#

Diamonds.

exotic scarab
#

Emm... where you typed it?

eternal frigate
#

It talked about codes

grand spruce
#

so then it's been used

eternal frigate
#

And it had other stuff in it

#

Ahh i see

grand spruce
#

try this one

#

6va8he

eternal frigate
#

Error

grand spruce
#

hmm I haven't used that one yet

#

screenshot where you are putting these in

eternal frigate
#

Lemme try it in the game

#

Ok

grand spruce
#

yeah that's where you should be trying it

#

in game

eternal frigate
#

Oh