Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: tnathan475 on March 24, 2008, 10:30:07 pm

Title: Beam accuracy?
Post by: tnathan475 on March 24, 2008, 10:30:07 pm
Is there a way to make beams hit their targets 100% of the time?
Thanks for any help
Title: Re: Beam accuracy?
Post by: Akalabeth Angel on March 24, 2008, 10:38:00 pm
Hmmn, I think using fire-beam sexp and targetting a subsystem in the middle of the ship will ensure it hits 100% but you'd have to do that for every shot. Or at least set up some sort of looping event. I think it also makes slashing beams not slash anymore which, is kinda contrary to how they work. Though I'm not 100% sure on any of this since I've never used the sexp myself :)
Title: Re: Beam accuracy?
Post by: Mars on March 24, 2008, 10:55:57 pm
I do believe there's a variable that makes stationary beams (as opposed to slashers) hit/miss a particular precent of the time
Title: Re: Beam accuracy?
Post by: achtung on March 24, 2008, 10:59:56 pm
Is there any way to get a beam to actually "track" a target?
Title: Re: Beam accuracy?
Post by: Droid803 on March 25, 2008, 12:13:15 am
I think setting the direct fire beam's miss values to really fracking low can achieve that effect - firing at a random subsystem and ensuring a hit, unless the model has buggy collision.
Title: Re: Beam accuracy?
Post by: Akalabeth Angel on March 25, 2008, 01:00:32 am
    Oh right, there's a value in the weapons.tbl that effects beam accuracy. But slashing beams will still slash so they'll still "miss" technically now and again.
Title: Re: Beam accuracy?
Post by: Droid803 on March 25, 2008, 11:20:09 am
I've never seen a slash beam miss entirely before, actually. I don't think they do.
I've only seen it slash across a very narrow section and do next to no damage... (or slash across a target along the wrong axis, making the slash cycle very short)