Bit Blot Forum

Aquaria => Modding => Topic started by: Dornil on December 17, 2013, 08:03:18 pm

Title: Naija's cape
Post by: Dornil on December 17, 2013, 08:03:18 pm
I am now trying to do some Naija's skins modding; encountered a certain issue: I don't understand how her cape works. Removing it is not a problem (through simple sprite editing) but adding one is a different story. In other words, I want to add a cape to the Mithalan costume, preferably a new one, with separate texture. How do I do it?
Title: Re: Naija's cape
Post by: False.Genesis on December 17, 2013, 09:36:32 pm
There's a certain issue with capes -- they need to be added to the game's gfx/naija directory; adding them to _mods/xyz/graphics/naija doesn't work.
That said, the naming scheme is simple:  "naija/cape-COSTUME.png". So for mithalan it should be cape-mithalan.png. It checks whether the file exists before it tries to set the cape.
(Haven't tested it, but should work that way.)

Details in Avatar::refreshNormalForm(): https://github.com/fgenesis/Aquaria/blob/master/Aquaria/Avatar.cpp#L4102 (warning, derpcode)

Title: Re: Naija's cape
Post by: Dornil on December 18, 2013, 07:50:51 am
That simple??!:) Thank you!