• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Sound effects in the effects.xml

mongoose

SOH-CM-2025
So as an alternative solution to having sounds as vehicle 'guns', see https://sim-outhouse.org/sohforums/threads/making-voice-and-norse-code-navigation-beacons.165489/, I am trying to use a building. such as tk_radio_light, and using the effects section for a sound effect, asbelow.

<Effects>
<Effect Type="Track" EffectName="fx_tow_beacon_white" PosX="0" PosZ="0" PosY="20" MinVel="-1" MaxVel="100"/>
<Effect Type="SoundEffect" EffectName="fx_Bake_VOR" Pos="0.0,1.5,0.0"/>
</Effects>


The question then is the effects file entry, and that is where I think I have a problem, as I'm not sure of how that would work. At the moment the entry is

<Effect Name="fx_Bake_VOR" ClassName="SoundEffect" Sound="Bake_VOR.wav" MaxDistance="20000"/>
I don't even know if ClassName="SoundEffect" is a valid class, Anyone have any ideas on this?
 
Back
Top