Hey, we have forums!

Author Topic: Naija's cape  (Read 9572 times)

0 Members and 1 Guest are viewing this topic.

Offline Dornil

  • Mini Bit
  • **
  • Posts: 4
    • View Profile
Naija's cape
« 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?

Offline False.Genesis

  • Administrator
  • Super Bit
  • **********
  • Posts: 461
  • PRESS COMPILE FOR RAINBOWS
    • View Profile
    • My source code!
Re: Naija's cape
« Reply #1 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)


Offline Dornil

  • Mini Bit
  • **
  • Posts: 4
    • View Profile
Re: Naija's cape
« Reply #2 on: December 18, 2013, 07:50:51 am »
That simple??!:) Thank you!