-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvehicle.dm
47 lines (37 loc) · 1.91 KB
/
vehicle.dm
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#define HDPT_PRIMARY "primary"
#define HDPT_SECONDARY "secondary"
#define HDPT_SUPPORT "support"
#define HDPT_ARMOR "armor"
#define HDPT_TREADS "treads"
#define HDPT_WHEELS "wheels"
#define HDPT_TURRET "turret"
#define HDPT_LAYER_WHEELS 1
#define HDPT_LAYER_SUPPORT 2
#define HDPT_LAYER_ARMOR 3
#define HDPT_LAYER_TURRET 4
#define HDPT_LAYER_MAX 4
#define VEHICLE_DRIVER "driver"
#define VEHICLE_GUNNER "primary gunner"
#define VEHICLE_SECONDARY_GUNNER "secondary gunner"
#define VEHICLE_SPEED_SLOW 30 //3 seconds per tile
#define VEHICLE_SPEED_NORMAL 10 //default 1 second per tile
#define VEHICLE_SPEED_FASTNORMAL 7
#define VEHICLE_SPEED_FAST 5 //half a second per tile
#define VEHICLE_SPEED_FASTER 4
#define VEHICLE_SPEED_VERYFAST 3
#define VEHICLE_SPEED_SUPERFAST 2
#define VEHICLE_SPEED_DEBUGFAST 1
#define VEHICLE_TRAMPLE_DAMAGE_TIER_1 22.5
#define VEHICLE_TRAMPLE_DAMAGE_TIER_2 18.0
#define VEHICLE_TRAMPLE_DAMAGE_TIER_3 13.5
#define VEHICLE_TRAMPLE_DAMAGE_SPECIAL 10.0 // Larva, Queen, Abomination, or Xenoborg
#define VEHICLE_TRAMPLE_DAMAGE_MIN 5.0 // Minimum is 5% damage from a ram
#define VEHICLE_TRAMPLE_DAMAGE_APC_REDUCTION 0.5 // APC deals 1/2 of normal damage
#define VEHICLE_TRAMPLE_DAMAGE_OVERDRIVE_BUFF 3 // Overdrive enhancer damage buff
#define VEHICLE_TRAMPLE_DAMAGE_REDUCTION_ARMOR_MULT 12 // How much we divide our armor by to get the percentage reduction
#define INTERIOR_BOUND_SIZE 25 //How big we want each vehicle interior instance to be, including padding
#define HDPT_OFFSET_EMPTY list(NORTH = list(0, 0), SOUTH = list(0, 0), EAST = list(0, 0), WEST = list(0, 0))
/// Toggle between Shift click and MMB click for gunner
#define VEHICLE_TOGGLE_SHIFT_CLICK_GUNNER (1<<0)
#define VEHICLE_WEAK (1<<1)
#define TANK_POPLOCK 90 //