Template:Fl BasePropPhysics: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added language bar. also some formatting.)
(Add undocumented flags)
Line 10: Line 10:
{{fl|512|Prevent pickup}}
{{fl|512|Prevent pickup}}
{{fl|1024|Prevent motion enable on player bump.}}
{{fl|1024|Prevent motion enable on player bump.}}
{{fl|2048|Has Attached Ragdolls|Set by the game when ragdolls are attached, destroys them when prop moves|nofgd=1}}
{{fl|4096|Debris with [[trigger]] interaction.}}
{{fl|4096|Debris with [[trigger]] interaction.}}
{{fl|8192|Force server-side|Multiplayer only; see {{ent|sv_pushaway_clientside_size}}.}}
{{fl|8192|Force server-side|Multiplayer only; see {{ent|sv_pushaway_clientside_size}}.}}
{{fl|16384|Radius Pickup|Makes objects easier to grab|nofgd=1}}
{{fl|1048576|Gravity gun can ALWAYS pick up. No matter what.}}
{{fl|1048576|Gravity gun can ALWAYS pick up. No matter what.}}
{{fl|2097152|No Collisions|Disable collisions on spawn|nofgd=1}}
{{fl|4194304|Gib|If debris, remove when stuck in a collision|nofgd=1}}
{{Fl BreakableProp}}</onlyinclude>[[Category:Flag Templates|BasePropPhysics]]
{{Fl BreakableProp}}</onlyinclude>[[Category:Flag Templates|BasePropPhysics]]

Revision as of 07:40, 5 November 2023

BasePropPhysics:

Start Asleep : [1]
Don't take physics damage : [2]
Debris : [4]
Don't collide with the player or other debris.
Motion Disabled : [8]
Starts with motion disabled until sent EnableMotion.
Enable motion when grabbed by gravity gun : [64]
Not affected by rotor wash : [128]
Generate output on +use : [256]
Prevent pickup : [512]
Prevent motion enable on player bump. : [1024]
Has Attached Ragdolls : [2048] !FGD
Set by the game when ragdolls are attached, destroys them when prop moves
Debris with trigger interaction. : [4096]
Force server-side : [8192]
Multiplayer only; see sv_pushaway_clientside_size.
Radius Pickup : [16384] !FGD
Makes objects easier to grab
Gravity gun can ALWAYS pick up. No matter what. : [1048576]
No Collisions : [2097152] !FGD
Disable collisions on spawn
Gib : [4194304] !FGD
If debris, remove when stuck in a collision

BreakableProp:

Break on Touch : [16]
Break on Pressure : [32]
Will break after being stood on for PressureDelay seconds.
Note.pngNote:Some models will break instantly if this is or isn't set. (e.g. militiawindow02_breakable.mdl, window_industrial.mdl)