Re: [hlcoders] Setting a label to display integers?

2005-07-03 Thread Zach Brockway
I don't mean to offend, but whatever email client you are using--the way it constantly replicates its own footer with a longer and longer list of "references"--makes your messages really ungainly to read in the context of a thread. Any chance I could interest you in a gmail account invite or someth

Re: [hlcoders] Setting a label to display integers?

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] Thanks that works! Zach Brockway wrote: http://www.cplusplus.com/ref/cstdlib/itoa.html[1] On 7/3/05, Kamran <[EMAIL PROTECTED]>[2] wrote: [ Converted text/html to text/plain ] I'd like to use my label to display a number, an int, but I can't seem to do it.

Re: [hlcoders] A real newb question :D

2005-07-03 Thread Christian Paredes
Sweet... good to hear, Kamran. Yeah, my university is primarily covering C++, while most other universities (from what I hear at least) starts people off with Java. Ick. I suppose I'll look at it more tonight and see if I can figure out how to implement a primitive gamemode into the SDK. On 7/3

Re: [hlcoders] Setting a label to display integers?

2005-07-03 Thread Zach Brockway
http://www.cplusplus.com/ref/cstdlib/itoa.html On 7/3/05, Kamran <[EMAIL PROTECTED]> wrote: > [ Converted text/html to text/plain ] > I'd like to use my label to display a number, an int, but I can't seem to do > it. I've tried re-casting it as a char but SetText (for a Label) is very > annoying.

Re: [hlcoders] Third Person Camera Tutorial

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] It's meant for SP which it mentions. I don't play with the MP at all (making a SP mod) so I don't know. Draco wrote: its also amazing how following this tute still didn't help, I assume that this is for the bare bones codebase? -- Draco

[hlcoders] Setting a label to display integers?

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] I'd like to use my label to display a number, an int, but I can't seem to do it. I've tried re-casting it as a char but SetText (for a Label) is very annoying. Anyone have any ideas? code: int iNumber = 500; myLabel->SetText(iNumber); (note: iNumber gets update

Re: [hlcoders] Third Person Camera Tutorial

2005-07-03 Thread Draco
its also amazing how following this tute still didn't help, I assume that this is for the bare bones codebase? -- Draco ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/list

Re: [hlcoders] A real newb question :D

2005-07-03 Thread Andrew (British_Bomber)
It's daunting as hell, but I am assuming that unlike my crap hole university you have atleast covered C++ so you are doing well there. As for how things tie into each other it really starts to make more and more sense the more you work with it. ___ To un

Re: [hlcoders] Third Person Camera Tutorial

2005-07-03 Thread Draco
I commented those out ages ago, It doesn't help -- Draco ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] Third Person Camera Tutorial

2005-07-03 Thread Andrew (British_Bomber)
lol, it's amazing just how much of a headache one little return can cause ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] Third Person Camera Tutorial

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] That's because of this function: /* == CAM_ToThirdPerson == */ void CInput::CAM_ToThirdPerson(void) { QAngle viewangles; // Do allow third person in TF2 for now #if !defined( TF2_CLIENT_DLL ) && !defin

Re: [hlcoders] Third Person Camera Tutorial

2005-07-03 Thread Draco
Thank you, I was looking into getting a thirdperson camera working, but I couldn't go thridperson in multiplayer and using release dlls, I could never find why. -- Draco ___ To unsubscribe, edit your list preferences, or view the list archives, please

[hlcoders] Third Person Camera Tutorial

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] I created a lengthy 3rd Person camera tutorial on the wiki site: http://developer.valvesoftware.com/wiki/Creating_a_Third_Person_Camera[1] Have at it. -- Kamran A Get Firefox! Safer, Faster, Better.[2] Down with Internet Explorer! Say "NO!" to Spyware! Use Fire

Re: [hlcoders] Hiding crosshair and viewmodel

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] Disregard my other email, in the same place I hide the viewmodel, hiding the crosshair works too. For others I will be making a tutorial now since my 3rd person camera works fine now. That should help any 3rd person mod makers. Andrew (British_Bomber) wrote: W

Re: [hlcoders] Hiding crosshair and viewmodel

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] See, I don't know which functions HL2 SP uses... because I've added it to a few functions and nothing happened. Oh, and I've figured out how to hide the view model... but not crosshair yet. Andrew (British_Bomber) wrote: Why not add a check for if you are in t

Re: [hlcoders] A real newb question :D

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] Open it up in VS.NET and look around... then try some starter tutorials and get familiar with the layout. And yes you do have a chance, I started making my mod with 0 C++ knowledge and 0 Source SDK knowledge (but I have extensive knowledge with VB.NET) and I've

[hlcoders] A real newb question :D

2005-07-03 Thread Christian Paredes
Hey, I'm trying to start programming on the Source SDK, but I have absolutely no idea where to start. I suppose I can ask you guys this question: what do you usually do in order to understand an unfamiliar SDK? How do you scan the implmentation in order to make the most sense out of the entire

Re: [hlcoders] Hiding crosshair and viewmodel

2005-07-03 Thread Andrew (British_Bomber)
Why not add a check for if you are in third person, to the view model and cross hair functions that allow it to draw? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo

Re: [hlcoders] unsubscribe wsxcde [EMAIL PROTECTED]

2005-07-03 Thread Andrew (British_Bomber)
Where would we be without the botman? :D ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] unsubscribe wsxcde [EMAIL PROTECTED]

2005-07-03 Thread Jeffrey \"botman\" Broome
Patrick Flanagan wrote: If that's his password, maybe someone can unsubscribe for him ... Or maybe that was his master plan all along! "hlcoders Unsubscribe Results You have been unsubscribed." It worked! -- Jeffrey "botman" Broome ___ To unsubscri

Re: [hlcoders] unsubscribe wsxcde [EMAIL PROTECTED]

2005-07-03 Thread Patrick Flanagan
If that's his password, maybe someone can unsubscribe for him ... Or maybe that was his master plan all along! On 7/3/05, Adam amckern Mckern <[EMAIL PROTECTED]> wrote: > HMM, is the mail list broken, or is this guy passing > out his user pass? > > --- invory <[EMAIL PROTECTED]> wrote: > > > unsu

[hlcoders] Hiding crosshair and viewmodel

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] How can I hide the crosshair and viewmodel when pressing a key? For example, when I press TAB I have it set up to switch to third person and I'd like to hide the crosshair and viewmodel... In player.h under the "hl" project there's a function ShowCrosshair but

Re: [hlcoders] Player model

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] How can I force it? Do I have to edit the player movement (like when the user presses the +forward key)? Andrew (British_Bomber) wrote: If it's an HL2 SP mod, you will need to force it to play the animations, try stealing the HL2DM animations. The HL2SP playe

Re: [hlcoders] Networking char ?

2005-07-03 Thread r00t 3:16
Yes that is what I want.. Player (A) kills player (B) Player (A) should be listed in the Killed By field of the scoreboard. I am trying to network similar to that of the player_resource info. m_iPing, m_iDeaths, m_iFrags etc etc I know a string can be networked. But what about a m_szKilledby[MA

Re: [hlcoders] Player model

2005-07-03 Thread Andrew (British_Bomber)
If it's an HL2 SP mod, you will need to force it to play the animations, try stealing the HL2DM animations. The HL2SP player.mdl only has the HL1 style animations. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Networking char ?

2005-07-03 Thread Andrew (British_Bomber)
I'm not entirely sure what you are looking to do, are you just looking to have a message in the scoreboard that tells you who the last person to kill the localplayer was? If that's the case I would just create a user message called something like ScoreboardKiller that sends over a string, then hav

Re: [hlcoders] Re: Simple keyboard question

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] It works, I just changed it to every half second... one of my problems was this: static ConCommand startcamchange("+camchange", IN_CamChangeUp); static ConCommand endcamchange("-camchange", IN_CamChangeDown); It should have been +camchange IN_CamChangeDown. Tha

Re: [hlcoders] Player model

2005-07-03 Thread Kamran
[ Converted text/html to text/plain ] Thanks I got that working. Now to figure out how to play certain animations. Tony "omega" Sergi wrote: Well you can get rid of the performance warning crap with this in the QC: $bonemerge "Bip01" $bonemerge "Bip01 Pelvis" $bonemerge "Bip01 Spine" $bonemerge "B

Re: [hlcoders] unsubscribe wsxcde [EMAIL PROTECTED]

2005-07-03 Thread Adam \"amckern\" Mckern
HMM, is the mail list broken, or is this guy passing out his user pass? --- invory <[EMAIL PROTECTED]> wrote: > unsubscribe wsxcde [EMAIL PROTECTED] > > ___ > To unsubscribe, edit your list preferences, or view > the list archives, please visit: > http:

[hlcoders] unsubscribe 210981 [EMAIL PROTECTED]

2005-07-03 Thread invory
unsubscribe 210981 [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

[hlcoders] unsubscribe wsxcde [EMAIL PROTECTED]

2005-07-03 Thread invory
unsubscribe wsxcde [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

RE: [hlcoders] Player model

2005-07-03 Thread Tony \"omega\" Sergi
Well you can get rid of the performance warning crap with this in the QC: $bonemerge "Bip01" $bonemerge "Bip01 Pelvis" $bonemerge "Bip01 Spine" $bonemerge "Bip01 Spine1" $bonemerge "Bip01 Spine2" $bonemerge "Bip01 Spine3" $bonemerge "Bip01 Neck" $bonemerge "Bone49" $bonemerge "Bone47" $bonemerge "B

Re: [hlcoders] NPC activities

2005-07-03 Thread Tom Edwards
*VCD Tom Edwards wrote: Cancel that, they aren't there. Here's some examples of the 'hidden' activities I'm looking for: d1_t01_BreakRoom_Sit01_Idle d1_t01_BreakRoom_Sit02 d1_t01_BreakRoom_WatchBreen d1_t01_Clutch_Chainlink_Idle d1_t01_BreakRoom_WatchClock_Sit LineIdle01 sitcouchknees1 I've j

Re: [hlcoders] NPC activities

2005-07-03 Thread Tom Edwards
Cancel that, they aren't there. Here's some examples of the 'hidden' activities I'm looking for: d1_t01_BreakRoom_Sit01_Idle d1_t01_BreakRoom_Sit02 d1_t01_BreakRoom_WatchBreen d1_t01_Clutch_Chainlink_Idle d1_t01_BreakRoom_WatchClock_Sit LineIdle01 sitcouchknees1 I've just looked in every VDC I c

[hlcoders] Re: Simple keyboard question

2005-07-03 Thread ChromeAngel
The way these thing usualy tend to be handled is to store the time when you want the player to next switch in a float each time the player switches modes. Whenever this code is run compare the current time to the stored time and only test the keypress if the current time is greater. Something l

Re: [hlcoders] NPC activities

2005-07-03 Thread Tom Edwards
Of course...how could I not have thought of that? Thanks. apophis wrote: I think they are in the NPC code. For example, this is in dlls/hl2_dll/npc_zombie.cpp: AI_BEGIN_CUSTOM_NPC( npc_zombie, CZombie ) ... DECLARE_ACTIVITY( ACT_ZOMBIE_TANTRUM ); DECLARE_ACTIVITY( ACT_ZO