reaperrr
ffca040c47
Moves traits from Common and Power namespaces to Common.Traits namespace
2014-12-11 23:21:31 +01:00
atlimit8
bbd54cb32f
Added IDisabledTrait & rewrote upgrade code using a level-based approach.
...
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked. The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality. A trait can register for multiple upgrade types which then all affect the internal level counter.
IDisabledTrait for identifying (and filtering) disabled traits
UpgradableTrait provides an abstract base for traits to support upgrade levels
Added IDisabledTrait support to GlobalButtonOrderGenerator
Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06:00
huwpascoe
a660bb95b5
Actor properties consistency improved
2014-11-21 02:44:05 +00:00
reaperrr
0cbcae93a9
Move Valued, CustomSellValue and CustomBuildTimeValue to Common
2014-11-14 01:01:46 +01:00
steelphase
3c60794e2e
Mods.Common Effects
...
Moved over more effects to Mods.Common
2014-10-06 01:57:10 -04:00
Paul Chote
c697a1e7b4
Add a UnitUpgradeManager trait.
...
This introduces support for timed upgrades, starting with crate buffs.
2014-10-01 21:28:45 +13:00
Paul Chote
2bbdd0ae06
Add self-healing for elite units.
2014-09-27 22:14:45 +12:00
Oliver Brakmann
da454de398
Complete ArmorModifier->DamageModifier rename
...
PR #6303 neglected to rename the "armor" upgrade to "damage" in all
necessary places, as mentioned in
https://github.com/OpenRA/OpenRA/pull/6303#issuecomment-53312209
2014-09-05 19:52:35 +02:00
reaperrr
9bb9f870d7
Improve accuracy on level-up.
2014-09-04 20:28:34 +02:00
reaperrr
4469b5f5ca
Introduces ReloadModifier
...
and renames ROF -> ReloadDelay
2014-08-19 02:59:50 +02:00
Paul Chote
de775e2f56
Reimplement unit levels using IUpgradable.
2014-08-07 20:44:28 +12:00
UberWaffe
c972b39687
Custom Warheads refactor
...
Changes included:
Warhead code split out of weapon code and refactored.
Warhead functionality now split into several classes, each handling one effect/impact.
Additional custom warheads can now be defined and called via yaml.
Custom warheads inherit the abstract class Warhead,
which provides target check functions.
Custom warheads have to define their own impact functions,
and can also define their own replacement for check
functions.
2014-08-03 17:10:44 +02:00
Taryn Hill
da001385ae
Added some trait [Desc()]s.
2014-07-12 13:31:14 -05:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
reaperrr
61edd6bc89
Adds separate LevelUpPalette to GainsExperience.
...
Needed for TS mod, as TS veteran crate effect anim uses a different palette than the rank chevrons.
2014-05-22 13:01:35 +02:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
reaperrr
a422f03c0a
Makes CrateEffect color palette customizable.
...
CrateAction can now define a custom Palette, levelup effect of GainsExperience uses ChevronPalette.
2014-04-28 21:03:59 +02:00
reaperrr
6ae4b74535
Makes rank chevron palette customizable.
...
Adds levelup crate-effect and art.
2014-04-24 19:25:30 +02:00
Paul Chote
943156aed3
Fix initial experience granting.
2013-12-08 21:11:43 +13:00
Matthias Mailänder
8a13cd6c6a
additional checks to avoid giving dead actors a rank sign
...
closes #4134
2013-11-17 23:28:02 +01:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Matthias Mailänder
22fec9faa7
don't add ranks for destroyed actors in the first place
2013-11-03 12:01:34 +01:00
Matthias Mailänder
bb57caef8d
separate Rank effect from GainsExperience
...
fixes #3957
2013-11-02 08:53:31 +01:00
Paul Chote
1ab4b9b72c
Fix the rank chevron size when zooming.
2013-10-16 19:12:59 +13:00
Paul Chote
8c0da26ae1
Remove PPos from GainsExperience.
2013-09-27 15:41:33 +12:00
Paul Chote
ad44610e5a
Replace dynamic Actor.Bounds with the (unchanging) relative rect.
2013-09-27 15:39:57 +12:00
Paul Chote
be7fc57cdd
Introduce IRenderable.IsDecoration and AsDecoration.
...
These are used to filter *Renderables that shouldn't
be copied for things like highlight or shadow.
2013-08-10 22:25:05 +12:00
Paul Chote
e122797a68
Convert CrateEffect to world coordinates.
2013-05-17 18:12:29 +12:00
Paul Chote
ca5f2c3785
Split Renderable into an IRenderable interface and SpriteRenderable implementation.
2013-05-17 18:12:28 +12:00
Paul Chote
d878c96343
Change Renderable to take centered positions.
2013-05-17 18:12:26 +12:00
Matthias Mailänder
95ec993134
Don't render unit ranks you are not supposed to see.
2013-05-13 23:42:49 +02:00
Paul Chote
707c86fbbb
Fix selection decorations being drawn behind fog.
2013-04-10 22:12:51 +12:00
Matthias Mailänder
c731a7960e
embed the previously manually edited outdated documentation
...
from https://github.com/OpenRA/OpenRA/wiki/Trait-Documentation
2013-03-20 21:20:27 +01:00
Bugra Cuhadaroglu
0d86595ba8
Ranks not showing in Replay Viewer
...
This will fix the problem.
2013-03-12 12:37:26 +13:00
Paul Chote
000a5eaa56
Pass WorldRenderer to IRenderModifiers and replace more palette lookups.
2013-02-24 15:45:03 +13:00
Paul Chote
f0ba0ce2e8
Wrap palette references with a PaletteRef object.
2013-02-24 15:43:15 +13:00
Matthias Mailänder
7a578a0679
notifications (formerly EVAalerts) centralized and race specific
...
outsourced into notifications.yaml
triggered with PlayNotification(...)
(v2: less redundant code for PlayVoice/Notifications)
added harvester under attack and battlecontrol terminated
2012-07-01 14:39:30 +12:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
0a88a6da8e
fix #1083 -- allow rank crate to give multiple levels
2011-10-04 23:19:41 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
6fd4b565c9
reinstate required hack in GainsExperience.InnerModifyRender
2011-05-23 22:16:21 +12:00
Chris Forbes
ccc245ded4
reintroduce Cached<T>; use for Actor.Bounds, Actor.ExtendedBounds, which replace Actor.GetBounds(bool)
2011-05-22 20:38:48 +12:00
Paul Chote
4f7074fdf9
Don't give a levelup crate if the unit can't gain experience
2011-05-22 19:32:53 +12:00
Chris Forbes
d86e0ec522
rename ITraitPrerequisite<T> to Requires<T>
2011-05-04 18:02:35 +12:00
Paul Chote
2d7f3086f6
Nits
2011-05-04 10:46:51 +12:00
Mike Bundy
3e04b17b46
Feature: Bounties added to Buildings/Units at 10% of value + 1.25 for each lvl
2011-04-09 11:04:59 +12:00
Paul Chote
b0425aff3b
Renormalize line endings and fix copyright headers again.
2011-04-07 21:15:42 +12:00
Chris Forbes
048386e6fa
add ExperienceInit (MapActor's 'Experience:' key, int)
2011-03-16 19:30:58 +13:00
Chris Forbes
516efa1dc8
remove another 11M/min from GainsExperience.ModifyRender
2011-03-05 22:17:51 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00