From 49617b0bdeca75ad4da9456065fae6c64bff236d Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 4 Dec 2016 21:28:48 +0100 Subject: [PATCH] Increase powerups and megas size. It fixes #192 --- qcsrc/common/items/item/armor.qh | 1 + qcsrc/common/items/item/health.qh | 1 + qcsrc/common/items/item/powerup.qh | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/items/item/armor.qh b/qcsrc/common/items/item/armor.qh index 7946fb7b5..0a5275485 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 1597ba605..3717bf5be 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 26d649d7a..df9315e2c 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)); -- 2.39.2