abcdefg30
7593cf3b63
Don't add duplicate facing entries when modifying the DeathActorInit in Turreted.cs
2016-07-04 18:32:01 +02:00
Oliver Brakmann
9ab2ce2362
Merge pull request #11520 from reaperrr/IdleWander
...
Make civilians wander around when idle
2016-07-04 11:50:35 +02:00
Matthias Mailänder
6148e8d8a3
Rename Stances to ValidStances.
2016-07-04 00:34:28 +02:00
Matthias Mailänder
a6e42823e5
Add WithTextDecoration.
2016-07-03 21:31:58 +02:00
Matthias Mailänder
9833a56e65
Merge pull request #11556 from pchote/gamespeeds
...
Port game speed selection to new lobby backend.
2016-07-03 20:55:09 +02:00
abcdefg30
430b654460
Merge pull request #11428 from reaperrr/attack-delay
...
Allow attack anims/overlays to start before weapons fire
2016-07-03 18:58:07 +02:00
Paul Chote
7caf636222
Port game speed selection to new lobby backend.
2016-07-03 15:46:08 +01:00
abcdefg30
6de12fb0e9
Add SpeechNotifications for InsufficientPower and Launch on support powers
2016-07-03 16:21:07 +02:00
Taryn Hill
3f6f918b3d
GivesBounty: Replace Stances with ValidStances
2016-07-03 08:50:55 -05:00
Taryn Hill
ec808ddc54
GivesExperience: Replace FriendlyFire with ValidStances
2016-07-03 08:50:54 -05:00
Matthias Mailänder
889bbcf428
Cache the palette lookup.
2016-07-03 14:41:15 +02:00
Matthias Mailänder
4325e1b400
Let pipImages tick using the appropriate interface.
2016-07-03 14:40:47 +02:00
Matthias Mailänder
3e5155fa7d
Cache pipImages in the constructor.
2016-07-03 14:40:14 +02:00
Matthias Mailänder
3a7558c273
Document and lint test pips and groups.
2016-07-03 12:26:29 +02:00
reaperrr
c8012baffb
Make all Attack* traits listen to Stop order
2016-07-02 16:02:00 +02:00
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
reaperrr
09e365bc4a
Fix Wanders to be usable on its own
...
Allows unarmed actors like civilians or harmless critters to wander around when idle.
Additionally made it upgradable.
2016-06-26 20:30:06 +02:00
Paul Chote
30dcbeb873
Remove legacy Move constructor.
2016-06-25 16:29:47 +01:00
reaperrr
c643a0abd6
Change AttackWander trait lookup
...
AttackMove is required and therefore can't be null, so the 'OrDefault' was redundant.
2016-06-25 12:42:42 +02:00
reaperrr
f5a0c7e425
Move AttackWander into root Traits folder
...
It's not really an Attack* trait, so it doesn't belong into that subfolder.
2016-06-25 12:36:35 +02:00
reaperrr
46ca650324
Fix initial Wanders delay
...
The previous 'fix' was apparently incomplete. This time it has been properly tested and works as intended.
2016-06-25 12:29:00 +02: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