Skip to content

Levels, doors and containers

The three retail levels a server may run ([server] level in server.toml: klaster, trosecko, kutnohorsko) and the level objects the doors and containers API works with - every AnimDoor and every Stash placed in each level, read from the level’s own files (Data/Levels/<level>/level.pak), with the key the API takes and the object’s position.

level what it is default spawn
klaster the monastery and its surroundings - the test level, loads in about fifteen seconds 1280, 1088 (the courtyard)
trosecko the Trosky region - the first half of the story game -
kutnohorsko the Kuttenberg region - the second half -

The key is the entity’s level name (AnimDoor[Door/door_village_left32_77d417c2-...], Stash7[Stash/stash_shelf_...]); a door or a container nobody touched is at the level’s default and absent from GetDoors() / GetContainers(). The names of klaster are verified against a running server; the two big levels nest prefab names into the key. Where a level gives one name to several containers (Stash96 stands five times in kutnohorsko), one of them keeps the name as its key and each other one is the name with its place in whole metres, Stash96@3160,787,57 - the tables list every one. Positions are metres in the level’s world space, as GetPlayerPos reports them.

Page Entries
klaster: doors 88
klaster: containers 206
kutnohorsko: doors (1/2: A) 566
kutnohorsko: doors (2/2: A-C) 566
kutnohorsko: containers (1/2: A-S) 1365
kutnohorsko: containers (2/2: S-Z) 1364
trosecko: doors 297
trosecko: containers 918