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
10 #define CCVAR(part) cvar(strcat(self.cvar_basename,part))
11 //.string cvar_basename;
14 #define VHF_HASSHIELD 2
15 #define VHF_SHIELDREGEN 4
16 #define VHF_HEALTHREGEN 8
20 .float rockets_reload;
24 .float vehicle_health;
25 .float vehicle_shield;
29 .entity vehicle_viewport;
30 .entity vehicle_hudmodel;
42 .void(float exit_flags) vehicle_exit;
43 .void() vehicle_enter;
45 .void() vehicle_spawn;
46 .float(float message) vehicle_message;
48 #include "vehicles.qc"
49 #include "spiderbot.qc"