Re: [hlcoders] Plugin_pause
My guess is that is not a game engine error or a syntax error. The plugin have to implement the pause. When you issue a pause command a function in the plugin will be called. It is then up to the plugin creator to actually pause the plugin. I've looked in the BeetlesMod source code and if it hasnt been changed recently it has no support for the pause command. /Henrik aka -string- - Original Message - From: Ray [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Saturday, September 10, 2005 2:19 PM Subject: [hlcoders] Plugin_pause Im trying to pause different plugins and am unable to. I load 2 plugins (cal and beetlesmod) and want to selectively pause one or the other. plugin_print shows 0 Cal and 1 BeetlesMod if I do plugin_pause no matter what number I pass it..it will only pause plugin 0 It would appear that the plugins are loaded alphabetically by the vdf filenames and I cannot load all plugins by listing them in one vdf file so I renamed the vdfs to get them to load the plugins in the order that I want and I load beetlesmod first and plugin_pause 1 still sends the pause command to the first loaded plugin Is this a syntax error or an error in the game engine? Thanks Ray ___ 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
Re: [hlcoders] Third Person View
Take a look at my 3rd Person Tutorial here: http://developer.valvesoftware.com/wiki/Creating_a_Third_Person_Camera That will show you how to implement a key to change it... but otherwise, if you want it permanently, use the HL2_Player::Spawn function but do: ClientCmd(thirdperson) Instead of input-. Lachlan Gunn wrote: Thanks everyone, I have that working, but there are two more problems I have: When I switch to third-person mode, the model is still the first-person model (ie. there is half a gun, and another arm sticking out). How would I go about stopping that? Do I have to edit the model? My other (much simpler) question is this: at what point am I supposed to switch to third-person mode? Entity spawn is too early, what would be an appropriate time? Any help with these would be much appreciated. On 9/11/05, Lachlan Gunn [EMAIL PROTECTED] wrote: Ok okay, thanks, I'll give it a try. On 9/11/05, Beg0 [EMAIL PROTECTED] wrote: you are still in 1st person because the CInput::CAM_ToThirdPerson() containe the following code #if !defined( TF2_CLIENT_DLL ) !defined( CSTRIKE_DLL ) #if !defined( _DEBUG ) if ( gpGlobals-maxClients 1 ) { // no thirdperson in multiplayer. return; } #endif #endif you probably have to comment this lines Lachlan Gunn a écrit : input-CAM_ToThirdPerson(); Where am I supposed to put this in? Because I've put it in the player spawn code, but it's still in first personI'm not sure when I'm supposed to switch to third person. } in_camera.cpp, line 56 On 9/10/05, Lachlan Gunn [EMAIL PROTECTED] wrote: Hi, Sorry if this is an amazingly stupid question, but how would I go about switching a player to third-person view? There is a function in CInput, but I cannot find an instance to call it from. -- Thanks, Lachlan ___ 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 -- Lachlan ___ 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 -- Lachlan -- Thanks, Lachlan ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Kamran A Get Firefox! Safer, Faster, Better. http://www.spreadfirefox.com/?q=affiliatesid=0t=85 Down with Internet Explorer! Say NO! to Spyware! Use Firefox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Third Person View
Oh, and it also shows how to make the weapon model disappear. :) Kamran wrote: Take a look at my 3rd Person Tutorial here: http://developer.valvesoftware.com/wiki/Creating_a_Third_Person_Camera That will show you how to implement a key to change it... but otherwise, if you want it permanently, use the HL2_Player::Spawn function but do: ClientCmd(thirdperson) Instead of input-. Lachlan Gunn wrote: Thanks everyone, I have that working, but there are two more problems I have: When I switch to third-person mode, the model is still the first-person model (ie. there is half a gun, and another arm sticking out). How would I go about stopping that? Do I have to edit the model? My other (much simpler) question is this: at what point am I supposed to switch to third-person mode? Entity spawn is too early, what would be an appropriate time? Any help with these would be much appreciated. On 9/11/05, Lachlan Gunn [EMAIL PROTECTED] wrote: Ok okay, thanks, I'll give it a try. On 9/11/05, Beg0 [EMAIL PROTECTED] wrote: you are still in 1st person because the CInput::CAM_ToThirdPerson() containe the following code #if !defined( TF2_CLIENT_DLL ) !defined( CSTRIKE_DLL ) #if !defined( _DEBUG ) if ( gpGlobals-maxClients 1 ) { // no thirdperson in multiplayer. return; } #endif #endif you probably have to comment this lines Lachlan Gunn a écrit : input-CAM_ToThirdPerson(); Where am I supposed to put this in? Because I've put it in the player spawn code, but it's still in first personI'm not sure when I'm supposed to switch to third person. } in_camera.cpp, line 56 On 9/10/05, Lachlan Gunn [EMAIL PROTECTED] wrote: Hi, Sorry if this is an amazingly stupid question, but how would I go about switching a player to third-person view? There is a function in CInput, but I cannot find an instance to call it from. -- Thanks, Lachlan ___ 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 -- Lachlan ___ 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 -- Lachlan -- Thanks, Lachlan ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Kamran A Get Firefox! Safer, Faster, Better. http://www.spreadfirefox.com/?q=affiliatesid=0t=85 Down with Internet Explorer! Say NO! to Spyware! Use Firefox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Kamran A Get Firefox! Safer, Faster, Better. http://www.spreadfirefox.com/?q=affiliatesid=0t=85 Down with Internet Explorer! Say NO! to Spyware! Use Firefox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Third Person View
Thankyou! Really appreciate that. On 9/12/05, Kamran [EMAIL PROTECTED] wrote: Oh, and it also shows how to make the weapon model disappear. :) Kamran wrote: Take a look at my 3rd Person Tutorial here: http://developer.valvesoftware.com/wiki/Creating_a_Third_Person_Camera That will show you how to implement a key to change it... but otherwise, if you want it permanently, use the HL2_Player::Spawn function but do: ClientCmd(thirdperson) Instead of input-. Lachlan Gunn wrote: Thanks everyone, I have that working, but there are two more problems I have: When I switch to third-person mode, the model is still the first-person model (ie. there is half a gun, and another arm sticking out). How would I go about stopping that? Do I have to edit the model? My other (much simpler) question is this: at what point am I supposed to switch to third-person mode? Entity spawn is too early, what would be an appropriate time? Any help with these would be much appreciated. On 9/11/05, Lachlan Gunn [EMAIL PROTECTED] wrote: Ok okay, thanks, I'll give it a try. On 9/11/05, Beg0 [EMAIL PROTECTED] wrote: you are still in 1st person because the CInput::CAM_ToThirdPerson() containe the following code #if !defined( TF2_CLIENT_DLL ) !defined( CSTRIKE_DLL ) #if !defined( _DEBUG ) if ( gpGlobals-maxClients 1 ) { // no thirdperson in multiplayer. return; } #endif #endif you probably have to comment this lines Lachlan Gunn a écrit : input-CAM_ToThirdPerson(); Where am I supposed to put this in? Because I've put it in the player spawn code, but it's still in first personI'm not sure when I'm supposed to switch to third person. } in_camera.cpp, line 56 On 9/10/05, Lachlan Gunn [EMAIL PROTECTED] wrote: Hi, Sorry if this is an amazingly stupid question, but how would I go about switching a player to third-person view? There is a function in CInput, but I cannot find an instance to call it from. -- Thanks, Lachlan ___ 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 -- Lachlan ___ 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 -- Lachlan -- Thanks, Lachlan ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Kamran A Get Firefox! Safer, Faster, Better. http://www.spreadfirefox.com/?q=affiliatesid=0t=85 Down with Internet Explorer! Say NO! to Spyware! Use Firefox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Kamran A Get Firefox! Safer, Faster, Better. http://www.spreadfirefox.com/?q=affiliatesid=0t=85 Down with Internet Explorer! Say NO! to Spyware! Use Firefox ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- Lachlan ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders