From: terencehill Date: Sun, 4 Dec 2016 20:28:48 +0000 (+0100) Subject: Increase powerups and megas size. It fixes #192 X-Git-Tag: xonotic-v0.8.2~391^2~1 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=49617b0bdeca75ad4da9456065fae6c64bff236d Increase powerups and megas size. It fixes #192 --- diff --git a/qcsrc/common/items/item/armor.qh b/qcsrc/common/items/item/armor.qh index 7946fb7b5d..0a52754851 100644 --- a/qcsrc/common/items/item/armor.qh +++ b/qcsrc/common/items/item/armor.qh @@ -91,6 +91,7 @@ REGISTER_ITEM(ArmorMega, Armor) { this.m_waypoint = _("Mega armor"); this.m_waypointblink = 2; #ifdef SVQC + this.m_maxs = '16 16 70'; this.m_botvalue = BOT_PICKUP_RATING_HIGH; this.m_itemid = IT_ARMOR; this.m_respawntime = GET(g_pickup_respawntime_long); diff --git a/qcsrc/common/items/item/health.qh b/qcsrc/common/items/item/health.qh index 1597ba6057..3717bf5be4 100644 --- a/qcsrc/common/items/item/health.qh +++ b/qcsrc/common/items/item/health.qh @@ -91,6 +91,7 @@ REGISTER_ITEM(HealthMega, Health) { this.m_waypoint = _("Mega health"); this.m_waypointblink = 2; #ifdef SVQC + this.m_maxs = '16 16 70'; this.m_botvalue = BOT_PICKUP_RATING_HIGH; this.m_itemid = IT_HEALTH; this.m_respawntime = GET(g_pickup_respawntime_long); diff --git a/qcsrc/common/items/item/powerup.qh b/qcsrc/common/items/item/powerup.qh index 26d649d7ad..df9315e2c8 100644 --- a/qcsrc/common/items/item/powerup.qh +++ b/qcsrc/common/items/item/powerup.qh @@ -9,7 +9,7 @@ CLASS(Powerup, Pickup) #ifdef SVQC ATTRIB(Powerup, m_mins, vector, '-16 -16 0'); - ATTRIB(Powerup, m_maxs, vector, '16 16 48'); + ATTRIB(Powerup, m_maxs, vector, '16 16 80'); ATTRIB(Powerup, m_botvalue, int, 100000); ATTRIB(Powerup, m_itemflags, int, FL_POWERUP); ATTRIB(Powerup, m_respawntime, float(), GET(g_pickup_respawntime_powerup));