0c336649e6
fix repairing buildings
...
This was SVN commit r14547.
2014-01-08 15:39:32 +00:00
9229cea9cc
allow repairing of moving objects
...
This was SVN commit r14545.
2014-01-08 13:39:33 +00:00
f9b950aa96
improve rearrange of idle formation when units are tasked away from the formation + fix formation-settable idle animations
...
This was SVN commit r14544.
2014-01-08 10:55:44 +00:00
e8c4031bea
Don't disband idle formations anymore, but give the formations a decent idle state. Formationmembers still need to leave the formation to anything other than walking, but this is a small step towards attacking formations.
...
This was SVN commit r14543.
2014-01-08 09:47:27 +00:00
aadd297cce
Implement the ability to switch animations based on the formation position
...
This was SVN commit r14537.
2014-01-07 20:21:55 +00:00
b1e0f1b62a
Clean up the mess of different ways to note the formations (capitalised, with spaces, with underscores, concatenated ...) by always referring to the template name.
...
This was SVN commit r14534.
2014-01-07 13:33:08 +00:00
b4fa090435
fix losRangeQuery broken in e096df0070
...
This was SVN commit r14526.
2014-01-06 19:35:51 +00:00
f814510b2e
revise the chase and flee
...
This was SVN commit r14517.
2014-01-05 18:29:38 +00:00
d56595c802
Put into alert units trained during an alert, fixes #2342 , patch by Itms
...
This was SVN commit r14513.
2014-01-05 15:12:17 +00:00
d0497c83f1
Split the formation template in different templates. This can be used later to remove hard-coded formation statistics and forms to attributes in those templates
...
This was SVN commit r14510.
2014-01-05 10:09:42 +00:00
9fb6620edd
Use an actual flee order to move animals away from the foundation. Fixes #2347
...
This was SVN commit r14502.
2014-01-04 15:36:20 +00:00
1e33dd1d5e
fix targetPosition != null check
...
This was SVN commit r14501.
2014-01-04 13:15:44 +00:00
e096df0070
fix units attacking harmless gaia buildings
...
This was SVN commit r14494.
2014-01-03 20:24:02 +00:00
9a41c588fe
prevent traders to cycle between two adjacent markets
...
This was SVN commit r14490.
2014-01-03 14:03:12 +00:00
f634a8db3e
fix units fleeing too far
...
This was SVN commit r14488.
2014-01-03 12:49:04 +00:00
7d26f93666
fix animals taken as target in move-attack after 66770feed6
, use the same filter as in AttackEntitiesByPreference
...
This was SVN commit r14478.
2014-01-02 14:17:46 +00:00
d8e8f613cd
small code cleanup
...
This was SVN commit r14475.
2014-01-01 19:56:27 +00:00
59525414ee
fix automatically attacking buildings caused by 66770feed6
...
This was SVN commit r14474.
2014-01-01 19:54:15 +00:00
66770feed6
include gaia range query of UnitAI in general range query. Fixes #2156 . Patch by dumbo
...
This was SVN commit r14473.
2014-01-01 18:59:16 +00:00
05baeae5bd
fix units not dropping resources when they are already at the resource dropsite (e.g. fields right next to a farmstead). Fixes #2336
...
This was SVN commit r14472.
2014-01-01 18:17:47 +00:00
298115f4c5
Fix units chasing each other. Fixes #1537
...
This was SVN commit r14449.
2013-12-30 16:07:19 +00:00
4158283fd4
Take unit obstruction size into account when checking if in range for garrisoning. Reduce CC loading range in consequence. Fixes #2190 .
...
This was SVN commit r14428.
2013-12-29 10:17:09 +00:00
0780becb8a
fix attack-move not working for packed units
...
This was SVN commit r14395.
2013-12-26 16:09:32 +00:00
41b3dfc89c
Implement town bell
...
* the icons are temporary, and can be replaced later
* The sounds are created by LAVS, but may also need some polishing, so
the current ones are placeholders too
* The patch code is created by Itms
fixes #2154
This was SVN commit r14392.
2013-12-26 10:43:51 +00:00
79252043ae
fix the fish gatherer from b91ec9b449
...
This was SVN commit r14362.
2013-12-15 17:32:20 +00:00
683349333b
tune the guard behaviour
...
This was SVN commit r14321.
2013-12-09 18:15:24 +00:00
8d56504778
fix switching between line and column formation
...
This was SVN commit r14298.
2013-12-05 20:26:51 +00:00
d3f7da1e27
Let formation attack from the moment the first unit is in range
...
This was SVN commit r14297.
2013-12-05 19:26:55 +00:00
3afd8e9d9e
better formation place assignments (units run around less)
...
This was SVN commit r14281.
2013-12-04 13:14:31 +00:00
c134108154
remove duplicated code
...
This was SVN commit r14264.
2013-11-30 18:23:32 +00:00
e88d05e0e4
allow units to guard/escort buildings or units, fixes #2034
...
This was SVN commit r14263.
2013-11-30 17:30:08 +00:00
3d75d4e69c
do not show carrying resources animation in attack-move
...
This was SVN commit r14216.
2013-11-22 17:43:26 +00:00
09d5507ecb
clean some useless code
...
This was SVN commit r14214.
2013-11-19 21:27:23 +00:00
e8d8673734
let non-fighting units flee when attacked even if the attacker is not visible
...
This was SVN commit r14213.
2013-11-19 21:20:25 +00:00
321e61617b
Improve MoveToTarget when the target is moving, fixes #2253
...
This was SVN commit r14168.
2013-11-14 07:25:56 +00:00
df1d5d2260
fix tag 2102648f7c
which had unwanted changes
...
This was SVN commit r14146.
2013-11-11 16:29:44 +00:00
2102648f7c
Allows autogarrison of newly trained units, fixes #1044
...
This was SVN commit r14144.
2013-11-11 15:37:16 +00:00
fad8f7fce0
adds some needed protection
...
This was SVN commit r14143.
2013-11-11 15:03:22 +00:00
3a278df3f7
Move ship to shoreline when tasking units to garrison inside, fixes #1391
...
This was SVN commit r14115.
2013-11-08 23:22:59 +00:00
9b98585275
Remember the last market for back-to-order trading, fixes #2248
...
This was SVN commit r14088.
2013-11-06 21:07:19 +00:00
0362453035
test some components before use, adresses #2206
...
This was SVN commit r14082.
2013-11-03 17:18:43 +00:00
ce7c97b79f
Improve back to work behaviour (queues taken into account), fix #2206 , patch from Itms
...
This was SVN commit r14063.
2013-11-01 22:00:06 +00:00
c5669e2c4e
Add a back to work button. Patch by Itms. Fixes #799
...
This was SVN commit r13987.
2013-10-11 19:11:07 +00:00
9f5635085e
Fix #1833 : animals spin around needlessly while roaming.
...
Patch from mimo.
This was SVN commit r13924.
2013-09-30 23:52:22 +00:00
d1a376fd06
fix ejection of garrisoned units on resign. Fix ejection or killing on ownership and deplomacy changes. Patch by mimo. Fixes #2096
...
This was SVN commit r13810.
2013-09-08 16:02:41 +00:00
819a1e7823
Save initial herd position and update the last known position of the hunted animal when hunting. Patch by mimo. Fixes #2047 .
...
This was SVN commit r13803.
2013-09-06 19:47:48 +00:00
2dc0c40ff0
Fix some errors.
...
This was SVN commit r13770.
2013-08-26 01:26:35 +00:00
ff6b3e5725
Properly fix #2079 .
...
This was SVN commit r13768.
2013-08-25 22:05:41 +00:00
9d933087b3
Fix #2079 .
...
This was SVN commit r13751.
2013-08-24 14:24:37 +00:00
598c05e056
clean UnitAI move to attack range code + fix possible bug
...
This was SVN commit r13654.
2013-08-13 15:11:17 +00:00