Hello, I'm trying to remove the friendly fire auto messages (text and sound) as well as the vanilla UAV radar beep sound when it detects an enemy.
I know where these are located but I want to avoid having to edit the original files because if I really need to, I would have to make a full minimod instead of the map based minimod system (everything gets loaded from the map folder).
Here are the files and code lines that I would like to either remove or change:
GameSounds.con - Removing the following lines or changing the volume to 0
Sound.addSound HUD_Satellite_target
ObjectTemplate.soundFilename Common/Sound/Hud/Satellite_target.wav
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.volume 0.42
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 0.1
VoiceMessages_AutomaticallyTriggered.con - Removing the following lines:
gamelogic.messages.addMessage "AUTO_MOODGP_friendlyfire"
gamelogic.messages.addRadioVoice "grunt" "grunt/filter/AUTO_MOODGP_TM_friendlyfire.ogg" AUTO_MOODGP_TM_friendlyfire "grunt/No_filter/AUTO_MOODGP_TM_friendlyfire.ogg" 1
gamelogic.messages.addRadioVoice "grunt" "grunt/filter/AUTO_MOODGP_TM_friendlyfire_alt.ogg" AUTO_MOODGP_TM_friendlyfire_alt "grunt/No_filter/AUTO_MOODGP_TM_friendlyfire_alt.ogg" 1
gamelogic.messages.addRadioVoice "squadleader" "squadleader/filter/AUTO_MOODGP_SL_friendlyfire.ogg" AUTO_MOODGP_SL_friendlyfire "squadleader/No_filter/AUTO_MOODGP_SL_friendlyfire.ogg" 1
gamelogic.messages.addRadioVoice "squadleader" "squadleader/filter/AUTO_MOODGP_SL_friendlyfire_alt.ogg" AUTO_MOODGP_SL_friendlyfire_alt "squadleader/No_filter/AUTO_MOODGP_SL_friendlyfire_alt.ogg" 1
gamelogic.messages.addRadioVoice "commander" "commander/filter/AUTO_MOODGP_C_friendlyfire.ogg" AUTO_MOODGP_C_friendlyfire "commander/No_filter/AUTO_MOODGP_C_friendlyfire.ogg" 1
I would prefer doing this through the map files so that I don't have to create a full minimod structure for this. I have tried adding the following to the map init:
ObjectTemplate.active HUD_Satellite_target
ObjectTemplate.volume 0
or
sound.tweakTemplate HUD_Satellite_target
ObjectTemplate.volume 0
both didn't work...
Anyone has any ideas on how I can do this?
Thanks in advance.
I know where these are located but I want to avoid having to edit the original files because if I really need to, I would have to make a full minimod instead of the map based minimod system (everything gets loaded from the map folder).
Here are the files and code lines that I would like to either remove or change:
GameSounds.con - Removing the following lines or changing the volume to 0
Sound.addSound HUD_Satellite_target
ObjectTemplate.soundFilename Common/Sound/Hud/Satellite_target.wav
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 0
ObjectTemplate.volume 0.42
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 0.1
VoiceMessages_AutomaticallyTriggered.con - Removing the following lines:
gamelogic.messages.addMessage "AUTO_MOODGP_friendlyfire"
gamelogic.messages.addRadioVoice "grunt" "grunt/filter/AUTO_MOODGP_TM_friendlyfire.ogg" AUTO_MOODGP_TM_friendlyfire "grunt/No_filter/AUTO_MOODGP_TM_friendlyfire.ogg" 1
gamelogic.messages.addRadioVoice "grunt" "grunt/filter/AUTO_MOODGP_TM_friendlyfire_alt.ogg" AUTO_MOODGP_TM_friendlyfire_alt "grunt/No_filter/AUTO_MOODGP_TM_friendlyfire_alt.ogg" 1
gamelogic.messages.addRadioVoice "squadleader" "squadleader/filter/AUTO_MOODGP_SL_friendlyfire.ogg" AUTO_MOODGP_SL_friendlyfire "squadleader/No_filter/AUTO_MOODGP_SL_friendlyfire.ogg" 1
gamelogic.messages.addRadioVoice "squadleader" "squadleader/filter/AUTO_MOODGP_SL_friendlyfire_alt.ogg" AUTO_MOODGP_SL_friendlyfire_alt "squadleader/No_filter/AUTO_MOODGP_SL_friendlyfire_alt.ogg" 1
gamelogic.messages.addRadioVoice "commander" "commander/filter/AUTO_MOODGP_C_friendlyfire.ogg" AUTO_MOODGP_C_friendlyfire "commander/No_filter/AUTO_MOODGP_C_friendlyfire.ogg" 1
I would prefer doing this through the map files so that I don't have to create a full minimod structure for this. I have tried adding the following to the map init:
ObjectTemplate.active HUD_Satellite_target
ObjectTemplate.volume 0
or
sound.tweakTemplate HUD_Satellite_target
ObjectTemplate.volume 0
both didn't work...
Anyone has any ideas on how I can do this?
Thanks in advance.