Package com.fs.starfarer.api.combat
Class EmpArcEntityAPI.EmpArcParams
java.lang.Object
com.fs.starfarer.api.combat.EmpArcEntityAPI.EmpArcParams
- Enclosing interface:
- EmpArcEntityAPI
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
float
How large the moving bright area is, if arc.setSingleFlickerMode(true).float
Only used if arc.setFadedOutAtStart(true).boolean
float
float
float
float
float
Arc fades in over at most 1f/minFadeOutMult of its length.float
float
float
Only used if arc.setSingleFlickerMode(true).float
float
Setting to a really high value produces straight lines, higher values = more performant but also more angular-looking.float
0.25f is pretty reasonable to reduce how far out it bends. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
segmentLengthMult
public float segmentLengthMultSetting to a really high value produces straight lines, higher values = more performant but also more angular-looking. -
zigZagReductionFactor
public float zigZagReductionFactor0.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 fadeOutDistOnly used if arc.setFadedOutAtStart(true). -
minFadeOutMult
public float minFadeOutMultArc 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 movementDurOverrideOnly 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 brightSpotFullFractionHow large the moving bright area is, if arc.setSingleFlickerMode(true). -
brightSpotFadeFraction
public float brightSpotFadeFraction -
nonBrightSpotMinBrightness
public float nonBrightSpotMinBrightness -
glowColorOverride
-
flamesOutMissiles
public boolean flamesOutMissiles
-
-
Constructor Details
-
EmpArcParams
public EmpArcParams()
-
-
Method Details
-
loadFromSystemJson
public void loadFromSystemJson(org.json.JSONObject json)
-