Re: [hlcoders] Server Side only Commands?

2007-05-09 Thread Tony \omega\ Sergi
-- [ Picked text/plain from multipart/alternative ] CON_COMMAND( server_command, my server only command ) { if ( !UTIL_IsCommandIssuedByServerAdmin() ) return; dostuff(); } On 5/9/07, Ratman2000 [EMAIL PROTECTED] wrote: Hello, im trying to create a Server side only ConCommand

Re: [hlcoders] Server Side only Commands?

2007-05-09 Thread Ratman2000
Hello, thanks! With friendly reguards Ratman2000 - Original Message - From: Tony omega Sergi [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Wednesday, May 09, 2007 8:46 AM Subject: Re: [hlcoders] Server Side only Commands? -- [ Picked text/plain from

Re: [hlcoders] Rotating a player

2007-05-09 Thread Minh
-- [ Picked text/plain from multipart/alternative ] Yes, this is possible. You need to go to player_command.cpp and edit CPlayerMove::SetupMove Also, on the client side, you need to edit prediction.cpp and find the corresponding function CPrediction::SetupMove These two functions handle

Re: [hlcoders] Rotating a player

2007-05-09 Thread Minh
-- [ Picked text/plain from multipart/alternative ] Yes, this is possible. You need to go to player_command.cpp and edit CPlayerMove::SetupMove Also, on the client side, you need to edit prediction.cpp and find the corresponding function CPrediction::SetupMove These two functions handle

Re: [hlcoders] Rotating a player

2007-05-09 Thread Christian Wolfgang
-- [ Picked text/plain from multipart/alternative ] Hi! Thanks for the fast reply. I'm actually looking for a way to rotate the players coordinate system. To be more concrete, I'm building a world with a changing gravity and the player should rotate relative to it. I'm not sure if I am using the

Re: [hlcoders] Rotating a player

2007-05-09 Thread maarten
Yes that's possible, I've already done it for our wallwalking, you just need to transform the input to the new orientation, then apply the player's input, and transform it back to world. However, as I pointed out in an earlier topic, the real difficulty is to have the movement code oriented

RE: [hlcoders] Rotating a player

2007-05-09 Thread Ben Everett
What may help you with that is changing the view vectors (i.e. what is forward, up, and right). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 1:23 PM To: hlcoders@list.valvesoftware.com Subject: Re:

Re: [hlcoders] Server Side only Commands?

2007-05-09 Thread Tony \omega\ Sergi
-- [ Picked text/plain from multipart/alternative ] that still makes it issuable by anybody connected. hence the whole ServerAdmin stuff in my reply. On 5/9/07, Oliver [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Another idea is to use #ifndef and #ifdef

Re: [hlcoders] Server Side only Commands?

2007-05-09 Thread Oliver
-- [ Picked text/plain from multipart/alternative ] Ah gotcha, that makes sense. Thanks for clarification. On 5/9/07, Tony omega Sergi [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] that still makes it issuable by anybody connected. hence the whole ServerAdmin