Field manualСправочник / MechanicsМеханика

DoorSystem

src/DustConvoy.Sim/Systems/DoorSystem.cs

ConstantsКонстанты

NameИмяValueЗначениеNoteЗаметка
OpenDepth0.8fHow far in front of / behind the door line (metres) counts as "at the door" to open it.
OpenSideSlack0.5fExtra reach along the door beyond its half width (a pawn pressed against the wall beside the door still opens it).
HoldRadius2.2fAnyone this close to the door and walking keeps it open (they're probably passing through).
HoldDepth1.0fStanding still within this distance of the door line also holds it (blocking the doorway).
HoldMoveSpeed0.5f
MaxOpenSpeed5fAbove this speed the doors stay shut. Crew cannot board or step off. A player still can.
OpenRadius1.2fLegacy radius names kept for callers that only need "roughly at the door".
AutoCloseRadius2.2f