Kick Attack
ScanFront:5m x 5m, setTarget
IF ( TargetPlayFall | TargetPlayStand ) = True
Return Set Player KickCooldown;
ELSE
IF Target = ((KickInvul)&(Enemy) | (Friendly) | (LegCount = 1)
return Set Player KickCooldown;
IF Target = ((PlayerWeight - TargetWeight) < 20) & (Enemy)
return Set: PlayerRandomLegHealth = MASCDamageValue, Set: Player KickCooldown;
IF Target = ((Target KickInvul = False)) & ((PlayerWeight - TargetWeight) >= 20) & (Enemy)
return Set: Target TargetPlayFall, Set: Target KickInvul, Set: Player KickCooldown;
Else
Return;
So... what does the above do?
Well my programming logic is a bit rusty.. I Gained my BS in programming recently, and would LOVE to get a job in it, especially in the gaming industry, but everyone seems to want experience, but no one’s 'giving' experience :T.
Sorry, trailed off there a bit. So, what does this do?
Its 'my' answer to the problem we have of Lights running up into the shins of Heavy and Assault mech's, with 0 fear of their lives, because they take laughable damage on the 'impact’ and are 'under' the guns of the mech they are essentially face-hugging.
This has the effect of a mech as small as 25Tones being able to obliterate larger mech's with nearly no risk to themselves.
PGI will not turn back on the old pre-launch "Collisions", and for good reason! The collision model had issues such as friendly mech's tripping over each other, stuck-in-loop animation issues (likely caused by repeated 'bumps'), and a few instances of Dragon-bowling.
But, they don’t seem to have an answer to this problem either, and it’s a problem only amplified with the release of heavy Machine guns, and mechs like the Piranha and Lynx being able to ‘boat’ 8+ of them.
Which leads me to ‘my’ solution. A solution that makes use of already existing code/animations, with hopefully minimal ‘new’ code being made (mainly the script itself for the attack, and the ‘scan 5m x 5m’ bit.
Unless they scrapped them, PGI already has ‘fall over/get up’ animations... and damage done to a players mech leg structure already exists with the MASC over-use code.
This ‘solution’ essentially does the following:
- Scans a 5mx5m grid in-front of the players mech whenever they hit the “Kick Attack” key (K for my example). If the Scan reveals that a Standing-up, or Falling-down animation is already being played, nothing happens to the Targeted Mech and the Players ‘kick’ cooldown is started.
- If the scan reveals a mech that is an enemy, but already has the Kick-Invulnerability cooldown or a friendly, or is legged, then nothing happens to the ‘targeted’ mech, and the ability cooldown triggers on the player mech.
- If the scan reveals a mech that is an Enemy mech, but the differences in weight between the two is less than 20Tones, the Player damages his own leg by a certain amount, using the pre-existing MASC damage code, slightly modified to work with ‘this’ ability. And the players Kick cooldown is triggered
- If the scan reveals a mech that is an Enemy who is not under the “Kick Invulnerable” status, and is an enemy, AND is 20Tones or Lighter than the Player, that Mech then gets knocked down, and plays the Fall-Down / Stand-Up animations, with a brief delay between falling and standing back up. And sets the players Kick skill cooldown.
This will essentially create a code-block ability for “Kick” that
- Cannot be used to troll friendlies
- Cannot be abused due to Kick-Invulnerable timers.
- Cannot be used on ANY legged mech. (honestly, if a legged Piranha kills your 100Ton assault… you sort of deserved it)
- Hurts the player if they try to ‘kick’ a mech they would otherwise be able to attack like normal.
- Gives larger mechs the ability to ‘knock down’ Mechs like the Piranha’s and Lynx’s that are currently running around with full HMG builds that simply ‘face-hug’ those larger mechs without fear of being attacked by those mechs due to torso/arm movement limitations (As well as pretty much any light vs Assault/heavy face-hugging combination).
- Does not require any re-implementation of collision (as that is a whole new mess of worms to handle)
- Uses already existing code (the animations if they didn’t scrap them, and the MASC damage incursion)
- STOPS Light mech’s from being able to simply run up and ‘into’ larger mechs with 0 fear of being in any danger from that larger Mech.
So… thoughts? I doubt PGI will actually implement this... though its something that is desperately needed to solve this problem. But I’m curious about the community’s thoughts on it as a ‘solution’ TO that problem.
Edited by Gwydion Ward, 20 April 2018 - 03:47 PM.