Skip to content

bs_zombies

server-synced walkers: one list, one health pool, hosted AI, individual-zombie simulation.

Generated from the Lua sources in resources/[beyond]/bs_zombies/. 163 entries. The description column is the comment above the line in the code, so if it’s empty nobody wrote one yet.

Call with exports.bs_zombies:Name(...) from the same side.

NameSideWhereDescription
AppearanceLedgerclientclient/cl_sync.lua:1655Same table as data for other resources (e.g.
Corpsesclientclient/cl_combat.lua:434
Countclientclient/cl_sync.lua:1442
Failuresclientclient/cl_sync.lua:1440
FeedingConfigclientclient/cl_ai.lua:1291Exported so bs_admin’s debug button uses the same spawn distance instead of a duplicated number.
GetFxOptionsclientclient/cl_options.lua:81
HasWalkerclientclient/cl_sync.lua:1419Did this walker get a ped on this client?
HealthBarsVisibleclientclient/cl_healthbar.lua:74
HordeActiveclientclient/cl_horde.lua:63
HostedCountclientclient/cl_sync.lua:1444
IsBeingAttackedclientclient/cl_attack.lua:435
IsCrawlerPedclientclient/cl_crawl.lua:685
IsGrabbedclientclient/cl_attack.lua:434Nothing holds the player, so this always answers false.
IsWalkerPedclientclient/cl_sync.lua:1380Counts why walkers have no ped (‘model:<name>’ and ‘ground’), shown in the staff menu.
Liveclientclient/cl_sync.lua:1443
PlayerProtectedInVehicleclientclient/cl_vehicle.lua:45
SafeZoneMarkersShownclientclient/cl_safezones.lua:118Used by the Settings tab in bs_inventory.
SetFxOptionclientclient/cl_options.lua:82
SetHealthBarsVisibleclientclient/cl_healthbar.lua:73
SetSafeZoneMarkersShownclientclient/cl_safezones.lua:119
Typesclientclient/cl_sync.lua:1425List of walker types, for anything that offers a choice (staff menu spawn buttons), so new config types show up without code changes.
WalkerIdOfclientclient/cl_sync.lua:1832Walker id for a ped we can see, or nil (used by bs_gadgets turret).
AnyNearserverserver/sv_registry.lua:1731Is any server-tracked walker within radius of (x, y, z)?
AtlasCallserverserver/sv_sim_atlas.lua:648Entry 2: exports.bs_zombies:AtlasCall(op, args, via), for the nodes web panel (nodes/server/sv_http.lua), which has no player.
ClearRadiusserverserver/sv_director.lua:673Staff /dz: removes every walker within radius of x, y through the normal removal path (budgets, host lists and corpses stay consistent).
DirectorStateserverserver/sv_director.lua:712
EventClearserverserver/sv_registry.lua:2081keep = true: untag only, so the walkers stay and fall back to normal culling.
EventCountserverserver/sv_registry.lua:2079
EventDriveserverserver/sv_registry.lua:2078
EventNoiseserverserver/sv_registry.lua:2082
EventSpawnserverserver/sv_registry.lua:2077
GadgetHitserverserver/sv_registry.lua:2092Gadget damage (bs_gadgets turret).
Heatserverserver/sv_director.lua:685
InSafeZoneserverserver/sv_registry.lua:1692Same list plus the padded radius, for the Node Atlas panel.
NodeAtlasserverserver/sv_nodes.lua:1110 (not in fxmanifest)The atlas graph, so the panel can draw roads.
NodeListserverserver/sv_nodes.lua:1079 (not in fxmanifest)Every herd, flattened for drawing: position, size, behaviour and traits.
NodeMemoryserverserver/sv_nodes.lua:1134 (not in fxmanifest)Spatial memory as cells worth colouring (visits and kills).
NodeSnapshotserverserver/sv_nodes.lua:1076 (not in fxmanifest)
SafeZonesserverserver/sv_registry.lua:1680Safe zones as plain numbers.
SafeZonesPaddedserverserver/sv_registry.lua:1701
SectorClearDebtserverserver/sv_sectors.lua:481
SectorGridserverserver/sv_sectors.lua:459
SectorSetserverserver/sv_sectors.lua:475
SectorSnapshotserverserver/sv_sectors.lua:457
SetSpawnModeserverserver/sv_spawnsrc.lua:208
Snapshotserverserver/sv_registry.lua:1721
SpawnModeserverserver/sv_spawnsrc.lua:207
StreamSnapshotserverserver/sv_streaming.lua:669
Totalserverserver/sv_registry.lua:1714
WorldSeedserverserver/sv_registry.lua:1719

Server callbacks are called from a client with BSB.Await(name, timeoutMs, ...). Client callbacks are called from the server with BSB.AwaitClient(src, name, timeoutMs, ...).

NameDirectionWhereDescription
zombies:atlas:client -> serverserver/sv_sim_atlas.lua:638
zombies:debug:nearbyclient -> serverserver/sv_sim_atlas.lua:125The in-world Alt overlay only identifies a real local walker (A) next to its unmaterialised simulation neighbours (D).
zombies:forceclient -> serverserver/sv_registry.lua:1753
zombies:lootclient -> serverserver/sv_director.lua:502
zombies:lootCheckclient -> serverserver/sv_director.lua:482
zombies:nearestclient -> serverserver/sv_registry.lua:1957
zombies:sectors:cleardebtclient -> serverserver/sv_sectors.lua:428
zombies:sectors:listclient -> serverserver/sv_sectors.lua:396
zombies:sectors:setclient -> serverserver/sv_sectors.lua:416

“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).

NameSideTypeWhereDescription
bs_config:changed:clientlocalclient/cl_safezones.lua:133Redraw when the zones are edited in F1.
bs_config:changed:sharedlocalconfig/config_zones.lua:101
bs:combatfx:optionsclientlocalclient/cl_healthbar.lua:27
bs:crafting:skinZombieclientlocalclient/cl_combat.lua:219Skinning is run by bs_crafting, but the body is ours: hold it here and on the server so it is not culled or timed out while the player kneels over it.
bs:factionBases:changedserverlocalserver/sv_flagzones.lua:8bs_faction_bases fires this on every flag change.
bs:factionBases:syncclientnetclient/cl_safezones.lua:138Player faction flags arrive from bs_faction_bases.
bs:hook:player:loadedclientlocalclient/cl_options.lua:92
bs:hook:player:spawnedclientlocalclient/cl_safezones.lua:122Re-drawn on respawn so a resource restart in between cannot leave it missing.
bs:hook:player:unloadedclientlocalclient/cl_attack.lua:414
bs:sim:stanceservernetserver/sv_sim_senses.lua:144Stance report from cl_sim_stance.lua.
bs:ui:soundEndedclientlocalclient/cl_ai.lua:218The page finished a clip, stop moving a sound nobody hears.
bs:vip:changedclientlocalclient/cl_options.lua:91VIP status decides whether custom colours apply.
bs:weapons:shotclientlocalclient/cl_damage.lua:298
bs:world:noiseclientlocalclient/cl_ai.lua:1217
bs:world:noiseservernetserver/sv_director.lua:196Gunfire is the loudest way to tell a zone you are in it.
bs:z:addclientnetclient/cl_net.lua:422
bs:z:animreportservernetserver/sv_registry.lua:1837Client side of /zanim, so the clipset info lands in a file.
bs:z:badnativeservernetserver/sv_registry.lua:1831
bs:z:correctHostclientnetclient/cl_sync.lua:1173
bs:z:crippledclientnetclient/cl_damage.lua:195
bs:z:deadclientnetclient/cl_combat.lua:396
bs:z:dmgservernetserver/sv_registry.lua:1401
bs:z:drawclientnetclient/cl_horde.lua:45The server tells a host to pull one of its walkers toward something.
bs:z:drunktest9clientnetclient/cl_ai.lua:2011
bs:z:drunktest9servernetserver/sv_net.lua:624/zdrunktest9 (see cl_ai.lua): a ped made the way real walkers are made.
bs:z:enginedeathservernetserver/sv_registry.lua:1816A client could not apply one of the natives that makes a walker a walker.
bs:z:envdeathservernetserver/sv_registry.lua:1567
bs:z:gatedservernetserver/sv_registry.lua:1175Server half of the spawn-on-top-of-player guard: cl_sync holds any record inside Noise.Materialise.hardFloor instead of creating it.
bs:z:grabservernetserver/sv_registry.lua:1581Being grabbed is shared: everyone near sees the same walker holding the same player, since state rides on the record.
bs:z:grabbedclientnetclient/cl_attack.lua:365Another player is attacked: play the same swing on our copy of the walker so everyone sees the lunge.
bs:z:hitservernetserver/sv_registry.lua:1308
bs:z:hordeclientnetclient/cl_horde.lua:5
bs:z:hordeOverclientnetclient/cl_horde.lua:39
bs:z:hostclientnetclient/cl_sync.lua:1144Who this client is responsible for.
bs:z:hurtclientnetclient/cl_ai.lua:1269A hit anywhere pulls the ones this client steers, whoever fired.
bs:z:materialisedservernetserver/sv_registry.lua:1177
bs:z:net:appservernetserver/sv_net.lua:568The owner applied the seeded appearance once; later owners must not redo it.
bs:z:net:fpsservernetserver/sv_net.lua:545
bs:z:net:groundedservernetserver/sv_net.lua:558The owner grounded a ped that was created without a known z.
bs:z:netkillclientnetclient/cl_net.lua:429A corpse that nobody killed: the server asks its owner to.
bs:z:nolosservernetserver/sv_net_target.lua:35The owner tried, and a wall was in the way.
bs:z:orphanservernetserver/sv_registry.lua:1803
bs:z:pedlostservernetserver/sv_registry.lua:1810
bs:z:reportservernetserver/sv_registry.lua:979
bs:z:rmclientnetclient/cl_net.lua:409The server removed / killed it: never re-adopt that id until it is announced again.
bs:z:syncaservernetserver/sv_registry.lua:2125
bs:z:syncqclientnetclient/cl_sync.lua:1887/zsync: the server asks, we answer with what exists locally.
bs:z:updclientnetclient/cl_sync.lua:1053Walkers vanished when you got close: the server spawns at z = 0.0 and relies on the host client to report ground height, but hosts only exist within HOST_RADIUS (180m) while…
bs:z:vehhitservernetserver/sv_registry.lua:1514
bs:z:verifyservernetserver/sv_registry.lua:1139
bs:zombies:bittenservernetserver/sv_director.lua:587
bs:zombies:dot:lootclientlocalclient/cl_combat.lua:168
bs:zombies:holdCorpseservernetserver/sv_director.lua:492
bs:zs:diagclientnetclient/cl_spawner.lua:431Client half of /zdiag.
bs:zs:diagreplyservernetserver/sv_streaming.lua:929The client’s answer, printed in the same readout.
bs:zs:planclientnetclient/cl_spawner.lua:319
bs:zs:reportservernetserver/sv_streaming.lua:295Dry-run report. A client sends one per work pass: candidates accepted and refused per reason.
bs:zs:spawnservernetserver/sv_streaming.lua:457
bs:zs:teleservernetserver/sv_streaming.lua:276
entityRemovedserverlocalserver/sv_net.lua:489
onResourceStopclientlocalclient/cl_ai.lua:723On shutdown Zed.owned still has the meals so releaseEverything() collects them; this only clears the timer table.
onResourceStopserverlocalserver/sv_net.lua:535Best-effort save on shutdown.
playerDroppedserverlocalserver/sv_director.lua:500A disconnecting player’s noise record is dropped so the table does not grow forever.
txAdmin:events:serverShuttingDownserverlocalserver/sv_nodes.lua:914 (not in fxmanifest)
CommandSideWhereDescription
/bs_zombiehpclientclient/cl_healthbar.lua:66Any VIP or staff member can toggle this for themselves from chat.
/hitmarkertestclientclient/cl_hitmarker.lua:125/hitmarkertest - plays the three sounds without needing a zombie, weapon or VIP.
/poolsclientclient/cl_pools.lua:131
/safezonesclientclient/cl_safezones.lua:104/safezones - toggle. No ace check: it only draws zones from a config file every client already has.
/sectorserverserver/sv_sectors.lua:437/sector - what square am I in, and what is it doing?
/zanimclientclient/cl_sync.lua:1543/zanim - asks the engine directly which clipsets are loaded (and by which native), and for the nearest walker, its recorded gait, move rate and repair state.
/zclearserverserver/sv_director.lua:660
/zcrawlclientclient/cl_crawl.lua:695Same idea as /zanims in cl_sync.lua: check that the animation is there and something is moving it.
/zdebugclientclient/cl_sync.lua:1461
/zdiagserverserver/sv_streaming.lua:914
/zdrunkclearclientclient/cl_ai.lua:1876
/zdrunktestclientclient/cl_ai.lua:1646
/zdrunktest2clientclient/cl_ai.lua:1658
/zdrunktest3clientclient/cl_ai.lua:1694
/zdrunktest4clientclient/cl_ai.lua:1737
/zdrunktest5clientclient/cl_ai.lua:1801/zdrunktest5 <mask>: /zdrunktest4 10 plus extras only real walkers get at spawn.
/zdrunktest6clientclient/cl_ai.lua:1846/zdrunktest6 [model]: the /zdrunktest ped moved by TaskGoStraightToCoord at the player, re-issued every 2.5 s like a drawn walker.
/zdrunktest7clientclient/cl_ai.lua:1886/zdrunktest7 [mask] [model]: /zdrunktest6 plus the setup groups from cl_net.lua configureOwned(), switchable by bit.
/zdrunktest8clientclient/cl_ai.lua:1930/zdrunktest8 [model]: same as /zdrunktest6 but with a networked ped (isNetwork = true), to see if networking strips the stagger.
/zdrunktest9clientclient/cl_ai.lua:2049
/zgaitclientclient/cl_ai.lua:1469/zgait: one line per nearby walker.
/zgaitprobeclientclient/cl_ai.lua:1964
/zhordeserverserver/sv_director.lua:612
/zmodeserverserver/sv_spawnsrc.lua:174
/zmodelinfoclientclient/cl_sync.lua:1668
/znetserverserver/sv_net.lua:611
/znetcclientclient/cl_net.lua:465
/znodesserverserver/sv_nodes.lua:952 (not in fxmanifest)
/znodesaveserverserver/sv_nodes.lua:1028 (not in fxmanifest)/znodesave - force a save and print the row counts written.
/zpoiserverserver/sv_poi.lua:338
/zsimserverserver/sv_sim_atlas.lua:668
/zstanceclientclient/cl_sim_stance.lua:75/zstance - shows the stance this client reports.
/zstatusserverserver/sv_director.lua:625
/zstreamserverserver/sv_streaming.lua:614
/zsyncserverserver/sv_registry.lua:2108
/ztestdamageclientclient/cl_damage.lua:375
/ztestsensesclientclient/cl_ai.lua:1298
/ztestspawnclientclient/cl_sync.lua:1789
/zvanillaclientclient/cl_sync.lua:1531/zvanilla - respawn every walker on this client with the base-game model, to rule out the ped pack without a restart or config edit.
/zwhyclientclient/cl_sync.lua:1605/zwhy prints the last 40 peds this client created, most recent first, with the path (spawn, streamin, reground…), distance and gate decision.

These Lua files are on disk but no pattern in fxmanifest.lua loads them (or they are only pulled in with @bs_zombies/... by another resource). Anything listed from them above is not live in this resource.

  • server/sv_nodes.lua
  • server/sv_nodes_db.lua