reaperrr
2f67a88b93
Move Armament, Attack* and various other traits to Traits namespace
2014-12-26 21:38:48 +01:00
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
Paul Chote
67e3c74d31
Allow armaments to be enabled/disabled by upgrades.
2014-09-27 14:59:15 +12:00
Paul Chote
caecf2d82a
Move inaccuracy modifier queries outside the projectile ctors. Fixes #6449 .
2014-09-20 21:43:00 +12:00
Paul Chote
57ba1b54b4
Convert weapon plumbing to use integer damage modifiers.
2014-08-23 17:14:10 +12:00
reaperrr
4469b5f5ca
Introduces ReloadModifier
...
and renames ROF -> ReloadDelay
2014-08-19 02:59:50 +02:00
Paul Chote
01cd6efbd0
Convert firepower modifiers to integer percentages.
2014-08-12 11:41:09 +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
atlimit8
d1b0dce751
Applied VWec[] yaml loader
2014-07-30 22:59:15 -05:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
reaperrr
7ba00ced5a
Make MuzzleFlash palette customizable.
2014-05-03 15:38:34 +02:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
1b2a90c00c
Migrate to System.Lazy.
2014-04-09 20:20:41 +12:00
Matthias Mailänder
67cd0645a4
update to .NET 4.0
2014-04-09 20:20:26 +12:00
Paul Chote
387a5ded4b
Add AttackGarrisoned for allowing passengers to shoot outside. Fixes #4483 .
2014-03-21 10:03:53 +13:00
Paul Chote
d7d00fffef
Move MuzzleFlash definition onto Armament.
2014-03-21 10:03:53 +13:00
Paul Chote
0ca7ee280f
Move unwanted AttackBase logic to the individual Armaments.
2014-03-21 10:03:53 +13:00
Paul Chote
ecdae4cbbe
Convert weapons to world coords.
2013-12-26 19:45:12 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Paul Chote
47209f5848
CarpetBomb -> AttackBomber.
2013-11-01 17:47:30 +13:00
Matthias Mailänder
5f8d8beec1
sync bullets and missiles
...
to investigate desyncs
StyleCop clean WeaponInfo and friends
2013-08-29 17:37:35 +02:00
Paul Chote
755fa6eaf4
Include Armament and Barrel in INotifyAttack.
2013-08-03 16:21:57 +12:00
Paul Chote
df46ffeb84
Convert ProjectileArgs to world coords.
2013-08-01 20:18:41 +12:00
Paul Chote
c3f04cc32e
Convert non-aircraft positioning to world coords.
...
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
ecc119cb29
Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable.
2013-07-21 17:33:32 +12:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Paul Chote
87361df043
Centralize weapon validity check into WeaponInfo.
2013-07-08 23:40:21 +12:00
Paul Chote
9eaeeffae9
CenterLocation.ToCPos() -> CenterPosition.ToCPos().
2013-07-08 21:52:26 +12:00
Paul Chote
3a0f6dda08
Use Target range checks in Armament.
2013-07-06 19:12:26 +12:00
Matthias Mailänder
cdeea80037
replaced Dune 2000 AUD with original WAV
...
removed *.aud hard-coding everywhere
2013-06-15 19:41:07 +02:00
Paul Chote
eff46cf40d
Add a Name field to Armament for other traits to reference.
2013-06-04 20:25:20 +12:00
Paul Chote
53aa698491
Rename LocalCoordinatesModel -> BodyOrientation.
2013-05-28 22:34:59 +12:00
Paul Chote
5e74d3c54e
Remove legacy turret/muzzle positioning code.
2013-03-29 22:04:21 +13:00
Paul Chote
79d51f0ce2
Auto-detect offset coordinate type.
2013-03-29 20:42:57 +13:00
Paul Chote
bb6a1ed6e0
Introduce world offsets for turrets & armaments.
2013-03-29 20:42:56 +13:00
Paul Chote
27d852a425
Rename legacy offset coordinates on Turrets and Armaments.
2013-03-29 20:39:27 +13:00
Matthias Mailänder
a682670b97
update developer commentary
...
for weapon traits, crates and palettes
clarify that you don't need to update the wiki page manually
2013-03-27 09:22:23 +01:00
Paul Chote
0167bbfbaa
Move weapon/turret definitions out of AttackBase.
...
Weapons are now defined with the Armament trait
and turret parameters live in Turreted.
This has the side effect of allowing any number
and distribution of weapons and turrets.
2013-03-24 11:58:45 +13:00