Commit Graph

273 Commits

Author SHA1 Message Date
Paul Chote
4f44cc1969 Load assets using absolute paths. Fixes #6717. 2014-10-11 11:02:30 +13:00
steelphase
628463f920 remove copy local
remove copy local from project references
2014-10-08 02:29:14 -04:00
Alexander Fast
08890b0994 Added IUtilityCommand and move default commands into Mods.Common. 2014-09-21 10:15:50 +12:00
Paul Chote
ff7b3541f4 Remove obsolete —upgrade-map-v5 and --setings-value commands. 2014-09-21 00:25:53 +12:00
reaperrr
0116bf169a Upgrade rule for Wall -> BlocksBullets + Crushable transition 2014-09-14 01:33:49 +02:00
reaperrr
46bc3418ea InfDeath -> DeathType upgrade rule fix 2014-09-13 17:21:31 +02:00
reaperrr
1b2ae9b4d4 Upgrade rules for WithDeathAnimation and Crushable renaming 2014-09-13 17:21:30 +02:00
Paul Chote
b009913e64 Clean up DuplicateUnitCrateAction. 2014-09-12 20:06:52 +12:00
Thijs Waalen
a9b5e1d911 LuaDocs spelling fixes 2014-09-06 19:29:37 +02: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
atlimit8
cc9c253419 Moved SellSounds from Building to Sellable & added upgrade to rules. 2014-09-04 15:25:19 -05:00
reaperrr
c17b284051 UpgradeRules for InfDeath -> DeathType renaming. 2014-08-30 18:06:07 +02:00
Matthias Mailänder
1ffa88a750 Merge pull request #6162 from UberWaffe/WeaponDiplomacyCheck
Closes #5618
2014-08-30 09:39:05 +02:00
ScottNZ
b70395e27c Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts. 2014-08-27 18:45:09 +12:00
UberWaffe
e3e5e9eb00 Adds Diplomacy keywords for ValidTarget checks.
Changes:

Allows diplomacy stance checks to be done on warheads and weapons, using keywords in ValidTargets and InvalidTargets.
2014-08-24 07:00:21 +02:00
Curtis Shmyr
083592e194 Add an update rule to replace RenderInfantryProne and RenderInfantryPanic with RenderInfantry 2014-08-23 14:44:05 -06:00
Matthias Mailänder
6bb392be11 Merge pull request #6303 from obrakmann/fix6263
Fixed invulnerable infantry
2014-08-23 10:28:15 +02:00
Oliver Brakmann
5c15fa2631 Fix a bad merge in UpgradeRules.cs 2014-08-23 10:15:13 +02:00
Paul Chote
fa3e7b5e1b Convert versus to integers. 2014-08-23 17:14:12 +12:00
Christopher Grant
774c8121c2 Fixed invulnerable infantry
Closes #6263
2014-08-23 00:04:16 +02:00
WolfGaming
d619fbfbbe Added a trait that removes an actor when prereqs are met, with delay. 2014-08-21 18:42:37 +00:00
reaperrr
f588b07f56 Upgrade rule for ROF > ReloadDelay renaming. 2014-08-19 02:59:51 +02:00
Matthias Mailänder
da7caa6105 Merge pull request #6183 from UberWaffe/6030Fix_UpgradeRules
Closes #6177
Closes #6222
Closes #6240
Closes #6245
2014-08-16 18:07:56 +02:00
UberWaffe
0904b6a1a4 Fixed UpgradeRules for #6030. 2014-08-16 10:58:01 +02:00
Paul Chote
7fb31dd3aa Upgrade mod rules. 2014-08-12 11:47:01 +12:00
Paul Chote
7e92ba9fdd Rename ProneSpeed to SpeedModifier in TakeCover. 2014-08-12 11:43:24 +12:00
Paul Chote
01cd6efbd0 Convert firepower modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Paul Chote
84d3497e96 Convert speed modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Paul Chote
0425416ce2 Convert damage modifiers to integer percentages. 2014-08-12 11:41:09 +12:00
Paul Chote
4fa55e6c49 Fix legacy map importer. Fixes #6143. 2014-08-09 13:14:25 +12:00
Paul Chote
58b39616f6 Merge pull request #6193 from obrakmann/fix6045
Fix breakage of --upgrade-map in OpenRA.Utility
2014-08-09 12:52:15 +12:00
Oliver Brakmann
c9ee475ca9 Added upgrade rules 2014-08-08 13:35:50 +02:00
Paul Chote
1a4f476ffa Replace CloakCrateAction with upgrades. 2014-08-07 20:44:30 +12:00
Paul Chote
de775e2f56 Reimplement unit levels using IUpgradable. 2014-08-07 20:44:28 +12:00
Oliver Brakmann
229f17ab85 Fix breakage of --upgrade-map in OpenRA.Utility
Closes #6045
2014-08-06 13:39:28 +02:00
Taryn Hill
c3c5cd04cc Write trait requirements in documentation. 2014-08-03 21:37:37 -05:00
Chris Forbes
c482e97060 Merge pull request #6152 from Mailaender/money-crate
Added money crates to be spawned by destroyed supply trucks
2014-08-04 10:39:29 +12:00
Taryn Hill
b6fd757672 Merge pull request #6030 from UberWaffe/CustomWarheads
Custom Warheads refactor
2014-08-03 10:35:36 -05: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
Matthias Mailänder
98106e2ff7 ContainsCrate is redundant to LeavesHusk 2014-08-03 16:30:45 +02:00
ScottNZ
692e3a9c88 Move Power out of Building and into its own trait
Conflicts:
	mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
Paul Chote
a7fc41b87e Merge pull request #5943 from pavlos256/fieldloader
Fieldloader and non-public fields
2014-07-24 20:29:25 +12:00
UberWaffe
2b73fa027b Fixes as per comments. (+1 squashed commits)
Squashed commits:

[c3abf4b] Fixes as per comments. (+1 squashed commits)

Squashed commits:

[a289d17] Regression and UpgradeRules fix for #5921.
2014-07-23 16:47:15 +02:00
Matthias Mailänder
7d0f4a261f don't break apart when using empty IReadOnlyDictionary 2014-07-20 14:50:38 +02:00
Pavlos Touboulidis
e9dd0b0fab Make FieldLoader/FieldSaver able to work with private fields
* Unify the FieldLoader-related attributes (Ignore, LoadUsing,
FieldFromYamlKey) into a new 'Serialize' attribute. Keep the
previous attributes as shortcuts/aliases to the new attribute.

* Add 'YamlName' field to the new 'Serialize' attribute to allow
yaml names different from the field names. Example:
    [Serialize(YamlName = "Width")]
    private int widthExpression = "0";

* The FieldLoader will treat private fields like public now and
will try to load their values. The FieldSaver gets an optional
parameter specifying whether to save private fields by default.
The 'Serialize' attribute can be used to fine-tune individual
fields.

* Updated the traits documentation exporter to write the yaml
name if it has been overriden.
2014-07-12 04:33:36 +03:00
Matthias Mailänder
91a076728d generalize into SpawnActorPower
closes #5724
2014-07-07 15:27:54 +02:00
Paul Chote
ab26d4b0ad Overhaul ParatroopersPower:
- Adds support for multiple drop planes.
- Adds support a beacon and camera.
- Prevents the plane from circling if it can’t unload.
2014-07-08 00:30:38 +12:00
Paul Chote
59bea931a5 Use AirstrikePower for spy planes. 2014-07-07 17:40:51 +12:00
Matthias Mailänder
394d635dae new trait WithMakeAnimation 2014-07-06 08:24:08 +02:00
Matthias Mailänder
ef01fb289b make the parachute animation optional
instead of hard-coding default sprite sequences
2014-07-05 09:13:52 +02:00