3 #include "../../../server/t_items.qh"
7 MODEL(ArmorSmall_ITEM, Item_Model("item_armor_small.md3"));
10 REGISTER_ITEM(ArmorSmall, Armor) {
12 this.m_model = MDL_ArmorSmall_ITEM;
14 this.m_sound = "misc/armor1.wav";
15 this.m_name = "5 Armor";
16 this.m_icon = "armor";
18 this.m_botvalue = BOT_PICKUP_RATING_LOW;
19 this.m_itemid = IT_ARMOR_SHARD;
20 this.m_respawntime = GET(g_pickup_respawntime_short);
21 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_short);
26 MODEL(ArmorMedium_ITEM, Item_Model("item_armor_medium.md3"));
29 REGISTER_ITEM(ArmorMedium, Armor) {
31 this.m_model = MDL_ArmorMedium_ITEM;
33 this.m_sound = "misc/armor10.wav";
34 this.m_name = "25 Armor";
35 this.m_icon = "armor";
37 this.m_botvalue = BOT_PICKUP_RATING_MID;
38 this.m_itemid = IT_ARMOR;
39 this.m_respawntime = GET(g_pickup_respawntime_medium);
40 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_medium);
45 MODEL(ArmorLarge_ITEM, Item_Model("item_armor_big.md3"));
48 REGISTER_ITEM(ArmorLarge, Armor) {
50 this.m_model = MDL_ArmorLarge_ITEM;
52 this.m_sound = "misc/armor17_5.wav";
53 this.m_name = "50 Armor";
54 this.m_icon = "armor";
55 this.m_color = '0 1 0';
56 this.m_waypoint = _("Large armor");
58 this.m_botvalue = 20000; // FIXME: higher than BOT_PICKUP_RATING_HIGH?
59 this.m_itemid = IT_ARMOR;
60 this.m_respawntime = GET(g_pickup_respawntime_long);
61 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long);
66 MODEL(ArmorMega_ITEM, Item_Model("item_armor_large.md3"));
69 REGISTER_ITEM(ArmorMega, Armor) {
71 this.m_model = MDL_ArmorMega_ITEM;
73 this.m_sound = "misc/armor25.wav";
74 this.m_name = "100 Armor";
75 this.m_icon = "item_large_armor";
76 this.m_color = '0 1 0';
77 this.m_waypoint = _("Mega armor");
78 this.m_waypointblink = 2;
80 this.m_botvalue = BOT_PICKUP_RATING_HIGH;
81 this.m_itemid = IT_ARMOR;
82 this.m_respawntime = GET(g_pickup_respawntime_long);
83 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long);