]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/compat/quake.qc
d2eb785b584fec3a810ad6d6405aff25413bdd96
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / compat / quake.qc
1 #include "quake.qh"
2
3 #include <common/weapons/_all.qh>
4 #include <common/stats.qh>
5 #include <server/miscfunctions.qh>
6 #include <common/weapons/_all.qh>
7
8 //***********************
9 //QUAKE 1 ENTITIES - So people can play quake1 maps with the xonotic weapons
10 //***********************
11 SPAWNFUNC_WEAPON(weapon_nailgun, WEP_ELECTRO)
12 SPAWNFUNC_WEAPON(weapon_supernailgun, WEP_HAGAR)
13 SPAWNFUNC_WEAPON(weapon_supershotgun, WEP_MACHINEGUN)
14
15 SPAWNFUNC_ITEM(item_spikes, ITEM_Bullets)
16 //spawnfunc(item_armor1) {spawnfunc_item_armor_medium(this);}  // FIXME: in Quake this is green armor, in Xonotic maps it is an armor shard
17 SPAWNFUNC_ITEM(item_armor2, ITEM_ArmorMega)
18 SPAWNFUNC_ITEM(item_armorInv, ITEM_ArmorMega) // TODO: make sure we actually want this
19 SPAWNFUNC_ITEM_COND(item_health, (this.spawnflags & 2), ITEM_HealthMega, ITEM_HealthMedium)