PDA

View Full Version : Adding Additional Muzzle Flash to Aircraft



O-1Driver
October 23rd, 2008, 06:01
Guys,

Lewis brought this up in another thread but I thought it was significant enough to warrant it's own thread.

While trying to kill the muzzle blast on the light equipped B-25 (thanks Ted for creating more work) I found that you can in fact have different muzzle flash effect for different guns on the aircraft.

If you look at a vehicle XDP you will notice on some of them that they have a muzzle flash right after the max ammo. You can add this to an aircraft XDP the same way. Just add the muzzle flash you would like to see on that specific gun. It will overide the stock built in effect.


Also remember to delete the bdp file anytime you make a change to the xdp.

Regards,

O-1

O-1Driver
October 23rd, 2008, 06:10
Guys,

Please note that the fx_no_muzzle_flash is not in CFS 3. It is a new effect that I have added to the most recent effects file. If you type in the effect you will get no results unless you have the new effects file loaded.

O-1

O-1Driver
October 23rd, 2008, 06:29
What would be nice at this point is for someone to research and build new muzzle flash effect for the aircraft guns. We could then also add some different tracers for the cannon so you can see the golfballs going past your canopy when a cannon fires at you.:d

I think the Japanese Betty had a tail cannon. Would be pretty scary seeing that MB and large golfball tracers coming at you.

O-1

O-1Driver
October 23rd, 2008, 07:21
Here is a test of the Japanese Betty updated. Pretty scary getting caught in a crossfire of two or three of those 20mm tail guns.

O-1

lewis11777
October 23rd, 2008, 09:38
Steve your a genius! Hey Dancat has already created a few different muzzle effects. I have one version of those and thats what I was trying to add to the aircraft cannons. Can you briefly explain how to alter the xpd and xml text to achieve 2 effects.

O-1Driver
October 23rd, 2008, 11:16
Steve your a genius! Hey Dancat has already created a few different muzzle effects. I have one version of those and thats what I was trying to add to the aircraft cannons. Can you briefly explain how to alter the xpd and xml text to achieve 2 effects.


Lewis, just add Dancat's effects to your effects XML then pick one of them and place it in the script of the gun you want to change in the aircraft XDP. Refer to the example screen shot I posted earlier in this thread. The way the guns are set up they use a default larger muzzleblast unless you see UseSmallFlash="1" in the script. What this does is make the gun flash smaller for the secondary smaller weapons on a bomber. Without this addition they default to the stock larger flash. See example of this in screenshot below. You can either leave this in the script line and zero it out or remove it. Then you simply place your effect at the end of the script following Max Ammo. If you have a good workable effect it should show up. If you are not seeing a difference it may be due to your new effect not working. To double check the new effect place it on a vehicle so you can observe it working.

Looking forward to some screen shots.

O-1

lewis11777
October 23rd, 2008, 15:29
Works like a charm! Thanks Steve for the heads up, this is just one more thing to add realism! :jump:


58756

O-1Driver
October 23rd, 2008, 15:33
Wow,

Beautiful screenshot Lewis. Well Done!!

O-1

lewis11777
October 23rd, 2008, 20:12
Steve is it also possible to change up the muzzle flash you see from the inside perspective such as this one?

58791

cristiano103
October 23rd, 2008, 21:45
Hi O-1

I look for your fx file but I were not able to find it, did You u/l it here on SOH?

Thanks and sorry for the trouble.
Cristiano

O-1Driver
October 24th, 2008, 06:43
Hi O-1

I look for your fx file but I were not able to find it, did You u/l it here on SOH?

Thanks and sorry for the trouble.
Cristiano

Cristiano,

Mid has not been able to get the searchlight file loaded yet. PM me with your email and I wil send it to you.

Regards,
O-1

war.ace
October 24th, 2008, 07:06
can we change the tracer too?

war.ace
October 24th, 2008, 07:12
can you also add diff tracers??

edit: oops double post sorry

O-1Driver
October 24th, 2008, 07:21
can we change the tracer too?

WA,

Yes you can, By editing your effects file you can make your tracers any color you would like. Always be sure to save a copy of your original in case you mess up and make a mistake like I do all the time. :d

O-1

loverboy1
October 24th, 2008, 07:26
once yee have this flash of types worked out will there be a group update for such for eto and cfs3

O-1Driver
October 24th, 2008, 07:52
once yee have this flash of types worked out will there be a group update for such for eto and cfs3

LB,

This subject is under discussion right now and we will get back to you on it. If we do update the muzzle flashes we may also update some tracers and add a small explosive effect to the cannon shells when they strike another aircraft.

O-1

loverboy1
October 24th, 2008, 08:28
OK THANKS

looking forward to any and all -


tks

lb

gaw
October 26th, 2008, 04:45
these do indeed look handsome....the read me "airplane text" shows 4 muzzle flash adds for plane xdp's......there are 5 different fx_ in your effects add...a 7, 20, 30, and 50 as listed but also a 13. Should MuzzleFlash="fx_13mm_muzzle"/> be added to the "airplane text" list of choices or do I mistake? These are such a nice touch.....thanks for the upload

lewis11777
October 26th, 2008, 05:30
GAW these effects were created by Jon Pratt (Dancat), I just uploaded them. There are only 4 FX lines that each correspond to a set of group effects. The "fx_50cal_muzzle" effect is tied to all the effects that are tagged with the "muzzle_13mm". This is the only fx text line that is named differently than the group its tied to. As Jon says in the readme, feel free to modify these and rename the effect if you like.

gaw
October 26th, 2008, 05:58
righto!.....thanks for the prompt reply

danimalhanke
March 2nd, 2009, 09:59
GAW these effects were created by Jon Pratt (Dancat), I just uploaded them. There are only 4 FX lines that each correspond to a set of group effects. The "fx_50cal_muzzle" effect is tied to all the effects that are tagged with the "muzzle_13mm". This is the only fx text line that is named differently than the group its tied to. As Jon says in the readme, feel free to modify these and rename the effect if you like.


How about a step by step. I can figure it out but man I'd spend a lot of time doing it. BTW does anyone know why the tracers were left out of ETO? Great work the ETO, but the no tracers makes NO sense.

TY

Starspeeder_3000
March 2nd, 2009, 14:39
One minor note on this topic:
Long ago I noticed that you could add new muzzle flash effects but there are limitations.
1. All new muzzle flash effects must use the ClassName="ParticleEffect" line in order to work properly.
2. Using the ClassName="MuzzleFlash" line results in a muzzle flash that will not dissapear once you fire the guns. The effect activates and continues to stay active for the duration of the flight. Only the stock muzzle flash effects work properly using this code. I'm not sure why this is.

dancat
March 2nd, 2009, 15:30
just to let ya know,
I thought I was on to suttin with my muzzle effects.
I have since givin up.
not worth working on anymore I think.

lewis11777
March 2nd, 2009, 15:37
just to let ya know,
I thought I was on to suttin with my muzzle effects.
I have since givin up.
not worth working on anymore I think.

Jon your muzzle effects work just fine????????????