And I would go so far as to say that it's annoying. Would be nice to be able to switch it off.Is there a way to turn off the noise that placed turrets make? I like having a few around my base, but the noise is distracting.
Yeah, I assumed you were using auto turrets (which are controlled by blocks.xml), but based on the screenshot you're referring to junk turrets. Agree with @theFlu, try editing the sound line in entityclasses.xml.I commented out <!-- <property name="TargetingSound" value="turret_retarget_lp"/> --> in block.xml.
I still hear the "scanning" sound as the turret sweeps back and forth.
View attachment 26334
<drgnkght>
<setattribute xpath="/entity_classes/entity_class[starts-with(@name,'junkTurret')]/property[@name='TargetingSound']" name="value">none</setattribute>
<setattribute xpath="/entity_classes/entity_class[starts-with(@name,'junkTurret')]/property[@name='OverheatSound']" name="value">none</setattribute>
<setattribute xpath="/entity_classes/entity_class[starts-with(@name,'junkTurret')]/property[@name='WakeUpSound']" name="value">none</setattribute>
</drgnkght>
The main difference there is that drgnkght's xpath will turn the xml into:I'll try what drgnkght suggested next.
You had it right the first time. Mod should set value=“none”. (Since we’re using XML the quotes are required.)The main difference there is that drgnkght's xpath will turn the xml into:
<property name="TargetingSound" value="none"/>
<property name="OverheatSound" value="none"/>
<property name="WakeUpSound" value="none"/>
EDIT: Or wait.. value=none , or just just value= ..? One of the three, maybe ...![]()
Which may make a difference if there's a value inherited from somewhere - the commenting out would not remove an already existing value.
But yeh, make it into an xpath-mod, it's easier to manage overall.
Yeh, that's kinda why I felt compelled to add the options there; the quoted one feels like a bugged name, while the empty one might be a default "actually none" ... maybe there's some error spam to be found in log files if it's a name.if none is a special value meaning “don’t play a sound” or just a sound name that doesn’t exist. It works so I don’t question it
I checked the Player.log file. I didn't see any error spam. Also tried value="". That caused an error. So, still not sure about "none", but it didn't work without it.Yeh, that's kinda why I felt compelled to add the options there; the quoted one feels like a bugged name, while the empty one might be a default "actually none" ... maybe there's some error spam to be found in log files if it's a name.![]()
drgnkght said:I've played around a bit with the xml and if you want to silence the turrets, the following should do the trick:
Create a folder in the Mods folder. Place the following XML file in it.
ModInfo.xml
<?xml version="1.0" encoding="UTF-8"?>
<xml>
<ModInfo>
<Name value="Turret Noises Be Gone"/>
<Description value="Removes Turret noises (except gun fire)"/>
<Author value="drgnkght"/>
<Version value="A20"/>
<Website value=""/>
</ModInfo>
</xml>
Create a Config folder in it and put the following XML files in it.
blocks.xml
<drgnkght>
<setattribute xpath="/blocks/block[@name='autoTurret']/property[@name='TargetingSound']" name="value">none</setattribute>
<setattribute xpath="/blocks/block[@name='autoTurret']/property[@name='OverheatSound']" name="value">none</setattribute>
<setattribute xpath="/blocks/block[@name='autoTurret']/property[@name='WakeUpSound']" name="value">none</setattribute>
<setattribute xpath="/blocks/block[@name='shotgunTurret']/property[@name='TargetingSound']" name="value">none</setattribute>
<setattribute xpath="/blocks/block[@name='shotgunTurret']/property[@name='OverheatSound']" name="value">none</setattribute>
<setattribute xpath="/blocks/block[@name='shotgunTurret']/property[@name='WakeUpSound']" name="value">none</setattribute>
</drgnkght>
entityclasses.xml
<drgnkght>
<setattribute xpath="/entity_classes/entity_class[starts-with(@name,'junkTurret')]/property[@name='TargetingSound']" name="value">none</setattribute>
<setattribute xpath="/entity_classes/entity_class[starts-with(@name,'junkTurret')]/property[@name='OverheatSound']" name="value">none</setattribute>
<setattribute xpath="/entity_classes/entity_class[starts-with(@name,'junkTurret')]/property[@name='WakeUpSound']" name="value">none</setattribute>
</drgnkght>
I think you need one more folder:Unless I made a typo, the above doesn't work for me.
Created a new Mods folder at:
steamapps\common\7 Days To Die\Mods
Create a folder in the Mods folder. Place the following XML file in it.