Hellstyrant

Respawn Sounds

May 19th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. 1. Unpack mission.pbo
  2.  
  3. 2. In description.ext, add the following code (or if you already have class CfgSounds, merge it):
  4.  
  5. class CfgSounds
  6. {
  7. sounds[] = {Spawn};
  8. class Spawn
  9. {
  10. name = "Spawn";
  11. sound[] = {"\Custom\Sounds\spawn.ogg", 1, 1};
  12. titles[] = {};
  13. };
  14. };
  15.  
  16. 3. In config.cpp, add the following line to class CfgExileCustomCode:
  17.  
  18. ExileClient_object_player_network_createPlayerResponse = "Custom\Overrides\ExileClient_object_player_network_createPlayerResponse.sqf";
  19.  
  20. 4. Place your sound file in Custom\Sounds\
  21.  
  22. 5. Place ExileClient_object_player_network_createPlayerResponse.sqf in Custom\Overrides\ (Find it at https://pastebin.com/PRhtXrWW)
  23.  
  24. 6. Save everything and repack mission.pbo
Advertisement
Add Comment
Please, Sign In to add comment