Xonotic
quake.qc
Go to the documentation of this file.
1 #include "quake.qh"
2 
3 #include <common/stats.qh>
4 #include <common/weapons/_all.qh>
5 #include <common/weapons/_all.qh>
6 
7 /***********************
8  * QUAKE 1 ENTITIES - So people can play quake1 maps with the xonotic weapons
9  ***********************
10  weapon_nailgun handled in quake3.qc
11  item_armor1 handled in items/spawning.qc
12 */
13 
14 SPAWNFUNC_WEAPON(weapon_supernailgun, WEP_HAGAR)
15 SPAWNFUNC_WEAPON(weapon_supershotgun, WEP_MACHINEGUN)
16 
17 SPAWNFUNC_ITEM(item_spikes, ITEM_Bullets)
18 SPAWNFUNC_ITEM(item_armor2, ITEM_ArmorMega)
19 SPAWNFUNC_ITEM(item_armorInv, ITEM_ArmorMega) // TODO: make sure we actually want this
20 SPAWNFUNC_ITEM_COND(item_health, (this.spawnflags & 2), ITEM_HealthMega, ITEM_HealthMedium)
SPAWNFUNC_ITEM(item_armor_green, ITEM_ArmorMedium) .float wait
float spawnflags
Definition: progsdefs.qc:191
#define SPAWNFUNC_WEAPON(name, weapon)
Definition: weapon.qh:143