So, I decided to create simple xml mod which would turn off those annoying sounds of SOMEONE ELSE BUILT CRUCIAL WONDER AND IS HAPPY INSTEAD OF YOU and YOUR HIGHLY PROMOTED AWESOME UNIT HAS JUST GONE TO HELL.
Sounds are in the
C:\Users\Kamil\AppData\Local\Temp\Rar$DIa0.989\Audio2DScripts.xml
<Script2DFile>
<Script2DSounds>
<Script2DSound>
<ScriptID>AS2D_INTERFACE_UNIT_KILLED</ScriptID>
<SoundID>SND_INTERFACE_UNIT_KILLED</SoundID>
<SoundType>GAME_SFX</SoundType>
<iMinVolume>75</iMinVolume>
<iMaxVolume>75</iMaxVolume>
<bDontTriggerDuplicates>True</bDontTriggerDuplicates>
<iDontPlayMoreThan>1</iDontPlayMoreThan>
</Script2DSound>
well I already should guess it is not usual location
, but I still tried to create mod which
<GameData>
<Script2DFile>
<Update>
<Set iDontPlayMoreThan="0"/>
<Where SoundsID="SND_INTERFACE_UNIT_KILLED"/>
</Update>
</Script2DFile>
</GameData>
And what I receive via log is
no such table: Script2DSound
and yeah, I tried absolutely all possible configurations here and all possible tables, no success. Is modding this impossible, or have I made some basic stupid mistake?
Sounds are in the
C:\Users\Kamil\AppData\Local\Temp\Rar$DIa0.989\Audio2DScripts.xml
Spoiler :
<Script2DFile>
<Script2DSounds>
<Script2DSound>
<ScriptID>AS2D_INTERFACE_UNIT_KILLED</ScriptID>
<SoundID>SND_INTERFACE_UNIT_KILLED</SoundID>
<SoundType>GAME_SFX</SoundType>
<iMinVolume>75</iMinVolume>
<iMaxVolume>75</iMaxVolume>
<bDontTriggerDuplicates>True</bDontTriggerDuplicates>
<iDontPlayMoreThan>1</iDontPlayMoreThan>
</Script2DSound>
well I already should guess it is not usual location

<GameData>
<Script2DFile>
<Update>
<Set iDontPlayMoreThan="0"/>
<Where SoundsID="SND_INTERFACE_UNIT_KILLED"/>
</Update>
</Script2DFile>
</GameData>
And what I receive via log is
no such table: Script2DSound
and yeah, I tried absolutely all possible configurations here and all possible tables, no success. Is modding this impossible, or have I made some basic stupid mistake?
