Talk:Prop vehicle prisoner pod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Please sign your comments)
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:
Medical Bed (Lie, Player Only) 2 + 64 = 66
Medical Bed (Lie, Player Only) 2 + 64 = 66
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>
</pre>
{{unsigned|Gtamike TSGK‎}}


== Make the Pod invisible ==
== Make the Pod invisible ==


* SmartEdit rendermode 10
* SmartEdit rendermode 10
{{unsigned|Gtamike TSGK‎}}
:Well, yeah, that should work on any entity that doesn't set its rendermode in code; it's not specific to this entity.<br/>— [[User:SirYodaJedi|SirYodaJedi]] ([[User_talk:SirYodaJedi|talk]]) 08:33, 17 October 2025 (PDT)

Latest revision as of 08:33, 17 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

Unsigned comment added by Gtamike TSGK‎ (talkcontribs) Always sign your posts with four tildes (~~~~)

Make the Pod invisible

  • SmartEdit rendermode 10

Unsigned comment added by Gtamike TSGK‎ (talkcontribs) Always sign your posts with four tildes (~~~~)

Well, yeah, that should work on any entity that doesn't set its rendermode in code; it's not specific to this entity.
SirYodaJedi (talk) 08:33, 17 October 2025 (PDT)