Paul Chote
b2d960ec19
Pass target line color to inner move activities.
2019-01-26 22:53:46 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
reaperrr
b8d3c9f73a
Fix aircraft being repaired mid-air
...
Repairable was originally written for ground actors,
so it's both safer and much easier to just handle this in Aircraft directly.
2018-11-19 21:40:10 +00:00
reaperrr
560d7b4ee8
Fix Repairable crash
...
MoveAdjacentTo is a Mobile-only activity.
2018-11-19 21:40:10 +00:00
reaperrr
8f1d8a67cc
Remove RearmBuildings from Aircraft and Minelayer
...
In favor of using Rearmable trait.
2018-11-02 22:28:08 +00:00
Andre Mohren
640078a2b1
Refactored Health usage to IHealth.
2018-09-29 18:12:40 +02:00
reaperrr
8144fca5be
Merge repair and rearm anim traits into WithResupplyAnimation
...
This is the safest approach to avoid conflicts/visual glitches when the host is responsible for both resupply types.
The new trait will simply play a looping animation as long as the actor is resupplying in any form.
2018-09-27 16:38:08 +02:00
Paul Chote
eb01fe6b26
Fix missing voice response when ordering a minelayer to reload.
2018-05-30 18:06:59 +02:00
Paul Chote
6528edecb1
Fix order queuing on Repairable.
2018-05-30 18:06:59 +02:00
Paul Chote
e5701ecb20
Remove order.TargetActor from Repairable.
2018-05-30 18:06:59 +02:00
teinarss
dcc11c7a41
Added HpPerStep to Repairable for enable repair speed to be changed per unit.
2018-05-14 19:56:35 +02:00
abcdefg30
7ae6326f2a
Fix Repairable not accounting for multiple ICallForTransport traits
2018-05-06 16:31:21 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
reaperrr
d602ec6485
Rename SelfReloads to AutoReloads
2017-11-12 19:48:06 +00:00
reaperrr
6f95080aa4
Add ReloadAmmoPool and adapt AmmoPool
...
Refactored and simplified Rearm activity.
Uses local Reload now.
Removed AmmoPool.SelfReloads.
2017-11-12 19:48:06 +00:00
Paul Chote
d967c564a2
Remove TargetActor and TargetLocation from order issuing.
2017-10-15 19:07:46 +02:00
abcdefg30
1f93029e51
Always make sure to be on the host actor when repairing
2017-05-26 22:53:03 +02:00
atlimit8
6075569659
Make RepairsUnits pausable-conditional
2017-04-30 09:48:02 -05:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
323ed98a15
Add a range check to Repair.
2016-09-21 18:25:23 +01:00
Paul Chote
1ae86f34f8
Overhaul Carryall behaviour, adding support for manual control.
2016-08-27 15:42:18 +01:00
reaperrr
b497869993
Cache IMove in Repairable's ctor
...
Instead of looking it up on every repair order.
2016-04-24 20:12:49 +02:00
abcdefg30
3b6e481196
Account for allied service depot when ordering an auto repair
2016-03-07 15:26:50 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
0039a2bdbf
Split out an ActivityUtils class.
2016-01-19 23:34:13 +00:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
atlimit8
8250f223c4
More HashSet trait fields & Lint support
2015-09-05 16:59:30 -05:00
Matthias Mailänder
56e9bcd96e
rename RangeSquard to LengthSquared
2015-07-09 21:16:01 +02:00
Matthias Mailänder
50e5e9df24
check voice actor references
2015-06-20 12:09:58 +02:00
Matthias Mailänder
ea5003cd2d
add new long WRange.RangeSquared to avoid integer overflows
2015-05-31 23:51:30 +02:00
penev92
463ac0ddc2
Enable Repairable actors to call for transport to the repair pad
2015-05-26 12:44:18 +03:00
penev92
070e5109f5
Issue repair orders to Repairable units via RepairOrderGenerator
2015-05-26 12:43:34 +03:00
RoosterDragon
fb0cab7481
Cache results of TraitsImplementing calls.
...
If a class is caching the TraitsImplementing enumerable, instead cache the results of enumerating it to an array. The avoids having to enumerate the sequence each time it is needed.
2015-04-25 20:42:27 +01:00
reaperrr
38d5163062
Refactors LimitedAmmo to AmmoPool.
...
Removes Reloads trait.
This enables adding multiple AmmoPools via @ differentiators and
Name which adds the possibility to assign each armament to a specific
ammo pool.
Furthermore, this moves all Reloads functionality onto AmmoPool.
Now a combination of all three is possible on a single actor: no limited
ammo, limited ammo that can reload on its own, and limited ammo which
needs to be reloaded at a rearm actor.
Additionally moves RearmSound from Minelayer to AmmoPool.
2015-03-26 23:21:01 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
penev92
8504c233d9
Move everything Repair-related to Mods.Common
2015-01-08 01:49:14 +02:00