RE: [hlcoders] Map entities client-side

2002-02-09 Thread randomnine
-- Alternatively, there's code in DMC which loads in the teleporters on the client which you can bastardise if you want and which isn't GPL'd. -randomnine- -Original Message- From : James Williams [EMAIL PROTECTED] To : [EMAIL PROTECTED] Date : 09 February 2002 08:10:05 Subject : RE:

[hlcoders] Bone position

2002-02-09 Thread Cortex
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Sorry, I've send this message on topica list too :( I made a mistake :( Hello, I wanted to get the world position of a bone (Right and left foot) client side. I've only the id of the concerned

[hlcoders] Message Problems

2002-02-09 Thread Tom
Im having some problems sending over a message, it seems to not like anything. Ive spent now about 3 hours trying to get it to work!! this is my code: player.cpp: ... int gmsgTeams = 0; int gmsgZone = 0; ... gmsgVGUIMenu = REG_USER_MSG(VGUIMenu, 1); gmsgZone = REG_USER_MSG(zones, -1); in

Re: [hlcoders] Message Problems

2002-02-09 Thread Christopher Long
D00d you forgot DECLARE_MESSAGE(blah, blah); in that cp file. and maybe you didn't make an instance of the hud variable and call its init func. - Original Message - From: Tom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 10, 2002 7:30 AM Subject: [hlcoders] Message

Re: [hlcoders] Message Problems

2002-02-09 Thread Tom
on the client? None of the rest seem to do it - Original Message - From: Christopher Long [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 09, 2002 10:02 PM Subject: Re: [hlcoders] Message Problems D00d you forgot DECLARE_MESSAGE(blah, blah); in that cp file. and maybe

Re: [hlcoders] Message Problems

2002-02-09 Thread Christopher Long
yah they do health.cpp DECLARE_MESSAGE(m_Health, Health ) DECLARE_MESSAGE(m_Health, Damage ) ammo.cpp DECLARE_MESSAGE(m_Ammo, CurWeapon ); // Current weapon and clip DECLARE_MESSAGE(m_Ammo, WeaponList); // new weapon type DECLARE_MESSAGE(m_Ammo, AmmoX); // update known ammo type's count

Re: [hlcoders] Message Problems

2002-02-09 Thread Christopher Long
don't forget to hook the command in its init function AND hud.h around line 758 make an instance of your hud objects class then lower down at line 303 in hud.cpp call that class instances init with the rest of the inits. then go lower down if you have vidinit stuff (sprites etc) that you wish to

RE: [hlcoders] More Message Problems

2002-02-09 Thread Persuter
For more of an update on this: I've removed the Initialize function of a different hud element, and it gets way farther now, only crashing upon beginning the render. Again, the problem seems to be that HUD elements keep losing pointers or something. I'll get an access error while accessing