Modding Help Having Multiple Weapon's Working In One Folder. [Solved]

Discussion in 'Starbound Modding' started by Dilrax, Jan 17, 2014.

  1. Dilrax

    Dilrax Ketchup Robot

    im just going to throw this right out there because for the life of me i cant seem to work this one out and i don't think its been asked before, or at least not that i can find it if it has, anyhow.

    my question is, how in what method or way, can i get multiple weapons to load and work in starbound and have them all in the one mod file/folder.

    for example the folder structure being
    as shown below for an example...
    [​IMG]
    i refer to something like this when you open the "testgun mod folder" shall we call it, i have made an attempt to do something like this but starbound fails to load and remains in its endless loading loop, so i was wondering what's the trick to getting them all to work along side each other?

    let alone getting even just one gun and its folder of contents to work, as a single folder on its own set out as.


    will work, but when i try to introduce a second weapon or put all of the first guns files in its own folder
    it doesn't seem to work...

    any solutions? tips or perhaps idea's?
     
  2. HalcyonXIII

    HalcyonXIII Big Damn Hero

    You seem to be nesting your Testgun mods. Just put their files under a single hierarchy, something like this:
    Code:
    starbound/mods/
    ---- >Mod (1)/
    ---- >Mod (2)/
    ---- >TestMod/
    ----------- >Player.config
    ----------- >testmod.modinfo
    ----------- >items/
    ------------------ >guns/
    ------------------------- >Testgun1/
    -------------------------------->Testgun1.gun
    -------------------------------->Testgun1.png
    -------------------------------->Testgun1icon.png
    ------------------------- >Testgun2/
    -------------------------------->Testgun2.gun
    -------------------------------->Testgun2.png
    -------------------------------->Testgun2icon.png
    ------------------------- >Testgun3/
    -------------------------------->Testgun3.gun
    -------------------------------->Testgun3.png
    -------------------------------->Testgun3icon.png
    ----------- >projectiles/
    ------------------ >guns/
    ------------------------- >testgun1projectile/
    -------------------------------- >testgun1projectile.projectile
    -------------------------------- >testgun1projectile.frames
    -------------------------------- >testgun1projectile.png
    -------------------------------- >icon.png
    ------------------------- >testgun2projectile/
    -------------------------------- >testgun2projectile.projectile
    -------------------------------- >testgun2projectile.frames
    -------------------------------- >testgun2projectile.png
    -------------------------------- >icon.png
    ------------------------- >testgun3projectile/
    -------------------------------- >testgun3projectile.projectile
    -------------------------------- >testgun3projectile.frames
    -------------------------------- >testgun3projectile.png
    -------------------------------- >icon.png
    ----------- >recipes/
    ------------------ >weapons/
    ------------------------- >Testgun1.recipe
    ------------------------- >Testgun2.recipe
    ------------------------- >Testgun3.recipe
    ...
    
    Your mod's directory structure should reflect the structure of Starbound's assets directory.
     
  3. Dead Squirrel

    Dead Squirrel Scruffy Nerf-Herder

    What Halcyon said ^^
    But also, after starting the game, search "starbound.log" ("starbound" text file) for errors. If it's failing to start, you may have duplicate names.
     
  4. Dilrax

    Dilrax Ketchup Robot

    i had tried something like that but it didn't seem to work for me, or at least not that i knew of as it caused starbound to enter its "endless loading" mode :/
     
  5. HalcyonXIII

    HalcyonXIII Big Damn Hero

    As.. Dead Squirrel... pointed out, you should check your Starbound log file as it might tell you what is going wrong. On Windows, it should be in the same directory as the 'mods' and 'assets' folders, probably something like 'C:\Program Files (x86)\Steam\SteamApps\common\Starbound\'.

    If you can't figure out how to fix the issue after checking the log file, then you can upload your mod here and I or someone else will look at it.
     
  6. Dilrax

    Dilrax Ketchup Robot

    i do often check the log file, been working around the current problems it finds, got my files working and set out how you suggested, had to modify them a bit but it all works fine, so thanks for the help guys. :D honestly too.

    now for some stat tweaking
     
  7. modded_pizza

    modded_pizza Orbital Explorer

    Do you have your player.config file containing all three guns so they appear in game?
     

Share This Page