[hlcoders] VGUI command KeyValues management
Take a look at the following code: KeyValues* kv = new KeyValues( myMessage, p1, 1, p2, 2 ); m_pInventoryButtons[i]-SetCommand( kv ); Are the KeyValues managed by the panel (deleted when changed or when panel is deleted) or do I have to take care of deleting them? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] OB SDK HL2MP
Hi all, I encountered a weird issue with HL2MP of OB SDK. I can't change my name typing : name toto generates a call to ClientSettingsChanged in gamerules but name I get is still the old one. It is like name can't be changed. I also see that there is no more entry field in Options (multiplayer) to change your name. Do you guys faced this issue ? -- --- [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] OB SDK HL2MP
This is because the OB uses your community name. You can change your name by using setinfo name New Name, but only while you'rre in that server. Janek wrote: Hi all, I encountered a weird issue with HL2MP of OB SDK. I can't change my name typing : name toto generates a call to ClientSettingsChanged in gamerules but name I get is still the old one. It is like name can't be changed. I also see that there is no more entry field in Options (multiplayer) to change your name. Do you guys faced this issue ? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] OB SDK HL2MP
Try typing setinfo name newname But as far as I know, the name is tied to the steam friends name in the orange box. I haven't messed with the orange box code in depth yet, but I think the engine now uses the community name. Keeper -Original Message- From: Janek [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 9:02 AM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] OB SDK HL2MP Hi all, I encountered a weird issue with HL2MP of OB SDK. I can't change my name typing : name toto generates a call to ClientSettingsChanged in gamerules but name I get is still the old one. It is like name can't be changed. I also see that there is no more entry field in Options (multiplayer) to change your name. Do you guys faced this issue ? -- --- [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] OB SDK HL2MP
Thank you so much. setinfo name newname is working like a charm. I imagine that setinfo can get many arguments. Do you guys know where I can find this list ? [EMAIL PROTECTED] 2008/4/23 Garry Newman [EMAIL PROTECTED]: Names are taken from your Steam name now. You can still change your name by using setinfo name name in the console - but I'm not sure that you're meant to be able to. garry On Wed, Apr 23, 2008 at 2:02 PM, Janek [EMAIL PROTECTED] wrote: Hi all, I encountered a weird issue with HL2MP of OB SDK. I can't change my name typing : name toto generates a call to ClientSettingsChanged in gamerules but name I get is still the old one. It is like name can't be changed. I also see that there is no more entry field in Options (multiplayer) to change your name. Do you guys faced this issue ? -- --- [EMAIL PROTECTED] ___ 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 -- --- [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] OB SDK HL2MP
In the GoldSrc you just type setinfo, and it'll output a list of values set. Whether it's all of them or not, I do not know. /ScarT On 23/04/2008, Janek [EMAIL PROTECTED] wrote: Thank you so much. setinfo name newname is working like a charm. I imagine that setinfo can get many arguments. Do you guys know where I can find this list ? [EMAIL PROTECTED] 2008/4/23 Garry Newman [EMAIL PROTECTED]: Names are taken from your Steam name now. You can still change your name by using setinfo name name in the console - but I'm not sure that you're meant to be able to. garry On Wed, Apr 23, 2008 at 2:02 PM, Janek [EMAIL PROTECTED] wrote: Hi all, I encountered a weird issue with HL2MP of OB SDK. I can't change my name typing : name toto generates a call to ClientSettingsChanged in gamerules but name I get is still the old one. It is like name can't be changed. I also see that there is no more entry field in Options (multiplayer) to change your name. Do you guys faced this issue ? -- --- [EMAIL PROTECTED] ___ 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 -- --- [EMAIL PROTECTED] ___ 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] OB SDK HL2MP
I just tested and it just gives syntax of the command. No list. 2008/4/23 Tobias Kammersgaard [EMAIL PROTECTED]: In the GoldSrc you just type setinfo, and it'll output a list of values set. Whether it's all of them or not, I do not know. /ScarT On 23/04/2008, Janek [EMAIL PROTECTED] wrote: Thank you so much. setinfo name newname is working like a charm. I imagine that setinfo can get many arguments. Do you guys know where I can find this list ? [EMAIL PROTECTED] 2008/4/23 Garry Newman [EMAIL PROTECTED]: Names are taken from your Steam name now. You can still change your name by using setinfo name name in the console - but I'm not sure that you're meant to be able to. garry On Wed, Apr 23, 2008 at 2:02 PM, Janek [EMAIL PROTECTED] wrote: Hi all, I encountered a weird issue with HL2MP of OB SDK. I can't change my name typing : name toto generates a call to ClientSettingsChanged in gamerules but name I get is still the old one. It is like name can't be changed. I also see that there is no more entry field in Options (multiplayer) to change your name. Do you guys faced this issue ? -- --- [EMAIL PROTECTED] ___ 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 -- --- [EMAIL PROTECTED] ___ 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 -- --- [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] VGUI command KeyValues management
keyvalues data objects are deleted when the button objects are destructed: Button::~Button() { if (_actionMessage) { _actionMessage-deleteThis(); } } On Wed, Apr 23, 2008 at 4:59 AM, Piotr Siódmak [EMAIL PROTECTED] wrote: Take a look at the following code: KeyValues* kv = new KeyValues( myMessage, p1, 1, p2, 2 ); m_pInventoryButtons[i]-SetCommand( kv ); Are the KeyValues managed by the panel (deleted when changed or when panel is deleted) or do I have to take care of deleting them? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] orange box tf2 third person animation code
Hey all I posted back in 2006 trying to get third-person animation to work in a HL2MP client with no success. I'm back trying it again this time in the Orange Box 2007 release of the SDK. I've looked through a ton of the code and it seems everywhere there's scattered INVASION_CLIENT_DLL preprocessor def. This is the Team Fortress 2 code, and it's being told not to run in HL2DM. Fair enough. However, chunks of this code possibly contains the proper implementation for clientside animation and prediction. Would you guys happen to know what *specifically* needs to be implemented for third-person animation to be as smooth as TF2? I've tried a few no-shit things so far, just to test the waters: 1. Commented out all instances of #ifdef INVASION_DLL and INVASION_CLIENT_DLL and tried to compile. Ofcourse, it's missing a bunch of stuff like tf_shareddefs.h and some vgui stuff. 2. Commented out all instances of #ifdef INVASION etc except for those that caused immediate errors, which lead to a ton of linkage errors and stuff like SetDormant(bool) not found. 3. Added the INVASION_CLIENT_DLL, INVASION_DLL, TF2 to the preproc defs to trick code into compiling as TF2, which ofcourse fails Tomorrow I'm going to go through all the possible clientside animation stuff that gets omitted from #ifdefs but I was wondering if you guys already have a heads up on this. Thanks a bunch! ~M ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] orange box tf2 third person animation code
The Advanced SDK for a long time has had great local player third person animations, no jitters and such as some of the HL2DM stuff sometimes has, even though that's entirely possible to fix. If you're desperate to use the HL2DM stuff though it is possible to smooth out as well. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] VGUI command KeyValues management
void Button::SetCommand( KeyValues *message ) { // delete the old message if (_actionMessage) { _actionMessage-deleteThis(); } ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
[hlcoders] OB SDK and Linux
Hi, Any news on when Linux version of OB SDK will be released ? -- --- [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] OB SDK and Linux
Never! On Wed, Apr 23, 2008 at 3:55 PM, Janek [EMAIL PROTECTED] wrote: Hi, Any news on when Linux version of OB SDK will be released ? -- --- [EMAIL PROTECTED] ___ 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] OB SDK and Linux
When Duke Nukem Forever goes gold :) Never! On Wed, Apr 23, 2008 at 3:55 PM, Janek [EMAIL PROTECTED] wrote: Hi, Any news on when Linux version of OB SDK will be released ? -- --- [EMAIL PROTECTED] ___ 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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders