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

Muzzle Flash Question

lewis11777

Charter Member
I have a question regarding muzzle flash of the cannons. The guns have the muzzle flash sequenced with the firing rate. Some of the cannons do not, for instance the B-25H which has the 75MM cannon. If you hold the trigger down for sustained fire, the sound and tracers are in sequence but the muzzle flash only emits with about every other round. I tried to fix that by adjusting the strobe sequence in the muzzle flash effects, no joy. Can anyone tell me how to match the muzzle flash rate to the firing sequence or how to adjust muzzle flash rate? Not talking about the tracers, I know how to adjust those.
 
...I think strobe might still be right... Did you do a search in your effects.xml to check for multiple occurrences of 'strobe'?
 
There are but I changed the only one that appear in the effects sub group for the muzzle effect I'm using. Basically the 30MM effects created by Jon (Dancat).
 
Is there anyone out there? Anyone?

Hello Lewis, I'd start with the gun .xdp and check through all the related .xdp files. I think the gun .xdp is the controlling file and all the related .xdp files have to be found. Which one controls the muzzle flash rate I don't know, we're into the undocumented departments of CFS3.
 
Actually I already tried the Gun xpd. I made adjustments to the numbers in red which does not effect muzzle flash rate. The other numbers are quite obvious. What I'm going to checkout next is the shell effects at the bottom of the aircraft xpd. I kind of doubt it but it's worth a look.


<Gun GunType="gun" SoundName="c75" Range="300" Rate=".9167" MuzzleVelocity="890" TimeAlive="2" Noise="0.001" DefaultWeapon="57mmMolins_round2"/>
 
Actually Hairy Spin is right, I copied all the text below from the 303 xpd to the 57mm molins xpd except for the default weapon which was the 57mm molins round. Sure as shootin it changed the flash rate to the firing rate of the gun. Now I will go back in and change the parameters back one at a time until I figure out which one it is. Good guess HS!

:salute:


<?xml version="1.0"?>
<UnitData>
<General Allegience="2" LongName="Orange Tracers" ShortName="303 Browning" ModelName="" BlastDamageScale="1.0" ImpactDamageScale="1.0" FireDamageScale="1.0" Priority="2" Type="gun" EnteredService="01/01/1939" BlastDamageMod="0" ImpactDamageMod="0" FireDamageMod="0" Category="weapon" Country="britain" mass="10.8862">
</General>
<GunStations/>
<Description String=""/>
<Loadouts/>
<DamageBoxes/>
<Systems/>
<Gun GunType="gun" Range="300" SoundName="c303" Rate="19" MuzzleVelocity="745" TimeAlive="2" Noise="0.2"
 
Ok I got it, it's the rate, I always thought that meant the rate of fire. Maybe it does but it also adjusts the rate of muzzle flash. If it does adjust the rate of fire it doesn't change the sound interval of the gun. :isadizzy:


<Gun GunType="gun" Range="300" SoundName="c303" Rate="19" MuzzleVelocity="745" TimeAlive="2" Noise="0.2"
 
...in sounds.xml there is a reference to different weapon types and the '.wav' files in your sounds folder and this may need to be edited to play back (loop) to match flash/rate of fire etc...(?) :p:
 
Back
Top