This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
set_gameplay_property [2024/09/02 19:52] – justin | set_gameplay_property [2024/09/02 20:24] (current) – justin | ||
---|---|---|---|
Line 15: | Line 15: | ||
^Property^Description^Type^ | ^Property^Description^Type^ | ||
|movement_control_type|Determines whether the player' | |movement_control_type|Determines whether the player' | ||
- | |gravity|Determines the downward force of gravity in voxels/ | + | |gravity|Determines the downward force of gravity in voxels/ |
- | |air_control|Decimal | + | |air_control|Determines how freely the player can move while in the air. Must be a decimal |
|jump_enabled|Determines if jumping is enabled. Free movement only.|[[Boolean]]| | |jump_enabled|Determines if jumping is enabled. Free movement only.|[[Boolean]]| | ||
|jump_vertical_velocity|Determines the player' | |jump_vertical_velocity|Determines the player' | ||
Line 23: | Line 23: | ||
|camera_fov|Camera' | |camera_fov|Camera' | ||
|fall_damage_enabled|Determines if fall damage is enabled. Free movement only.|[[Boolean]]| | |fall_damage_enabled|Determines if fall damage is enabled. Free movement only.|[[Boolean]]| | ||
- | |fall_damage_min_velocity|Fall damage must be enabled for this value to have an effect.|[[Number]]| | + | |fall_damage_min_velocity|Determines the minimum downward velocity required (in voxels/sec) before fall damage is dealt to the player. |
- | |fall_damage_base_damage| Fall damage must be enabled for this value to have an effect.|[[Number]]| | + | |fall_damage_base_damage|Determines the base damage that will be dealt to the player when hitting the ground at the minimum velocity. |
- | |fall_damage_excess_damage|Fall damage must be enabled for this value to have an effect.|[[Number]]| | + | |fall_damage_excess_damage|Determines additional damage (per voxel/sec over the minimum velocity) that will be dealt to the player when hitting the ground. |
- | |fall_damage_max_velocity|Fall damage must be enabled for this value to have an effect.|[[Number]]| | + | |fall_damage_max_velocity|Determines the velocity (in voxels/sec) at which no additional fall damage will be added, therefore capping the total possible damage. |
|fall_damage_max_critical|If enabled, the player will be automatically killed when hitting the ground at or above the maximum velocity. Fall damage must be enabled for this value to have an effect.|[[Boolean]]| | |fall_damage_max_critical|If enabled, the player will be automatically killed when hitting the ground at or above the maximum velocity. Fall damage must be enabled for this value to have an effect.|[[Boolean]]| | ||
Line 36: | Line 36: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Gameplay Property** function to... | + | Use the **Set Gameplay Property** function to give the player the power to double jump when picking up or equipping jump boots in a free movement game. |
</ | </ | ||