Modding Help chest clothing sprite not showing up

Discussion in 'Starbound Modding' started by Pope74220, Apr 29, 2024.

Tags:
  1. Pope74220

    Pope74220 Yeah, You!

    literal day 1 of me modding, managed to get a mod working... except for the part where the damn shirt shows up

    I have added FRAME files and moved things around in the armors tab, the only change it made was whether the ui icon shows up

    soooo, help? (pics attached & a download to the wip mod if anyone wants to check the engine)



    Screenshot (850).png 20240429034304_1.jpg
    [​IMG]
    [​IMG]
     

    Attached Files:

  2. projectmayhem

    projectmayhem Spaceman Spiff

    I'll take a deeper look later if this doesn't work, but at a glance I think it is just a naming issue. Your frame file and your png file must have the same name, that way it knows what image it is framing.
    If that does not work, let me know. I dont have access to my Starbound atm or I would check it myself.
     
  3. projectmayhem

    projectmayhem Spaceman Spiff

    Grabbed my laptop on break, it is a naming issue. There are two solutions
    1 Rename the PNG files to chestm and chestf then go into your file and change the png name at this part "body" : "POPEctpm.png", to chestm.png and chestf.png for the female.
    2 Rename the frame files to POPEctpm and POPEctpf

    I recommend option 1. If you follow the vanilla file structure, which you did, then you dont have to include frame files as long as your file names are the default file names. The game will look higher up in the folder structure to see if there are frame files, so it will find the vanilla frames. So for ease, keep the png names vanilla, name your .chest . leg .head files whatever you want.

    Also, the starbound log will be your best friend. Its in your Starbound/Storage/starbound.log
    Here is the error it gave for your mod:

    [14:25:40.923] [Error] Could not load image asset '/items/armors/POPEctpm.png:run', using placeholder default.
    (AssetException) No associated frames file found for image '/items/armors/POPEctpm.png' while resolving image frame '/items/armors/POPEctpm.png:run'
    [14:25:41.110] [Error] Could not load image asset '/items/armors/POPEctpm.png:idle.4', using placeholder default.
    (AssetException) No associated frames file found for image '/items/armors/POPEctpm.png' while resolving image frame '/items/armors/POPEctpm.png:idle.4'

    The no associated frame files is the important part of the error. Anytime something doesn't work, open the log and scroll to the bottom, start scrolling up and looking for the errors.
     
  4. Pope74220

    Pope74220 Yeah, You!

    Yep that was it! thanks
     

Share This Page