Page 1 of 1

How can I add a modified "player-basic-idle.png" to the game

Posted: Sat Jun 03, 2017 5:06 pm
by Dre0ne
I made some changes to the player's graphics in "player-basic-idle.png". How can I make this a mod? I'm guessing that I need to add something to data.lua or something but I can't find any info related to player graphics.

Thank you.

Re: How can I add a modified "player-basic-idle.png" to the game

Posted: Sun Jun 04, 2017 11:37 am
by Pandemoneus
Check out data\base\prototypes\entity\demo-player-animations.lua.

You will want to change (didn't check): data.raw.entity.playeranimations["level1"].idle.filename