WeaponEvent record
public sealed record WeaponEvent One entry of a weapon record’s events list, which plays a look at a moment in its model’s animation (Events). It matches either an event the model’s sequence carries, by On, as Source’s models carry them, or a point in a sequence, by Sequence and Cycle, never both. It plays one thing: an Effect, a Casing or a Sound.
events = [
{ sequence = "reload", cycle = 0.4, casing = "casing", at = "eject" },
{ on = "AE_MUZZLEFLASH", effect = "muzzle", at = "{2}" },
]
Each of Effect, Casing, Sound and At may hold {1} to {9}, which stand for the model event’s own words, so Source’s events pass their attachment and sound names through. The engine fills them with Fill.
- Assembly
- EvilEngine.Formats
- Commit
- 4ff877b1