Even though i cant seem to open the page any more - here is the link i found very useful
http://www.hl2coding.com/wiki/index.php/Dominator9000 The goback machine might be able to show you a cache of it --- [EMAIL PROTECTED] wrote: > Hi, > > I'm working on a mod, creating the weapons, but I've > come into a bit of > trouble with the weapons. Namely, I'm trying to > create a base class for > continual-fire beam weapons (i.e. phasers from Star > Trek). I've got code > to do the beam, and that works fine, but I'm stuck > on how to calculate the > damage. Should it be calculated once every frame? I > wouldn't have thought > so, because that would allow higher-framerate > systems an advantage. So it > needs to be calculated once every [specified time]. > I've tried using a > FireBulletsInfo_t structure to calculate it, but the > inbuilt random bullet > spattering throws everything. Should I use a > trace_t, and calculate / > apply all the damage, decals, smoke puffs (etc.) > with my own code? Is > there something else I could do? I'm aiming to have > it apply decals to > form a nice "welt" of burns. > > Another thing I would like to know is concerning > CBasePlayer->m_nButtons - > is there another variable somewhere that's > accessible to a CBasePlayer > that stores the buttons pressed in the last frame? > I've currently hacked > together a CNetworkVar "m_nOldButtons", but it > doesn't seem to want to > work very well. > > Thanks, > Philip Withnall > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view > the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > My Website http://ammahls.com Lead Programer NightFall This email has been sent from Adam McKern, and is not one of the many spam bots that use my email address. If you receive an email that has not got this signature line, please delate the email, and not respond in any way to it. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

