]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/server/t_quake.qc
separate refire timers for each weapon; fixes "faster Nex refire by switching Laser...
[divverent/nexuiz.git] / data / qcsrc / server / t_quake.qc
1 //***********************
2 //QUAKE 1 ENTITIES - So people can play quake1 maps with the nexuiz weapons
3 //***********************
4 void weapon_nailgun (void) {weapon_electro();}
5 void weapon_supernailgun (void) {weapon_hagar();}
6 void weapon_supershotgun (void) {weapon_uzi();}
7
8 void item_spikes (void) {item_bullets();}
9 void item_armor2 (void) {item_armor25();}
10 void item_armorInv (void) {item_armor25();}
11 void item_health (void) {if (self.spawnflags & 2) item_health100();else item_health25();}
12
13 //item_spikes
14 //item_health
15
16
17
18 // garbage function to reduce warnings in compiling about unused variables
19 void junk_function ()
20 {
21         self.exteriormodeltoclient = world;
22         self.glow_trail = 0;
23         self.tag_entity = world;
24         self.button6 = 0;
25         self.button7 = 0;
26         self.button8 = 0;
27         self.pitch_speed = 0;
28         self.drawonlytoclient = world;
29         self.nodrawtoclient = world;
30         self.cursor_active = 0;
31         self.cursor_screen = '0 0 0';
32         self.cursor_trace_start = '0 0 0';
33         self.cursor_trace_endpos = '0 0 0';
34         self.ping = 0;
35         self.roomtype = 0;
36         self.radius = 0;
37         self.pitch = 0;
38         self.renderamt = 0;
39         self.rendermode = 0;
40         self.rendercolor = '0 0 0';
41         self.light_lev = 0;
42         self.color = '0 0 0';
43         self.style = 0;
44         self.jumppadsused = world;
45         self.disableclientprediction = 0;
46         self.contentstransition = SUB_Null;
47         self.dphitcontentsmask = 0;
48         self.modelflags = 0;
49         self.attack_finished_for = 0; // why is this even valid? Spiiiiiiiiiiiiiiiiiiiiike!
50         trace_dphittexturename = "";
51 }
52