Matthias Mailänder
05b6b59dad
use Combat.IsInRange instead of float2.WithinEpsilon for heli
2013-02-28 21:59:18 +01:00
Paul Chote
d6fcaafd78
Let parachute cargo render themselves.
...
This allows for tanks and other multi-sprite
actors to render correctly while dropping.
2013-02-25 21:10:16 +13:00
Carko
f256742a0d
Fixed repairing landed airplanes (most likely #2365 )
...
When an airplane was landed and ordered to another airstrip or service depot, the aproach distance was not properly calculated since it was not taken into effect that its current altitude is zero.
2013-01-03 11:36:11 +13:00
Chris Forbes
62257459fd
fix NRE in ReturnToBase bailout if no suitable building is found
2012-09-14 23:20:39 +12:00
Chris Forbes
ea641f081f
use ChooseAirfield in ReturnToBase.Tick bailout
2012-09-14 23:20:18 +12:00
Chris Forbes
a641c7a87d
add parameter to ReturnToBase.ChooseAirfield for whether the building must be unreserved
2012-09-14 23:14:02 +12:00
Matthias Mailänder
81f035904e
remove TODO list, use bug-tracker
2012-08-15 08:48:48 +12:00
James Dunne
2ff4a76955
Fixed zombie aircraft flying around after being told to fall to earth.
2012-06-27 22:02:29 -05:00
James Dunne
b127ae8027
Added sub-pixel position/vector types.
...
Updated Sync code to handle new sub-pixel types.
2012-06-21 19:41:12 -05:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Curtis Shmyr
b8b9d34404
Aircraft can use friendly service depots/airfields/helipads
2012-02-13 09:11:32 +13:00
Chris Forbes
a566a372f5
(2/2) #1210 Remove QueueResupplyActivities entirely, just queue ResupplyAircraft
2011-12-03 10:16:10 +13:00
Chris Forbes
7b06e39390
(1/2) #1210 Untangling QueueResupplyActivities
2011-12-03 10:16:10 +13:00
Kenny Hoxworth
98d4af18a4
Don't cancel the FlyAttack activity if the activity has already been canceled. The Tick routine calls Cancel() on FlyAttack, which removes any NextActivity that may have been set by an outside listener. This is the case with a rare bug causing planes to be killed, removed from the playable game, but still existing in the game world.
2011-11-29 08:57:04 +13:00
Chris Forbes
6cb8ee1f9f
expose appropriate *Inits, and make them work in editor
2011-11-06 18:17:13 +13:00
Curtis S
f5807f5f3b
Fix #1230 : crash when no hpad owned by player
2011-10-23 14:53:33 -06:00
Curtis S
eebfb34ea2
Fix #1187 ; aircraft rearm properly now
2011-10-22 13:41:09 -06:00
Curtis S
7d9641e195
Update helis logic for returning to hpad, to mirror that of planes returning to aflds
2011-10-22 13:26:51 -06:00
Curtis S
9e21282341
Fix #725 ; planes don't stack afld / planes will fly to empty aflds
2011-10-22 13:23:30 -06:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
d6f4b61b1c
fixed #1187 - aircraft now reload when ordered back to base via F
2011-10-08 22:22:42 +13:00
Chris Forbes
6922ff3bf9
have ReturnOnIdle use QueueResupplyActivities so it works for airfields that can both rearm and repair
2011-10-08 22:17:15 +13:00
Chris Forbes
1702a9e9f5
tidy helicopter
2011-10-08 22:11:01 +13:00
Chris Forbes
38b6d3527b
remove duplicate of ReserveSpawnBuilding from heli
2011-10-08 22:08:38 +13:00
Chris Forbes
9719e10edd
drop spurious 'self' from ReserveSpawnBuilding, GetActorBelow
2011-10-08 22:07:15 +13:00
Chris Forbes
c7f780eb1d
factor out GetActorBelow from ReserveSpawnBuilding
2011-10-08 22:04:21 +13:00
Chris Forbes
2bc260c833
move Activity from OpenRA.Traits.Activities namespace to OpenRA.Traits
2011-10-06 23:11:58 +13:00
Chris Forbes
c27af37541
fix busted indents in Plane.cs
2011-09-30 11:06:15 +13:00
Curtis S
174ec12ff0
Fixed ingame crash caused by using "F" on planes when owning no AFLDs
2011-09-30 08:24:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
776a1aa817
fix newlines in source files
2011-09-17 11:26:17 +12:00
Chris Forbes
257bd6f431
fixed #849 -- forceMove plumbing removed, noone uses it.
2011-08-17 07:52:35 +12:00
Chris Forbes
d3def71340
Add ReturnToBase (F) support for aircraft; #1084
2011-08-13 15:01:41 +12:00
Curtis S
b6560e6026
Fixed #1090 ; pilots don't drop for dead players
2011-08-13 15:01:40 +12:00
Chris Forbes
ddc1311d87
Make RenderUnit require IFacing; RenderSimple can be used for crates, mines, etc; fix husk facing init
2011-08-09 08:51:35 +12:00
Chris Forbes
e81cbceb99
aircraft sync debug traits dont really need to do trait lookups every time the synchash is taken..
2011-07-25 22:23:13 +12:00
Chris Forbes
8b78bc0602
move ReserveSpawnBuilding out of Plane.Tick and name it
2011-07-17 11:57:07 +12:00
Chris Forbes
37656a02d9
have RALint check actor type in EjectOnDeath
2011-07-17 11:28:40 +12:00
Chris Forbes
e44b965785
fixed #999 -- replace order/first[ordefault] with .ClosestTo(point)
2011-07-14 20:29:07 +12:00
Chris Forbes
0e45968573
remove 'private' keyword where possible
2011-06-29 09:15:39 +12:00
Lawrence Wang
de5db51f25
Fixed #856 - created trait for ammo reload time, set for some aircraft
2011-06-25 11:54:12 +12:00
Paul Chote
44c86928ec
Rework orca weapons and firing offsets. Now fires a volley of 10 rockets, which reload at 2 per 3 seconds. Fixes half of #930 .
2011-06-24 23:58:30 +12:00
Paul Chote
ef8b6b2e71
Remove FlyOffMap.Interruptable. Fixes #906 .
2011-06-24 00:40:58 +12:00
Paul Chote
af4093f380
Swap the default value for FlyOffMap.Interruptible. The common case (scripted aircraft) don't want to be interruptible. Fixes badr desync caused by the mono 2.6.7 compiler dropping initializers for bools that default to true.
2011-06-21 14:20:08 +12:00
Paul Chote
d4baf2d757
Refactor UnitInfluence trait -> world.ActorMap
2011-05-22 19:32:53 +12:00
Chris Forbes
d86e0ec522
rename ITraitPrerequisite<T> to Requires<T>
2011-05-04 18:02:35 +12:00
Chris Forbes
f84832a24a
remove some duplication in parachute use
2011-04-29 19:52:36 +12:00
Chris Forbes
b26d2e07e9
formatting
2011-04-29 19:50:31 +12:00
Chris Forbes
00c4d1b469
remove FlyAttackLoop
2011-04-19 18:40:24 +12:00
Chris Forbes
4ea9cdb003
allow FlyAttack to work without AttackPlane
2011-04-19 18:37:12 +12:00