OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: johnnyboy on 01 Jun 2007, 20:04:00

Title: need man-sized water splash effect
Post by: johnnyboy on 01 Jun 2007, 20:04:00
I'm looking for a script that creates a man-sized water splash effect (when a man hits the water after falling from a helicopter for example).

I've looked at Nemesis6's Aircraft Water Splash script, and tried making some of his variables much smaller, but its not working out for me.  I confess I don't understand the math to well...

Can anybody point me towards a solution?

Thanks.
Title: Re: need man-sized water splash effect
Post by: Trapper on 04 Jun 2007, 12:02:04
Well, there's always Vektorboson's drop turorial (http://www.ofpec.com/ed_depot/admin_list2.php?type=tu&cat=sc) to have a look at but you there's no way around math when creating new effects with particle systems. When you're out of old school books try to search the wikipedia.
Title: Re: need man-sized water splash effect
Post by: Mr.Peanut on 04 Jun 2007, 16:48:51
Where's Mandoble when we need him?
Title: Re: need man-sized water splash effect
Post by: johnnyboy on 04 Jun 2007, 18:41:22
Thanks guys.  I did a little expermenting and came up with something adequate (but not stellar).

I remembered seeing the puff of dust when the soldier hits the ground using the OFPEC Fast Rope script. 

So I took those drop commands from the rope script, changed the shape from cl_basic to cl_water, and tweaked some size related parameters to make it about twice as big.  It's not bad.  Here's the snippet:

Code: [Select]
_pos = [getpos _man select 0, getpos _man select 1, 0]
_size = [0.8,2.0]
_particle = "\ca\data\cl_water";
drop [_particle,"","Billboard",100,1,_pos,[0,0,0],10,25.5,20,0.14, _size  ,[[0.8,0.6,0.3,1],[0.8,0.6,0.4,1],[0.9,0.7,0.4,1],[0.8,0.7,0,0]],[0,1,0,1],0,0,"","",""];
Title: Re: need man-sized water splash effect
Post by: LCD on 04 Jun 2007, 18:41:52
use dat (http://www.ofpec.com/forum/index.php?topic=29070.0) tool 2 create ur own effects in ur own free taaaaaaaaaaaaime  ;)  :yes:

LCD OUT
Title: Re: need man-sized water splash effect
Post by: johnnyboy on 04 Jun 2007, 18:51:57
You're funny LCD!  If I had "free taaaaaaaaaaaaime", my Last Tango in Bagango mission would be finished!

I tried CSL's utility--which is very cool--but the example of the utility is using smoke, and without knowing how all the parameters work, I couldn't figure out how to splash particles up, then have them fall back down.  All I did was make water rise in the air like smoke...

So anyway, I am satisfied with the splash I have now, and will move on.
Title: Re: need man-sized water splash effect
Post by: Mandoble on 04 Jun 2007, 20:35:10
Code: [Select]
_particle =["\Ca\Data\ParticleEffects\Watereffects\WaterEffects.p3d", 1, 0, 1];
_drop = "#particlesource" createVehicleLocal getPos player;
_drop setParticleCircle [1, [2,0.1,0]];
_drop setParticleParams [_particle,"","Billboard",100,1,[0,0,0],[0,0,0],2,25.50,20,0,[2,2,2],[[0.8,0.8,0.8,0.5],[0.8,0.8,0.8,1],[0.8,0.8,0.8,0.3],[0.8,0.8,0.8,0]],[1,1],0,0,"","", player];
_drop setDropInterval 0.01;
Title: Re: need man-sized water splash effect
Post by: johnnyboy on 04 Jun 2007, 21:32:41
Perfect splash!  Thanks a million Mando, u da man.   :good:
Title: Re: need man-sized water splash effect
Post by: kju on 04 Sep 2010, 20:02:40
Vektorboson's drop tutorial from the second link is N/A.
Is it still available at ofpec?
Title: Re: need man-sized water splash effect
Post by: Denz on 08 Sep 2010, 20:23:59
Yep, in the Ed but you have probably looked there by now  ;)
Vektorboson's drop tutorial (http://www.ofpec.com/ed_depot/index.php?action=details&id=38&game=OFP)
Title: Re: need man-sized water splash effect
Post by: kju on 08 Sep 2010, 23:37:46
ty Denz  :good:
Title: Re: need man-sized water splash effect
Post by: jamec9869 on 19 Oct 2010, 11:18:19
Where's Mandoble when we need him?