X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem%2Farmor.qc;h=e7965803e2115e1e2f7f631fae6680a878d2eeaa;hb=5f591ed9737ba08832475c1c324f91721e76bdf7;hp=e5ade4f4ba91574d4c729bc20d426c01f3f4be0a;hpb=221325d0a55851348e3397354225f04cd472d42f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/item/armor.qc b/qcsrc/common/items/item/armor.qc index e5ade4f4b..e7965803e 100644 --- a/qcsrc/common/items/item/armor.qc +++ b/qcsrc/common/items/item/armor.qc @@ -4,9 +4,10 @@ #endif REGISTER_ITEM(ArmorSmall, Armor) { - this.m_model = "models/items/item_armor_small.md3"; + this.m_model = "item_armor_small.md3"; this.m_sound = "misc/armor1.wav"; this.m_name = "5 Armor"; + this.m_icon = "armor"; #ifdef SVQC this.m_botvalue = BOT_PICKUP_RATING_LOW; this.m_itemid = IT_ARMOR_SHARD; @@ -16,9 +17,10 @@ REGISTER_ITEM(ArmorSmall, Armor) { } REGISTER_ITEM(ArmorMedium, Armor) { - this.m_model = "models/items/item_armor_medium.md3"; + this.m_model = "item_armor_medium.md3"; this.m_sound = "misc/armor10.wav"; this.m_name = "25 Armor"; + this.m_icon = "armor"; #ifdef SVQC this.m_botvalue = BOT_PICKUP_RATING_MID; this.m_itemid = IT_ARMOR; @@ -28,9 +30,12 @@ REGISTER_ITEM(ArmorMedium, Armor) { } REGISTER_ITEM(ArmorLarge, Armor) { - this.m_model = "models/items/item_armor_big.md3"; + this.m_model = "item_armor_big.md3"; this.m_sound = "misc/armor17_5.wav"; this.m_name = "50 Armor"; + this.m_icon = "armor"; + this.m_color = '0 1 0'; + this.m_waypoint = _("Large armor"); #ifdef SVQC this.m_botvalue = 20000; // FIXME: higher than BOT_PICKUP_RATING_HIGH? this.m_itemid = IT_ARMOR; @@ -40,9 +45,13 @@ REGISTER_ITEM(ArmorLarge, Armor) { } REGISTER_ITEM(ArmorMega, Armor) { - this.m_model = "models/items/item_armor_large.md3"; + this.m_model = "item_armor_large.md3"; this.m_sound = "misc/armor25.wav"; this.m_name = "100 Armor"; + this.m_icon = "item_large_armor"; + this.m_color = '0 1 0'; + this.m_waypoint = _("Mega armor"); + this.m_waypointblink = 2; #ifdef SVQC this.m_botvalue = BOT_PICKUP_RATING_HIGH; this.m_itemid = IT_ARMOR;