Commit Graph

48 Commits

Author SHA1 Message Date
reaperrr
98e48ae991 Converts InfDeath from integer to string.
Wire up updated DeathSounds for all mods.
2014-05-14 15:24:06 +02:00
reaperrr
18e37e4216 Drags death sounds out of RenderInfantry into a separate DeathSounds trait.
Play death sounds with a new PlayVoiceLocal so they don't use full volume regardless of position relative to camera.
Adds option for alternative burn and zap death sounds.
Renames RenderInfantry's UseInfantryDeath trait to SpawnsCorpse.

Removes hack from ra desert shellmap.
2014-05-02 15:14:29 +02:00
reaperrr
49b35dca6e Add UseInfantryDeath option to RenderInfantry trait.
This allows the use of RenderInfantry for units that do not have a Die voice or die sequences.

Additionally fixed Wolverine stand and shoot sequences.
2014-04-27 22:56:23 +02:00
Paul Chote
c223e23572 Remove RenderInfantry dependency on Mobile. 2014-03-19 14:28:38 +13:00
Taryn
9c4ad15d1e Changed most references of trait Mobile -> IMove.
In Mobile.cs IsMoving now has a public set as opposed to the initial internal. 
Added IMoveInfo interface to go with *Info classes that require IMove.
WithRotor now uses IMove.IsMoving instead of (self.CenterPosition.Z > 0) as part of a check.
2014-02-02 15:13:49 -06:00
ScottNZ
00ec1ca87a Remove unused usings 2013-11-12 19:39:33 +13:00
Paul Chote
ae86e20bc7 Add support for multiple stand animations. 2013-10-26 11:05:07 +13:00
Paul Chote
d0c5ab0ca3 Clean up style nits in RenderInfantry. 2013-10-26 11:05:07 +13:00
Matthias Mailänder
74c136b7e3 Merge pull request #3627 from pchote/muzzleflash
Improved Muzzleflash support
2013-08-03 02:20:46 -07:00
Paul Chote
755fa6eaf4 Include Armament and Barrel in INotifyAttack. 2013-08-03 16:21:57 +12:00
Paul Chote
03e09e25bb Fix turret facings for GTWR etc. Fixes #3610. 2013-08-03 12:45:21 +12:00
Paul Chote
c149898592 Separate IBodyOrientation from render traits. 2013-05-28 22:37:06 +12:00
Paul Chote
e7aa6ce998 Change traits to use RenderSprites directly. 2013-05-28 22:34:58 +12:00
Paul Chote
4d8dd2db7d Convert Corpse to world coordinates. 2013-05-17 18:12:29 +12:00
Paul Chote
fa5cf96f40 Ditto for Corpse. 2013-02-26 09:24:43 +13:00
Chris Forbes
3dc39b2c9d fixed #2167 -- silly inconsistency between InfDeath and dieN sequence numbering 2012-07-02 09:42:20 +12:00
Chris Forbes
2cdd1f7376 fix #2126 - crash on spawning a corpse for an actor which has already been destroyed 2012-06-21 09:50:02 +12:00
Chris Forbes
2bc260c833 move Activity from OpenRA.Traits.Activities namespace to OpenRA.Traits 2011-10-06 23:11:58 +13:00
Chris Forbes
55036cd58c fix trailing whitespace everywhere 2011-09-26 08:40:39 +13:00
Chris Forbes
833533b4c3 fix #1056 2011-08-09 08:51:35 +12:00
Paul Chote
7173d193cf Pass the sequence name to the Corpse effect instead of an InfDeath number. Only play death animations for standard deaths. 2011-07-15 20:10:21 +12:00
Chris Forbes
d86e0ec522 rename ITraitPrerequisite<T> to Requires<T> 2011-05-04 18:02:35 +12:00
Paul Chote
1c2574f4f4 Add an INotifyKilled interface, which is what most things that used INotifyDamaged actually cared about. 2011-04-16 10:58:35 +12:00
Paul Chote
18d73aef53 Split out RenderInfantryPanic. 2011-02-17 21:38:04 +13:00
Paul Chote
06bf38b526 Split out RenderInfantryProne 2011-02-17 21:10:44 +13:00
Paul Chote
6b80cfc9d4 Refactoring 2011-02-17 20:52:47 +13:00
Paul Chote
9a04a7fa9f Move IdleAnimation into RenderInfantry 2011-02-17 20:15:20 +13:00
Paul Chote
4a3d254c0c Start RenderInfantry rework. TODO: fix ra sequences, split Prone/Panicked into RenderInfantry* overrides, integrate idle anims. 2011-02-17 19:53:58 +13:00
Paul Chote
b6328b356c ScaredyCat trait for civilians. 2011-02-15 22:38:13 +13:00
Paul Chote
094907c1a9 Update copyright header. Normalize line endings to LF. 2011-02-13 10:38:57 +13:00
Paul Chote
f58f460355 Fix copypasta bogosity that mono accepts as valid code. 2010-12-01 13:19:09 +13:00
Paul Chote
2e7b5e8712 Fix moonwalking infantry 2010-11-30 14:17:39 +13:00
Paul Chote
2d224a207c Fix idle animations / prone. 2010-11-30 12:51:25 +13:00
Paul Chote
da74c6ad23 Add some logging to see what is going on. 2010-11-29 13:43:00 +13:00
Paul Chote
c7f1d08748 Some thoughts towards improving our bogus idle handling. Untested. 2010-11-29 13:15:44 +13:00
Bob
e7a07ea9c3 Add target param to INotifyAttack. Remove target field from AttackOmni 2010-11-14 16:03:01 +13:00
Bob
0d9cf63dd2 move Mobile et al into Mods/ 2010-10-22 11:31:13 +13:00
Bob
8e589e3c16 fix infantry anims 2010-09-22 13:32:58 +12:00
Paul Chote
ff0c66e38c Idle animations for infantry. Enabled for cnc e3. 2010-09-07 23:30:49 +12:00
alzeih
7a10ae3dea Some of fixing #36 2010-08-15 00:07:27 +12:00
Bob
ae703d50b2 Actor.traits is implementation detail 2010-08-14 17:39:49 +12:00
Paul Chote
711378d352 Polish cnc pyle & hand inf production; lays groundwork for future polish. Likely breaks every other production structure (untested). 2010-08-02 23:35:35 +12:00
Paul Chote
d29e3f3f0e Split facing into its own interface; fix husks 2010-08-01 01:01:31 +12:00
Paul Chote
207ee49da3 Move Facing and Altitude onto IMove impls, with associated pile of cleanups 2010-08-01 01:01:31 +12:00
Paul Chote
1459ec483c Rename ExtendedDamageState -> DamageState 2010-07-30 22:24:43 +12:00
Paul Chote
028c5b5201 Merge the two DamageState types 2010-07-30 22:24:43 +12:00
Chris Forbes
d5f12dd8ee trim down license spam in all files 2010-07-18 16:48:21 +12:00
Bob
fb6c44bce3 move render{building,buildingturreted,unit} into mods.ra; move all render traits into mods.ra.render 2010-07-08 17:24:12 +12:00