Page 1 of 1

Quick variables question

PostPosted: 22 Sep 2011, 12:28
by kr1egsgott
How to make the rifle to a turok2-shredder?:
http://t2.ansage.net/kbg/bilder/screens ... freeze.jpg

just giving it bounce is not enough, because the beam will not be consistent.

Re: Quick variables question

PostPosted: 22 Sep 2011, 16:10
by qreeves
You won't get that kind of trail effect in RE the way it currently is. Everything is just a point when it comes to the way the projectile system works, so I cheat and just draw a tail based on the current velocity, this doesn't account for bouncing obviously - usually is a non-issue with weapons like the smg/shotgun which have shorter tails and lifespans :P

Re: Quick variables question

PostPosted: 22 Sep 2011, 16:20
by kr1egsgott
Ok, but the shotgun secondary fires a projectile which creates new projectiles or is it not possible to transfer this effect to the rifle?

Re: Quick variables question

PostPosted: 22 Sep 2011, 17:13
by fluxord
kr1egsgott {l Wrote}:How to make the rifle to a turok2-shredder?:
http://t2.ansage.net/kbg/bilder/screens ... freeze.jpg

just giving it bounce is not enough, because the beam will not be consistent.

I have tried to do this too. Doesn't work.
BTW, another game that had a similar weapon was Blood 2: The Chosen (it was a green laser gun, can't remember its name)

kr1egsgott {l Wrote}:Ok, but the shotgun secondary fires a projectile which creates new projectiles or is it not possible to transfer this effect to the rifle?

Do you mean make the rifle shoot a beam which creates another beam with the same attributes/vars?
i.e. shoot a laser, laser impacts and creates lots of lasers?
Would be cool, but is it possible?

Re: Quick variables question

PostPosted: 22 Sep 2011, 17:38
by ZeroKnight
fluxord {l Wrote}:i.e. shoot a laser, laser impacts and creates lots of lasers?
Would be cool, but is it possible?


See my Eclipse Rifle A2 weapmod and use the secondary fire. It is indeed possible. All you need to do is set the flakweap var to 7, and play with the flakrays, flakspeed, flaktime, etc. Rather easy, actually.

Though be sure to do it for primary fire, and not secondary like in mine ;)