Starsector 0.97a is out! (02/02/24); New blog post: Planet Search Overhaul (07/13/24)
Quote from: Midnight Kitsune on November 18, 2018, 09:33:25 AM-The ability to look for a planet of a specific survey level or type? Could be useful for testing things-The ability to spawn adminsI'll look into these, thanks for the suggestions!
-The ability to look for a planet of a specific survey level or type? Could be useful for testing things-The ability to spawn admins
The OP specifically identifies LazyLib as required.
Could you maybe add a command or set of commands that allows the player to add or remove planetary modifiers? so as to create 0% hazards ultra rich resources on a planet before/after colonization.
already exists, interact with the planet then use addcondition or removecondition. Use list conditions to see everything available. Having said that, I don't think you can get to 0% hazard, I think 50% is the lowest I've seen
Quote from: Agreion on June 18, 2020, 03:59:48 AMIs there a way to spawn the hyperspace jump point to the player's location?Coderuncode Global.getSector().getStarSystem("System Name").autogenerateHyperspaceJumpPoints(true,true)// the first true statement is for Gas Giants// the second true statement is for generating Fringe Jump PointsCoderuncode Random rndm = new Random; StarSystemAPI starSystem = Global.getSector().getPlayerFleet().getStarSystem(); JumpPointAPI newJumpPoint = Global.getFactory().createJumpPoint("console_added_jumppoint" + rndm.nextInt(), "Hyperspace Jump Point " + starSystem.getJumpPoints().size()); float distance = MathUtils.getDistance(Global.getSector().getPlayerFleet().getLocation(), starSystem.getStar().getLocation()); OrbitAPI newJumpPointOrbitAroundStar = Global.getFactory().createCircularOrbit(starSystem.getStar(), 0, distance, distance / 10); newJumpPoint.setOrbit(newJumpPointOrbitAroundStar); newJumpPoint.setStandardWormholeToHyperspaceVisual();
Is there a way to spawn the hyperspace jump point to the player's location?Coderuncode Global.getSector().getStarSystem("System Name").autogenerateHyperspaceJumpPoints(true,true)// the first true statement is for Gas Giants// the second true statement is for generating Fringe Jump Points
runcode Global.getSector().getStarSystem("System Name").autogenerateHyperspaceJumpPoints(true,true)// the first true statement is for Gas Giants// the second true statement is for generating Fringe Jump Points
runcode Random rndm = new Random; StarSystemAPI starSystem = Global.getSector().getPlayerFleet().getStarSystem(); JumpPointAPI newJumpPoint = Global.getFactory().createJumpPoint("console_added_jumppoint" + rndm.nextInt(), "Hyperspace Jump Point " + starSystem.getJumpPoints().size()); float distance = MathUtils.getDistance(Global.getSector().getPlayerFleet().getLocation(), starSystem.getStar().getLocation()); OrbitAPI newJumpPointOrbitAroundStar = Global.getFactory().createCircularOrbit(starSystem.getStar(), 0, distance, distance / 10); newJumpPoint.setOrbit(newJumpPointOrbitAroundStar); newJumpPoint.setStandardWormholeToHyperspaceVisual();
Hey guys, I have been unable to copy/paste commands into the command console in game, I am on a mac OS X, I was wondering if any of you could help me figure this out.
Wyvern is 100% correct about the math.