Modding:Custom Weapons

From Starbounder - Starbound Wiki
Jump to: navigation, search
Penguin-Jump.gif
Article Stub

This article is a stub. You can help Starbound's official Wiki by expanding it!

Custom Weapons/Armor

(This was meant for things like custom attacks, custom effects. And also, this isn't really a modding guide.)

Well, have you ever wanted to create your own weapon in VANILLA Starbound? Without a trace of a SINGLE MOD? Well, here's the answer to all of your help, problems, and needs with that! You just need to add "/spawnitem (weapon/armor you want) 1" in front.

JSON

What you want to change/add How to use What it Does Example Notes
Short Description "shortdescription" Changes the item's name. '{"shortdescription":"The Best Sword In The World"}'
Description "description" Changes the item's description (text in the box}. '{"description":"This is quite a good sword."}' Will not work on everything
Rarity "rarity":"some kind of rarity" Changes the item's rarity. '{"rarity":"Legendary"}'
Level "level":(tier level) Changes the item's tier level. '{"level":6}'
Elemental Type "elementalType":"ice,fire,poison,electric" Changes the item's element. '{"elementalType":"electric"}'
Seed "seed":(number) Makes the item you spawn in have a specific seed. '{"seed":237}'


Examples

From ThatThunderCookie's Youtube channel (may be slightly changed)


Spear of Flight

/spawnitem rarespear 1 '{"shortdescription":"Flight Spear","description":"Better then a    Hoverbike!","rarity":"Legendary","elementalType":"fire","primaryAbility": {"fireTime":1.50,"baseDps":5.5,"knockback":100},"altAbilityType":"rocketspear","altAbility":{"baseDps":0,"cooldownTime":0.1,"energyUsage":0,"inaccuracy":0.25,"boostForce":-250,"projectileParameters": {"speed":10}},"tooltipKind":"base"}'



Ion Laser Rifle (kinda shoots through walls)

/spawnitem npcassaultrifle 1 '{"shortdescription":"Ion Laser Rifle","level":6,"seed":237,"primaryAbility":{"projectileType":"shortbeam","baseDps":30,"inaccuracy":0,"energyUsage":30,"projectileParameters":{"speed":200,"power":15.5,"knockback":10}},"rarity":"legendary"}'



Gravity Cannon (A.K.A a rocket launcher that allows you to rocket jump}

/spawnitem rarerocketlauncher 1 '{"seed":666,"level":10,"shortdescription":"Gravity Cannon","rarity":"legendary","altAbility":{"fireTime":1.0,"energyUsage":0,"projectileCount":5,"inaccuracy":0.1,"baseDps":30,"projectileType":"ngravityexplosion"}}'



Shadow Aura Gear

/spawnitem aviantier6mchest 1 '{"shortdescription":"Shadow Aura Gear","description":"Let the shadows take you.","statusEffects":["runboost","minibossglow","jumpboost","nude","beamin","rage"],"level":10}'



Hover Pants (use with Flight Spear)

/spawnitem aviantier6mpants 1 '{"shortdescription":"Hover Pants","description":"Whee! This is so fun.","statusEffects":["runboost","lowgrav","levitation"]}'



Phase Fist (goes through walls}


/spawnitem rareshotgun 1 '{"shortdescription":"Phase Fist","level":6,"seed":491,"primaryAbility":{"projectileType":"energyfist","baseDps":30,"cooldownTime":0.3,"inaccuracy":0,"projectileParameters":{"speed":70,"power":15.5,"knockback":10}},"altAbility":{"projectileType":"energyfist","baseDps":30,"cooldownTime":0.3,"inaccuracy":0,"projectileParameters":{"speed":70,"power":15.5,"knockback":10}},"rarity":"legendary"}'



Static Defender


/spawnitem rarestaff 1 '{"level":10,"primaryAbilityType":"electric","altAbilityType":"elementswarm","primaryAbility":{"projectileType":"staticdischarge","projectileCount":1,"maxCastRange":1000,"projectileDistance":0,"projectileParameters":{"timeToLive":1}},"altAbility":{"projectileType":"electricbarrier","projectileCount":60,"maxCastRange":20,"projectileDistance":10,"projectileParameters":{"timeToLive":10}},"elementalType":"electric","rarity":"legendary","shortdescription":"Static Defender","seed":20}'



User-Created Examples

These are creations created by the members of this wiki. If you add something, please sign it by using ~ 4 times in a row.



Ion Sniper

/spawnitem raresniperrifle 1 '{"shortdescription":"Ion Sniper","level":6,"seed":237,"primaryAbilityType":"electric","primaryAbility":{"projectileType":"shortbeam","baseDps":40,"projectileParameters":{"speed":200}},"altAbility":{"projectileType":"shortbeam","baseDps":100,"inaccuracy":0,"projectileParameters":{"speed":300,"power":15.5,"knockback":10}},"rarity":"legendary"}'

Echo (talk) 00:08, 21 December 2016 (UTC)



Meteorite Gun

/spawnitem npcrocketlauncher 1 '{"shortdescription":"Meterorite Gun","level":6,"seed":491,"primaryAbility":{"projectileType":"largemeteor","baseDps":10,"cooldownTime":0.3,"inaccuracy":0,"projectileParameters":{"speed":70,"power":15.5,"knockback":10}},"rarity":"legendary"}'

Echo (talk) 00:08, 21 December 2016 (UTC)



Meteorite Rifle

/spawnitem rareassaultrifle 1 '{"shortdescription":"Meterorite Rifle","level":6,"seed":491,"primaryAbility":{"projectileType":"smallmeteor","baseDps":40,"cooldownTime":0.3,"inaccuracy":0,"projectileParameters":{"speed":70,"power":15.5,"knockback":10}}"altAbility":{"fireTime":1.0,"projectileCount":5,"inaccuracy":0.1,"baseDps":100,"projectileType":"ngravityexplosion"}}
,"rarity":"legendary"}'

Echo (talk) 00:08, 21 December 2016 (UTC)



Homing Arrow Gun (very buggy!)

/spawnitem npcassaultrifle 1 '{"shortdescription":"Arrow Gun","level":6,"seed":237,"primaryAbility":{"projectileType":"homingarrow","baseDps":100,"projectileCount":5,"inaccuracy":0.1,"energyUsage":30,"projectileParameters":{"speed":200,"power":15.5,"knockback":10}},"rarity":"legendary"}'

Echo (talk) 00:08, 21 December 2016 (UTC)



Ion Sword (shoots ion blasts)

/spawnitem rarebroadsword 1 '{"shortdescription":"Ion Sword","level":6,"seed":550,"primaryAbility":{"baseDps":40},"altAbility":{"projectileType":"shortbeam","baseDps":100,"inaccuracy":0,"projectileParameters":{"speed":200,"power":15.5,"knockback":10}}}'

Echo (talk) 00:08, 21 December 2016 (UTC)



Glitched Gun

/spawnitem rareassaultrifle 1 '{"shortdescription":"Glitched Gun","level":6,"seed":491,"primaryAbility":{"projectileType":"rainbow","baseDps":10,"cooldownTime":0.3,"inaccuracy":0,"projectileParameters:{"speed":70}},"altAbilityType":"adaptableammo","rarity":"legendary"}'

Echo (talk) 07:36, 21 December 2016 (UTC)



Staff of insanity

/spawnitem feroziumstaff 1 '{"itemName":"Mega staff","description":"This powerful staff was made by the ancients. I wonder what power it could hold?.","shortdescription":"Mega staff","stances":{"idle":{"armRotation":-90,"weaponRotation":0,"twoHanded":false,"allowRotate":false,"allowFlip":true},"charge":{"duration":0.5,"armRotation":20,"weaponRotation":-20,"twoHanded":true,"allowRotate":false,"allowFlip":true},"charged":{"armRotation":20,"weaponRotation":-20,"twoHanded":true,"allowRotate":false,"allowFlip":true},"discharge":{"duration":0.5,"armRotation":-10,"weaponRotation":-50,"twoHanded":true,"allowRotate":true,"allowFlip":true},"cooldown":{"duration":0.5,"armRotation":-45,"weaponRotation":0,"twoHanded":true,"allowRotate":false,"allowFlip":true}},"primaryAbilityType":"chaosarrow","altAbilityType":"flipslash"}'

Sinaro II (talk) 23:35, 5 May 2017 (BST) Sinaro 2