]> icculus.org git repositories - divverent/nexuiz.git/blob - data/qcsrc/server/t_quake.qc
add a cvar that can disable wearing off on powerups
[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 spawnfunc_weapon_nailgun (void) {spawnfunc_weapon_electro();}
5 void spawnfunc_weapon_supernailgun (void) {spawnfunc_weapon_hagar();}
6 void spawnfunc_weapon_supershotgun (void) {spawnfunc_weapon_uzi();}
7
8 void spawnfunc_item_spikes (void) {spawnfunc_item_bullets();}
9 //void spawnfunc_item_armor1 (void) {spawnfunc_item_armor_medium;}  // FIXME: in Quake this is green armor, in Nexuiz maps it is an armor shard
10 void spawnfunc_item_armor2 (void) {spawnfunc_item_armor_large();}
11 void item_armorInv (void) {spawnfunc_item_armor_large();}
12 void spawnfunc_item_health (void) {if (self.spawnflags & 2) spawnfunc_item_health_mega();else spawnfunc_item_health_medium();}
13
14 //spawnfunc_item_spikes
15 //spawnfunc_item_health
16
17
18
19 // garbage function to reduce warnings in compiling about unused variables
20 void junk_function ()
21 {
22         self.exteriormodeltoclient = world;
23         self.glow_trail = 0;
24         self.tag_entity = world;
25         self.BUTTON_HOOK = 0;
26         self.BUTTON_INFO = 0;
27         self.button8 = 0;
28         self.pitch_speed = 0;
29         self.drawonlytoclient = world;
30         self.nodrawtoclient = world;
31         self.cursor_active = 0;
32         self.cursor_screen = '0 0 0';
33         self.cursor_trace_start = '0 0 0';
34         self.cursor_trace_endpos = '0 0 0';
35         self.ping = 0;
36         self.roomtype = 0;
37         self.radius = 0;
38         self.pitch = 0;
39         self.renderamt = 0;
40         self.rendermode = 0;
41         self.rendercolor = '0 0 0';
42         self.light_lev = 0;
43         self.color = '0 0 0';
44         self.style = 0;
45         self.jumppadsused = world;
46         self.disableclientprediction = 0;
47         self.contentstransition = SUB_Null;
48         self.dphitcontentsmask = 0;
49         self.modelflags = 0;
50         self.attack_finished_for = 0; // why is this even valid? Spiiiiiiiiiiiiiiiiiiiiike!
51         self.notsingle = 0;
52         trace_dphittexturename = "";
53         require_spawnfunc_prefix = 1;
54         self.movetypesteplandevent = SUB_Null;
55         self.viewzoom = 0;
56         self.cvar_cl_weaponpriorities = "";
57         self.scores = 0;
58         self.teamscores = 0;
59         gettaginfo_parent = 0;
60         gettaginfo_name = "";
61         gettaginfo_offset = '0 0 0';
62         gettaginfo_forward = '0 0 0';
63         gettaginfo_right = '0 0 0';
64         gettaginfo_up = '0 0 0';
65 }
66