Taryn Hill
57fb551545
Improve the exception message when a Bridge's DemolishWeapon cannot be found
2017-07-29 22:26:30 +02:00
reaperrr
8ee742d66a
Split MuzzleOffset and MuzzleOrientation calcs to protected methods
...
To make overriding easier for downstream traits inheriting Armament.
2017-07-29 22:14:58 +02:00
reaperrr
26be2a3e99
Split Burst updating to separate method
2017-07-29 22:14:58 +02:00
reaperrr
e847f49256
Split barrel firing to separate method
2017-07-29 22:14:58 +02:00
reaperrr
514bd12885
Merge some Armament CanFire checks
2017-07-29 22:14:58 +02:00
reaperrr
bdfa8a361b
Split Barrel can-fire checks to separate CanFire method
2017-07-29 22:14:58 +02:00
rob-v
97306f2bcd
Move DeveloperMode trait to Mods.Common
2017-07-23 15:08:24 +02:00
rob-v
d4e9e0e069
Add Visualization chat commands
2017-07-23 15:08:24 +02:00
reaperrr
94fa24088b
Add dedicated TDGunboat traits
...
And get rid of Mobile.OnRails hack.
2017-07-23 15:06:03 +02:00
Paul Chote
afd8b9ab86
Rework harvester resource claiming:
...
* Maintains lists of claims, and only restricts
reservations for friendly units.
* Removes OnNotifyResourceClaimLost; it's not
clear whether that is still useful, and it
prevents future necessary cleanups.
* Moves other code without changing behaviour.
This fixed stale claims from dead units and enemy
claims from preventing otherwise valid harvest
activities.
2017-07-18 01:09:19 +02:00
Jean-Rémy Buchs
488440197e
Add new trait ReloadArmamentsBar which renders a bar to show the current reload status
2017-07-16 14:58:00 +01:00
reaperrr
b859b9ee43
Fix RotationPaletteEffect not working with player palettes
2017-07-15 11:19:09 +01:00
abcdefg30
0b6b997e81
Add a CommandBarBlacklist trait to blacklist Stop and Waypoint Mode
2017-07-14 23:18:28 +01:00
RoosterDragon
85c948fd8d
Add a streaming audio playback interface.
...
This allows audio to be streamed, rather than needed to be fully loaded into memory.
2017-07-14 23:02:49 +01:00
reaperrr
afa9b9760e
Unhardcode AttackBomber bomb and gun logic
2017-07-13 19:12:16 +02:00
reaperrr
a1cb0cf002
AttackBomber style fixes
2017-07-13 19:12:16 +02:00
reaperrr
07edf2f7c6
Reset burst counter if ReloadDelay has passed since last shot
...
This fixes the following issues:
- units like mammoth tanks sometimes at first only fired 1 shot on new encounter because they only depleted 1 burst before previous target was killed
- weapons that use strafing logic would not reset the offset multiplier after passing the target once, leading to wrong offsets on following attacks
2017-07-13 19:12:16 +02:00
reaperrr
afa8d3522c
Add strafing support to weapons
2017-07-13 19:12:16 +02:00
reaperrr
d95d7e0b0f
Rename UseOccupiedCellsOffsets to UseTargetableCellsOffsets
...
With the introduction of the new 'u' BlockingUntargetable cell type, the old property name became inaccurate.
2017-07-13 17:43:41 +02:00
reaperrr
5bdb7bd689
Add OccupiedUntargetable FootprintCellType
...
For cells that are occupied & unpassable, but should be ignored by HitShape.UseOccupiedCellsOffsets.
2017-07-13 17:43:41 +02:00
reaperrr
fdb3866238
Remove FootprintUtils
2017-07-13 17:43:41 +02:00
reaperrr
46dc827d46
Refactor footprint cell lookups and move them to Building
...
Removing FootprintUtils happens in the next commit for better
reviewability.
2017-07-13 17:43:41 +02:00
Jean-Rémy Buchs
6749060e57
Add RangeCircleMode to trait RenderRangeCircle
2017-07-12 00:10:52 +02:00
Paul Chote
ab1a798d04
Add GrantConditionOnBotOwner trait.
2017-07-07 21:31:45 +01:00
rob-v
686686417f
Add Actor Categories and Category dropdown filter in Map editor
2017-07-06 01:50:43 +02:00
reaperrr
3200f4fb0f
Remove bib-related hacks from Building and FootprintUtils
2017-07-06 01:42:55 +02:00
reaperrr
9b137afa6d
Add ITargetableCells interface
2017-07-06 01:42:55 +02:00
reaperrr
69aa4f5962
Building style fixes for better readability
2017-07-06 01:42:55 +02:00
reaperrr
faf9f7cede
Change Explodes.Weapon default to null
...
FieldLoader.Require makes the default pointless, so it makes more sense to change it to null.
2017-07-02 16:03:40 -05:00
reaperrr
a6b9bab033
Make Explodes conditional
2017-07-02 16:03:40 -05:00
Jean-Rémy Buchs
2e4cd8d820
Make SpawnActorOnDeath conditional
2017-07-02 10:00:08 -05:00
reaperrr
9e138178ad
WithAttackAnimation style fix
...
Looks better this way.
2017-07-01 12:33:51 +01:00
reaperrr
9c2e3aaa05
Make WithMoveAnimation conditional and modify only a single assigned sprite body
...
The latter to match what we do on WithAttackAnimation already.
2017-07-01 12:33:51 +01:00
Paul Chote
fdafbd9f15
Remove hardcoded references to FacingInit and TurretFacingInit.
2017-07-01 10:35:22 +01:00
Paul Chote
2a2bd676a3
Remove hardcoded references to HideBibPreviewInit.
2017-07-01 10:35:22 +01:00
rob-v
3e7bf1880f
Fix Map editor total ore money
2017-06-27 22:05:40 +01:00
rob-v
7772ebedf4
Check for Carryall, RevealOnFire FrozenActor.Actor is null
2017-06-24 11:42:50 +01:00
rob-v
78bf530a4e
Check for EnterTunnel FrozenActor.Actor is null
2017-06-24 11:42:50 +01:00
reaperrr
0a1083e554
Merge the Valid(...)Weapons methods
2017-06-24 11:24:17 +01:00
reaperrr
33e8bf9928
Adapt Attack logic to Weapon.TargetActorCenter
2017-06-24 11:24:17 +01:00
reaperrr
edffaa4987
Introduce Weapon.TargetActorCenter and adapt projectiles
...
This also fixes issues with attackers that don't have their own Attack
trait.
2017-06-24 11:24:17 +01:00
reaperrr
8e9f20cf4b
Cache traits implementing INotifyAttack
2017-06-22 04:13:47 -05:00
reaperrr
779218f381
Cache traits implementing modifiers
2017-06-22 04:13:47 -05:00
reaperrr
243ed3d76a
Cache traits implementing INotifyBurstComplete
2017-06-22 04:13:47 -05:00
Forcecore
100abe3246
Requested changes applied
...
* private this.info --> public Info for GCOnDeploy
* Parameter change for (un)deploy activities
2017-06-20 23:42:14 -05:00
Forcecore
a7cedc54ff
Deploy activities for mods and future AI scripting
2017-06-20 23:42:14 -05:00
Paul Chote
4040863707
Fix queued move activities.
2017-06-18 20:55:50 +02:00
Forcecore
a3c9d72cfd
Unbreak queued order
2017-06-18 12:03:29 +01:00
Forcecore
07a2ee5eab
Engineer repair activity can be queued
2017-06-18 12:03:29 +01:00
Paul Chote
4b4172f757
Make the Enter activity use the closest target position.
2017-06-17 21:18:28 +02:00