Skip to content

Cheats: Improved horse controls - #1172

Open
Quorthon13 wants to merge 2 commits into
Revivedx:testfrom
Quorthon13:improved-horse
Open

Quorthon13 wants to merge 2 commits into
Revivedx:testfrom
Quorthon13:improved-horse

Conversation

@Quorthon13

@Quorthon13 Quorthon13 commented Nov 26, 2026 •

Copy link
Copy Markdown

What this changes

Riding a horse feels slow to respond, worst at a full gallop: the horse turns late and gently, and a sharp turn costs speed. The original game behaves the same way. Frame rate isn't the cause, since the steering already uses the frame time.

This replaces Sure-footed horse (#961) in Cheats > Travel with one option, Improved horse controls, off by default. It keeps what Sure-footed horse did and changes three things.

The horse follows the stick right away. The game squares the stick's x, so small nudges do almost nothing, eases the steering in slowly (rate 0.06 per 30 fps frame) and cuts it down at the canter and gallop, to half at the gallop. With the option on, the stick goes in as it is, the steering follows it about three times as fast, and the canter and gallop keep more of it (0.93 and 0.7).

The horse keeps its speed through a turn. At the gallop, a turn blends the straight run into a turning run that covers less ground, about a fifth less in a sharp turn. The option raises the horse's play rate by what the turning run loses, so the speed stays flat.

Obstacles don't stop the horse at any pace. Sure-footed horse covered only the top gear, so at a walk, trot or canter a big obstacle like a tree root still stopped the horse, with a short rear if you had just spurred. The option makes the horse's stop check always say to keep going, so the horse runs on and slides along whatever it can't climb. Pulling back still stops the horse, because that stop comes from the gear the game picks and not from the stop check.

The same stop check holds a horse back at cliff edges, so with the option on a horse goes over an edge even at a walk. The menu text and docs/cheats-and-assists.md say so.

Road following and the horse's own steering around obstacles stay as the game has them. Horses have no handling stat of their own (steering is the same on every horse), so no difference between horses is lost.

The ini key is improved_horse. The old sure_footed key is no longer read, so anyone who had Sure-footed horse on has to turn the new option on. The patches are found by pattern in tools/game_sites.py as an optional group, so a game version without them just doesn't get the option. The option is translated for all 13 languages.

How it was tested

Windows 11, RTX 5070 Ti, 2560x1440, game 1.9.0, Xbox controller, around 220 fps.

  • At a full gallop with the stick hard left, the horse turned at most about 27°/s with the option off and about 80°/s with it on. With it on, the speed stayed the same through the turn, at the gallop and at the canter.
  • Spurring into a big tree root with the option off, the horse stopped, with a short rear right after a spur. With it on, the horse kept going and slid along the root.
  • Galloping into a tree with the option on, the horse didn't stop or rear, the same as with Sure-footed horse.
  • tools/test_game_sites.py and tools/i18n_check.py pass.

Checklist

  • Based on the latest test and opened against test
  • Built and run locally, and checked in the game
  • No game files, keys, firmware, generated game code or save files in the changes

One option for the ridden horse, in Cheats, off by default. It replaces
Sure-footed horse and adds to it:

- The horse answers the stick at once. The game squares the stick's x,
  eases the steering in slowly (rate 0.06 per 30 fps frame) and cuts it
  to a half at the gallop; with the option on the stick goes in as it
  is, the steering follows it about three times as fast, and the canter
  and gallop keep more of it (0.93 and 0.7).
- The horse keeps its speed through a turn. A turn blends the gallop
  into a turning run that covers less ground (a fifth less at a sharp
  turn); the option raises the horse's play rate by what that run loses.
- A running horse no longer stops dead and rears at an obstacle or a
  cliff edge (Sure-footed horse, unchanged).

The option's ini key is improved_horse. The old sure_footed key is no
longer read: anyone who had Sure-footed horse on turns the new option on.
With Improved horse controls on, a horse at a walk, trot or canter still
stopped at a big obstacle (a root too high to step on), with a short rear
(Dislike) when the stop came right after a spur. The horse's stop check
stops it at gears 1 to 3 whenever one of its probe rays finds nothing
ahead, and only the top gear's look-ahead was patched. With the option
on the whole stop check now answers "keep going", so no obstacle stops
the horse at any gear; it gallops on and slides along what it can't
climb. Stopping by pulling back is untouched: that stop comes from the
gear the update picks.

It also no longer holds a walking or standing horse back at a cliff
edge: the option already said it doesn't stop at cliff edges, and its
description now says so for every pace.

The patch site moves from the look-ahead to the stop check's entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant