From: Mario Date: Tue, 24 Dec 2019 13:24:11 +0000 (+1000) Subject: For better compatibility, turn item_doubler into buff_bash on Q3 maps, and medkits... X-Git-Tag: xonotic-v0.8.5~1198 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da2d6ec697941bd8df89b8a91f7c8f462158410f;p=xonotic%2Fxonotic-data.pk3dir.git For better compatibility, turn item_doubler into buff_bash on Q3 maps, and medkits into big armor instead of mega --- 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 */