BeRsErKeR wrote:Good news guys. I've made it. Clientside doors for the masses.
It's really working!
My solution:
Clientside entities will be created for any connected player. These entities are only visible, touchable and clipping for the "owner"-player. This took a long time as I didn't notice that only 19 of the 32 bits of a flag value are transfered by the server ... and I needed 20 bits of course ...
Clientside entities will only be created if a player connects and will be removed when the player disconnects. So there will be only minimal resources used. Furthermore the server will only send information about this entity to the owner-client. The clientside-flag can theoretically been set for any entity. But I'll only use it for func-entities.
I will improve the code a little bit and look for bugs. Then I'll implement clientside buttons. =)
© 2011 q3df.org. Designed by Zeences. All Right Reserved.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Prostylize Darkgrey style by Ishimaru Design