Custom Weapon¶
Goal¶
Install a custom weapon behaviour.
Procedure¶
- Include ExamplePulseWeapon from the behaviour guide.
- Register example.pulse before waves start, using the bootstrap extension or your own host.
- Set the WeaponAsset combat Behaviour to example.pulse and author its supported fields.
- Assign a view entry and optional custom-event feedback.
- Register equivalent rules in independent analysis hosts, then compare damage/events at a fixed seed.
Verify¶
The custom Tick runs once per slot per tick; same-id registration overrides are intentional and case-sensitive.
Entry point and reference fields¶
Entry point: Use the corresponding Content inspector and Tools/Survivor Roguelite Maker/ tools.
| Field / API | Purpose |
|---|---|
Behaviour |
example.pulse |
Range / BaseDamage |
Fields read by the example |
CooldownTicks |
Example cadence |
Figure¶
Concept diagram.
Check your result¶
Validate connected content before starting a new measurement or run. Keep the settings, seed and content version with any result you compare. For code-only adapters, compile against the package version you ship and configure the required authored data before gameplay.
Documentation home · Weapon Evolution · Boss Wave · Status Weapon