1 #include "../../../items/all.qh"
2 #include "../../../items/item/ammo.qh"
3 #include "../../../items/item/powerup.qh"
5 float instagib_respawntime_ammo = 45;
6 float instagib_respawntimejitter_ammo = 0;
7 GETTER(float, instagib_respawntime_ammo)
8 GETTER(float, instagib_respawntimejitter_ammo)
11 MODEL(VaporizerCells_ITEM, Item_Model("a_cells.md3"));
12 SOUND(VaporizerCells, "misc/itempickup");
15 REGISTER_ITEM(VaporizerCells, Ammo) {
17 this.m_model = MDL_VaporizerCells_ITEM;
18 this.m_sound = SND_VaporizerCells;
20 this.m_name = "Vaporizer Ammo";
21 this.m_icon = "ammo_supercells";
23 this.m_botvalue = 100;
24 this.m_itemid = IT_CELLS;
25 this.m_respawntime = GET(instagib_respawntime_ammo);
26 this.m_respawntimejitter = GET(instagib_respawntimejitter_ammo);
31 MODEL(ExtraLife_ITEM, Item_Model("g_h100.md3"));
32 SOUND(ExtraLife, "misc/megahealth");
35 REGISTER_ITEM(ExtraLife, Powerup) {
37 this.m_model = MDL_ExtraLife_ITEM;
38 this.m_sound = SND_ExtraLife;
40 this.m_name = "Extra life";
41 this.m_icon = "item_mega_health";
42 this.m_color = '1 0 0';
43 this.m_waypoint = _("Extra life");
44 this.m_waypointblink = 2;
45 this.m_itemid = IT_NAILS;
49 MODEL(Invisibility_ITEM, Item_Model("g_strength.md3"));
50 SOUND(Invisibility, "misc/powerup");
53 REGISTER_ITEM(Invisibility, Powerup) {
55 this.m_model = MDL_Invisibility_ITEM;
56 this.m_sound = SND_Invisibility;
58 this.m_name = "Invisibility";
59 this.m_icon = "strength";
60 this.m_color = '0 0 1';
61 this.m_waypoint = _("Invisibility");
62 this.m_waypointblink = 2;
63 this.m_itemid = IT_STRENGTH;
67 MODEL(Speed_ITEM, Item_Model("g_invincible.md3"));
68 SOUND(Speed, "misc/powerup_shield");
71 REGISTER_ITEM(Speed, Powerup) {
73 this.m_model = MDL_Speed_ITEM;
74 this.m_sound = SND_Speed;
76 this.m_name = "Speed";
77 this.m_icon = "shield";
78 this.m_color = '1 0 1';
79 this.m_waypoint = _("Speed");
80 this.m_waypointblink = 2;
81 this.m_itemid = IT_INVINCIBLE;