From: Mario Date: Mon, 24 Aug 2015 06:20:09 +0000 (+1000) Subject: Merge branch 'master' into Mario/sound_model_paths X-Git-Tag: xonotic-v0.8.2~2040^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ad367d1bb35b86b0ffc009d14a09e74610cb506c;p=xonotic%2Fxonotic-data.pk3dir.git Merge branch 'master' into Mario/sound_model_paths # Conflicts: # qcsrc/common/items/item/powerup.qc --- ad367d1bb35b86b0ffc009d14a09e74610cb506c diff --cc qcsrc/common/items/item/jetpack.qc index b45e1c18e,dcc16b6e4..3b4cfbc14 --- a/qcsrc/common/items/item/jetpack.qc +++ b/qcsrc/common/items/item/jetpack.qc @@@ -7,9 -7,12 +7,12 @@@ #include "powerup.qh" REGISTER_ITEM(Jetpack, Powerup) { - this.m_model = "models/items/g_jetpack.md3"; + this.m_model = "g_jetpack.md3"; this.m_name = "Jet pack"; this.m_icon = "jetpack"; + this.m_color = '0.5 0.5 0.5'; + this.m_waypoint = _("Jet Pack"); + this.m_waypointblink = 2; #ifdef SVQC this.m_botvalue = BOT_PICKUP_RATING_LOW; this.m_itemid = IT_JETPACK; @@@ -28,9 -31,12 +31,12 @@@ REGISTER_ITEM(JetpackFuel, Ammo) } REGISTER_ITEM(JetpackRegen, Pickup) { - this.m_model = "models/items/g_fuelregen.md3"; + this.m_model = "g_fuelregen.md3"; this.m_name = "Fuel regenerator"; this.m_icon = "fuelregen"; + this.m_color = '1 0.5 0'; + this.m_waypoint = _("Fuel regen"); + this.m_waypointblink = 2; #ifdef SVQC this.m_botvalue = BOT_PICKUP_RATING_LOW; this.m_itemflags = FL_POWERUP; diff --cc qcsrc/common/items/item/powerup.qc index bc4ff8ddd,6d38d6374..fcfe2afb9 --- a/qcsrc/common/items/item/powerup.qc +++ b/qcsrc/common/items/item/powerup.qc @@@ -5,16 -5,22 +5,22 @@@ .int m_itemid; #endif REGISTER_ITEM(Strength, Powerup) { - this.m_model = "g_strength.md3"; - this.m_sound = "misc/powerup.wav"; - this.m_name = "Strength Powerup"; - this.m_icon = "strength"; - this.m_itemid = IT_STRENGTH; - this.m_model = "models/items/g_strength.md3"; ++ this.m_model = "g_strength.md3"; + this.m_sound = "misc/powerup.wav"; + this.m_name = "Strength Powerup"; + this.m_icon = "strength"; + this.m_color = '0 0 1'; + this.m_waypoint = _("Strength"); + this.m_waypointblink = 2; + this.m_itemid = IT_STRENGTH; } REGISTER_ITEM(Shield, Powerup) { - this.m_model = "g_invincible.md3"; - this.m_sound = "misc/powerup_shield.wav"; - this.m_name = "Shield"; - this.m_icon = "shield"; - this.m_itemid = IT_INVINCIBLE; - this.m_model = "models/items/g_invincible.md3"; ++ this.m_model = "g_invincible.md3"; + this.m_sound = "misc/powerup_shield.wav"; + this.m_name = "Shield"; + this.m_icon = "shield"; + this.m_color = '1 0 1'; + this.m_waypoint = _("Shield"); + this.m_waypointblink = 2; + this.m_itemid = IT_INVINCIBLE; }