Hard Light Productions Forums

Hosted Projects - Standalone => The Babylon Project => Topic started by: Dr.Zod on March 23, 2008, 03:57:34 am

Title: Question regarding Beam Weapon range?
Post by: Dr.Zod on March 23, 2008, 03:57:34 am
Hi there folks,
I had a question. I´d like to alter the weapons to fire at greater range.
I managed to alter the pulse type weapons and they just work great.
But the Beam Weapons give me a headache!!!
I altered the entrys like for the Pulse weapons (Range, Lifetime). E.G. Range 10000 / Lifetime 5 at Speed 2000
So I test a Omega vs Primus, well they do fire their Beams at 10000 but the Beams are way to short, they don´t reach their target?

So what am I doing wrong, or is this hardcoded, and is there a way to increase the Beam Weapon range?

Any help or coment would be great.

Thanx in advance
Dr.Zod
Title: Re: Question regarding Beam Weapon range?
Post by: IPAndrews on March 23, 2008, 04:05:47 am
actual range (not in table) = speed * lifetime
range (in table) = actual range * .95
Title: Re: Question regarding Beam Weapon range?
Post by: Wanderer on March 23, 2008, 04:06:25 am
There are several other fields there as well that control the beam range. First unless defined the beam fades out at 30 000.

+Weapon Range: (http://www.hard-light.net/wiki/index.php/Weapons.tbl#.2BWeapon_Range:) defines the maximum for the AI where it tries to use the weapon. So that may need to be modified. There is also +Range: (http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24BeamInfo:) which sets the maximum beam range (distance where it fades out).
Title: Re: Question regarding Beam Weapon range?
Post by: Dr.Zod on March 23, 2008, 04:03:14 pm
Well thank you for your reply.
Especially to Wanderer, thanks for the +Range info. I must have oversaw that one. I´ll try that one but I think that´ll do it.

Thanx again guys

Greetz

Dr.Zod
Title: Re: Question regarding Beam Weapon range?
Post by: blowfish on March 23, 2008, 04:09:14 pm
For most beams, you won't have to set the +Range: field in $BeamInfo:  Only for beams that you want to fire at or beyond 30km.  Just set the $Weapon Range: to define how far the beam will target stuff.