Avatar

rejecht

Ray joined Mar 22, 2012

Haphazard hobbyist programming sessions since about 1992.

Report article RSS Feed Re - Player Metrics - Network Optimization

Posted by rejecht on Jun 28th, 2012

In 3SPN Team ArenaMaster (TAM), the game tracks the location, health, shield, and location name of the players using a custom replication class.

As it turns out, this added replication is not necessary at all, since this information can be accessed client-side anyway, so now we've optimized away more network hogging traffic. Specifically, 3SPN TAM replicated the position of the pawns, as well as their health and shield strength.  The PRI was used for the location name.

Edit: Of course, further testing would reveal that this data is subject to actor relevancy, so location information is not sent for obscured players, for example.

Have a look at the HUD logic for the Invasion game type to learn the details.

A basic overview covering all of the replicated Pawn variables and some from Actor.

UT2004 Pawn Actor Replication

Post a Comment
click to sign in and comment

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Offline Since
May 22, 2013
Country
Norway Norway
Gender
Male
Age
35
Homepage
Sites.google.com
Contact
Private Message
Blog
Browse
Blogs