Last active
March 24, 2024 16:06
-
-
Save hanleybrand/c581b62a37f1359366b0 to your computer and use it in GitHub Desktop.
Your Starbound Crew: How to fix the first crew member spawner - probably is the same for every one.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type" : "crewmate", | |
"disableWornArmor" : true, | |
"scripts" : [ | |
"/npcs/main.lua", | |
"/scripts/pathing.lua", | |
"/npcs/timers.lua", | |
"/scripts/sensors.lua", | |
"/scripts/stateMachine.lua", | |
"/scripts/util.lua", | |
"/scripts/vec2.lua", | |
"/npcs/crewmate.lua", | |
"/npcs/converseState.lua", | |
"/npcs/sitState.lua", | |
"/npcs/standingIdleState.lua", | |
"/npcs/wanderState.lua" | |
], | |
"initialScriptDelta" : 5, | |
"scriptConfig" : { | |
"offeredQuests" : [ "crewfindingdoctor.gearup", "crewfindingarchitect.gearup", "crewfindingchef.gearup", "crewfindinghunter.gearup", "crewfindingmercenary.gearup", "crewfindingmerchant.gearup", "crewfindingpriest.gearup", "crewfindingscientist.gearup", "crewisallhere.gearup", "crewfirstbiome.gearup", "crewKEI2.gearup", "crewsnowbiome.gearup", "crewmatecard.gearup", "crewyourhoverbike.gearup", | |
"crewlovejonesplanet.gearup", "crewbringfinalores.gearup", "crewbringlava.gearup", "crewchristmastime.gearup", "crewfinalKEIs.gearup", "crewisallhere2.gearup", "crewupgrademanipulator.gearup", "crewyourhoverbike2.gearup" ], | |
"turnInQuests" : [ "crewfindingarchitect.gearup", "crewfindingchef.gearup", "crewfindingmerchant.gearup", "crewisallhere.gearup", "crewfirstbiome.gearup", "crewKEI2.gearup", "crewsnowbiome.gearup", "crewmatecard.gearup", "crewyourhoverbike.gearup", | |
"crewbringfinalores.gearup", "crewbringlava.gearup", "crewchristmastime.gearup", "crewfinalKEIs.gearup", "crewisallhere2.gearup", "crewupgrademanipulator.gearup", "crewyourhoverbike2.gearup" ], | |
"doorHitPoly" : [ [2, -1], [2, 1], [0, 1], [0, -1] ], | |
"idleTimeRange" : [20.0, 30.0], | |
"gapSensor" : [ [2.0, -4.5] ], | |
"gapFarSideSensors" : [ [3.0, -4.5], [4.0, -4.5], [5.0, -4.5], [6.0, -4.5], [7.0, -4.5], [8.0, -4.5] ], | |
"gapJumpHoldTime" : 0.4, | |
"wander" : { | |
"timeRange" : [1.0, 2.0], | |
"indoorTimeOfDayRanges" : [ [0.0, 0.2], [0.5, 1.0] ], | |
"indoorSearchRadius" : 5, | |
"indoorLookaheadDistance" : 4, | |
"moveToTargetTime" : 5.0, | |
"changeDirectionCooldown" : 2, | |
"dropDownChance" : 0, | |
"cooldown" : 30, | |
"maxDistanceFromSpawnPoint" : 2 | |
}, | |
"sit" : { | |
"moveTimeLimit" : 10, | |
"sitRadius" : 8, | |
"cooldown" : 40, | |
"timeRange" : [10, 20] | |
}, | |
"converse" : { | |
"waitTime" : 2.0, | |
"dialog" : { | |
"default" : [ "Good day, captain!" ], | |
"apex" : { | |
"human" : [ | |
"you damn dirty human", | |
"what do you want human?" | |
] | |
}, | |
"avian" : { | |
"human" : [ | |
"heavy human" | |
] | |
}, | |
"floran" : { | |
"human" : [ | |
"ssssilly human" | |
] | |
}, | |
"hylotl" : { | |
"human" : [ | |
"yummy human" | |
] | |
}, | |
"glitch" : { | |
"human" : [ | |
"beep-boop-blip human" | |
] | |
} | |
} | |
} | |
}, | |
"items" : { | |
"default" : [ | |
[0, [ | |
{ | |
"chest" : [ "apexcommanderjacket" ], | |
"legs" : [ "apexcommanderpants" ] | |
} | |
] ] | |
] | |
}, | |
"movementControllerSettings" : { | |
"standingPoly" : [ [-0.75, -2.0], [-0.35, -2.5], [0.35, -2.5], [0.75, -2.0], [0.75, 0.65], [0.35, 1.22], [-0.35, 1.22], [-0.75, 0.65] ], | |
"crouchingPoly" : [ [-0.75, -2.0], [-0.35, -2.5], [0.35, -2.5], [0.75, -2.0], [0.75, -0.5], [0.35, 0], [-0.35, 0], [-0.75, -0.5] ], | |
"mass" : 0.6, | |
"jumpSpeed" : 24.0 | |
}, | |
"humanoidTiming" : { | |
// Idle, Walk, Run, Jump, Fall, Swim, SwimIdle, Duck, Sit, Lay | |
"stateCycle" : [1.0, 0.75, 0.75, 0.25, 0.25, 0.50, 0.50, 1.0, 1.0, 1.0], | |
"stateFrames" : [1, 8, 8, 4, 4, 7, 2, 1, 1, 1], | |
// EmoteIdle, Blabbering, Shouting, Happy, Sad, NEUTRAL, Laugh, Annoyed, Oh, OOOH, Blink, Wink, Eat, Sleep | |
// , normal , caps , :) , :'(, :| , :D , , :o, :O , , ;) | |
"emoteCycle" : [1.0, 0.3, 0.3, 0.3, 1.0, 0.3, 0.5, 1.0, 1.0, 1.0, 1.0, 0.5, 0.3, 1], | |
"emoteFrames" : [1, 2, 2, 2, 5, 2, 2, 2, 2, 3, 3, 5, 2, 2] | |
}, | |
"statusControllerSettings" : { | |
"statusProperties" : { | |
"targetMaterialKind" : "organic" | |
}, | |
"appliesEnvironmentStatusEffects" : false, | |
"minimumLiquidStatusEffectPercentage" : 0.1, | |
"primaryScriptSources" : [ | |
"/stats/npc_primary.lua" | |
], | |
"primaryScriptDelta" : 5, | |
"stats" : { | |
"maxHealth" : { | |
"baseValue" : 100.0 | |
}, | |
"maxEnergy" : { | |
"baseValue" : 100.0 | |
}, | |
"powerMultiplier" : { | |
"baseValue" : 1.0 | |
}, | |
"protection" : { | |
"baseValue" : 1.0 | |
}, | |
"healthRegen" : { | |
"baseValue" : 0.0 | |
}, | |
"energyRegen" : { | |
"baseValue" : 5.0 | |
}, | |
"shieldSuppressed" : { | |
"baseValue" : 0.0 | |
}, | |
"invulnerable" : { | |
"baseValue" : 0.0 | |
} | |
}, | |
"resources" : { | |
"health" : { | |
"maxStat" : "maxHealth", | |
"deltaStat" : "healthRegen", | |
"defaultPercentage" : 100 | |
}, | |
"energy" : { | |
"maxStat" : "maxEnergy", | |
"deltaStat" : "energyRegen", | |
"defaultPercentage" : 100 | |
} | |
} | |
}, | |
"persistent" : true, | |
"splashConfig" : { | |
"splashSpeedMin" : 10.0, | |
"splashMinWaterLevel" : 0.4, | |
"splashBottomSensor" : [0, -2.0], | |
"splashTopSensor" : [0, 2.0], | |
"numSplashParticles" : 8, | |
"splashYVelocityFactor" : 0.2, | |
"splashParticle" : { | |
"type" : "ember", | |
"position" : [0, -1], | |
"finalVelocity" : [0, -20], | |
"approach" : [0, 50], | |
"color" : [60, 150, 224, 100], | |
"size" : 4.0, | |
"timeToLive" : 0.5, | |
"destructionAction" : "shrink", | |
"destructionTime" : 0.2 | |
}, | |
"splashParticleVariance" : { | |
"velocity" : [10, 0] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment