6 ATTRIB(Armor, m_mins, vector, '-16 -16 0');
7 ATTRIB(Armor, m_maxs, vector, '16 16 48');
8 ATTRIB(Armor, m_pickupevalfunc, float(entity player, entity item), healtharmor_pickupevalfunc);
9 ATTRIB(Armor, m_botvalue, int, 5000);
14 #include <common/t_items.qh>
18 MODEL(ArmorSmall_ITEM, Item_Model("item_armor_small.md3"));
19 SOUND(ArmorSmall, Item_Sound("armor1"));
22 REGISTER_ITEM(ArmorSmall, Armor) {
24 this.m_model = MDL_ArmorSmall_ITEM;
25 this.m_sound = SND_ArmorSmall;
27 this.m_name = "5 Armor";
28 this.m_icon = "armor";
30 this.m_itemid = IT_ARMOR_SHARD;
31 this.m_respawntime = GET(g_pickup_respawntime_short);
32 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_short);
37 MODEL(ArmorMedium_ITEM, Item_Model("item_armor_medium.md3"));
38 SOUND(ArmorMedium, Item_Sound("armor10"));
41 REGISTER_ITEM(ArmorMedium, Armor) {
43 this.m_model = MDL_ArmorMedium_ITEM;
44 this.m_sound = SND_ArmorMedium;
46 this.m_name = "25 Armor";
47 this.m_icon = "armor";
49 this.m_itemid = IT_ARMOR;
50 this.m_respawntime = GET(g_pickup_respawntime_medium);
51 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_medium);
56 MODEL(ArmorBig_ITEM, Item_Model("item_armor_big.md3"));
57 SOUND(ArmorBig, Item_Sound("armor17_5"));
60 REGISTER_ITEM(ArmorBig, Armor) {
62 this.m_model = MDL_ArmorBig_ITEM;
63 this.m_sound = SND_ArmorBig;
65 this.m_name = "50 Armor";
66 this.m_icon = "armor";
67 this.m_color = '0 1 0';
68 this.m_waypoint = _("Big armor");
70 this.m_itemid = IT_ARMOR;
71 this.m_respawntime = GET(g_pickup_respawntime_long);
72 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long);
77 MODEL(ArmorMega_ITEM, Item_Model("item_armor_large.md3"));
78 SOUND(ArmorMega, Item_Sound("armor25"));
81 REGISTER_ITEM(ArmorMega, Armor) {
83 this.m_model = MDL_ArmorMega_ITEM;
84 this.m_sound = SND_ArmorMega;
86 this.m_name = "100 Armor";
87 this.m_icon = "item_large_armor";
88 this.m_color = '0 1 0';
89 this.m_waypoint = _("Mega armor");
90 this.m_waypointblink = 2;
92 this.m_maxs = '16 16 70';
93 this.m_itemid = IT_ARMOR;
94 this.m_respawntime = GET(g_pickup_respawntime_long);
95 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long);