Matthias Mailänder
4be6b51c58
save a trait lookup
2014-12-09 20:31:34 +01:00
Oliver Brakmann
ac1e7a7352
check shroud against the initiating owner when teleporting
...
fixes #6999
2014-12-09 20:31:33 +01:00
Matthias Mailänder
253dfcac29
split SimpleTeleport into it's own file
2014-12-09 20:31:33 +01:00
penev92
09350528fd
Moving renders
...
Remove Traits.Render
2014-12-09 01:29:25 +02:00
Jonathan Gustafsson
d7f321e04d
Fix aircraft fly endlessly in a circle when ordered to attack inside own turning radius
2014-12-08 07:41:10 +01:00
reaperrr
7470391c5d
Move RA World traits, FrozenUnderFog Modifier and various other traits into Traits
2014-12-03 12:52:17 +01:00
Matthias Mailänder
5361b920ca
document various traits
2014-11-30 19:08:44 +01:00
Matthijs Benschop
2d380c64bd
Implementation of the automated D2k Carryall
...
Closes #2246
2014-11-29 12:17:11 +01:00
Matthias Mailänder
7ad2a57517
Merge pull request #6927 from huwpascoe/actor-fixup
...
Actor properties consistency improved
2014-11-23 14:53:33 +01:00
Chris Forbes
68309af233
Remove enemy territory avoidance in FindResources.
...
This is called from the inner loop of the pathfinder, so cannot afford
to do actor queries etc. It also didn't have the desired effect --
harvesters still wander through enemy territory even with the bias.
Just rip it out for a perf win.
2014-11-23 15:09:48 +13:00
huwpascoe
a660bb95b5
Actor properties consistency improved
2014-11-21 02:44:05 +00:00
reaperrr
127969d014
Move Air activities and traits to Activities\Air and Traits\Air, respectively
2014-11-17 12:56:18 +01:00
Paul Chote
5c4d49394d
Merge pull request #6945 from Phrohdoh/madtank-fix
...
MadTank deployed teleportation fix.
2014-11-16 17:31:46 +13:00
Taryn Hill
31b24b4802
Implement (new) IPreventsTeleport in MadTank.
...
Prevents MadTank from being teleported after deployment.
2014-11-15 20:55:44 -06:00
reaperrr
0cbcae93a9
Move Valued, CustomSellValue and CustomBuildTimeValue to Common
2014-11-14 01:01:46 +01:00
reaperrr
5aec72ce6d
Adds Mods.Common usings where necessary.
2014-11-05 20:46:53 +01:00
Taryn Hill
b8f5786bdb
Clean up some chars.
2014-10-30 20:34:56 -06:00
Paul Chote
3eb05ef23e
Don’t reveal shroud at the original transport load point.
2014-10-26 10:01:47 +13:00
Matthias Mailänder
c9346d1da8
setup the minelayer rearm sound
2014-10-18 21:08:50 +02:00
huwpascoe
15fa152bc3
MCV no longer loses controlgroup when transforming
2014-10-16 01:44:06 +01:00
atlimit8
3b21c9713f
Added bridge hut repair tracking
2014-10-09 18:04:13 -05:00
atlimit8
acc0b618c8
Restricted terrain targeting to force-move enter transports
2014-10-09 18:04:13 -05:00
atlimit8
b736e059e9
Removed Enter(Actor self, Actor target, Activity inside) & made Enter abstract
2014-10-09 18:04:13 -05:00
atlimit8
ad24a70235
Infiltrate as Enter subclass
2014-10-09 18:04:12 -05:00
atlimit8
c994ee4668
DonateSupplies as Enter subclass
2014-10-09 18:04:12 -05:00
atlimit8
41452dcfeb
RepairBuilding & RepairBridge as Enter subclasses
2014-10-09 18:04:12 -05:00
atlimit8
6d0feb9fbf
Demolish as Enter subclass
2014-10-09 18:04:12 -05:00
atlimit8
4783b1f646
CaptureActor as Enter subclass & fixes 6658
2014-10-09 18:04:12 -05:00
Paul Chote
34eb634779
Add self argument to Move constructors.
2014-10-07 19:30:23 +13:00
reaperrr
8b5bd49095
Move ResourceClaim and ResourceClaimLayer to Mods.Common
2014-10-04 18:52:48 +02:00
reaperrr
ab30e8a993
Move FloatingText effect to Mods.Common
2014-10-03 23:08:42 +02:00
atlimit8
3f6e1a608a
Added IDisableMove
2014-10-03 08:07:05 -05:00
atlimit8
cead66668f
Fixed #4640 - Units teleport into transports.
2014-10-03 08:07:02 -05:00
atlimit8
af5b18a080
Extend Enter activity class for (re)usability in enter/exit/dock logic
2014-10-02 20:47:28 -05:00
DeadlySurprise
7183c52a2e
Adds damage debug overlay
2014-09-06 16:16:36 +02:00
atlimit8
8ad1140921
Reduce ICrushable trait lookup & drop -SubCell suffix.
...
Replace `a.HasTrait<ICrushable>()` with a.TraitsImplementing<ICrushable>().Any() or equivalent.
2014-08-30 04:43:57 -05:00
atlimit8
e29b9edfc1
Changes to map.cs, rename IPositionable.IsLeaving{ => Cell}, add IPositionable.GetValidSubCell
2014-08-29 23:30:16 -05:00
atlimit8
63c28ee4d7
Refactored in new enum SubCell
2014-08-29 23:00:53 -05:00
atlimit8
b2c9064545
Refactored [sub-]cell availability logic in IPositionable & ActorMap
...
Moved the logic from IPositionable.CanEnterCell & integrated sub-cell selection.
Added IPositionable.IsMovingFrom(CPos location, int subCell = -1) - to detect transient actors
Renamed IPositionable.{GetDesiredSubcell => GetAvailableSubcell} - since it checks for available sub-cells
Reduced IPositionable.CanEnterCell to one method that usually uses IPositionable.GetAvailableSubcell
Added actor checking to ActorMap.{HasFreeSubCell, FreeSubCell, AnyUnitsAt} - used by [sub-]cell availability logic
2014-08-29 23:00:53 -05:00
atlimit8
ff7ad53dee
Fixed UnloadCargo stacking using new subcell API exposure
2014-08-29 23:00:53 -05:00
Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02:00
Paul Chote
0425416ce2
Convert damage modifiers to integer percentages.
2014-08-12 11:41:09 +12:00
atlimit8
4b7537bb13
Moved MobileInfo.SubCellOffsets to Map (dropping static) & added Map.SubCellsDefaultIndex
2014-08-04 18:09:26 -05:00
atlimit8
43478dd500
enum SubCell => int & Dictionary<SubCell, WVec> => WVec[]
2014-08-04 18:09:26 -05:00
Taryn Hill
b6fd757672
Merge pull request #6030 from UberWaffe/CustomWarheads
...
Custom Warheads refactor
2014-08-03 10:35:36 -05:00
UberWaffe
c972b39687
Custom Warheads refactor
...
Changes included:
Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.
Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.
Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00
ScottNZ
ca4b947037
Rename IAcceptInfiltrator to INotifyInfiltrated
2014-08-02 22:36:44 +12:00
Paul Chote
dab94bcc00
Merge pull request #5904 from ScottNZ/c4-flashtarget
...
Add target flashing for C4.
2014-07-23 10:36:54 +12:00
Paul Chote
850fcd5100
Fix a typo.
2014-07-19 18:03:21 +12:00
Paul Chote
5b0cee78cf
Calculate a new path (and possibly new target cell) if the original path is blocked.
2014-07-19 18:03:21 +12:00