So you could have up to 32 flags total? I was affraid to touch those
incase it was vital to only have 10, thanks for answering my unasked
question :D
___
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
const.h has a section for player specific flags.
..
// PLAYER SPECIFIC FLAGS FIRST BECAUSE WE USE ONLY A FEW BITS OF NETWORK
PRECISION
#define FL_ONGROUND (10) // At rest / on the ground
#define FL_DUCKING (11) // Player flag -- Player is fully crouched
#define FL_WATERJUMP (12) // player jumping
This might be of some help:
http://swallowbush.com/forum/viewtopic.php?t=339
On 5/25/05, r00t 3:16 [EMAIL PROTECTED] wrote:
How do you add more player specific flags ? Would something like this work?
#define FL_PRONE (19 )
#define PLAYER_FLAG_BITS 10 ?
Or would that cause issues with
@list.valvesoftware.com
Sent: Thursday, May 26, 2005 12:06 AM
Subject: Re: [hlcoders] Player specific flags
I have a working prone I just wanted to add those flags I have 3 to add
He replaced FL_WATERJUMP
I guess I could replace a few things but really was hoping there was a
better way of doing
[EMAIL PROTECTED]
To: hlcoders@list.valvesoftware.com
Sent: Wednesday, May 25, 2005 11:41 PM
Subject: Re: [hlcoders] Player specific flags
This might be of some help:
http://swallowbush.com/forum/viewtopic.php?t=339
On 5/25/05, r00t 3:16 [EMAIL PROTECTED] wrote:
How do you add more player specific
yes set
#define PLAYER_FLAG_BITS 10
and add FL_PRONE where you want then increment ALL the flags under
that one so if you placed it before FL_WATERJUMP you would change it
to
#define FL_WATERJUMP (13)
and increment each flag under it by one from FL_ONTRAIN all the way to
6 matches
Mail list logo