Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: yomi on March 17, 2012, 06:40:54 am

Title: Melee kill/combat
Post by: yomi on March 17, 2012, 06:40:54 am
Is it possible for Fred detect if player killed something with collision? Also how to determine how much HP ship loses in  collision?
Title: Re: Melee kill/combat
Post by: headdie on March 17, 2012, 07:59:31 am
FSO can detect if a player dies as a result of a collision iirc, but i am not sure about the other way round.  if you want to create a melee weapon a weapon with a very small range and moddeld weapon would be the best way to do it I think
Title: Re: Melee kill/combat
Post by: Angelus on March 17, 2012, 08:34:34 am
you could also play with the density values:

http://www.hard-light.net/wiki/index.php/Ships.tbl#.24Density:
Title: Re: Melee kill/combat
Post by: QuantumDelta on March 17, 2012, 11:38:28 am
You could probably make a melee weapon quite easily with a modified slashbeam...
Title: Re: Melee kill/combat
Post by: Commander Zane on March 17, 2012, 11:48:53 am
Don't beams have a limited arc where it no longer recognizes hits?
Like say, fire a beam, turn 180 and try to destroy the ship that was behind you, it doesn't register the hits from what I remember.
Title: Re: Melee kill/combat
Post by: headdie on March 17, 2012, 11:53:03 am
Don't beams have a limited arc where it no longer recognizes hits?
Like say, fire a beam, turn 180 and try to destroy the ship that was behind you, it doesn't register the hits from what I remember.

The arc is partly dependant on turret FoV, a slash mounted on a 360 Fov can centre on anything in range, but at close distance a rapid fore primary would work as well
Title: Re: Melee kill/combat
Post by: Spoon on March 17, 2012, 12:18:58 pm
I dont think (correct me if im wrong) that slash beams work as player primaries
Title: Re: Melee kill/combat
Post by: Commander Zane on March 17, 2012, 12:21:52 pm
They won't slash around, but they do fire and kill things at least.
Then again you could use the ship itself to make it rave about. ;)
Title: Re: Melee kill/combat
Post by: yomi on March 17, 2012, 01:51:54 pm
 i think that will do it, i could put slash on bomber's turret, thx