Page MenuHomeFeedback Tracker

OnKilled.sqf turns off sound in both single player and multiplayer
Closed, ResolvedPublic

Description

This issue was bugging me so I figured I'd investigate it. The issue is easily fixed by using 0 fadesound 1 or 0 fademusic 1 to turn the sound and music back on. The issue occurs because onkilled.sqf fades the sound out when you die, and when it should fade it back in neither it nor onplayerrespawnasseagull.sqs return the sound to the player, the issue does not occur if the player teamswitches or respawns.

Details

Legacy ID
1338562305
Severity
Major
Resolution
Duplicate
Reproducibility
Always
Category
Sound
Steps To Reproduce
  1. Start a MP game with respawn set to Seagull or group (such as headhunters)
  2. Get yourself killed with no AI etc to respawn as so you spawn as a seagull.
  3. You will no longer have sound.
  4. Either use a debug menu or some sort of additional script that lets you use the scripting command '0 fadesound 1' and sound will return.
Additional Information

Either onplayerrespawnasseagull.sqs should be edited to have '0.5 fadeSound 1;' placed somewhere or onplayerkilled should automatically unfade the sound after a certain amount of time as right now both the seagull script is broken and custom seagull scripts (such as spectator scripts) need the line added to them.

Event Timeline

KercKasha edited Additional Information. (Show Details)
KercKasha set Category to Sound.
KercKasha set Reproducibility to Always.
KercKasha set Severity to Major.
KercKasha set Resolution to Duplicate.
KercKasha set Legacy ID to 1338562305.May 7 2016, 12:23 PM

Closing this as it is a dupe of #0001372, but since this issue contains lots of helpful info, I will link it from there. :)