The player whose game is the server. The host holds the true state of the world: it populates
the map, runs the zombies,
decides every action and saves the world.
When you play alone, your game is the host.
Client
The game of a player who joined a host. It shows the world and sends requests, and the host
accepts or refuses each one.
Listen server
A server that is also one player's game. A dedicated server is one nobody plays on. The
template uses a
listen server only.
Authority
The right to change the true state of an actor. In this template the host has authority over
every actor of the world. In a graph, Has Authority (or Switch Has Authority) tells you
whether the code is running on the host.
Replicated variable
A variable the host
sends to every machine when its value
changes. Anything other players must see goes through one.
RepNotify
A replicated variable that also runs a function, OnRep_<Name>, on each machine when its new
value arrives. Set it with Set w/ Notify on the host, and the host runs OnRep_<Name> too.
Use it to show a change on every screen, as the sound of the barrel does in
Add a replicated action.
RPC
A function call sent to another machine. Server_* goes from a client to the host, Client_*
from the host to one player, Multicast_* from the host to every machine. A multicast alone
is never used for something that must stay visible, because a player who joins later would miss
it.
A PDA_ is a class that declares the fields,
for example PDA_ZombieDef. A DA_ is one asset of that class with the values filled in, for
example DA_Zombie_Runner. The game reads its numbers from the DA_ assets, so most changes
need no graph.
Registry
A Data Asset that lists every asset of one kind: items, actions, recipes, zombies and so on.
The game, the save and the host look assets up there, so an asset that is
not in its registry does not exist for the game.
Save Id
The text key the save file stores instead of an object. SaveId
is on each persistent actor placed in a map (a door, a window, a container), and two actors must
never share one. ItemSaveId is on each item. It is what the save stores and what /give
takes.
Settings and No Edit
The two categories of a variable. Settings
are the values you are meant to tune, editable on the class and on a placed actor. No Edit
is the state the game writes while it runs.
Gameplay Tag
A dotted name such as Action.Barrel.Bang or Zombie.Archetype.Resident. The template uses
tags to name actions, archetypes, noises and options. They are declared in
Config/DefaultGameplayTags.ini, or in Edit > Project Settings > Gameplay Tags.
Pressing Play in the editor. A world started that way on a map, without the menu, saves to
two fixed files, ZS_World_A and ZS_World_B, and not to a world of the menu.
Actor Component (AC_)
A piece of behaviour attached to an actor. Among the
survivor's components, hunger is AC_Needs and the inventory
AC_Inventory.
Blueprint Function Library (BFL_)
A set of functions any Blueprint can call, such as BFL_ZSStats.GetModifiedValue.
World Partition
Unreal's system that splits a large map into cells and loads the ones near the players.
Pine Hollow uses it.
Navmesh
The area the zombies can walk, built from the collision of the map. In the editor, rebuild it
after you add or move anything that blocks. In
play, Pine Hollow's navmesh rebuilds by itself around what the players build.