Bob
80e897abfb
add Util.RunActivity, and have Actor.Tick use it. fix medic autoheal
2010-11-14 18:36:36 +13:00
Bob
e7a07ea9c3
Add target param to INotifyAttack. Remove target field from AttackOmni
2010-11-14 16:03:01 +13:00
Bob
f8e6245903
make order queuing work for buildings and turreted units, too
2010-11-14 15:48:02 +13:00
geckosoft
846286c988
Added: QueuedActivity (to be used for chaining orders)
2010-11-13 17:53:00 +13:00
geckosoft
6b40abb58c
Implemented: Stances
...
Added: Basic stances (Aggressive, Guard (Hold Ground), Hold Fire, None (dummy), Return Fire)
Added: WorldCommandWidget (to be able to set said stances)
Added: WorldCommandWidget to ra (cnc will follow, later on)
Changed: Added support to AttackBase for firing with movement disabled + utility method ScanForTarget (used by stances)
Added: AssignUnitStance (attach this to unit-producing actors, together with what stances can be picked as 'default')
2010-11-13 17:26:42 +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
801aa1156f
move aircraft code into Mods.RA/Air/
2010-11-06 12:18:04 +13:00
Bob
480c5edd75
move Building et al into Mods/
2010-11-06 11:05:45 +13:00
Bob
5c0cd50797
remove unnecessary parameters from Aircraft.MovementSpeedForCell, and rename to MovementSpeed
2010-11-05 19:50:17 +13:00
Bob
8129d5d7dc
use CenterLocation, not Location, to determine facing during attack
2010-11-05 19:50:17 +13:00
Bob
a77b7af5fd
add Target overload for IsInRange
2010-11-05 19:50:16 +13:00
Bob
50b1ba3acc
attack if in range of any cell of a building
2010-11-05 19:50:15 +13:00
Bob
01accaeb38
fix cargo
2010-10-25 08:03:13 +13:00
Bob
5d408fe3c7
make AttackMove use an activity
2010-10-25 08:03:11 +13:00
Bob
aa0b7bedf0
pass target to DoAttack
2010-10-25 08:03:10 +13:00
Bob
c5358f7c82
call DoAttack from activities instead of from Tick in AttackPlane/AttackHeli
2010-10-25 08:03:10 +13:00
Bob
fece294cc6
move RemoveSelf activity into Mods/
2010-10-25 08:03:07 +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
Bob
6513bd5fe0
don't use Move directly
2010-10-22 11:10:32 +13:00
Bob
f933e3de3f
fix entering buildings from the east or south
2010-10-22 10:20:34 +13:00
Bob
88a8d84153
use new Enter activity for engy, spy, c4
2010-10-21 20:58:07 +13:00
Matthew Bowra-Dean
f6df7a06f2
fixes #323
2010-10-21 07:43:52 +13:00
Chris Forbes
8aa180c1f4
cleaned up unused bits in attackmove
2010-10-13 19:20:17 +13:00
max621
c150fd9475
Added attack move
2010-10-13 08:13:20 +13:00
Bob
eca098b0b4
use a getter for Aircraft.Location
2010-10-12 07:59:40 +13:00
Bob
011a20e8b4
add IHasLocation
2010-10-12 07:59:40 +13:00
Paul Chote
fd34f2ba99
Fix #225 and some other uses of a.IsInWorld / a.IsDead()
2010-10-08 10:56:50 +13:00
max621
2fc219ecd5
Fixed auto attack not working properly due to code expecting 'Idle' activity but most units use 'IdleAnimation' in RA mod
2010-10-05 17:45:29 +13:00
Chris Forbes
a0714b00b3
a bit of cleanup
2010-10-02 15:49:42 +13:00
Chris Forbes
f402ec7898
Revert "add IHasLocation"
...
This reverts commit 699b4b1154 .
2010-09-28 07:43:49 +13:00
Bob
699b4b1154
add IHasLocation
2010-09-26 18:17:23 +12:00
Bob
d8de477edb
fix IdleAnimation. add IsAttacking to AttackBase
2010-09-22 12:21:49 +12:00
Bob
c16a515224
make more activities cancelable. remove many uses of CurrentActivity is T
2010-09-22 11:53:58 +12:00
Bob
e2eae7973b
removing warning
2010-09-22 11:18:47 +12:00
Bob
ef665df2e9
refactor activity queueing
2010-09-22 10:13:13 +12:00
Chris Forbes
06aba5da46
fix remote engineer repair exploit
2010-09-16 18:19:06 +12:00
Chris Forbes
106fbcd5af
remove some crashes
2010-09-16 18:18:16 +12:00
Paul Chote
e9f34b1e21
Quick fix for #87 , #88 . Real fix will come when we nest activities.
2010-09-16 07:45:29 +12:00
Chris Forbes
8dbbaca8da
fix repair semantics for vehicles on FIX; fix #138
2010-09-13 07:36:53 +12:00
Paul Chote
f9445cb282
Pathfinder uses a MobileInfo instead of a specific actor
2010-09-09 23:25:58 +12:00
Chris Forbes
c3fa9f7aa8
#120 fixed: crash in DeliverResources.Tick
2010-09-09 12:34:35 +12:00
Paul Chote
ff0c66e38c
Idle animations for infantry. Enabled for cnc e3.
2010-09-07 23:30:49 +12:00
Chris Forbes
173dc59039
fix crash on engineer repair if the target building goes away
2010-09-07 17:37:18 +12:00
Paul Chote
4e0ace6ec5
Tidy production exits, cnc only
2010-09-03 21:47:24 +12:00
Bob
5561ac458b
finished TraitDictionary. Refactored permanent actor-removal.
2010-08-26 19:33:56 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Chris Forbes
df19163ce5
fix #18 -- harvs built at weap choose a proc when trying to return now
2010-08-12 19:54:37 +12:00