Starbound

Starbound

Borderlands 2 Random and Unique Shields
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
FelmastProMcLane  [kehittäjä] 17.4.2020 klo 17.27
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
Viimeisin muokkaaja on FelmastProMcLane; 12.12.2024 klo 18.48
< >
Näytetään 1-15 / 43 kommentista
The /spawnitem command don't seem to work.
FelmastProMcLane  [kehittäjä] 19.4.2020 klo 8.28 
Like this?: /spawnitem hopliteblshield 1 '{"level":6}'
(I think i forgot to add the number)
FelmastProMcLane lähetti viestin:
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  [kehittäjä] 19.4.2020 klo 21.39 
You're welcome
wonders if there is a unique ice shield not the antagonist
FelmastProMcLane  [kehittäjä] 12.5.2020 klo 16.23 
There is in the "Borderlands The Pre Sequel", the avalanche.
Also, "The Antagonist" is no longer ice, it is now slag.
but not in starbound

or is it ?
FelmastProMcLane  [kehittäjä] 12.5.2020 klo 16.33 
I could make it.
how you spawn in Random Shields or have to get it with out spawning it in?
FelmastProMcLane  [kehittäjä] 19.5.2020 klo 21.20 
/spawnitem [common/uncommon/rare/legendary]blshield 1 '{"level":6}'
Or you could find them in chests and sometimes enemies.
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  [kehittäjä] 21.5.2020 klo 12.07 
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.
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  [kehittäjä] 21.5.2020 klo 17.19 
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.
Ok. I got the spawnitem parts code to work (just had to remove all of the spaces). TY for the help
< >
Näytetään 1-15 / 43 kommentista
Sivua kohden: 1530 50