Author Topic: Having trouble getting custom sprites to work  (Read 7016 times)

hoffa911

  • Posts: 15
  • Monkey With A Gun
    • View Profile
Having trouble getting custom sprites to work
« on: July 03, 2014, 04:17:32 PM »
I'm doing a fairly simple recolor of the paladin. When I load any map custom or not, it wont load the new sheet, instead loading the old one which I removed out of the hammerwatch folders entirely (i did back it up of course). I wouldn't think there would be an xml I would have to edit as I kept the original file's name the same. What am I not thinking of?

Linaru

  • Moderator
  • Posts: 113
  • That Collectable coin is mine!
    • View Profile
Re: Having trouble getting custom sprites to work
« Reply #1 on: July 03, 2014, 05:15:38 PM »
i had this probelm recently, i am unsure why but simply creating a new image file no longer over rites default assets, i also had to duplicate the xmls and tweak those in order tog et them to work
-----------------------------------------------------------
Stabaddey Stabaddey Zap
-----------------------------------------------------------

hoffa911

  • Posts: 15
  • Monkey With A Gun
    • View Profile
Re: Having trouble getting custom sprites to work
« Reply #2 on: July 03, 2014, 05:21:07 PM »
So copy the image from the file, make a new file and paste it in? What kind of tweaks to the xml did you have to do?

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: Having trouble getting custom sprites to work
« Reply #3 on: July 07, 2014, 09:40:10 AM »
Strange, if I just replace the knight_a.png it works?

Hammerwatch\assets\actors\player\knight_a.png


hoffa911

  • Posts: 15
  • Monkey With A Gun
    • View Profile
Re: Having trouble getting custom sprites to work
« Reply #4 on: July 07, 2014, 03:56:16 PM »
Ok, I finally got it working...I guess having to put it in a new file fixed it. Thanks for the help everyone.

CrusaderDeleters

  • Posts: 102
  • The Great Crusader
    • View Profile
Re: Having trouble getting custom sprites to work
« Reply #5 on: July 07, 2014, 10:49:43 PM »
I make my own sub-directories for all of my custom images.
Hammerwatch/editor/<campaign>/doodads/decorations/test.png, and the testimagepart1.xml in the same folder, referring to the same image.
The King of Maernol