Cant you pass the keyvalues to the client in your message?  I know for my
mod we have animated plants and items that are on the server side only.  For
instance when the player touches the animated item, a message is sent to the
client tellin it what it is and the inventory/hud info is updated
accordingly.  I dont know if that pertains to your original question... but
anyway... =)

If you really need the keyvalues, when the entity is created send a message
to the client.  Im tired... im going to bed.

Roachie
www.the-coming.com
----- Original Message -----
From: "Persuter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 13, 2002 12:27 AM
Subject: RE: [hlcoders] Map entities client-side


> Btw, to clear things up on this, I did indeed eventually use the message
> to client and it works fine now (better than I expected, actually), but
> I just found it odd that we can't get the keyvalues from the
> client-side. OK, now continue the digression... :)
>
> Thanks for everyone who helped, btw...
>
> Persuter
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:hlcoders-
> > [EMAIL PROTECTED]] On Behalf Of Pat Magnan
> > Sent: Tuesday, February 12, 2002 3:28 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [hlcoders] Map entities client-side
> >
> > Two solutions come to mind:
> > - parse the BSP client side...
> > - transmit the value of that keyvalue to the client in a message, just
> > once while the HUD is initializing should do it (keyvalues don't
> change
> > do they?).
> >
> > I chose the latter for an entity that was placed in the map, and
> > rendered client side by TriAPI. I think some folks were working on
> > trying to parse the BSP client side, but ran into trouble keeping
> > things in synch...
> >
> > I think you've been around longer than I have and may not need it, :)
> > but if you want to see an outline of my approach, I did up a tutorial
> > (concept mostly) here:
> > http://www.tourofdutymod.com/tutorials.php
> >
> > > Is there a way to access keyvalue info in the map from the client-
> > side?
> > > I keep on thinking you must be able to, since obviously the client
> > side
> > > has the map, but I haven't been able to find any way to do it.
> > >
> > > Thanks,
> > > Persuter
> > >
> > >
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > > _______________________________________________
> > > To unsubscribe, edit your list preferences, or view the list
> > archives, please visit:
> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > >
> > >
> >
> > ---------------------------------------
> > Eighty percent of life is showing up.
> >   -- Woody Allen
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> 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