• Register

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

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Level
Avatar
Avatar
Offline Since
May 22, 2013
Country
Norway Norway
Gender
Male
Age
35
Member Watch
Track this member
Blog
Browse
Blogs
Report Abuse
Report article