DataSwap [Gun] - Dinorush/ExtraWeaponCustomization GitHub Wiki
When the trigger condition occurs, temporarily swaps the gun archetype and audio. If removed by TempProperties, DataSwap stops applying to the weapon until added once more to avoid conflicts.
Fields
ArchetypeID
The Archetype ID to swap to. Ignored if 0.
- Alt. Names: Archetype, ArchID, Arch
- Type: int
- Default: 0
AudioID
The WeaponAudio ID to swap to. Ignored if 0.
- Alt. Names: Audio, WeaponAudioID, WeaponAudio
- Type: int
- Default: 0
Duration
The length of time in seconds that this swap lasts.
- Type: float
- Default: 0
EndBurst
If triggered during a burst, ends the previous burst and incurs its burst delay. Otherwise, remaining burst is preserved if the new archetype is also a burst weapon.
- Type: bool
- Default: false
EndCharge
If triggered during a charge, ends the previous charge and incurs its cooldown delay. Otherwise, remaining charge is preserved if the new archetype is also a charge weapon.
- Type: bool
- Default: false
EndFiring
Forces the weapon to stop firing, regardless of whether the fire mode remains the same.
- Type: bool
- Default: false
KeepMagCost
Preserves the total bullet cost in the magazine when triggered. Otherwise, preserves the relative fraction of the magazine.
- Alt. Names: KeepMag, KeepClipCost, KeepClip
- Type: bool
- Default: false
Trigger
The trigger for this trait.
- Alt. Names: TriggerType
- Type: Trigger
- Default: Invalid