Starbound

Starbound

Borderlands 2 Random and Unique Shields
 This topic has been pinned, so it's probably important
FelmastProMcLane  [developer] Apr 17, 2020 @ 5:27pm
Random and Unique Item IDs
Use command: /spawnitem [shieldname]blshield 1 '{"level":6}'
Parameters can be:
  • "level" = 1 -> 50
  • "parts" = {[part]:[manufacturer]},
    Where [part] in quotes:
    • accessory
    • body
    • battery
    • capacitor
    And [manufacturer] in quotes:
    • anshin
    • bandit
    • dahl
    • hyperion
    • maliwan
    • pangolin
    • tediore
    • torgue
    • vladof
  • "shieldTypeIndex" : 1->n, number of the shield type to be selected for the manufacturer. (see "manufacturers.config"), eg: Maliwan -> 1 (nova) or 2 (spike)
  • "elements": List of elements to be selected, eg: ["poison","ice","fire"].
  • "element": Specific element to be selected, eg: "fire".

And replace [shieldname] with any below:

Random:
Common shield: common
Uncommon shield: uncommon
Rare shield: rare
Epic shield: legendary

Uniques:
The Bee: thebee
Hoplite: hoplite
Fabled Tortoise: fabledtortoise
The Sham: thesham
Rough Rider: theroughrider
Hide of Terramorphus: hideofterra
Deadly Bloom: deadlybloom
Sponge: sponge
Blackhole:blackhole
Punchee: punchee
Big Boom Blaster: bigboomblaster
Blockade: blockade
Cracked Sash: crackedsash
Love Thumper: lovethumper
Pot o' Gold: potogold
Evolution: evolution
The Transformer: thetransformer
Flame of the Firehawk: firehawk
Loader 1340: 1340
Captain Blade's Manly Man: manlyman
Neogenator: neogenator
Order: order
EasyMode: easymode
Aequitas: aequitas
Antagonist: antagonist
Imapler: impaler
Retainer: retainer
The Cradle: thecradle
Whisky Tango Foxtrot: whiskytangofoxtrot
One Man Army: onemanarmy
Rainbow Factory: rainbowfactory
Power Surge: powersurge
Death Gamble: deathgamble
Avalanche: avalanche


Staff:
  • Clear: npcclearshieldstaff
  • Tier 1: npccommonshieldstaff
  • Tier 2: npcuncommonshieldstaff
  • Tier 3: npcrareshieldstaff
  • Tier 4: npclegendaryshieldstaff
  • Tier 5: npclegendaryshieldstaff5
  • Tier 6: npclegendaryshieldstaff6
  • Tier 7: npclegendaryshieldstaff7
  • Tier 8: npclegendaryshieldstaff8
  • Tier 9: npclegendaryshieldstaff9
  • Tier 10: npclegendaryshieldstaff10
  • Tier 50 | Admin: npclegendaryadminshieldstaff
Last edited by FelmastProMcLane; Dec 12, 2024 @ 6:48pm
< >
Showing 1-15 of 43 comments
Seventh Wayfarer Apr 19, 2020 @ 7:36am 
The /spawnitem command don't seem to work.
FelmastProMcLane  [developer] Apr 19, 2020 @ 8:28am 
Like this?: /spawnitem hopliteblshield 1 '{"level":6}'
(I think i forgot to add the number)
Seventh Wayfarer Apr 19, 2020 @ 8:53pm 
Originally posted by FelmastProMcLane:
Like this?: /spawnitem hopliteblshield 1 '{"level":6}'
(I think i forgot to add the number)
Yeah, it was the missing the number. Works now, thanks.
FelmastProMcLane  [developer] Apr 19, 2020 @ 9:39pm 
You're welcome
Xeronious May 12, 2020 @ 4:22pm 
wonders if there is a unique ice shield not the antagonist
FelmastProMcLane  [developer] May 12, 2020 @ 4:23pm 
There is in the "Borderlands The Pre Sequel", the avalanche.
Also, "The Antagonist" is no longer ice, it is now slag.
Xeronious May 12, 2020 @ 4:27pm 
but not in starbound

or is it ?
FelmastProMcLane  [developer] May 12, 2020 @ 4:33pm 
I could make it.
CrimsonWolf May 19, 2020 @ 8:38pm 
how you spawn in Random Shields or have to get it with out spawning it in?
FelmastProMcLane  [developer] May 19, 2020 @ 9:20pm 
/spawnitem [common/uncommon/rare/legendary]blshield 1 '{"level":6}'
Or you could find them in chests and sometimes enemies.
Cano_Lathra May 21, 2020 @ 11:58am 
Is there any way to specify the parts/type on a shield when spawning it? I know it can be done with vanilla weapons, and I assume this game uses the same spawning system, but I have no idea what the part names are or what order they would be in.
FelmastProMcLane  [developer] May 21, 2020 @ 12:07pm 
You can, the parts/type are the names of the manufacturers: "accesory" : "maliwan", and so for the capacitor, battery and body.
But i don't know why, I've been able to use the parameters only in lua, not in-game commands.

The format should be:

/spawnitem [shieldname]blshield 1 '{"level":6, "animationPartVariants": {"capacitor" : "maliwan" } }'

See if you have any luck.
Cano_Lathra May 21, 2020 @ 5:10pm 
Will do. I've only gotten it to work a couple of times with vanilla weapons, but maybe I'll be lucky with this.
Now I just have to pull up those age-old Reddit posts on which manufacturers do what. I am assuming you made sure each manufacturer had the same stats.
Also, how are Nova body, Spike body, and Maliwan capacitor elements determined in the item generation, and what names do they have? Is it the standard "elementalType": "fire/electric/ice/poison" like vanilla weapons? And if I don't specify an element, but do specify a Nova, Spike, or Maliwan capacitor, will the code randomly assign an element, or will it break?
FelmastProMcLane  [developer] May 21, 2020 @ 5:19pm 
Yes, the values are the same as in BL2, but their grade calculation it's different, to balance it with starbound.
I used these:
https://apple1417.github.io/bl2/shields/
https://apple1417.github.io/bl2/shields/materials/
https://apple1417.github.io/bl2/shields/calculations/
But the format is inconsistent (negative numbers are either green or red), so I made all red negative and all green positve.

Currently the shield type is randomly selected between the types the manufacturer has, determined by seed.
Also applies to element chosen and elemental resistance.
Currently only physical, explosive, poison, ice, fire, electric are implemented for novas/spike. But only Fire/Poison/Electric are enabled for generation.
Cano_Lathra May 21, 2020 @ 6:59pm 
Ok. I got the spawnitem parts code to work (just had to remove all of the spaces). TY for the help
< >
Showing 1-15 of 43 comments
Per page: 1530 50