Bunny Hop
Adds movement velocity to the player whenever they aren't on the ground, in water, in lava, in a vehicle (boat, horse, etc) or fall flying.
Type ID: apugli:bunny_hop
Note
This power type provides a variable that can be changed with the Change Resource (Entity Action Type), and check the value of with the Resource (Entity Condition Type).
Fields
Field | Type | Default | Description |
---|---|---|---|
min |
Integer | The minimum value of the resource. | |
max |
Integer | The maximum value of the resource. | |
hud_render |
Hud Render | Determines how the resource is visualized on the HUD. | |
start_value |
Integer | optional | The value of the resource when the entity first receives the power. If not set, this will be set to the value of the min integer field. |
min_action |
Entity Action Type | optional | If specified, this action will be executed on the entity whenever the minimum value is reached. |
max_action |
Entity Action Type | optional | If specified, this action will be executed on the entity whenever the maximum value is reached. |
increase_per_tick |
Float | 0.000375 |
The amount of velocity added to the player depending on the resource's value. |
tick_rate |
Integer | 10 |
The frequency (in ticks) in which to add to the resource. Lower values set the component quicker, but this comes at a potentially huge performance cost. |