Matthias Mailänder
2abde381a7
Exposed PathSearch.owner and removed Player argument from PathFinder functions.
2013-03-10 07:33:31 +01:00
James Dunne
ba1a36f26e
Units heading in generally opposite directions are now considered blockers; this fixes pathing deadlocks.
2012-07-05 23:53:31 -05:00
James Dunne
9c9a16d80e
Path planning no longer considers moving friendly units as blockers.
2012-07-05 23:52:34 -05:00
James Dunne
1fa70d259f
Removed INudge in favor of INotifyBlockingMove.
2012-06-24 20:26:01 -05:00
James Dunne
845379e577
Harvesters no longer block each other during low-ore contention and wait for a random amount of time while idle to search for more resources.
2012-06-24 20:26:00 -05:00
James Dunne
80123b6aa4
Many harvester behavior improvements; summary below.
...
Implemented Harvester territory marking with a simple resource claim system in ResourceClaimLayer trait added to World.
Added customCost for PathSearch to support new Harvester search preferences.
Explicit delivery order forces harvester to always deliver to that refinery.
Explicit harvest order frees harvester from forced delivery refinery and allows for auto-balancing.
Harvesters auto-balance refinery choice such that no more than 3 harvesters are linked to any one refinery at a time.
Harvesters try very hard to not block the refinery dock location.
Harvesters try to avoid enemy territory when searching for resources.
Group-select harvest order intelligently disperses harvesters around the order location.
Fixed PathFinder caching to not be a sliding window. This is a correctness issue. Sliding window causes no-route paths to be cached permanently in tight move loops and doesn't allow eventual progress to be made. This may have negative performance implications.
2012-06-24 20:26:00 -05:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
unknown
21ab0b461c
Added straightforward hover behavior for all units. Give a unit a nonzero Altitude: in its Mobile: block and the WithShadow: trait to make it hover.
2012-06-18 20:53:38 +12:00
Chris Forbes
2bc260c833
move Activity from OpenRA.Traits.Activities namespace to OpenRA.Traits
2011-10-06 23:11:58 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
36f6e503ef
clean up some of the noise in Move
2011-08-15 14:48:17 +12:00
Paul Chote
19ead53223
Add a WarnCrush method to ICrushable which is called when a crusher begins to enter the cell.
2011-07-15 20:10:21 +12:00
Paul Chote
74d13286a8
Add a force flag to nudging which skips the ownership and idle checks
2011-07-15 20:10:21 +12:00
Paul Chote
64b88819a9
Add plumbing to support ownership checks in MobileInfo.CanEnterCell.
2011-07-14 21:00:50 +12:00
Paul Chote
d4baf2d757
Refactor UnitInfluence trait -> world.ActorMap
2011-05-22 19:32:53 +12:00
Chris Forbes
4f76876f05
remove one of the Move constructors
2011-04-17 19:22:21 +12:00
Paul Chote
4f83e994d0
Tidy up Activity.Cancel(), make Tick abstract
2011-04-16 13:18:22 +12:00
alzeih
0a67c68c45
GetTargetQueue -> GetTargets + Exts
2011-04-16 12:57:55 +12:00
alzeih
255bac6aff
QueuedActivity's Insert is broken
2011-04-16 12:50:13 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
de26b63fd2
Fix capturing etc
2011-02-05 18:13:30 +13:00
Paul Chote
afcb724793
Fix subcell crushing properly.
2011-02-05 08:47:53 +13:00
Paul Chote
b69388b5e7
Fix jerky movement
2011-02-04 18:39:03 +13:00
Paul Chote
9c63292a83
Allow units to move between subcells. Visually not quite right.
2011-02-04 18:39:03 +13:00
Paul Chote
73a08624ef
Hacky fix for group movement
2011-02-04 18:39:03 +13:00
Bob
80e897abfb
add Util.RunActivity, and have Actor.Tick use it. fix medic autoheal
2010-11-14 18:36:36 +13:00
Bob
47ed79b912
rename some of Mobile's Activity-builders
2010-11-07 17:16:11 +13:00
Bob
8a96c5f7b5
fix infantry entering buildings
2010-11-06 22:27:28 +13:00
Bob
155e7320cb
add support for decimal to fieldLoader. use decimal for speedmodifiers
2010-11-06 14:10:56 +13:00
Bob
c3501f68e3
move TurnActivity into Mods/
2010-10-25 08:03:07 +13:00
Bob
c4ee5fbd41
add self param to OnCancel
2010-10-25 08:03:06 +13:00
Bob
0d9cf63dd2
move Mobile et al into Mods/
2010-10-22 11:31:13 +13:00