[hlcoders] Adding new attributes

2003-01-04 Thread Paul Bean Jr.
Alright if i want to give players a new attribute Like mana what structure would I modify ? Im having trouble with my new statistic, Client side, its jumping up and down everytime i use a command that wastes the "mana" but server side it's apparently keeping track because it eventually lets me stop

Re: [hlcoders] Adding new attributes

2003-01-04 Thread Daniel Koppes
You cannot add new things to entvars_t (pev), because it is shared between the DLL and the engine, and i think the network code expects it to be a set size... I'm surprised its not crashing. Just add it to CBasePlayer and send it in each client update instead (make sure you update your delta.lst)

Re: [hlcoders] Adding new attributes

2003-01-04 Thread Barret Rhoden
tweak the numbers to fit your particular design. barret - Original Message - From: "Daniel Koppes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 04, 2003 10:16 AM Subject: Re: [hlcoders] Adding new attributes > You cannot add new things to