--
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:
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
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
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
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
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
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
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
8 matches
Mail list logo