11 Commits

Author SHA1 Message Date
VMSolidus cf861efefd Mech Controls Rework (#21762)
This PR reworks the controls for Mechs to now operate under
"Battletech-Style" controls. Where the W and S keys are instead Forward
and Reverse, while A and D are turn-left and turn-right respectively.
This control scheme is generally significantly more playable for mechs,
since mechs can only interact with objects or fire weapons in a
forward-facing arc. Mechs were previously incapable of both
repositioning and fighting at the same time, while with this update a
mech can now face an enemy, fire upon them, and either move closer to
them or further away.

Mechs also now have reverse speed characteristics based on their chassis
selection. Bipedal legs generally have the worst reverse speed. Quad
legs have significantly better reverse handling, and Treads have no
reverse speed reduction at all (with the fun caveat that they suck at
turning).

I have also fixed the issue of mechs feeling like they were "too easy to
mobility kill". It turned out that mechs were hardcoded to be mobility
killed when they took only 45 points of damage, regardless of how tough
their legs were. I have reworked this to instead be a linear decrease in
movement speed, based on the damage taken ratio of the legs. Larger and
tougher legs are naturally more resistant to being impeded by mobility
damage.

I have actually tested this PR, here's it in action! NOW WITH STRAFING


https://github.com/user-attachments/assets/3123fed8-ec22-4118-8a6a-7cbfe45e6667

---------

Signed-off-by: VMSolidus <evilexecutive@gmail.com>
Co-authored-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
2026-02-17 15:39:03 +00:00
Geeves d8ccc6b32b Mech Power Changes (#17443) 2023-12-06 19:11:46 +00:00
Fluffy c25c8b6a37 Last editorconfig fixup (#17782)
* one

* two

* three

* fsdsdf
2023-11-20 18:22:42 +00:00
kyres1 87ac8edc07 Resprites mechs, adds a few new things (#9950) 2020-09-13 02:03:59 -03:00
Geeves 14ace39ac3 Mech Health Buff (#9123) 2020-06-16 22:50:12 +02:00
Geeves c5c459c5ec Rudimentary Mech Z-level Travel and Hoverpods (#7739) 2020-01-01 16:28:30 +01:00
Alberyk 04aeeab4fc Adds running over people with mechs (#7791)
Walking over someone lying on the floor with mechs will now hurt them. Damage is based on the legs.
Also, removed some baylore references to the mech parts, and made so that mechs can push mobs around.
2019-12-29 22:02:06 +01:00
Ferner b8e962a2da Appearance tweaks 2019-12-18 04:47:40 +01:00
Alberyk 457e3e2d61 Robotics upgrades: mech stuff and more rig word replacement (#7662)
* Robotics upgrades

* stuff.

* Adds this silly thing.

* Removes useless shit.

* updates this.

* Did a bad

* updates this.

* And this.
2019-12-16 08:06:12 +01:00
SueTheCake d6aa37a32e mech power fixes (#7510) 2019-11-26 09:46:47 +02:00
SueTheCake 84794c6e65 Mechs 3: Electric Boogaloo (#7486) 2019-11-25 23:04:19 +01:00