]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/t_quake.qc
Merge branch 'master' into terencehill/slider_anim_improvements
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_quake.qc
1 #include "_all.qh"
2
3 #include "../common/weapons/all.qh"
4
5 void spawnfunc_weapon_electro();
6 void spawnfunc_weapon_hagar();
7 void spawnfunc_weapon_machinegun();
8 void spawnfunc_item_bullets();
9 void spawnfunc_item_armor_large();
10 void spawnfunc_item_armor_large();
11 void spawnfunc_item_health_mega();
12 void spawnfunc_item_health_medium();
13
14 //***********************
15 //QUAKE 1 ENTITIES - So people can play quake1 maps with the xonotic weapons
16 //***********************
17 void spawnfunc_weapon_nailgun() {spawnfunc_weapon_electro();}
18 void spawnfunc_weapon_supernailgun() {spawnfunc_weapon_hagar();}
19 void spawnfunc_weapon_supershotgun() {spawnfunc_weapon_machinegun();}
20
21 void spawnfunc_item_spikes() {spawnfunc_item_bullets();}
22 //void spawnfunc_item_armor1() {spawnfunc_item_armor_medium;}  // FIXME: in Quake this is green armor, in Xonotic maps it is an armor shard
23 void spawnfunc_item_armor2() {spawnfunc_item_armor_large();}
24 void item_armorInv() {spawnfunc_item_armor_large();}
25 void spawnfunc_item_health() {SELFPARAM();if (self.spawnflags & 2) spawnfunc_item_health_mega();else spawnfunc_item_health_medium();}
26
27 //spawnfunc_item_spikes
28 //spawnfunc_item_health
29
30
31