Class EmpArcEntityAPI.EmpArcParams

java.lang.Object
com.fs.starfarer.api.combat.EmpArcEntityAPI.EmpArcParams
Enclosing interface:
EmpArcEntityAPI

public static class EmpArcEntityAPI.EmpArcParams extends Object
  • Field Details

    • segmentLengthMult

      public float segmentLengthMult
      Setting to a really high value produces straight lines, higher values = more performant but also more angular-looking.
    • zigZagReductionFactor

      public float zigZagReductionFactor
      0.25f is pretty reasonable to reduce how far out it bends. Increases the volatility of the zig-zagging, reducing the extremes it gets to.
    • maxZigZagMult

      public float maxZigZagMult
    • fadeOutDist

      public float fadeOutDist
      Only used if arc.setFadedOutAtStart(true).
    • minFadeOutMult

      public float minFadeOutMult
      Arc fades in over at most 1f/minFadeOutMult of its length.
    • flickerRateMult

      public float flickerRateMult
    • glowSizeMult

      public float glowSizeMult
    • glowAlphaMult

      public float glowAlphaMult
    • movementDurOverride

      public float movementDurOverride
      Only used if arc.setSingleFlickerMode(true). Not supported for arcs from an EMP-type ship system, only those spawned using CombatEngineAPI, i.e. where it's possible to call setSingleFlickerMode().
    • movementDurMax

      public float movementDurMax
    • movementDurMin

      public float movementDurMin
    • brightSpotFullFraction

      public float brightSpotFullFraction
      How large the moving bright area is, if arc.setSingleFlickerMode(true).
    • brightSpotFadeFraction

      public float brightSpotFadeFraction
    • nonBrightSpotMinBrightness

      public float nonBrightSpotMinBrightness
    • glowColorOverride

      public Color glowColorOverride
    • flamesOutMissiles

      public boolean flamesOutMissiles
  • Constructor Details

    • EmpArcParams

      public EmpArcParams()
  • Method Details

    • loadFromSystemJson

      public void loadFromSystemJson(org.json.JSONObject json)