1 #define VEHICLES_ENABLED
2 #ifdef VEHICLES_ENABLED
4 #message "with tZork vehicles (experimental)"
6 float SVC_SETVIEWPORT = 5; // Net.Protocol 0x05
7 float SVC_SETVIEWANGLES = 10; // Net.Protocol 0x0A
8 float SVC_UPDATEENTITY = 128; // Net.Protocol 0x80
11 #define VHF_ISVEHICLE 2
12 #define VHF_HASSHIELD 4
13 #define VHF_SHIELDREGEN 8
14 #define VHF_HEALTHREGEN 16
15 #define VHF_ENERGYREGEN 32
16 #define VHF_DEATHEJECT 64
17 #define VHF_MOVE_GROUND 128
18 #define VHF_MOVE_HOVER 256
19 #define VHF_MOVE_FLY 512
28 .float vehicle_health;
29 .float vehicle_shield;
30 .float vehicle_energy;
33 .float vehicle_reload1;
36 .float vehicle_reload2;
39 .entity vehicle_viewport;
40 .entity vehicle_hudmodel;
44 var .void(float exit_flags) vehicle_exit;
49 var .void() vehicle_enter;
50 var .void() vehicle_die;
51 var .void() vehicle_spawn;