Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SHP Railgun hack
#1
Lift eyebrow I've never understood the idea behind Gamemate's shp particles. I know it has to do with specifying BehavesLike= twice on a particle, but there is no code to actually do anything magic in that case. Can someone elaborate on what exactly this hack achieves and why it's not doable normally?

Worth playing: 1 | 2 | 3
Reply
#2
Usually, the particles of a railgun are a generated field of dots. With the hack, the particles look like a specified SHP instead.

Why this reduces the lag I can't tell you, but if I had to guess, I'd assume it's because the normal particles are calculated at runtime, whereas the SHPs are basically just loaded. (Which would reduce the amount of CPU time per particle required.)

In addition, you of course have the benefit of customization - while normal particles are basically just colored dots, SHPs can look like anything.

I can confirm that the hack most definitely works, btw.

btw...you posted there as well.
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply
#3
I don't doubt that it does work, what I doubt is that double-stating BehavesLike has the effect attributed to it. Thanks for the links.

Worth playing: 1 | 2 | 3
Reply
#4
It does. Seems they stack but I don't think it reduces lag in any way since it's still generating a particle effect regardless. I didn't notice any lag freedom. If anything, it seemed to be worse.
I'm what Willis was talkin' about.
Reply
#5
I had the exact opposite experience - it worked completely as advertised. Where, usually, a single railgun would produce a noticeable moment of slowness, with the hack, I could have several of them fire at the same time without any lag.
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply
#6
Maybe I did it wrong. I followed exactly as Gamemate described and didn't notice a change. Maybe you had better hardware.
I'm what Willis was talkin' about.
Reply
#7
If Ren had better hardware it'd be slower. :xD: YR is like that, everything's inversely proportional to everything. Tongue
Albert Einstein Wrote:Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.
Reply




Users browsing this thread: 1 Guest(s)