reaperrr
f1a9a5180d
Use real (milli)seconds for notifications
...
Allows for more fine-grained control, while
adding independence from gamespeed and getting
rid of magic * 25 multiplications.
2021-04-21 19:34:16 +02:00
Paul Chote
e63b9b4986
Add condition support to ActorLostNotification.
2021-03-20 17:07:29 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
abcdefg30
10f645bf77
Replace usage of the Stances dict by a method call
2020-11-14 11:04:41 +00:00
abcdefg30
eda9966d27
Rename Stance to PlayerRelationship
2020-11-14 11:04:41 +00:00
teinarss
13581c030d
Use in parameter for Target
2020-11-06 22:02:24 +01:00
Mustafa Alperen Seki
3e83346915
Add DamageTypes to SoundOnDamageTransition.
2020-09-27 21:22:52 +01:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
Matthias Mailänder
672bd2d9fe
Don't crash when putting the trait on the World actor.
2020-05-24 12:36:26 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
abcdefg30
1bb319425b
Add Sound.Play overloads that play a random sound from a list
2019-04-20 01:22:30 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
7c2f8ef918
Update the description of EnemyWatcher and AnnounceOnSeen
2019-02-22 14:32:16 +01:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
1b9f23eca0
Replace AnnounceOnBuild with VoiceAnnouncement.
2018-11-03 15:09:14 +01:00
Paul Chote
7e67ce0139
Pass CaptureTypes through the INotifyCapture interface.
...
Also make it require explicit implementation.
2018-11-03 14:47:22 +01:00
Andre Mohren
cc036cfd62
Implement AnnounceOnBuildInfo.OnlyToOwner
2018-10-27 15:21:33 +02:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Zimmermann Gyula
813e53f823
Fix deathsounds regression.
2018-07-29 09:13:53 -07:00
Chris Forbes
d4ef841678
Convert masses of HashSet<string> to BitSet<DamageType>
2018-07-28 20:12:42 +01:00
reaperrr
83f100618b
Make INotifyAppliedDamage require explicit implementation
2018-04-29 11:59:49 +01:00
reaperrr
3a82b13093
Make INotifyKilled require explicit implementation
2018-04-29 11:59:49 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +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
1e63013eb1
Add support for random sounds to AmbientSound
2017-04-22 14:36:55 +02:00
Paul Chote
f219d40aa1
Improve support for overlapping sounds.
2017-02-11 16:19:58 +00:00
reaperrr
e23a866979
Move RandomDelay from AmbientSound to Util
2017-02-04 12:31:11 +01:00
Paul Chote
647ee841b4
Overhaul AmbientSound trait.
2017-02-03 22:01:12 +00:00
Paul Chote
ba9927d34e
Add Condition support to WithDeathAnimation / DeathSounds.
2017-01-29 18:57:36 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
268ed016ab
Rename UpgradableTrait to ConditionalTrait.
2016-12-23 23:28:34 +00:00
Paul Chote
9ddfdc45b3
Introduce SoundType enum.
2016-12-23 11:34:23 +00:00
reaperrr
77a134da91
Move INotifyDamageStateChanged to mod code and require explicit implementation
2016-10-22 18:21:52 +02:00
reaperrr
a6b09342bc
Make INotifyBuildComplete require explicit implementation
2016-10-22 18:21:52 +02:00
Zimmermann Gyula
cf8fff2b99
Remove passing the warheads from DamageWarhead to AttackInfo.
...
Added a Damage class to pass damage value and damage(types) instead.
This removes a great amount of overhead and longterm opens possibilities to have damagetypes without warheads.
2016-07-12 10:09:49 +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
abcdefg30
af3d8d4860
Add support for playing a "LoseNotification" to the old owner through CaptureNotification
2016-04-17 16:17:32 +02:00
abcdefg30
a1d39b0a42
Document the existing fields in CaptureNotificationInfo
2016-04-17 15:29:27 +02:00
abcdefg30
c8cfb10ab1
Reduce the usage of different ways to determine the new owner
...
We don't need the LocalPlayer check if we only play the sound to the new owner,
and captor.Owner == newOwner in this case.
2016-04-17 15:26:53 +02:00
Matthias Mailänder
be3ea7b79e
Move audio traits into Sounds namespace.
2016-04-10 22:34:10 +02:00
Matthias Mailänder
c4475539a1
Move CaptureNotification into Sounds sub-folder.
2016-04-10 22:33:37 +02: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
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
abcdefg30
642e213049
Fix DeathSounds not working without DeathTypes defined
2015-12-04 22:06:16 +01:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
reaperrr
bbf5a4a06d
Make AmbientSound upgradable and add customisable interval
2015-10-31 13:43:57 +01:00