Page 1 of 1
Smoke and Flak Effects

Posted:
Wed Mar 14, 2007 6:33 pm
by burninator
I downloaded and installed this effects package:
http://www.netwings.org/cgi-bin/dcforum ... collv2.zipEverything works fine. But I previously had installed the ship smoke effect by Nibbo (longer ship fire/smoke) and the effect that makes flak burst clouds last longer (I forget the name or whose it is). I really liked those effects and was disappointed that the effects package I downloaded did not include either of these effects.
It looks to me like the easiest thing to do would be to take the new effects package I downloaded and just modify the ship smoke and flak effects to get them to last longer. It seems like like I should be able to change just a couple numbers, but does anyone know which ones? Thanks.
Re: Smoke and Flak Effects

Posted:
Thu Mar 15, 2007 8:04 am
by james007
You do not need to play around with any numbers. All you need is to place the effect you like into CFS2.
They might be here:http://web.tiscali.it/jobim/cfs2/
or here:
http://web.tiscalinet.it/Nanni/CFS/or scroll through here:http://www.netwings.org/library/Microsoft%5FCFS2/Misc/
I know one of this Wesites has it.
I do not think its here at Simvition but try doing a seach for it.
Good luck and enjoy!
James007
Re: Smoke and Flak Effects

Posted:
Fri Mar 16, 2007 1:41 am
by burninator
Yeah, I figured out how to replace my old flak effect, but I also wanted to know how to play around with the numbers. Unfortunately, I can't find anywhere that explains how to do this stuff.
Ok, how about this:
The effects package I downloaded added these great splashes when machine gun rounds hit the water instead of the little puffs that are usually there.
Then I downloaded this great b-25 model that has the 75mm cannon in the nose.
Re: Smoke and Flak Effects

Posted:
Sun Mar 18, 2007 9:25 pm
by burninator
Here is an update on my progress, but I still need some help!
So, I found the fx_bltsplsh_l, _m, and _s (bullett splash large, medium, and small). I copied all the content of the 'torpedo explosion medium' effect and pasted it into all three files. After that, both my 50 cal gun and my 75mm cannon both left torpedo explosions in the water instead of the bullet splash.
So, we've established that both the 50 cal gun and the 75mm cannon both use one or more of the 3 bullet spash effects.
Then I restored all three bullett splash files to their original state. I then replaced each one with the torpedo exposion one at a time and tried firing the guns again. The result was as follows for all three. 50 cal guns leave torpedo explosions only, and the 75mm cannon would randomly leave either a small bullett splash or a torpedo explosion. I thought this was very confusing. This makes me think that there is another more complex element to each weapon, possibly each weapon has some combination of effects associated with it. Simply changing the bullet splash effect won't help me in this case, since it will also effect what happens when rounds hit the water.
So the question is, where is the association between a weapon (50 cal, aircraft cannons, etc.) and it's effect at? Is it written into the game code?
What tells the game to leave a large splash when a rocket or bomb hits the water? If I could figure this out and find it, I could copy the effect info and paste it into the 75mm cannon file (i also need to find the cannon's file).
I feel like I'm getting closer to my answer, but I still need some help. I know there are people out there that know the answer to this, but I guess they don't read this forum.
Does have any contacts that may be able to help me.
Thanks!!!
Re: Smoke and Flak Effects

Posted:
Mon Mar 19, 2007 12:37 am
by piersyf
As far as I know the weapons data is entirely contained in the DP file. Towards the bottom you'll find the gunstation entries. The first number after the = sign is the type of weapon. 0 is a Mg, 1 is a cannon, 2 are rockets, 3 are bombs (those may be transposed, I forget), 4 is flak and 5 is torpedo.
You will notice that you only have a choice of Mg or cannon for the 75mm. I believe you can link them to different sounds but I haven't seen how, so maybe you can link to different splash effects, but the default is the bullet splashes. To change the splash code will change the effect for all cannon and Mg as you've already discovered.
Don't try 4, or you'll blow your nose off. Sounds cool though!
Keep experimenting, it's interesting reading what you find.
Piers
Re: Smoke and Flak Effects

Posted:
Mon Mar 19, 2007 1:30 am
by H
As far as I know the weapons data is entirely contained in the DP file.
Not quite: it's rewritten in the .cdp. 
Now I'll put in a quick edit to the entry I recently put here8-)
Re: Smoke and Flak Effects

Posted:
Mon Mar 19, 2007 2:04 am
by piersyf
Well, yes that's true. That's also why you're supposed to delete the .cdp file whenever you alter the .dp file. A new .cdp is written automatically when you select the aircraft in the game.
The aircraft in question (if it's the same one as mine) has somehow linked the 75mm gun to a 40mm sound file. As far as I know, there is no corresponding link in the .dp (or .cdp) files for effects.
P