night animation did not light up
Moderators: Plugin Moderators, Scenario Moderators
night animation did not light up
Help us
night animation did not light up?- 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
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 ... like this:
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!
It should look more or less ... 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}]}]
JSON checker
Unfortunately I'm not certain that was your problem, I suppose this is what makes your animation not work.
Hope this is useful!

Re: night animation did not light up
ThanksFVI 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 ... like this:
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.Code: Select all
[{"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}]}]JSON checker within a quote
Unfortunately I'm not certain that was your problem, I suppose this is what makes your animation not work.
Hope this is useful!![]()
- 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
No worries!
- 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
I need help
(Type not defined error)
(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,
JSON checker