about summary refs log tree commit diff
path: root/src/game/g_tuning.h
blob: c220188945d5e1e7d2293872abf047167ae7c659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* physics tuning */
MACRO_TUNING_PARAM(ground_control_speed, 350.0f / ticks_per_second)
MACRO_TUNING_PARAM(ground_control_accel, 100.0f / ticks_per_second)
MACRO_TUNING_PARAM(ground_friction, 0.5f)
MACRO_TUNING_PARAM(ground_jump_impulse, 12.6f)
MACRO_TUNING_PARAM(air_jump_impulse, 11.5f)
MACRO_TUNING_PARAM(air_control_speed, 250.0f / ticks_per_second)
MACRO_TUNING_PARAM(air_control_accel, 1.5f)
MACRO_TUNING_PARAM(air_friction, 0.95f)
MACRO_TUNING_PARAM(hook_length, 34*10.0f)
MACRO_TUNING_PARAM(hook_fire_speed, 45.0f)
MACRO_TUNING_PARAM(hook_drag_accel, 3.0f)
MACRO_TUNING_PARAM(hook_drag_speed, 15.0f)
MACRO_TUNING_PARAM(gravity, 0.5f)
MACRO_TUNING_PARAM(terminal_velocity, 1000.0f / ticks_per_second)

/* weapon tuning */
MACRO_TUNING_PARAM(gun_speed, 30.0f)

MACRO_TUNING_PARAM(shotgun_speed_center, 40.0f)
MACRO_TUNING_PARAM(shotgun_speed_wide, 30.0f)

MACRO_TUNING_PARAM(grenade_speed, 15.0f)

MACRO_TUNING_PARAM(laser_reach, 800.0f)
MACRO_TUNING_PARAM(laser_bounce_delay, 150)
MACRO_TUNING_PARAM(laser_bounce_num, 1)
MACRO_TUNING_PARAM(laser_bounce_cost, 0)
MACRO_TUNING_PARAM(laser_damage, 6)