Skip to content

Document replication definition files and the unified player/prop upd…#34

Merged
ddurieux merged 1 commit into
mainfrom
docs/props-player-replication
Jun 10, 2026
Merged

Document replication definition files and the unified player/prop upd…#34
ddurieux merged 1 commit into
mainfrom
docs/props-player-replication

Conversation

@gghh2

@gghh2 gghh2 commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Description

Update networkGame/props_player to match the unified player/prop replication now in develop.

  • New Replication definition files section: explains the per-type <type>_def.json
    whitelist, the replication zones (distance / frequency), and two pitfalls that bit us:
    silently-dropped unlisted properties, and keeping scenename/position/parent_id in the
    same zone (else a prop spawns at the world origin).
  • Note that the player is now an object of type player (no more player-specific update path).
  • New Spawning a prop from the game server section (spawn_prop_authoritative).
  • Fix a copy-paste error in the player example (client_send_action_to_serverserver_send_properties_to_client).

…ate path

Add a 'Replication definition files' section explaining the per-type
<type>_def.json whitelist, the replication zones (distance/frequency), and two
common pitfalls (silently-dropped unlisted properties, and keeping scenename/
position/parent_id in the same zone so a prop is not spawned at the world origin).
Note that the player is now just an object of type 'player' (no player-specific
update path) and add a 'Spawning a prop from the game server' section for
spawn_prop_authoritative. Fix a copy-paste error in the player example.
@ddurieux ddurieux merged commit 857f5da into main Jun 10, 2026
1 check passed
@ddurieux ddurieux deleted the docs/props-player-replication branch June 10, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants