From da2d6ec697941bd8df89b8a91f7c8f462158410f Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 24 Dec 2019 23:24:11 +1000 Subject: [PATCH] For better compatibility, turn item_doubler into buff_bash on Q3 maps, and medkits into big armor instead of mega --- qcsrc/common/mutators/mutator/buffs/all.inc | 1 + qcsrc/server/compat/quake3.qc | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/mutators/mutator/buffs/all.inc b/qcsrc/common/mutators/mutator/buffs/all.inc index 0c9b88901..a65532307 100644 --- a/qcsrc/common/mutators/mutator/buffs/all.inc +++ b/qcsrc/common/mutators/mutator/buffs/all.inc @@ -57,6 +57,7 @@ REGISTER_BUFF(BASH) { this.m_color = '1 0.39 0'; } BUFF_SPAWNFUNCS(bash, BUFF_BASH) +BUFF_SPAWNFUNC_Q3TA_COMPAT(doubler, BUFF_BASH) REGISTER_BUFF(VAMPIRE) { this.m_name = _("Vampire"); diff --git a/qcsrc/server/compat/quake3.qc b/qcsrc/server/compat/quake3.qc index 8205b8128..630b1ceb8 100644 --- a/qcsrc/server/compat/quake3.qc +++ b/qcsrc/server/compat/quake3.qc @@ -59,10 +59,7 @@ SPAWNFUNC_ITEM(item_armor_shard, ITEM_ArmorSmall) SPAWNFUNC_ITEM(item_enviro, ITEM_Shield) // medkit -> armor (we have no holdables) -SPAWNFUNC_ITEM(holdable_medkit, ITEM_ArmorMega) - -// doubler -> strength -SPAWNFUNC_ITEM(item_doubler, ITEM_Strength) +SPAWNFUNC_ITEM(holdable_medkit, ITEM_ArmorBig) .float wait; .float delay; @@ -233,6 +230,7 @@ spawnfunc(target_fragsFilter) } //spawnfunc(item_flight) /* handled by buffs mutator */ +//spawnfunc(item_doubler) /* handled by buffs mutator */ //spawnfunc(item_haste) /* handled by buffs mutator */ //spawnfunc(item_health) /* handled in t_quake.qc */ //spawnfunc(item_health_large) /* handled in t_items.qc */ -- 2.39.2