If you do LINK_ENTITY_TO_CLASS on the client just like the server, it will
report the exact same names.

I use this hand in hand with some predicted entities, so that I can read
them directly.


--------------
-- omega
Heroes of Excelsior
http://www.heroesofexcelsior.com
Blackened Interactive
http://www.blackened-interactive.com

> -----Original Message-----
> From: Matthew Lewis [mailto:[EMAIL PROTECTED]
> Sent: July 5, 2006 1:32 AM
> To: [email protected]
> Subject: [hlcoders] jerky platforms
>
> >
> >
> >--
> >[ Picked text/plain from multipart/alternative ]
> >The client shouldn't even know the entity's name anyways... it should
> only
> >know the nearest defined network class relative to the networked entity's
> >class.  What function do you use to retrieve the entity's name on the
> >client?
> >
> >--
> >ts2do
> >--
> >
>
> Msg("cl: %s\n", pEnt->GetClassname() );
>
>
> Actually, that's kinda unexpected about the client not knowing the
> entities classname. Doesn't it have a copy of the BSP and spawn it's own
> copy of the entities? I would have thought that when the client spawns
> its own version of an entity that the correct classname would get set.
> In fact, I have code on the client that looks for specific entity types.
> It's a bit scary now that it's been revealed that the client is loose
> with the entity names.
>
> On the other hand, the network class might explain what's happening with
> the classname since func_platrot doesn't have any network vars defined,
> but the baseclass (func_plat) does.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>
>
> __________ NOD32 1.1454 (20060321) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to