• 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.

Couple of tips, tweaks, fixes, call them whatever you want.

65olschool

SOH-CM-2025
I have been testing some IJN ships for Thudman and hadn't realised till just this week the sound files used for the main guns that are called for by the SoundName statement in the XXX_gun.xdp files didnt work, the guns fired no problem but no sound.

So I did a little digging through a process of elimination I found the below entry in the sounds.xml
<c5in>
<no_damage>
<sound file="gun_naval5in.wav" Looping="No"/>
</no_damage>
</c5in>
<c16in>
<no_damage>
<sound file="gun_naval16in.wav" Looping="No"/>
</no_damage>
</c16in>
<c8in>
<no_damage>
<sound file="gun_naval8in.wav" Looping="No"/>
</no_damage>
</c8in>

The next thing I noticed was the other entrys that used the "<no_damage> </no_damage>" are all guns used in aircraft but all the land based guns didnt use that line, so I changed it to -
<c5in>
<sound file="gun_naval5in.wav" Looping="No"/>
</c5in>
<c16in>
<sound file="gun_naval16in.wav" Looping="No"/>
</c16in>
<c8in>
<sound file="gun_naval8in.wav" Looping="No"/>
</c8in>

After doing that change I could hear the guns fire, so if you want the main guns sound work remove the <no_damage> </no_damage> lines as shown above.
Its not important in the whole scheme of things for a aircraft simulator/game but its nice to have that sound working.

Its an easy fix but as ever before making changes make a copy of the original sounds.xml file so you can go back if something goes wrong.
 
Last edited:
The next thing I've found is in regards to Corrado La Posta excellent TBM (TBF or TARPOON) Avenger.
If you find the AI pilots dont drop torpedos from the internal bay and they just continue to overfly the ship the reason is in the XDP file

In the first line in the loadouts section this statement will be found -
<Loadouts InternalPylons="7">
If you change the "7" to a "0"
<Loadouts InternalPylons="0">
The torps will be released as normal.

I found that some variations of this aircraft have the correct entries, for example "RS_tbmn_ent_45" from Rising Sun addon has the <Loadouts InternalPylons="0"> and drops torpedo's when required, and other TBM's dont have this line at all yet they work fine. Dont change these!!!

The files I originally got from Corrado's site way back and the ones from the original AvHistory site have the incorrect entry <Loadouts InternalPylons="7"> and wont drop torps,

Its another easy fix but as ever before making changes make a copy of the original XDP so you can go back if something goes wrong.
 
Last edited:
Maybe somebody with bigger brains than me can explain why both those things worked to fix some small annoying issues
 
Back
Top