Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
quake.qc
Go to the documentation of this file.
1#include "quake.qh"
2
3#include <common/stats.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
14SPAWNFUNC_WEAPON(weapon_supernailgun, WEP_HAGAR)
15SPAWNFUNC_WEAPON(weapon_supershotgun, WEP_MACHINEGUN)
16
17SPAWNFUNC_ITEM(item_spikes, ITEM_Bullets)
18SPAWNFUNC_ITEM(item_armor2, ITEM_ArmorMega)
19SPAWNFUNC_ITEM(item_armorInv, ITEM_ArmorMega) // TODO: make sure we actually want this
20SPAWNFUNC_ITEM(item_health, this.spawnflags & 2 ? ITEM_HealthMega : ITEM_HealthMedium)
int spawnflags
Definition ammo.qh:15
#define SPAWNFUNC_ITEM(name, item)
Definition item.qh:106
#define SPAWNFUNC_WEAPON(name, weapon)
Definition weapon.qh:150