Search found 2 matches

by Sector_347
Sat Dec 27, 2025 8:18 pm
Forum: Modding help
Topic: Need help with character sprites replacement!
Replies: 3
Views: 198

Re: Need help with character sprites replacement!


Similar to how you changed the icon, you can write to character.animations . However according to the docs it takes an array of animations https://lua-api.factorio.com/latest/prototypes/CharacterPrototype.html#animations.
So assuming animations is in a valid CharacterArmorAnimation format, you can ...
by Sector_347
Sat Dec 27, 2025 11:12 am
Forum: Modding help
Topic: Need help with character sprites replacement!
Replies: 3
Views: 198

Need help with character sprites replacement!

Hi!
I really need outside help to create a simple mod that would replace the sprite of the engineer. There are no problems with sprites (and their parameters like "shift_by_pixel" e.t.c.) and they are almost ready. The problem lies in the replacement itself, i.e. in the code.
What I want:
- This is ...

Go to advanced search