Talk:Prop vehicle prisoner pod: Difference between revisions

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


Needs testing
* Needs testing


prop_vehicle_prisoner_pod (SmartEdit spawnflags value)
* prop_vehicle_prisoner_pod (SmartEdit spawnflags value)


<pre>
Value Flag Name Description
Value Flag Name Description
1 SF_POD_ENTER_ANIMATION_SIT Player plays SIT animation when entering (use for chairs)
1 SF_POD_ENTER_ANIMATION_SIT Player plays SIT animation when entering (use for chairs)
Line 14: Line 15:
64 SF_POD_PLAYER_ONLY Only players can enter (NPCs cannot use it)
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
128 SF_POD_ALLOW_DEAD_PLAYER Dead players can enter the pod
</pre>


Common Combinations
* Common Combinations
 
<pre>
Purpose Spawnflags Calculation
Purpose Spawnflags Calculation
Chair (Sit, Player Only) 1 + 64 65
Chair (Sit, Player Only) 1 + 64 65
Line 22: Line 24:
Scripted Sequence (Sit, No Manual Entry) 1 + 16 + 64 81
Scripted Sequence (Sit, No Manual Entry) 1 + 16 + 64 81
Wall-mounted Pod 1 + 32 + 64 97
Wall-mounted Pod 1 + 32 + 64 97
</pre>

Revision as of 06:08, 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