From e97dd5d03536ee1d081f898c8a826ecf56922d55 Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Thu, 11 Aug 2022 21:49:47 +0200 Subject: [PATCH] Hammer tertiary fire tweaks. --- language.def_lore | 4 +++- language.es_lore | 4 +++- language.version | 4 ++-- lore/default/itamexhammer.txt | 4 +++- lore/es/itamexhammer.txt | 4 +++- zscript/dlc1/swwm_hammertime.zsc | 11 ++++++----- 6 files changed, 20 insertions(+), 11 deletions(-) diff --git a/language.def_lore b/language.def_lore index 52e547f55..b22bb13ff 100644 --- a/language.def_lore +++ b/language.def_lore @@ -1791,10 +1791,12 @@ SWWM_LORETXT_ITAMEXHAMMER = "\n" "\cfSecondary Fire:\c- Hold to raise the hammer over your head, release to let it drop on whatever poor fool is standing in front of you. The longer you hold, the stronger the hit. This attack can potentially break down doors, among other things.\n" "\n" -"\cfTertiary Fire:\c- Perform a potent spin attack, smashing away everything around you. Consecutive presses of tertiary fire while spinning will keep the motion going for longer. Being a combat robot, you should be free from any motion sickness that a human would typically develop while performing this action.\n" +"\cfTertiary Fire:\c- Perform a potent spin attack, smashing away everything around you. Consecutive presses of tertiary fire while spinning will keep the motion going for longer. Being a combat robot, you should be free from any motion sickness that a human would typically develop while performing this action. However, you won't be able to control where this spin move takes you.\n" "\n" "\cfReloading:\c- It's a sledgehammer. There's no reloading, go bash some skulls.\n" "\n" +"\cfTechniques:\c- Being a pure melee weapon, the hammer benefits directly from the effects of the \cfRagekit\c-, multiplying its damage potential eightfold.\n" +"\n" "\cxSaya's Notes:\c-\n" "\cfShit's strong AND good. Perfect for a Demolitionist such as yourself, huhu. And you know what else is good? It can be even MORE powerful once you pop a Ragekit. You'll become UNSTOPPABLE.\c-\n" "\n" diff --git a/language.es_lore b/language.es_lore index 3c6f3bde2..3d184b73a 100644 --- a/language.es_lore +++ b/language.es_lore @@ -1661,10 +1661,12 @@ SWWM_LORETXT_ITAMEXHAMMER = "\n" "\cfFuego Secundario:\c- Mantén para levantar el martillo sobre tu cabeza, suelta para dejarlo caer sobre cualquier pobre insensato que se te ponga delante. Cuanto más lo mantengas, más fuerte será el golpe. Este ataque puede potencialmente echar abajo puertas, entre otras cosas.\n" "\n" -"\cfFuego Terciario\c- Ejecuta un potente ataque giratorio, destrozando todo a tu alrededor. Las pulsaciones consecutivas del fuego terciario mientras giras harán que se mantenga el movimiento durante más tiempo. Siendo un robot de combate, deberías estar libre de cualquier mareo por el movimiento que un humano típicamente desarrollaría haciendo algo así.\n" +"\cfFuego Terciario\c- Ejecuta un potente ataque giratorio, destrozando todo a tu alrededor. Las pulsaciones consecutivas del fuego terciario mientras giras harán que se mantenga el movimiento durante más tiempo. Siendo un robot de combate, deberías estar libre de cualquier mareo por el movimiento que un humano típicamente desarrollaría haciendo algo así. Sin embargo, no podrás controlar a donde te lleva este movimiento giratorio.\n" "\n" "\cfRecarga:\c- Es un martillo. No hay nada que recargar, ve y aplasta cráneos.\n" "\n" +"\cfTécnicas:\c- Al ser puramente un arma de combate a melé, el martillo puede beneficiarse directamente de los efectos del \cfRagekit\c-, multiplicando su potencial de daño por ocho.\n" +"\n" "\cxNotas de Saya:\c-\n" "\cfEsta mierda es fuerte Y buena. Perfecto para una Demolicionista como tú, juju. ¿Y sabes que es bueno también? Se puede hacer aun MÁS poderoso en cuanto te metas un Ragekit. Te harás IMPARABLE.\c-\n" "\n" diff --git a/language.version b/language.version index 614079916..7efbbf8da 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r301 \cu(Thu 11 Aug 18:04:05 CEST 2022)\c-"; -SWWM_SHORTVER="\cw1.3pre r301 \cu(2022-08-11 18:04:05)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r302 \cu(Thu 11 Aug 21:49:47 CEST 2022)\c-"; +SWWM_SHORTVER="\cw1.3pre r302 \cu(2022-08-11 21:49:47)\c-"; diff --git a/lore/default/itamexhammer.txt b/lore/default/itamexhammer.txt index ad5a082f7..930cf8f65 100644 --- a/lore/default/itamexhammer.txt +++ b/lore/default/itamexhammer.txt @@ -20,10 +20,12 @@ The Reinforced Combat Hammer is primarily meant to be used in quickly dismantlin \cfSecondary Fire:\c- Hold to raise the hammer over your head, release to let it drop on whatever poor fool is standing in front of you. The longer you hold, the stronger the hit. This attack can potentially break down doors, among other things. -\cfTertiary Fire:\c- Perform a potent spin attack, smashing away everything around you. Consecutive presses of tertiary fire while spinning will keep the motion going for longer. Being a combat robot, you should be free from any motion sickness that a human would typically develop while performing this action. +\cfTertiary Fire:\c- Perform a potent spin attack, smashing away everything around you. Consecutive presses of tertiary fire while spinning will keep the motion going for longer. Being a combat robot, you should be free from any motion sickness that a human would typically develop while performing this action. However, you won't be able to control where this spin move takes you. \cfReloading:\c- It's a sledgehammer. There's no reloading, go bash some skulls. +\cfTechniques:\c- Being a pure melee weapon, the hammer benefits directly from the effects of the **Ragekit**, multiplying its damage potential eightfold. + \cxSaya's Notes:\c- \cfShit's strong AND good. Perfect for a Demolitionist such as yourself, huhu. And you know what else is good? It can be even MORE powerful once you pop a Ragekit. You'll become UNSTOPPABLE.\c- diff --git a/lore/es/itamexhammer.txt b/lore/es/itamexhammer.txt index 3c8c9690d..a0208cf13 100644 --- a/lore/es/itamexhammer.txt +++ b/lore/es/itamexhammer.txt @@ -16,10 +16,12 @@ El Martillo de Combate Reforzado es principalmente usado para desmantelar rápid \cfFuego Secundario:\c- Mantén para levantar el martillo sobre tu cabeza, suelta para dejarlo caer sobre cualquier pobre insensato que se te ponga delante. Cuanto más lo mantengas, más fuerte será el golpe. Este ataque puede potencialmente echar abajo puertas, entre otras cosas. -\cfFuego Terciario\c- Ejecuta un potente ataque giratorio, destrozando todo a tu alrededor. Las pulsaciones consecutivas del fuego terciario mientras giras harán que se mantenga el movimiento durante más tiempo. Siendo un robot de combate, deberías estar libre de cualquier mareo por el movimiento que un humano típicamente desarrollaría haciendo algo así. +\cfFuego Terciario\c- Ejecuta un potente ataque giratorio, destrozando todo a tu alrededor. Las pulsaciones consecutivas del fuego terciario mientras giras harán que se mantenga el movimiento durante más tiempo. Siendo un robot de combate, deberías estar libre de cualquier mareo por el movimiento que un humano típicamente desarrollaría haciendo algo así. Sin embargo, no podrás controlar a donde te lleva este movimiento giratorio. \cfRecarga:\c- Es un martillo. No hay nada que recargar, ve y aplasta cráneos. +\cfTécnicas:\c- Al ser puramente un arma de combate a melé, el martillo puede beneficiarse directamente de los efectos del **Ragekit**, multiplicando su potencial de daño por ocho. + \cxNotas de Saya:\c- \cfEsta mierda es fuerte Y buena. Perfecto para una Demolicionista como tú, juju. ¿Y sabes que es bueno también? Se puede hacer aun MÁS poderoso en cuanto te metas un Ragekit. Te harás IMPARABLE.\c- diff --git a/zscript/dlc1/swwm_hammertime.zsc b/zscript/dlc1/swwm_hammertime.zsc index 809639b56..548ebf79c 100644 --- a/zscript/dlc1/swwm_hammertime.zsc +++ b/zscript/dlc1/swwm_hammertime.zsc @@ -53,7 +53,7 @@ Class ItamexHammer : SWWMWeapon A_BumpFOV(1.+invoker.charge*.001); Vector3 x, y, z; [x, y, z] = swwm_CoordUtil.GetAxes(pitch,angle,roll); - SWWMUtility.DoKnockback(self,x,2000.*invoker.charge); + SWWMUtility.DoKnockback(self,x,1000.*invoker.charge); invoker.hitcnt = 0; invoker.spintime = 0; } @@ -69,14 +69,15 @@ Class ItamexHammer : SWWMWeapon { A_SetAngle(angle+invoker.charge*.4,SPF_INTERPOLATE); A_SetPitch(pitch*.9,SPF_INTERPOLATE); - invoker.charge = max(30.,invoker.charge-1.); + invoker.charge = max(30.,invoker.charge-2.); if ( (player.cmd.buttons&BT_ZOOM) && !(player.oldbuttons&BT_ZOOM) ) - invoker.charge = min(100.,invoker.charge+50.); + invoker.charge = min(100.,invoker.charge+20.); A_SoundVolume(CHAN_WEAPONEXTRA,(invoker.charge/100.)**.5); A_BumpFOV(1.+invoker.charge*.001); Vector3 x, y, z; [x, y, z] = swwm_CoordUtil.GetAxes(pitch,angle,roll); - SWWMUtility.DoKnockback(self,(cos(angle),sin(angle),.004),3000.*invoker.charge); + SWWMUtility.DoKnockback(self,(x.x,x.y,x.z*.2),2000.*invoker.charge); + if ( vel.z < 0 ) vel.z *= 1.-invoker.charge*.008; A_QuakeEx(1,1,1,15,0,1,"",QF_RELATIVE|QF_SCALEDOWN|QF_3D,rollIntensity:.1); A_PlayerFire(); invoker.spintime++; @@ -87,7 +88,7 @@ Class ItamexHammer : SWWMWeapon A_QuakeEx(5,5,5,20,0,1,"",QF_RELATIVE|QF_SCALEDOWN|QF_3D,rollIntensity:.35); A_AlertMonsters(swwm_uncapalert?0:800); A_WeaponOffset(32,0,WOF_ADD|WOF_INTERPOLATE); - SWWMUtility.DoKnockback(self,-x,6000.*invoker.charge); + SWWMUtility.DoKnockback(self,-(x.x,x.y,x.z*.2),6000.*invoker.charge); invoker.hitcnt = 3; } if ( invoker.charge <= 30. )