1
0
forked from 0ad/0ad
0ad/source
wraitii 9d82ae15af [gameplay] Fix chasing range cavalry
This fixes chasing, particularly chasing ranged cavalry.

- Standardise the range of melee cav to 4.
- Decreases the speed of ranged cavalry slightly to make melee cavalry a
better counter & reduce the ability of ranged cavalry to dominate an
area.
- Fix UnitMotion to better chase units, by increasing direct-range
distance and making "from scratch" short paths recompute better paths
(by increasing the search range).
- Gives some free rotation time for slight angles to units. Angles below
30° take no time to rotate towards. Chasing units that recomputed a lot
of paths could be slowed down substantially by minute angle differences.

Fixes #5936

Differential Revision: https://code.wildfiregames.com/D3402
This was SVN commit r24708.
2021-01-19 19:09:55 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Combines terrain and units ambient colors into the single color. 2021-01-17 13:10:00 +00:00
gui Fix 3872ee43b5 and 768c84aa46 2021-01-18 12:16:27 +00:00
i18n Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
lib Replaces UNICODE characters in the code by consistent ASCII characters. 2021-01-15 10:07:36 +00:00
lobby Add missing files in 4942cabab5 2020-12-31 14:27:02 +00:00
maths Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network NetClient: don't LOGERROR when flushing messages while disconnected. 2021-01-15 07:54:55 +00:00
pch Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ps Prevent double-click when moving the mouse. 2021-01-19 13:13:00 +00:00
renderer Fix no pch build. 2021-01-17 15:40:10 +00:00
rlinterface Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
scriptinterface Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
simulation2 [gameplay] Fix chasing range cavalry 2021-01-19 19:09:55 +00:00
soundmanager Fix sound errors when no sound card is detected. 2021-01-11 18:56:33 +00:00
third_party Fixes PCH and removes unused warnings after 25332f9b86. 2021-01-15 11:21:24 +00:00
tools Combines terrain and units ambient colors into the single color. 2021-01-17 13:10:00 +00:00
main.cpp Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
test_setup.cpp Fix windows SEH hook when crashing in an std::thread 2021-01-10 08:39:54 +00:00