1. Please be advised of a few specific rules and guidelines for this section.

WIP DHC Armor Set

Discussion in 'Weapons, Armor and Clothes' started by Horizons Reach, Dec 21, 2013.

  1. Horizons Reach

    Horizons Reach Void-Bound Voyager

    Hello, welcome to the very first test mod I am working on.
    This isn't completed, and I do need some help with a few things
    from more experienced modders. Prior info, DHC stands for
    Dynamic Hive Cell. There are new textures made by me for each
    item.This current mod is very basic. All items can be made from the
    get go.

    Current addition...

    DHC Helmet: The helmet of choice for any Tabula Rasa. Whatever apocalypse scenario you've
    got yourself into this time, DHC is here to help.

    The current recipe is a single iron bar, due to ease of testing and use.
    Has 7 Cold Resist, and 10 Armor.

    DHC Bowgun: A powerful Bow-Gun fabricated with Hive Generation Tech. Better than a bow
    anyway.

    The current recipe is a single Copper ORE, and 10 unrefined wood.
    Has no need to draw a shot, and does 10 damage. 1.0 fire time.

    Hive Generation Table: When DHC makes things, sometimes they go overboard. What was meant
    to be a 3D printer ended up as a highly sentient host of nanobots that can create just about anything.
    They only choose NOT to kill us.

    The recipe is currently 5 Copper Ore.
    It works like a re-textured workbench.

    The download will be up when i have everything prepped, and is professionally done.
    But if anyone shows interest in this, I will gladly release the files.


    -------------------------------------

    Now comes the part I need help with.

    -I need to know how to make tier items, so that the Hive Generation Table is only
    craftable with a crafting table, and that the DHC gear like the bowgun can only be
    made with the Hive Generation Table. I also need to know how to modify and add
    shields, a I have a new texture for it already.

    Helmet, Shield, Bowgun: [​IMG]
    Hive Generation Table: [​IMG]
     
  2. Horizons Reach

    Horizons Reach Void-Bound Voyager

    A logo for the Dynamic Hive Cell

    [​IMG]
     
  3. Horizons Reach

    Horizons Reach Void-Bound Voyager

    Bump, i still need help.
    In case you didn't see it:

    I need to know how to make tier items, so that the Hive Generation Table is only
    craftable with a crafting table, and that the DHC gear like the bowgun can only be
    made with the Hive Generation Table. I also need to know how to modify and add
    shields, a I have a new texture for it already.
     
  4. Mog-Why

    Mog-Why Starship Captain

    Hey!

    For the Hive Generation Table you need to add "woodencraftingtable" to the recipe in the "groups" section so it must look like this :
    Code:
    {
      "input" : [
        { "item" : "darkwoodmaterial", "count" : 35 },
        { "item" : "ironbar", "count" : 10 },
        { "item" : "money", "count" : 250 }
      ],
      "output" : {
        "item" : "hivegenerationtable",
        "count" : 1
      },
      "groups" : [ "woodencraftingtable", "objects", "all", "tools" ]
    }
    
    Idem for the items you want to craft from the Hive Generation table, you must add the name of the item in the "groups" section.

    Code:
      "groups" : [ "hivegenerationtable", "weapons", "all" ]
    
    All the items who have this will be craftable on it ;)

    For the shields I don't really now, i think you better go with a chucklefish basic shields and modify the code for the one you want to create :
    Code:
    {
      "name" : "hiveshield",
      "kind" : "hive",
    
      "rarity" : "rare",
      "palette" : [
        { }
      ],
    
      "hitSound" : "/sfx/melee/shield_block_metal2.wav",
    
      "baseline" : {
        "recoil" : 0.2,
        "knockbackPower" : 15,
        "knockbackDamageKind" : "",
        "statusEffects" : [
          { "kind" : "Encumbered" },
          { "kind" : "EnergyRegenSuppressed" },
          { "kind" : "Shield", "amount" : 35 }
        ],
        "shieldPoly" : [ [-8, 0], [-8, 12], [8, 20], [8, -24], [-8, -12] ],
        "damagePoly" : [ [-8, 0], [8, 18], [8, -18] ]
      },
    }
    But, I'm not sure, I havent look deeper in this. I think this might be a problem with the "default.frames" so you'll have to add it to your filestructure for the shield you want to make.
    ( '...\items\shields\yourshieldname\default.frames")

    Hope this helps you! :)
     
    Last edited: Dec 22, 2013
  5. Horizons Reach

    Horizons Reach Void-Bound Voyager

    Thanks so much for the help, i actually managed to fix it! I updated it, and posted it here: http://community.playstarbound.com/index.php?threads/dynamic-hive-cell-items.57571/

    Also, do you know whats wrong with this code?

    {
    "itemName" : "Flaregun",
    "inventoryIcon" : "FlaregunIcon.png",
    "dropCollision" : [-8.0, -3.0, 8.0, 3.0],
    "maxStack" : 1,

    "level" : 1,

    "rarity" : "Rare",
    "description" : "A flaregun. Guarenteed to burn everything farcry style.",
    "shortdescription" : "Flare Gun",
    "inspectionKind" : "gun",
    "image" : "Flaregun.png",
    "handPosition" : [1, -3],
    "firePosition" : [20, 2],

    "fireTime" : 0.2,
    "twoHanded" : false,

    "projectileType" : "firepart1",
    "projectile" : {
    "speed" : 60,
    "color" : [10, 255, 10]
    },
    "muzzleEffect" : {
    "animation" : "/animations/muzzleflash/bulletmuzzle3/bulletmuzzle3.animation",
    "fireSound" : [ { "file" : "/sfx/melee/swing_dagger.wav" } ]
    }
    }
     
  6. Horizons Reach

    Horizons Reach Void-Bound Voyager

    It crashes everytime i click the icon ingame.
     
  7. Mog-Why

    Mog-Why Starship Captain

    I think its not the item who makes the game crash. Launch your game, make it crash, quit and open the "starbound.txt" file in "...\Starbound" scroll to the bottom and the log will tell you if there's something wrong, and the file who makes it crash!

    Like this :
    Code:
    Error: Could not load /item/generic/meat/alienmeat.item asset, attempting to use default.
    AssetException: Could not read variant asset /item/generic/meat/alienmeat.item
    caused by: JsonParsingException: Cannot parse json file: /item/generic/meat/alienmeat.item
    caused by: JsonParsingException: Error parsing json: bad string, should be '"' at 8:1
      0097EC08
      007CE6A2
      004E9E3D
      004EAB1C
      004E2B3F
      004E2BFD
      004ECCBB
      004ED42C
      004EE011
      0095162C
      7644336A
      77D59F72
      77D59F45
    
    
     
  8. Horizons Reach

    Horizons Reach Void-Bound Voyager

    Thanks, this is what i get:

    Error: MapException: Key 'power' not found in Map::get()
    005F9EA5
    0049D10C
    0049EF7E
    00461BCB
    004B43AB
    0043454B
    00404E4F
    00407357
    00409DC4
    00407C7F
    004D9531
     
  9. Mog-Why

    Mog-Why Starship Captain

    Ughh, sorry but at this point I can't help you. I absolutely don't know what this means haha!

    But you can try uninstall all your mods, and just launch the game with yours. See what happens. Maybe its a compatibility problem. Or you can upload your WIP mod an give me the link, to see if what's happening to you is happening to me. Maybe there's something you can't see but I can.

    That's all I can offer, sorry.
     
  10. Mog-Why

    Mog-Why Starship Captain

    Or you can go to the starbound IRC modding channel, there's a pretty good team out of there, they certainly can help you better than me.
     
  11. Horizons Reach

    Horizons Reach Void-Bound Voyager

  12. Mog-Why

    Mog-Why Starship Captain

    I'm going to look at this, I'll come back soon !
     
  13. Horizons Reach

    Horizons Reach Void-Bound Voyager

    By the way, its all made by me, so likely lots of sloppy modifications. :p
     
  14. Mog-Why

    Mog-Why Starship Captain

    Okay!

    What I've discovered so far :

    -Your "...\Actual Files\PHD-7.gun" is the file who crash the game, because the name of the item is "Magnum" an this name is allready used by another item.(The Magnum in fact !)

    -Your Flare gun file is reporting to a FlaregunIcon.png that doesn't exist yet ;)

    -Your mod isn't updated to the new mod file system, what will greatly simplify the installation.

    -You use a modification of the "player.config" file, whats means that any other mod who use it will be incompatible. Try using the "learnBlueprintsOnPickup" command.

    - Many players who have mods installed don't want to have an enormous crafting room, It's just an idea but maybe Tabula Rasa support would be cool.

    Sorry for the late reply, I hope this helps !
     
    Last edited: Dec 22, 2013
  15. Horizons Reach

    Horizons Reach Void-Bound Voyager

    Whoopsie dasies.
    Few things.

    - I think i gave you the older version of the files, i fixed the PHD-7 problem, and have a placeholder for the Flare Gun.

    -What i don't know how to do is use the new modding system, as my game refuses to read it.

    Whats this tabula rasa thingy?
     
  16. Horizons Reach

    Horizons Reach Void-Bound Voyager

    And seriously, thanks for all the help man. You're the best.
     
  17. Mog-Why

    Mog-Why Starship Captain

    Sorry for the very late reply, family times!

    For the modding system you need to add a "yourmodname.modinfo" file to the root of your mod, I recommand to use a .modinfo file coming from another mod and modify it for yours. This way you can see how the file should be. The file structure must be like this "...\Starbound\Mods\yourmodname\yourmodname.modinfo" .

    The mod files structure is meaningless but for more clarity try using the same directories as in the original game (So, the guns folders goes in "...\Starbound\assets\items\guns" and in your mod they goes in "...\yourmodname\items\guns" ect ect.) .

    Your game load automaticaly the mods with their ".modinfo" file if they're in the " .../Starbound\Mods" folder.

    Tabula Rasa is a mod craftingtable I love it and I'm not the only one, for compatibilty all you have to do is to add "mod" to the groups section of your recipes!
    All infos are here : http://community.playstarbound.com/index.php?resources/the-tabula-rasa.114/

    I hope this helps, but if you have any other questions I'm still around here!

    And, by the way, merry Chrismas to you!
     
  18. Horizons Reach

    Horizons Reach Void-Bound Voyager

    Merry christmas, you godsend.
    :)
     

Share This Page