It may be possible to make the movement code simply ignore the
sv_maxspeed value, look in pm_shared.c, it makes references to this
value which could be hardcoded.

regards,

Rob Harwood.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of botman
Sent: 02 January 2003 16:51
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] sv_maxspeed

> Is it possible to hard code it to a value, so it can't be changed?

Not really, but you can keep setting it to a value that you want it to
be.
If you set this value every 1.0 seconds, a server operator can change
the
server value to a higher or lower number and clients will use that value
for
a brief period of time (until your code resets the value back to what
you
want it to be).  It's a pretty ugly hack, but there's no simple way to
intercept the console changing this server CVAR.

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to