Add MVP campfire audio hooks
This commit is contained in:
@@ -330,6 +330,13 @@ Each resource node exposes `GatheringSound` and `DepletedGatheringSound` slots,
|
||||
with a spatialized `GatheringAudioComponent`; the system remains silent until
|
||||
resource-specific placeholder or final cues are assigned.
|
||||
|
||||
Campfire audio is split between a persistent spatialized loop and short
|
||||
server-triggered event cues. `AAgrarianCampfire` exposes `FireLoopSound`,
|
||||
`IgniteSound`, and `ExtinguishSound` slots. Replicated lit-state updates start
|
||||
or stop the loop on clients, while the authoritative server multicasts ignition
|
||||
and extinguish events so the audio follows the same state changes as light,
|
||||
smoke, warmth, fuel, and persistence.
|
||||
|
||||
Campfires expose native extinguish logic through `AAgrarianCampfire::Extinguish`.
|
||||
Extinguishing clears remaining fuel, turns off replicated lit state, and reuses
|
||||
the same visual update path as natural fuel depletion.
|
||||
|
||||
Reference in New Issue
Block a user