night animation problem
Posted: 31 Oct 2022, 11:19
I've made a building with 4 subvariants which holds different night animations.The building was not supposed to be rotation-aware. But for some reason it is not working. Here's the code:
... And there's the result.
The night animation of the 3 other subvariants are "stuck" with the building's respective one. What's the problem here?
Thanks in advance.
Code: Select all
[
{
"id":"SomeSC4Fan.TranoGasy.Zone",
"title":"Trano Gasy",
"text":"For Malagasy-Themed towns. Or maybe not ?",
"type":"zone",
"author":"Some SC4 Fan",
"rci":true,
"separator":true,
"base":"$zoneresidential",
"frames":[{"bmp":"Frame.png"}],
"preview frames":[{"bmp":"Preview Frame.png"}],
"price":30,
"superior to base":true,
"placeable":true,
"persistent":true
},
{
"id":"SomeSC4Fan.TranoGasy.1x1_I.night",
"type":"animation",
"frames":[{"bmp":"1x1_I_night.png"}],
"light":true,
"light switching":true
},
{
"id":"SomeSC4Fan.TranoGasy.1x1_I",
"type":"residential",
"zone":"SomeSC4Fan.TranoGasy.Zone",
"author":"Some SC4 Fan",
"frames":[{"bmp":"1x1_I.png","w":32,"count":4}],
"habitants":11,
"width":1,
"height":1,
"draw ground":true,
"animation":[{"id":"SomeSC4Fan.TranoGasy.1x1_I.night","y":-24}],
"influence culture":1
}
]
Thanks in advance.