Add Prototype:Unit:idle_animation

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
evildogbot100
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Dec 18, 2016 3:02 pm
Contact:

Add Prototype:Unit:idle_animation

Post by evildogbot100 »

Hello, Is it possible to add idle_animation property to Prototype:Unit? For example, Prototype:Character can have idle_animation property via armor_animation table. The way it works is by checking if speed == 0 then play idle_animation. Like usual, the type of this property is RotatedAnimation. Use cases of such interface is for example, adding a jet fighter looking units that should show jet exhaust when moving and not when idle. For my own purpose, I want to mod in starcraft dragoon looking unit where it has constantly moving part even when idle.

Post Reply

Return to “Modding interface requests”