# WORLD_EXPANSION for TRAIN_ASSET_PACK

The world outside the train, in the same low-poly PS1/PS2 post-Soviet style and at the same metric scale as TRAIN_ASSET_PACK:
houses, apartment blocks and factories with furnished interiors and working doors, the gas station, the checkpoint, the
settlement on the water, the terminus, nature, people, wolves, birds and weapons, plus every stop of the route assembled as a
location prefab.

* **367 assets** in 23 categories, plus **16 prefabs** (0 of them are whole locations).
* **11 rigged and animated assets** (`SK_` prefix): people, wolves, birds and the guns.
* **332 assets have LOD0/LOD1/LOD2**. Every asset has simple collision (`UCX_` boxes and hulls).
* **188 PBR texture sets**.

The full list, with triangle counts, bones and animations, is in **ASSET_LIST.md**. Contact sheets are in **PREVIEWS/**.

## The route (location prefabs)

| Prefab | Stop |
|---|---|

The checkpoint is `PF_Blokpost_7`. The settlement on the water is `PF_Loc_Zatoplennaya`, with furnished stilt houses `PF_Wat_*`.
The terminus is `PF_Loc_Konechnaya`, `PF_Loc_Last_Walk_Forest` and `PF_Loc_Evac_E7`. Smaller building prefabs are `PF_Vil_*`, `PF_City_*`,
`PF_Ind_*`, `PF_Rail_*` and `PF_Gas_*`. All prefabs are laid out side by side in the .blend, so you can
fly through the whole route.

## Folder layout

```
WORLD_EXPANSION.blend          master file: every asset, prefab and rig (needs no other file)
TEXTURES/Materials/<Set>/      T_<Set>_BaseColor / _Normal / _Roughness / _Metallic / _AO / _ORM .png
TEXTURES/Atlases/              signs, posters, labels
EXPORTS/FBX/<CATEGORY>/        one FBX per asset (LOD0-2 + UCX_ colliders + SOCKET_ empties; rigs include armature + actions)
EXPORTS/FBX/PREFABS/           prefab scenes
EXPORTS/GLTF/                  glTF per asset (+ _LOD1/_LOD2 files), prefabs as PF_*.gltf
EXPORTS/manifest.json          name, category, files, triangle counts, colliders, bones and actions of every asset
PREVIEWS/                      contact sheets
```

## Conventions

* Same as TRAIN_ASSET_PACK: metres, Z up in Blender. FBX is exported -Z forward / Y up, and glTF is Y up.
* Track pieces, platforms and the train fit the base pack. Ground level in the location prefabs matches the base pack's
  ballast (z = -0.68 under the rail head).
* **Doors** (`SM_Door_*`) are separate assets with the origin at the bottom of the hinge axis and the closed leaf along +X,
  so you open them by rotating about Z in the engine. The prefabs place them closed, ajar or open.
* **Rigged assets (`SK_`)** use rigid skinning: every vertex follows exactly one bone, the classic PS1/PS2 way. Joints
  are hidden by overlapping parts.
  * People are 1.6 to 1.8 m tall, face -Y, and have their origin between the feet. Bones: pelvis (root), spine, chest, neck,
    head, upperarm / forearm / hand, thigh / shin / foot (_L/_R). Sockets: `hand_L`, `hand_R` (weapons), `head_top`,
    `back_gun`.
  * Wolves and birds face -Y. All actions are in place, at 24 fps, and loop seamlessly except `death`.
  * Static posed variants (`SM_Char_*_Corpse`, `*_Sitting`, `*_Perched`, `*_Dead`) are ready for set dressing.
* **Godot 4:** import the `.gltf`. Nodes ending in `-convcolonly` become convex collision shapes, and animations appear in the
  AnimationPlayer.
  **Unity / Unreal:** import the FBX (Humanoid / Generic rig: set it to Generic; the bone names are listed above).
