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
AnchorOffset
Anchor offset shared by all slots (applied only when SlotAnchors has a layout for the weapon count).
public Vec2 AnchorOffset
Field Value
AttackSpeedFloorPercent
Attack speed bonus is clamped to at least this percent.
public int AttackSpeedFloorPercent
Field Value
Damage
public DamageFormula Damage
Field Value
DefaultAim
public Vec2 DefaultAim
Field Value
DefaultHitboxHalfExtents
public Vec2 DefaultHitboxHalfExtents
Field Value
MeleeEase
public EaseOut MeleeEase
Field Value
MeleePhaseSeconds
Duration of the melee strike and of the return, each, at 0 % attack speed.
public float MeleePhaseSeconds
Field Value
MeleeReachSlack
Additional distance allowed for melee targets beyond the weapon's reach.
public float MeleeReachSlack
Field Value
MinCooldownTicks
public int MinCooldownTicks
Field Value
ProjectileRadius
public float ProjectileRadius
Field Value
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