Class WeaponSettings

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll
public sealed class WeaponSettings
Inheritance
WeaponSettings
Inherited Members

Constructors

WeaponSettings()

public WeaponSettings()

Fields

AimEpsilon

public float AimEpsilon

Field Value

float

AnchorOffset

Anchor offset shared by all slots (applied only when SlotAnchors has a layout for the weapon count).

public Vec2 AnchorOffset

Field Value

Vec2

AttackSpeedFloorPercent

Attack speed bonus is clamped to at least this percent.

public int AttackSpeedFloorPercent

Field Value

int

Damage

public DamageFormula Damage

Field Value

DamageFormula

DefaultAim

public Vec2 DefaultAim

Field Value

Vec2

DefaultHitboxHalfExtents

public Vec2 DefaultHitboxHalfExtents

Field Value

Vec2

MeleeEase

public EaseOut MeleeEase

Field Value

EaseOut

MeleePhaseSeconds

Duration of the melee strike and of the return, each, at 0 % attack speed.

public float MeleePhaseSeconds

Field Value

float

MeleeReachSlack

Additional distance allowed for melee targets beyond the weapon's reach.

public float MeleeReachSlack

Field Value

float

MinCooldownTicks

public int MinCooldownTicks

Field Value

int

ProjectileRadius

public float ProjectileRadius

Field Value

float

SlotAnchors

SlotAnchors[n − 1] = anchor offsets for n weapons. Missing layout = all at the player.

public Vec2[][] SlotAnchors

Field Value

Vec2[][]

SwingHalfArc

Swing goes from −SwingHalfArc to +SwingHalfArc radians around the aim.

public float SwingHalfArc

Field Value

float