3 #include "../../../server/t_items.qh"
7 MODEL(ArmorSmall_ITEM, Item_Model("item_armor_small.md3"));
8 SOUND(ArmorSmall, "misc/armor1.wav");
11 REGISTER_ITEM(ArmorSmall, Armor) {
13 this.m_model = MDL_ArmorSmall_ITEM;
14 this.m_sound = SND_ArmorSmall;
16 this.m_name = "5 Armor";
17 this.m_icon = "armor";
19 this.m_botvalue = BOT_PICKUP_RATING_LOW;
20 this.m_itemid = IT_ARMOR_SHARD;
21 this.m_respawntime = GET(g_pickup_respawntime_short);
22 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_short);
27 MODEL(ArmorMedium_ITEM, Item_Model("item_armor_medium.md3"));
28 SOUND(ArmorMedium, "misc/armor10.wav");
31 REGISTER_ITEM(ArmorMedium, Armor) {
33 this.m_model = MDL_ArmorMedium_ITEM;
34 this.m_sound = SND_ArmorMedium;
36 this.m_name = "25 Armor";
37 this.m_icon = "armor";
39 this.m_botvalue = BOT_PICKUP_RATING_MID;
40 this.m_itemid = IT_ARMOR;
41 this.m_respawntime = GET(g_pickup_respawntime_medium);
42 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_medium);
47 MODEL(ArmorLarge_ITEM, Item_Model("item_armor_big.md3"));
48 SOUND(ArmorLarge, "misc/armor17_5.wav");
51 REGISTER_ITEM(ArmorLarge, Armor) {
53 this.m_model = MDL_ArmorLarge_ITEM;
54 this.m_sound = SND_ArmorLarge;
56 this.m_name = "50 Armor";
57 this.m_icon = "armor";
58 this.m_color = '0 1 0';
59 this.m_waypoint = _("Large armor");
61 this.m_botvalue = 20000; // FIXME: higher than BOT_PICKUP_RATING_HIGH?
62 this.m_itemid = IT_ARMOR;
63 this.m_respawntime = GET(g_pickup_respawntime_long);
64 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long);
69 MODEL(ArmorMega_ITEM, Item_Model("item_armor_large.md3"));
70 SOUND(ArmorMega, "misc/armor25.wav");
73 REGISTER_ITEM(ArmorMega, Armor) {
75 this.m_model = MDL_ArmorMega_ITEM;
76 this.m_sound = SND_ArmorMega;
78 this.m_name = "100 Armor";
79 this.m_icon = "item_large_armor";
80 this.m_color = '0 1 0';
81 this.m_waypoint = _("Mega armor");
82 this.m_waypointblink = 2;
84 this.m_botvalue = BOT_PICKUP_RATING_HIGH;
85 this.m_itemid = IT_ARMOR;
86 this.m_respawntime = GET(g_pickup_respawntime_long);
87 this.m_respawntimejitter = GET(g_pickup_respawntimejitter_long);