Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Prop ragdoll
From HalfLife 2 Knowledge Base
Contents |
[edit]
prop_ragdoll
Source(core) Point Entity
[edit]
description
A prop that physically simulates and can be articulated with internal joints. The joint constraints are part of the physics model.
[edit]
properties
- Pitch Yaw Roll (Y Z X) angles(angle) - default: 0 0 0
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis. - Name targetname(target_source)
The name that other entities refer to this entity by. - World Model model(studio)
- Skin skin(integer) - default: 0
Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default. - Disable Shadows disableshadows(choices) - default: Used to disable dynamic shadows on this entity.
- 0 - No
- 1 - Yes
- Lighting Origin Hack lightingoriginhack(target_destination)
Select a info_lighting_relative to specify a location to sample lighting from, instead of using this entity's origin. - Minimum DX Level mindxlevel(choices)
- 0 - default (lowest)
- 70 - dx7
- Maximum DX Level maxdxlevel(choices)
- 0 - default (highest)
- 60 - dx6
- Override Animation angleOverride(string)
Filled in by the engine via wc_update_entity, do not edit by hand except to clear. - Start Fade Dist fademindist(float) - default: -1
Distance at which the prop starts to fade (<0 = use fademaxdist) - End Fade Dist fademaxdist(float) - default: 0
Max fade distance at which the prop is visible (0 = don't fade out) - fade scale fadescale(float) - default: 1
If you specify a fade in the worldspawn, or if the engine is running under dx7, or the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades. Numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances.
[edit]
spawn flags
- 4: Debris - Don't collide with the player or other debris - default: ON
- 8192: Allow Dissolve - default: OFF
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired. - Skin(integer)
Changes the model skin to the specified number. - SetLightingOriginHack(string)
Sets the info_lighting_relative for the studiomodel. Use a null string to deactivate the use of specific lighting origins. - DisableShadow(void)
Turn shadow off. - EnableShadow(void)
Turn shadow on.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input. - OnIgnite(void)
Fired when this object catches fire.
[edit]
related tutorials
Submit your tutorial for prop_ragdoll

