You can use EnableControl(FALSE) in player.cpp, this will freeze
the player on the spot.
 
Georges
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cortex
Sent: Monday, December 17, 2001 2:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] MOVETYPE_NONE for player

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 -----
From: botman
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

Reply via email to