night animation did not light up

Plug-in related stuff can be discussed here.

Moderators: Plugin Moderators, Scenario Moderators

User avatar
Evanzer
Townsman
Posts: 99
Joined: 07 Aug 2024, 02:09

Plugin Creator

Platform

night animation did not light up

#1

Post by Evanzer » 23 Aug 2024, 22:17

Help us
Screenshot_2024-08-23-23-16-56-210-edit_ru.zdevs.zarchiver.jpg
Screenshot_2024-08-23-23-16-49-658-edit_ru.zdevs.zarchiver.jpg
Screenshot_2024-08-23-23-11-18-898_info.flowersoft.theotown.theotown.jpg
night animation did not light up?
User avatar
FVI
Inhabitant of a Galaxy Cluster
Posts: 2400
Joined: 22 Feb 2022, 18:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: night animation did not light up

#2

Post by FVI » 23 Aug 2024, 22:45

I'm not sure you can make night animation like that. As far as I know, the night animation needs a stand-alone code (so it needs its own id etc.) to then be linked by an attribute to the building's

It should look more or less ...Not exactly - it was not tested like this:

Code: Select all    Reset

[
{
"id": "$nightanimationtest",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "Geceresmi.png",
"count": 1
}
],
"rotation aware":
false},
{
"type": "commercial",
"id": "$Çamlıcatower",
"author": "Evanzer",
"frames": [
{
·"bmp": "Çamlıcatower.png"
·}
·],
"width": 2,
"height": 2,
"animation": [{"id": "$nightanimationtest", "x":0,"y":-25}]
}
]
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JSON checker

Output: Select all

...
If you look closely you see there is not one but two codes - The building's and the animation's, and at the bottom of the building's, there is the attribute "animation" (really important for the animation to work as it is a "link" between the two). Don't however try to split them in two .json files as they won't recognize each others.

Unfortunately I'm not certain that was your problem, I suppose this is what makes your animation not work.

Hope this is useful! ;)
User avatar
Evanzer
Townsman
Posts: 99
Joined: 07 Aug 2024, 02:09

Plugin Creator

Platform

Re: night animation did not light up

#3

Post by Evanzer » 24 Aug 2024, 00:33

FVI wrote: 23 Aug 2024, 22:45 I'm not sure you can make night animation like that. As far as I know, the night animation needs a stand-alone code (so it needs its own id etc.) to then be linked by an attribute to the building's

It should look more or less ...Not exactly - it was not tested like this:

Code: Select all    Reset

[
{
"id": "$nightanimationtest",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "Geceresmi.png",
"count": 1
}
],
"rotation aware":
false},
{
"type": "commercial",
"id": "$Çamlıcatower",
"author": "Evanzer",
"frames": [
{
·"bmp": "Çamlıcatower.png"
·}
·],
"width": 2,
"height": 2,
"animation": [{"id": "$nightanimationtest", "x":0,"y":-25}]
}
]
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JSON checker within a quote

Output: Select all

...
If you look closely you see there is not one but two codes - The building's and the animation's, and at the bottom of the building's, there is the attribute "animation" (really important for the animation to work as it is a "link" between the two). Don't however try to split them in two .json files as they won't recognize each others.

Unfortunately I'm not certain that was your problem, I suppose this is what makes your animation not work.

Hope this is useful! ;)
Thanks
User avatar
FVI
Inhabitant of a Galaxy Cluster
Posts: 2400
Joined: 22 Feb 2022, 18:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: night animation did not light up

#4

Post by FVI » 24 Aug 2024, 09:30

No worries!
User avatar
I_Support_Palestine
Townsman
Posts: 55
Joined: 09 Jun 2024, 11:53
Location: Johor
Plugins: Showcase Store

Platform

Re: night animation did not light up

#5

Post by I_Support_Palestine » 30 Sep 2024, 14:00

I need help
(Type not defined error)

Code: Select all    Reset

[
{
"id": "$light",
"type": "animation",
"light": true,
"light switching": true,
"frames": [
{
"bmp": "FVInight.png",
"count": 4,
"width": 132,
"height": 41
}
],
"rotation aware": true
},
{
"frames winter": [
{
"bmp": "FVIsnow.png"
}
],
"count": 4,
"width": 132,
"height": 41
},
{
"id": "$Small Hotel",
"type": "residential",
"text": "Hotel with lights",
"habitats": 80,
"author": "I_Support_Palestine",
"width": 1,
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JSON checker

Output: Select all

...
Post Reply Previous topicNext topic

Return to “Plug-In Discussion”