Q2 railgun effect w/ TEs?
I'm sure a lot of you have played the game Quake 2 and used the Railgun. When shooting the railgun it gives a cool spiral effect. I wanted to know if it was possible to create a similar effect with a bunch of temporary entities (or a better method).
or... Would it be possible to make one sprite give that same effect? If you have never saw the quake2 railgun effect before then you can checkout these screenshots. [IMG]http://img505.**************/img505/9863/rail1vu5.th.jpg[/IMG] [IMG]http://img341.**************/img341/2170/rail2bu9.th.jpg[/IMG] [IMG]http://img514.**************/img514/6582/rail4dm5.th.jpg[/IMG] |
Re: Q2 railgun effect w/ TEs?
Take a closer look at half-life 1 Gluon Gun. It generates some kind of spiral effect when you fire it.
|
Re: Q2 railgun effect w/ TEs?
Thanks, Sylwester
I forgot all about that gun :o |
Re: Q2 railgun effect w/ TEs?
Yeah, the gluon gun uses a sprite based effect. Which incase you don't have the HL SDK, here's the snippet when the effect is called:
Code:
Not sure if that will help you at all. |
Re: Q2 railgun effect w/ TEs?
Thanks for that info SixTwin, but I can't seem to figure out what would cause the spiral effect of it. I thought maybe it was the "SetScrollRate" but isn't that how fast the frames go on the sprite?
|
Re: Q2 railgun effect w/ TEs?
I was looking through the TE list and came across these 3...
Quote:
I also came across this... Quote:
--------- EDIT -------------- I looked through the quake2 source and it looks very similar to halflife source @_@! It seems quake2 used temp ents to create the railgun effect. I found a list of all the quake2 temp ents but can't seem to find the code that actually creates it. Quote:
|
| All times are GMT -4. The time now is 21:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.