Talk:Prop vehicle prisoner pod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(spam revert)
Line 1: Line 1:
== Undocumented spawn flags for prop_vehicle_prisoner_pod ==


Needs testing
prop_vehicle_prisoner_pod (SmartEdit spawnflags value)
Value Flag Name Description
1 SF_POD_ENTER_ANIMATION_SIT Player plays SIT animation when entering (use for chairs)
2 SF_POD_ENTER_ANIMATION_LIE Player plays LIE DOWN animation when entering (use for beds)
4 SF_POD_OPEN_AFTER_ENTER Opens after player enters (for scripted sequences)
8 SF_POD_ATTACHED_TO_CELING Spawns attached to ceiling (changes physics)
16 SF_POD_IGNORE_PLAYER_USE Player cannot press E to enter - must be forced via input
32 SF_POD_ATTACHED_TO_WALL Spawns attached to wall (changes physics)
64 SF_POD_PLAYER_ONLY Only players can enter (NPCs cannot use it)
128 SF_POD_ALLOW_DEAD_PLAYER Dead players can enter the pod
Common Combinations
Purpose Spawnflags Calculation
Chair (Sit, Player Only) 1 + 64 65
Medical Bed (Lie, Player Only) 2 + 64 66
Scripted Sequence (Sit, No Manual Entry) 1 + 16 + 64 81
Wall-mounted Pod 1 + 32 + 64 97

Revision as of 06:02, 16 October 2025

Undocumented spawn flags for prop_vehicle_prisoner_pod

Needs testing

prop_vehicle_prisoner_pod (SmartEdit spawnflags value)

Value Flag Name Description 1 SF_POD_ENTER_ANIMATION_SIT Player plays SIT animation when entering (use for chairs) 2 SF_POD_ENTER_ANIMATION_LIE Player plays LIE DOWN animation when entering (use for beds) 4 SF_POD_OPEN_AFTER_ENTER Opens after player enters (for scripted sequences) 8 SF_POD_ATTACHED_TO_CELING Spawns attached to ceiling (changes physics) 16 SF_POD_IGNORE_PLAYER_USE Player cannot press E to enter - must be forced via input 32 SF_POD_ATTACHED_TO_WALL Spawns attached to wall (changes physics) 64 SF_POD_PLAYER_ONLY Only players can enter (NPCs cannot use it) 128 SF_POD_ALLOW_DEAD_PLAYER Dead players can enter the pod

Common Combinations

Purpose Spawnflags Calculation Chair (Sit, Player Only) 1 + 64 65 Medical Bed (Lie, Player Only) 2 + 64 66 Scripted Sequence (Sit, No Manual Entry) 1 + 16 + 64 81 Wall-mounted Pod 1 + 32 + 64 97