Page 1 of 1
help
Posted: 20 Jul 2023, 19:32
by World_uate
Re: help
Posted: 21 Jul 2023, 14:26
by ur_sc4_guy
can you show me the code?
Re: help
Posted: 21 Jul 2023, 16:07
by World_uate
Re: help
Posted: 21 Jul 2023, 16:10
by World_uate
Some SC4 Fan wrote: ↑21 Jul 2023, 14:26
can you show me the code?
Re: help
Posted: 21 Jul 2023, 17:23
by ur_sc4_guy
@World_uate
Code: Select all
[
{
"id":"$pcw_parkWorlduate00",
"type":"park",
"author":"Plugin creator website 3.0 & World_uate",
"width":6,
"height":6,
"frames":[{"bmp":"AMRET.png"}],
"title":"Forest Park",
"text":"This park is like a little forest.",
"price":30000,
"monthly price":20,
"influence park":150,"animation":[{"id":"Purt","x":0,"y":-94}]
},
{
"id":"Purt",
"type":"animation",
"light":true,
"light switching":true,
"frames":[{"bmp":"moydwani.png","handle y":8}]
}
]
You
must define the night animation before defining the building.
What I mean? the night animation didn't existed the moment you declared it as a the building's night animation.
define all of the animations that a building needs before creating a building.
so, that would be the fixed code:
Code: Select all
[
{
"id":"Purt",
"type":"animation",
"light":true,
"light switching":true,
"frames":[{"bmp":"moydwani.png","handle y":8}]
},
{
"id":"$pcw_parkWorlduate00",
"type":"park",
"author":"Plugin creator website 3.0 & World_uate",
"width":6,
"height":6,
"frames":[{"bmp":"AMRET.png"}],
"title":"Forest Park",
"text":"This park is like a little forest.",
"price":30000,
"monthly price":20,
"influence park":150,"animation":[{"id":"Purt","x":0,"y":-94}]
}
]
Re: help
Posted: 18 Jan 2025, 17:26
by demonhunter
ur_sc4_guy wrote: ↑21 Jul 2023, 17:23
@World_uate
Code: Select all
[
{
"id":"$pcw_parkWorlduate00",
"type":"park",
"author":"Plugin creator website 3.0 & World_uate",
"width":6,
"height":6,
"frames":[{"bmp":"AMRET.png"}],
"title":"Forest Park",
"text":"This park is like a little forest.",
"price":30000,
"monthly price":20,
"influence park":150,"animation":[{"id":"Purt","x":0,"y":-94}]
},
{
"id":"Purt",
"type":"animation",
"light":true,
"light switching":true,
"frames":[{"bmp":"moydwani.png","handle y":8}]
}
]
You
must define the night animation before defining the building.
What I mean? the night animation didn't existed the moment you declared it as a the building's night animation.
define all of the animations that a building needs before creating a building.
so, that would be the fixed code:
Code: Select all
[
{
"id":"Purt",
"type":"animation",
"light":true,
"light switching":true,
"frames":[{"bmp":"moydwani.png","handle y":8}]
},
{
"id":"$pcw_parkWorlduate00",
"type":"park",
"author":"Plugin creator website 3.0 & World_uate",
"width":6,
"height":6,
"frames":[{"bmp":"AMRET.png"}],
"title":"Forest Park",
"text":"This park is like a little forest.",
"price":30000,
"monthly price":20,
"influence park":150,"animation":[{"id":"Purt","x":0,"y":-94}]
}
]
Can you help me about handle X handle Y. Give me a frame and how to work