Re: [hlcoders] Hitboxes

2002-05-04 Thread Oskar 'Zoot' Lindgren
yes, just code a fix - Original Message - From: Martin Webrant [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 04, 2002 12:12 PM Subject: [hlcoders] Hitboxes Are there any fix to the regular SDK code regarding hitboxes? Thats what most of my users complain about...

RE: [hlcoders] Hitboxes

2002-05-04 Thread Philip (Fiber)
You make it sound so easy! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Oskar 'Zoot' Lindgren Sent: Saturday, May 04, 2002 10:40 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Hitboxes yes, just code a fix - Original Message - From: Martin

[hlcoders] adding weapons to HUD

2002-05-04 Thread Lee Shaw
right i've just started to learn weapon code and i'm stuck on putting the weapons onto the HUD. i've made a .txt for the weapon and i've even followed a tut on wavelenght for it http://www.planethalflife.com/wavelength/coding/tutorials/19.htm i've made sure that the weapon don't have the same

Re: [hlcoders] adding weapons to HUD

2002-05-04 Thread Lee Shaw
it comes up in the same slot as the mp5 shotgun and cross bow does. i can give it to the player it in the console and it shows up as the mp5 but as soon as i get the hl mp5 it won't let me use the default one so basicly when eva i pick HL's mp5 it goes to mine or if i have the HL one to start

Re: [hlcoders] adding weapons to HUD

2002-05-04 Thread Commando
It sounds like you are using the same slot/position as one of the HL weapons. There aren't many free slots, so you will have to find a free one or remove some HL weapons. Also, don't forget that the slot returned by iItemSlot() is 1 based and the slot in p-iSlot is 0 based, so the one in

Re: [hlcoders] Crashing Me...why?

2002-05-04 Thread Josh Coyne
hmm, test for a null pointer? if(hpll_info != NULL) ConsolePrint(hppl_info-name); else ConsolePrint(Null Pointer); or something similar . :) - Original Message - From: Nate Lovallo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 10:18 PM Subject: [hlcoders]

[hlcoders] Questions about C#

2002-05-04 Thread Cortex
Hello, This morning, I went to the library to buy a book about C++. The one I had before was to superficial. But, it isn't the subject of this message :D I saw much more books about C# than about C++ ! I was amazed ! I thought this Micro$oft new langage was just a try ! I have a few questions

RE: [hlcoders] Questions about C#

2002-05-04 Thread Dynerman David M
Fun. 1) This is a matter of opinion, but I seriously doubt it. C# is a language targeted towards Microsoft's Language Independent, Platform Independent Virtual Machine (known as the Microsoft .NET platform) The C# design is specific to Microsoft, and requires a Microsoft .NET VM to run

RE: [hlcoders] Questions about C#

2002-05-04 Thread Philip (Fiber)
Microsoft extends their influence in publishing books as well eh? 1) Nope, C# is solely for the .NET platform, C++ is not. However, if everyone moves to the .NET framework, then it might replace it, unless all of the C++ people go and use Managed C++. 2) It's very different from C++ and I don't

[hlcoders] Wierdest thing ever....

2002-05-04 Thread Nate Lovallo
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] OK, so I got my names to work. But now when i try to hud rendering code from the studiomodelrender heres what happened. http://home.attbi.com/~inbeastic/images/airplane2.jpg From what i can

Wrong Weapons? (was [hlcoders] Wierdest thing ever....)

2002-05-04 Thread Iain Farrell
http://home.attbi.com/~inbeastic/images/airplane2.jpg Ok, this may just be me, but why is he holding an MP5A5 (with what looks like an underslung M203) when the hud icon shows an MP5K? (sorry..I'm a slight gun nut...) CaptFarrell ICQ : available on request That's it - screw CNN, from now

RE: [hlcoders] Wierdest thing ever....

2002-05-04 Thread Adrian Finol
It's not safe to try to draw anything to the HUD outside the HUD Draw code. If you try to call it from someplace else, the screen might not be set in the proper way to render them. DrawPlayer is further down the pipeline and is not set to draw in ortho projection mode. Hence it will rendered

[hlcoders] Wierdest thing ever....

2002-05-04 Thread Nate Lovallo
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I was thinking of that, but how can i store all of the players names and positions if the number of players rendered changes every second? -- ___ To

Re: [hlcoders] Wierdest thing ever....

2002-05-04 Thread Reedbeta
Just maintain an array with enough space for all of the players. At the beginning of each frame clear it out, then set it with the data for all the players being rendered...then next frame (before it's cleared out) do the HUD element stuff only for the visible players. --- Nate Lovallo [EMAIL