|
IT WORKS !!! I love you :-D
I've taken a look to EnableControl code.
It's quite simple :)
I didn't know the existance of the
FL_FROZEN flag, but it's
really useful :)
-------------------------------------------------------- Cortex HL
Albator coder & mapper www.hlalbator.fr.st --------------------------------------------------------
----- Original Message -----
Sent: Monday, December 17, 2001 8:59
PM
Subject: RE: [hlcoders] MOVETYPE_NONE for
player
You
can use EnableControl(FALSE) in player.cpp, this will
freeze
the
player on the spot.
Georges
I'm trying to prevent the player to
move before the
round starts (like in CS : buy
time).
-------------------------------------------------------- Cortex HL
Albator coder & mapper www.hlalbator.fr.st --------------------------------------------------------
----- Original Message -----
Sent: Monday, December 17, 2001 8:41
PM
Subject: Re: [hlcoders] MOVETYPE_NONE
for player
> I wanted to set the player's movetype to
MOVETYPE_NONE. > I set pev->movetype to MOVETYPE_NONE, but when I
play, > the movetype is MOVETYPE_WALK ! I don't know why ! > I
tried debugging it for a day :( In pm_shared.c, > the
ppmode->movetype is MOVETYPE_WALK instead of > MOVETYPE_NONE
:( > > If I set player's movetype to MOVETYPE_NOCLIP, >
it takes effect ! So, it's not my code... > > Is there anybody
else having this trouble ?
Perhaps the engine is automatically
changing it to MOVETYPE_WALK in a similar way that it automatically
changes it to MOVETYPE_FLY when the player touches a ladder.
Why
are you setting the movetype to MOVETYPE_NONE (what are you trying
to do)?
Jeffrey "botman"
Broome
_______________________________________________ To
unsubscribe, edit your list preferences, or view the list archives, please
visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
|