Field manualСправочник / MechanicsМеханика
DoorSystem
src/DustConvoy.Sim/Systems/DoorSystem.cs
ConstantsКонстанты
| NameИмя | ValueЗначение | NoteЗаметка |
|---|---|---|
OpenDepth | 0.8f | How far in front of / behind the door line (metres) counts as "at the door" to open it. |
OpenSideSlack | 0.5f | Extra reach along the door beyond its half width (a pawn pressed against the wall beside the door still opens it). |
HoldRadius | 2.2f | Anyone this close to the door and walking keeps it open (they're probably passing through). |
HoldDepth | 1.0f | Standing still within this distance of the door line also holds it (blocking the doorway). |
HoldMoveSpeed | 0.5f | |
MaxOpenSpeed | 5f | Above this speed the doors stay shut. Crew cannot board or step off. A player still can. |
OpenRadius | 1.2f | Legacy radius names kept for callers that only need "roughly at the door". |
AutoCloseRadius | 2.2f |