Page 1 of 2

Make beamlasers follow the piece they are shot from?

Posted: 27 Jun 2008, 18:48
by Forboding Angel
Other than an emit sfx (Which I would prefer not to have to resort to), I can't figure out any way to make a beamlaser mounted on a fast moving tank follow the barrel rotation.

Anyone know any way other than using an invisible weapon (for aiming purposes) and an emit?

Re: Make beamlasers follow the piece they are shot from?

Posted: 27 Jun 2008, 18:49
by Peet
Sweepfire.

Re: Make beamlasers follow the piece they are shot from?

Posted: 27 Jun 2008, 18:54
by Forboding Angel
- Added weapon tdf command SweepFire, if 1 (default 0) it will make the weapon continue firing while it aims for a new target. Only works on continous beamlasers currently.
Beamtime on mine is 2 (forgot to mention that), what the above is talking about is 0.1 reloadtimes.

Lasers have a lot of issues in this area.

Re: Make beamlasers follow the piece they are shot from?

Posted: 27 Jun 2008, 19:33
by Saktoth
Sweepfire is atrociously buggy.

Re: Make beamlasers follow the piece they are shot from?

Posted: 27 Jun 2008, 19:36
by Forboding Angel
Sadly, it's the truth :cry:

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 00:17
by KDR_11k
Forboding Angel wrote:Other than an emit sfx (Which I would prefer not to have to resort to), I can't figure out any way to make a beamlaser mounted on a fast moving tank follow the barrel rotation.

Anyone know any way other than using an invisible weapon (for aiming purposes) and an emit?
How many ways do you need to implement a simple and rare behaviour like that?

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 01:14
by Saktoth
Could just fix the first implimentation.

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 08:10
by Forboding Angel
Saktoth wrote:Could just fix the first implimentation.
qft

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 09:08
by KDR_11k
Saktoth wrote:Could just fix the first implimentation.
How so? When you want to align a weapon to a piece and that weapon does not need a target (like a missile), why can't you use emit-sfx?

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 10:03
by Forboding Angel
Because the piece doesn't always aim perfectly with lasers... Tolerance anyone?

Are you arguing that this retarded behavior is a "feature"?

Oh I can use an emit sfx, and then I get to deal witht he fact that half the time the aiming of the weapon is not perfect, especially if the unit is moving, whereas tolerance would allow for fudge factor without any real noticeable differences.

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 11:36
by KDR_11k
If you don't want to aim with the piece, why do you say you do? You can use beamburst to make the laser fire a burst of beams that are all aimed towards the target (instead of aimed with the piece).

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 11:47
by Forboding Angel
So... In your opinion this is proper spring beamlaser behavior...
clip1.jpg
clip1.jpg (200.24 KiB) Viewed 2211 times
That's what happens when you move the unit.

I want it to work correctly, not rely on me implementing bullshit hacky workarounds for what should be default behavior.

Re: Make beamlasers follow the piece they are shot from?

Posted: 28 Jun 2008, 11:59
by KDR_11k
Beam lasers use a fixed beam normally, you can use a burst to make the shots aimed at the target instead.

Re: Make beamlasers follow the piece they are shot from?

Posted: 29 Jun 2008, 07:37
by Forboding Angel
WHich causes them to blink rapidly and look like crap. Not to mention that it screws with damage as well.

Re: Make beamlasers follow the piece they are shot from?

Posted: 29 Jun 2008, 09:34
by KDR_11k
It doesn't blink if you make the burst fast enough (regular BLs fire every frame anyway so no performance loss), if you don't want to do that use beamttl. Just adjust damage so the burst does the damage the beam did previously.

Re: Make beamlasers follow the piece they are shot from?

Posted: 29 Jun 2008, 13:50
by Forboding Angel
Have you actually tried this?

THere is still blinkage.

Re: Make beamlasers follow the piece they are shot from?

Posted: 29 Jun 2008, 15:10
by KDR_11k
Yes I have. I get some flickering if the unit moves, seems like the beam is rendered with a different brightness depending on its length. A largebeamlaser won't have that issue though.

Re: Make beamlasers follow the piece they are shot from?

Posted: 29 Jun 2008, 19:51
by Nemo
http://www.youtube.com/watch?v=qLjBgvISWnw

is this the behavior you're looking for, forb?

Re: Make beamlasers follow the piece they are shot from?

Posted: 29 Jun 2008, 22:21
by Forboding Angel
@nemo, HELL YES O_O

Hao does I?

Re: Make beamlasers follow the piece they are shot from?

Posted: 29 Jun 2008, 22:24
by Hoi
Nemo wrote:http://www.youtube.com/watch?v=qLjBgvISWnw

is this the behavior your're looking for, forb?
w00t melee weapons! (3th person lightsaber fighting in IW ftw :o )