Tutorial MOD-TUTORIAL 3: How to make your own Gun (OUTDATED)

Discussion in 'Starbound Modding' started by Ghoul159, Dec 8, 2013.

Thread Status:
Not open for further replies.
  1. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    you have to add the recipe to the player.config otherwise it wont work...
     
  2. dra6o0n

    dra6o0n Big Damn Hero

    What if someone creates a tool that makes it more convenient to make weapons and items?
     
  3. blaze2149

    blaze2149 Void-Bound Voyager

    I just did but i got a perfectly generic item
     
  4. jstansberry

    jstansberry Big Damn Hero

    Hi, I followed your tutorial, but instead of adding things into the main "assets" folder, I edited the bootstrap config to include my separate "mods" folder. When I go to craft the weapon I added, "perfectly generic item" is in it's place in the crafting menu. I did add it to the player.config under tier 1 items, and I'm almost certain the folder paths in my "mods' folder are correct, so I don't think those are the problems. Any ideas?

    edit: I tried to just put the files into the original assets folder rather than my mods folder, and oddly enough, the game crashes on start up, with an error message mentioning an "access violation". Luckily after I deleted the added files the game works again, but hopefully that helps narrow down the issue.
     
    Last edited: Dec 12, 2013
  5. Phyrex

    Phyrex Parsec Taste Tester

    so i made a gun using your tutorial, and its stats were broken, so i changed them and it never worked.
    i saw your post about having to recraft and slapped myself in the face.
    but even after doing that its still not going like i want :S

    im really confused now but my files are identical to the model one or those you used in your tutorial, i dont get it
     
  6. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    there are already people working on that for pc and maybe i'll create one for every system....

    this means that anything is wrong maybe the file names or the paths where the files are saved
    or the formating with the comma at the end...

    that sounds like there is anything wrong with the files... maybe the path of the image or comma at the end.... look through your files and search for these formatting errors...

    what are you trying to change i'll try that too...
     
  7. TehPlasmaDucky

    TehPlasmaDucky Aquatic Astronaut

    I get a Perfectly Generic Item when i try this.
     
  8. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    have you looked at my example? maybe there's something wrong in your .gun...
     
  9. vhmercenario

    vhmercenario Subatomic Cosmonaut

    It price can't be 0 coins or any item, make it cost like 1 coin
     
    Ghoul159 likes this.
  10. vhmercenario

    vhmercenario Subatomic Cosmonaut

    BTW chech this server it give modded over-powered items: twinksrus.dyndns.org
    thanks for sexualrhinocerus
     
  11. TehPlasmaDucky

    TehPlasmaDucky Aquatic Astronaut

    I have checked everything. Still doesn't work.
     
  12. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    then show us the .gun or upload it ...
     
  13. blaze2149

    blaze2149 Void-Bound Voyager

    {
    "itemName" : "MyNewGun",
    "inventoryIcon" : "MyNewGunicon.png",
    "shortdescription" : "My NewGun",
    "description" : "My New Gun!",
    "dropCollision" : [-8.0, -3.0, 8.0, 3.0],
    "maxStack" : 1,
    "level" : 2,
    "rarity" : "Rare",
    "inspectionKind" : "gun",
    "image" : "MyNewGun.png",
    "recoilTime" : 0.1,
    "handPosition" : [-5.5, -3],
    "firePosition" : [12, 3],
    "fireTime" : 0.5,
    "twoHanded" : false,

    "projectileType" : "MyNewGunProjectile",
    "projectile" : {
    "power" : 25,
    "speed" : 60,
    "color" : [10, 255, 10]
    },

    "muzzleEffect" : {
    "animation" : "/MyNewGunMod/muzzleflash/MyNewGunMF.animation",
    "fireSound" : [ { "file" : "/MyNewGunMod/sfx/MyNewGunSound.wav" } ]
    }
    }
    Is there something wrong?
     
  14. chaos_jockey

    chaos_jockey Void-Bound Voyager

    I modded in several items and set them to 0 pixels so I can test them out immediately and I've never had a crash.
     
  15. T0xicBanana

    T0xicBanana Void-Bound Voyager

    how does one change weapon accuracy?
     
  16. Phyrex

    Phyrex Parsec Taste Tester

    praise be the being with the answer to that question, its been driving me mad for a while now
     
  17. vhmercenario

    vhmercenario Subatomic Cosmonaut

    strange, mine crash D:
     
  18. vhmercenario

    vhmercenario Subatomic Cosmonaut

    Man ppl get crazy when i log on server with hacked guns, like a carrot gun, a bubble gun that shoots lava other that shoots water, a weapon that shoot matter blocks and another that shoot random blocks, one that shoot a giant fire bomb, and another that shoot explosive penis ( da fuq?!?)
     
  19. vhmercenario

    vhmercenario Subatomic Cosmonaut

    da fuq man, a guy made a gun that crash your game when it hit you and kill you even if you're not in pvp, how can i do that?
     
  20. Ghoul159

    Ghoul159 Scruffy Nerf-Herder

    well i think there is no problem in there... what is the error like? green item?


    puh good question just tried a lot parameters and nothing worked...


    well i can't say that for shure and i won't tutorial how to crash the game....
     
Thread Status:
Not open for further replies.

Share This Page