reaperrr
c153277e8b
Add AttackSounds trait
...
This trait plays sounds when preparing to attack or attacking.
2016-07-02 16:02:00 +02:00
reaperrr
3b43544e2d
Add start delay functionality to attack animation traits
2016-07-02 16:02:00 +02:00
reaperrr
75c49620d1
Introduce INotifyAttack.PreparingAttack
...
And use it to allow triggering attack animations/overlays at a different point
than the actual weapon firing.
2016-07-02 16:02:00 +02:00
reaperrr
87537d9669
Move WithAttackOverlay to Mods.Common
2016-07-02 16:02:00 +02:00
abcdefg30
4732f3767f
Merge pull request #11459 from reaperrr/fix-range-check
...
Fix weapon min/max range and validity checks
2016-07-01 14:24:41 +02:00
reaperrr
4d90361b8b
Merge pull request #11514 from abcdefg30/64ops
...
Fix a crash with not space occupying actors granting support powers
2016-06-30 15:35:02 +02:00
reaperrr
f5c89ae56d
Merge pull request #11497 from obrakmann/stuff-for-sp-1
...
Add functionality requested for Shattered Paradise
2016-06-30 15:13:49 +02:00
Paul Chote
30dcbeb873
Remove legacy Move constructor.
2016-06-25 16:29:47 +01:00
reaperrr
38e1d409ff
Make Wanders.TickIdle virtual
...
So inheriting traits can override it.
2016-06-24 16:43:54 +02:00
reaperrr
4eb17e1642
Fix all wandering actors wandering at first game tick
...
NotifyBecomingIdle is only notified at the first idle tick, so `countdown` is not set when TickIdle checks it at first game tick. Therefore, we let TickIdle return early at first game tick to avoid that.
2016-06-24 16:43:53 +02:00
abcdefg30
dd5e229886
Fix a crash with not space occupying actors granting support powers
2016-06-24 15:30:57 +02:00
reaperrr
27993729be
Make attack cursor smarter
...
Rather than simply taking the first valid armament, regardless of available ammo and regardless of which valid armament has the highest range, the attack cursor is now chosen a) by whether the armament has ammo and b) by which valid armament has the highest range.
2016-06-23 15:09:11 +02:00
reaperrr
4f55b088eb
Check if weapon without self-reloading is out of ammo when deciding validity
...
This should prevent attacking helicopters (or other actors) staying at the range to target of a weapon that is out of ammo and needs manual reloading at a RearmBuilding or via upgrades.
2016-06-23 14:47:41 +02:00
Oliver Brakmann
c2d4a3a8e8
Merge pull request #11470 from pchote/fix-direction-check
...
Fix Mobile.IsMovingInMyDirection check.
2016-06-22 22:49:03 +02:00
Paul Chote
2355ad9dd1
Move carryall code to Mods.Common.
2016-06-21 21:38:19 +01:00
Oliver Brakmann
2e07459e98
Make RejectsOrders upgradable
2016-06-21 19:13:25 +02:00
Oliver Brakmann
41417c5ad2
Add a DeathTypes filter to GivesBounty
...
also:
* Updates the documentation
* Adds an option to disable the floating text
2016-06-21 19:13:25 +02:00
reaperrr
526f851489
Merge pull request #11426 from pchote/actorpreview-dynamic-facing
...
Support dynamic ActorPreview facings and creating previews from live actors.
2016-06-20 14:38:11 +02:00
reaperrr
7467a0e1a9
Merge pull request #11451 from pchote/map-lua-options
...
Port map difficulties to new lobby options backend.
2016-06-20 13:03:47 +02:00
reaperrr
94bde04422
Merge pull request #11483 from Mailaender/supportpower-factionspeech
...
Added support power speech notifications
2016-06-20 12:21:48 +02:00
Paul Chote
8ce4ab0bd1
Port map difficulty to new options backend.
2016-06-19 22:15:26 +01:00
Paul Chote
1d1b97cb6a
Add ScriptLobbyDropdown trait and lua API.
2016-06-19 22:15:26 +01:00
abcdefg30
a8fc18522e
Merge pull request #11479 from reaperrr/improve-shadow
...
Improve WithShadow
2016-06-19 22:29:29 +02:00
reaperrr
cc9b24d932
Make WithShadow Offset and ZOffset customizable
2016-06-19 19:13:10 +02:00
Matthias Mailänder
409fe9067a
Add speech notification equivalents to support power sounds.
2016-06-19 18:46:05 +02:00
reaperrr
723c107aa5
Merge pull request #11473 from pchote/shroud-map-crate
...
Disable hide map crate if explored map is enabled.
2016-06-19 18:32:11 +02:00
reaperrr
6b1adbacc4
Make WithShadow public and upgradable
2016-06-19 15:16:28 +02:00
reaperrr
38295341a8
Merge pull request #11445 from abcdefg30/emp-support-power
...
Emp support power take 2
2016-06-18 21:14:01 +02:00
Paul Chote
9edf4be229
Disable hide map crate if explored map is enabled.
2016-06-18 14:18:05 +01:00
Paul Chote
cf23c85834
Fix Mobile.IsMovingInMyDirection check.
...
self.Location returns mobile.ToCell, so the old
code would always return a dot product of 0.
2016-06-18 13:07:59 +01:00
Paul Chote
8a6bc1f6f1
Merge pull request #11308 from reaperrr/fix-11304-IsMoving
...
Fix IsMoving returning false when activity is a MovePart-derivative
2016-06-18 11:32:51 +01:00
Zimmermann Gyula
58a0e381a5
Expose ParachutableInfo.
2016-06-18 11:37:57 +02:00
reaperrr
2f1a6e8807
Add maximum and minimum range vs. target checks
...
This adresses the issue that actors would ignore the validity of weapons when deciding the attack distance versus a target. This could result in actors staying out of range of a weapon valid versus target if they carried a weapon with higher range but invalid versus target.
2016-06-16 20:39:45 +02:00
Paul Chote
eb5b50185c
Add IActorPreviewInitModifier interface.
2016-06-15 20:36:25 +01:00
Paul Chote
970caf38c6
Support dynamic initial turret facings.
2016-06-15 20:36:24 +01:00
teees
4fa3ecfafb
Add DynamicFacingInit.
2016-06-15 20:36:23 +01:00
teees
8724ed29bc
Support dynamic offsets in ActorPreviews.
2016-06-15 20:36:08 +01:00
Paul Chote
4c5429200e
Don’t double-notify passenger addition.
2016-06-15 20:35:22 +01:00
Paul Chote
3585d8afd4
Remove legacy installation logic.
2016-06-14 20:18:57 +01:00
teees
86eabeea3f
Add AttackOrderPower as Supportpower
2016-06-14 20:18:44 +02:00
Curtis Shmyr
f05c537491
Merge pull request #11447 from obrakmann/fix11446_fix-disabled-aa-tracking-targets
...
Fix disabled AA gun continuing to track targets
2016-06-13 18:08:51 -06:00
Oliver Brakmann
79fa3f731e
Merge pull request #11435 from reaperrr/remove-rotoroverlay
...
Remove WithSpriteRotorOverlay
2016-06-13 21:59:32 +02:00
Oliver Brakmann
3edc4da15c
Fix disabled AA gun continuing to track targets
2016-06-12 18:01:04 +02:00
abcdefg30
d97d02b97f
Merge pull request #11407 from reaperrr/ts-infantry-tweaks
...
Various TS infantry fixes
2016-06-12 14:42:12 +02:00
reaperrr
ce73faaa1f
Change WithDeathAnimation to look up string rather than integers
...
For DeathType sequence mapping.
2016-06-12 14:25:31 +02:00
reaperrr
0947e7bdd6
Introduce ExplosionOnDamageTransition
...
And use it for TS cyborgs.
2016-06-12 14:25:26 +02:00
reaperrr
e59a491c1b
Allow UpgradeOnDamage to grant permanent upgrades
...
Needed to properly implement things like permanently crippled weapons or limbs.
2016-06-12 14:25:23 +02:00
reaperrr
9def6b0f70
Merge pull request #11211 from Mailaender/debugcustomterrain
...
Added a CustomTerrainDebugOverlay
2016-06-12 11:53:47 +02:00
reaperrr
1adf887c75
Remove WithSpriteRotorOverlay
...
This is now redundant as WithIdleOverlay + upgrades can be used to completely replicate its functionality.
2016-06-11 17:43:10 +02:00
reaperrr
b1e331e7ec
Merge pull request #11364 from pchote/lobby-trait-options
...
Unhardcode the lobby options backend.
2016-06-11 13:40:09 +02:00