Animation overrode by building textures

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
KbSingh_777
Villager
Posts: 22
Joined: 14 Apr 2025, 20:34
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Animation overrode by building textures

#1

Post by KbSingh_777 »

Hello. Since I've uploaded my new plugin into Showcase, I've discovered that there is a bug where the building texture overrides the blinking light animation. I noticed because the lights only appears half of them on the top of building. Could you help me please, here's the link to it, TY.


viewtopic.php?t=27399

Edit: Here's also (some of) the source code of plugin.

Code: Select all    Reset

[{"active": true, "type":"waste disposal", "id":"$Atomizer.wepf", "animation":[{"id": "$animationblinkingredlight3x3", "x": 97, "y": -87}, {"id": "$animationblinkingredlight3x3", "x": 81, "y": 9}], "title":"Garbage Atomizer", "text":"Reduces your wastes to an atomic level. Big shout out to SimCity: Cities of Tomorrow. Caution: explodable when damaged", "influence pollution":-250, "influence park":10, "influence waste disposal": 30, "frame":[{"bmp":"G_A.png"}], "width":4, "height":4, "build time":184, "needs road":true, "draw ground":true, "power":-50000, "water":-3000 }]
JSON checker
Check

User avatar
FVI
Inhabitant of a Galaxy
Posts: 2371
Joined: 22 Feb 2022, 18:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: Animation overrode by building textures

#2

Post by FVI »

Try removing "x": 97, "y": -87 from the attribute

"animation":[{"id": "$animationblinkingredlight3x3", "x": 97, "y": -87}.

I assume it is possible these coordinates and the ones just beneath enter in conflict with each others

User avatar
KbSingh_777
Villager
Posts: 22
Joined: 14 Apr 2025, 20:34
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Animation overrode by building textures

#3

Post by KbSingh_777 »

FVI wrote:
27 Apr 2025, 08:56
Try removing "x": 97, "y": -87 from the attribute

"animation":[{"id": "$animationblinkingredlight3x3", "x": 97, "y": -87}.

I assume it is possible these coordinates and the ones just beneath enter in conflict with each others
I beg your pardon. But I don't understand what you mean.
And also, The one on top DOES show and blink, but the other half of its light trails just got override.

User avatar
FVI
Inhabitant of a Galaxy
Posts: 2371
Joined: 22 Feb 2022, 18:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: Animation overrode by building textures

#4

Post by FVI »

On your code there is the attribute "animation":[{"id": "$animationblinkingredlight3x3", "x": 97, "y": -87}. In line 5 more precisely

You might try removing the "x": 97, "y": -87 from it. This should change the position of the night animation, not necessarily the right one, but from there it should be easier to orientate

User avatar
KbSingh_777
Villager
Posts: 22
Joined: 14 Apr 2025, 20:34
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Animation overrode by building textures

#5

Post by KbSingh_777 »

FVI wrote:
27 Apr 2025, 20:29
On your code there is the attribute "animation":[{"id": "$animationblinkingredlight3x3", "x": 97, "y": -87}. In line 5 more precisely

You might try removing the "x": 97, "y": -87 from it. This should change the position of the night animation, not necessarily the right one, but from there it should be easier to orientate
Thanks! I'll try it later.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”