Rust Wiki

Revision Difference

Modding_Overview#528361

<cat>Dev.Modding</cat> <title>Modding Overview</title> # Entities An Entity is anything that can be spawned at runtime and any changes to it will be networked to clients. It also includes anything that can be interacted with by the player. Examples: * Chests * Player Models * Minicopters * Bears * Rugs * Crates inside radtowns * Scientists # World Prefabs The main difference is that World Prefabs are NOT networked to the player and cannot be moved. This includes: * Radtowns * Shipping containers inside radtowns * Rocks around the map * Caves * Oil rig # Special Cases A select few World Prefabs are part of the map but are loaded in as entities so they can be networked. Examples: * Key card readers * Fuse holders # Special Entities Almost all entities can be seen or damaged by the player, however there are a few special ones that are entities so they can synchronise specific data between server and client. These include but are not limited to: * EnvSync (Environment: Time, Fog Level, Rain Level, Wind Level) * EnvSync (Environment: Time, Fog Level, Rain Level, Wind Level, Ocean Level) * RelationShipManager (Keeps track of all player teams) * CommunityEntity (Manages all community UI sent to the player) * TreeManager (All trees are networked separately to reduce network load)