Yeah, that's what I thought too... I took a look at delta.lst (I posted the
question about delta.lst a few days ago :) ) but I really have no idea where
I should add the DEFINE_DELTA line :( I think that there are only encoded
structures in delta.lst, not a whole class (CBaseEntity). Am I wrong ?

      - Cortex : mapper & coder www.hlalbator.fr.st

----- Original Message -----
From: botman
To: [EMAIL PROTECTED]
Sent: Monday, March 25, 2002 8:47 PM
Subject: Re: [hlcoders] arg, client based CBaseEntity !


> Recently, I wanted to make the players shoots dependant of their accuracy
> and the weapon they carry. I've added a "m_precision // m_accuracy in
> english :D" variable to CBasePlayerWeapon and CBasePlayer. I set them
> correclty in my Gamerules. So, all right.
>
> The problem I'm encountering with the CBasePlayer variable is that on the
> client side, in CBaseEntity::FireBulletPlayers(...), the CBasePlayer class
> isn't set according to the server one. Indeed, pPlayer->m_precision is
> always zero on the client whereas it's the normal value for the server's
> pPlayer->m_precision !
>
> Really annoying... Any idea how I could get around this ?

You'll have to add your new variable to the stuff that gets sent to the
client.
Remember that things that you add to the server don't get stored on the
client
unless you send them to the client.

There was a thread about delta.lst just a few days ago on this list.  See
that
thread for the details.

Jeffrey "botman" Broome

_______________________________________________
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

Reply via email to