Modding Help How to make a custom monster?

Discussion in 'Starbound Modding' started by Campaigner, Feb 25, 2014.

  1. Campaigner

    Campaigner Giant Laser Beams

    I'm trying to learn how to make a custom critter that just hangs out and wanders where you place it, much like the gift box monsters from Christmas. Problem is, I don't have the slightest clue what I'm doing. Here's what I've done so far, in exact order:

    1. Used the Chicken as a base (monsters/unique/chicken).
    2. Opened the behavior.lua. Nothing seemed to affect the chicken itself. Copied to another folder.
    3. Opened body.monsterpart. Copied the file to another folder, changed all "chicken" parts to say "crab".
    4. Opened chicken.animation. Nothing seemed to affect the chicken itself. Renamed and copied to another folder.
    5. Opened chicken.monstertype. Changed everything to say "crab" instead of "chicken", except the loot. Copied to another folder.
    6. Edited the chicken.png file to be green instead of white, just for testing.
    7. Opened default.frames. Kept it all the same, copied to another folder.
    8. Went to the boss spawning items (objects/boss).
    9. Opened ironbeacon.object. Changed the name and ID, copied to another folder.
    10. Opened ironbeacon.frames. Changed filename to match the object, and copied to another folder.
    11. Went to the boss item lua folder (objects/wired/ironbeacon).
    12. Opened ironbeacon.lua. changed line 36 to say "crab" instead of "penguinUfo", changed the filename to match the object, and then copied to another folder.
    13. Created a recipe for the new ironbeacon.
    14. Placed mod into mods folder. modinfo showing the correct patch name, player.config adding the spawning item.
    15. Went to the crafting table, and found my beacon. It had no image.
    16. Created the beacon. Went on planet. Had the item highlighted. Game became insanely laggy.
    17. Could not test beacon because the invisible item could not be placed.

    Here's the excerpt from my log file:
    The error repeats for a long time until the following appeared in the log:
    So, what did I do wrong? Here's a download to the files; http://a.pomf.se/dpthsz.zip
     
  2. Should be obvious, mate.

    Path you are looking for:
    /objects/wired/crabbeacon/crabbeacon.animation
    Path that exists:
    /objects/crabbeacon/crabbeacon.animation

    Fix your pathing in your files..
     
    The | Suit likes this.
  3. Campaigner

    Campaigner Giant Laser Beams

    Well I really feel stupid. Really stupid.

    Sadly, every other problem still persists. I mean, I didn't expect that to magically fix it, but at least that's one kink fixed.
     
  4. That's the only error you gave me. I didn't have a game to test it with either. Sorry.
     
  5. Campaigner

    Campaigner Giant Laser Beams

    EDIT:

    I got it working! My discolored chicken for testing is now playfully wandering around my ship!

    I'm only having just one tiny error now; my summon item appears invisible when placed. It still functions, but it's invisible when on the ground. What's causing this?

    Here's how the error looks ingame (ignore the bad placeholder sprites);

    [​IMG]
     
    Last edited: Feb 27, 2014
  6. Says it cant load the file "crab.png"... Are you missing it?
     
  7. Campaigner

    Campaigner Giant Laser Beams

    The crab.png is the file used for the monster's sprite. That's present in the monster/crab folder.
     
  8.  
  9. Campaigner

    Campaigner Giant Laser Beams

    Man, why can't these logs be more descriptive? Found the problem, it was in the .animation file for the crabbeacon stuff.

    Thanks for the help.
     

Share This Page