Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: x3110 on May 23, 2010, 02:04:32 pm

Title: Collision Effects
Post by: x3110 on May 23, 2010, 02:04:32 pm
I don't know if anyone has ever asked this before but what is the smoke coming out of ships when they collide with one another,I mean which animation file is used and are there any variations from the default animation??
Also can we somehow initiate it automatically without a collision(by SEXP).It would be a great help in creating a cutscene or a movie!
(if you don't know what i mean just play a mission and collide with another ship yourself)
Title: Re: Collision Effects
Post by: FUBAR-BDHR on May 23, 2010, 02:42:48 pm
I believe that one is particlesmoke01 in the effects directory.  It's the same effect you get when you shoot a ship.  Not sure if damaging a ship via sexp will cause it or not. 
Title: Re: Collision Effects
Post by: x3110 on May 23, 2010, 03:03:32 pm
no,I don't think particlesmoke01/02 have any relation to it,they have glow but the smoke i am talking about is kind of hazy.
EDIT:It kinda looks like gas.ani
Title: Re: Collision Effects
Post by: Nighteyes on May 23, 2010, 03:43:26 pm
fubar is corrent, its a particle spew with the effect particlesmoke01 on it... that effect can be whatever you want it to be(fire, smoke, sparks), but I don't think there is a way to alter the way it acts
Title: Re: Collision Effects
Post by: Dragon on May 23, 2010, 04:00:10 pm
Also, it's impossible to change it on a per-ship basis (you can change the effect itself, but it will afftect all ships).
Title: Re: Collision Effects
Post by: FreeSpaceFreak on May 24, 2010, 04:23:50 am
Also can we somehow initiate it automatically without a collision(by SEXP).It would be a great help in creating a cutscene or a movie!
(if you don't know what i mean just play a mission and collide with another ship yourself)
If you just set the ship's initial hull integrity at not 100%, it will have the sparks (and damage lightning if it's badly hurt).
Title: Re: Collision Effects
Post by: Fury on May 24, 2010, 04:46:33 am
Actually, persistent damage trail should be iirc particlesmoke02, not 01.
Title: Re: Collision Effects
Post by: Nighteyes on May 24, 2010, 11:42:12 am
particlesmoke01 is for damage trails, particlesmoke02 is for the particles that are left after a capship explodes...
Title: Re: Collision Effects
Post by: x3110 on May 24, 2010, 12:43:52 pm
One more question,
How do we initiate damage trails on a cruiser\corvette automatically(By any sexp??)
Title: Re: Collision Effects
Post by: FreeSpaceFreak on May 24, 2010, 03:36:32 pm
set-subsystem-strength
--<yourship>
--Hull
--<number between 1 and about 80>