rob-v
88a3656f0a
Fix Client tooltip crash in Lobby
2017-08-09 19:17:00 +01:00
Jean-Rémy Buchs
1d1802a163
Add LandOnCondition to the trait Aircraft which triggers a landing and prevents takeoffs while the condition is met
2017-08-08 15:13:50 -05:00
Oliver Brakmann
d61939f59f
Fix harv docking activities getting lost under certain circumstances
2017-08-07 10:45:45 +02:00
forcecore
d1328212c6
AttackFrontal's FacingTolerance is now in effect
2017-08-07 10:26:26 +02:00
reaperrr
d949e17b88
Perform FogObscures as late as possible
...
FogObscures is more expensive than simpler boolean, player or HasTraitInfo checks, so in these places it makes sense to perform the other checks first.
2017-08-07 09:42:12 +02:00
Matthias Mailänder
fdad5e2c48
Add weapon rules documentation.
2017-08-05 21:00:06 +02:00
Matthias Mailänder
1a54b36e2b
Cache shouldn't be exposed at all so drop it.
2017-08-05 21:00:06 +02:00
Matthias Mailänder
55ea54ff2d
Explain the color notation.
2017-08-05 21:00:06 +02:00
Matthias Mailänder
59d88199cf
Give Dictionaries a friendlier notation.
2017-08-05 21:00:06 +02:00
Matthias Mailänder
0a150bcc75
Move friendly type names into shared helper class.
2017-08-05 21:00:06 +02:00
reaperrr
879ab2ac1f
Remove redundant Disposed checks
...
IsDead returns true if Disposed is true.
2017-08-05 18:31:15 +02:00
Taryn Hill
57fb551545
Improve the exception message when a Bridge's DemolishWeapon cannot be found
2017-07-29 22:26:30 +02:00
reaperrr
8ee742d66a
Split MuzzleOffset and MuzzleOrientation calcs to protected methods
...
To make overriding easier for downstream traits inheriting Armament.
2017-07-29 22:14:58 +02:00
reaperrr
26be2a3e99
Split Burst updating to separate method
2017-07-29 22:14:58 +02:00
reaperrr
e847f49256
Split barrel firing to separate method
2017-07-29 22:14:58 +02:00
reaperrr
514bd12885
Merge some Armament CanFire checks
2017-07-29 22:14:58 +02:00
reaperrr
bdfa8a361b
Split Barrel can-fire checks to separate CanFire method
2017-07-29 22:14:58 +02:00
rob-v
97306f2bcd
Move DeveloperMode trait to Mods.Common
2017-07-23 15:08:24 +02:00
rob-v
d4e9e0e069
Add Visualization chat commands
2017-07-23 15:08:24 +02:00
reaperrr
94fa24088b
Add dedicated TDGunboat traits
...
And get rid of Mobile.OnRails hack.
2017-07-23 15:06:03 +02:00
Forcecore
0573f52a37
Add Railgun projectile
2017-07-21 23:18:38 +01:00
Paul Chote
0f54d6f709
Allow mod to be launched after installing required content.
2017-07-21 00:15:38 +02:00
Paul Chote
afd8b9ab86
Rework harvester resource claiming:
...
* Maintains lists of claims, and only restricts
reservations for friendly units.
* Removes OnNotifyResourceClaimLost; it's not
clear whether that is still useful, and it
prevents future necessary cleanups.
* Moves other code without changing behaviour.
This fixed stale claims from dead units and enemy
claims from preventing otherwise valid harvest
activities.
2017-07-18 01:09:19 +02:00
Jean-Rémy Buchs
488440197e
Add new trait ReloadArmamentsBar which renders a bar to show the current reload status
2017-07-16 14:58:00 +01:00
Paul Chote
4ffcd9b4a5
Add template type to editor coordinate label.
2017-07-16 13:12:13 +02:00
Paul Chote
72cf5d29e7
Add search bar to editor Template list.
2017-07-16 13:12:13 +02:00
Paul Chote
f1b54ece8a
Add search bar to editor Actors list.
2017-07-16 13:12:13 +02:00
Jean-Rémy Buchs
224ca78257
Fix crash in DistanceFromEdge if vector is too long
2017-07-15 17:49:29 +02:00
reaperrr
ace353cb84
Upgrade rule for Missile.TerrainHeightAware
2017-07-15 17:36:20 +02:00
reaperrr
7e8f920bc1
Allow disabling terrain height checks in Missile
...
This saves a good deal of performance for mods with no real height levels, including RA, TD and D2k.
2017-07-15 17:36:20 +02:00
reaperrr
86ab6e7ed3
Fix MoveWithinRange subcell consideration
2017-07-15 17:31:25 +02:00
reaperrr
b859b9ee43
Fix RotationPaletteEffect not working with player palettes
2017-07-15 11:19:09 +01:00
abcdefg30
0b6b997e81
Add a CommandBarBlacklist trait to blacklist Stop and Waypoint Mode
2017-07-14 23:18:28 +01:00
RoosterDragon
9413d9595c
Providing streaming AudFormat data.
...
AudFormat.GetPCMInputStream now returns data that is streamed, rather than a MemoryStream.
2017-07-14 23:02:49 +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
1b0ae1e512
Mention hard-coded 'Air' TargetType in CEWH.AirThreshod desc
2017-07-13 20:58:47 +02:00
reaperrr
65920a883f
Upgrade rule for CreateEffectWarhead ImpactTypes -> Targets
2017-07-13 20:58:47 +02:00
reaperrr
cf5abc68ad
Refactor CreateEffectWarhead ImpactTypes
...
Use target validity to simplify ImpactTypes.
2017-07-13 20:58:47 +02:00
reaperrr
afa9b9760e
Unhardcode AttackBomber bomb and gun logic
2017-07-13 19:12:16 +02:00
reaperrr
a1cb0cf002
AttackBomber style fixes
2017-07-13 19:12:16 +02:00
reaperrr
07edf2f7c6
Reset burst counter if ReloadDelay has passed since last shot
...
This fixes the following issues:
- units like mammoth tanks sometimes at first only fired 1 shot on new encounter because they only depleted 1 burst before previous target was killed
- weapons that use strafing logic would not reset the offset multiplier after passing the target once, leading to wrong offsets on following attacks
2017-07-13 19:12:16 +02:00
reaperrr
afa8d3522c
Add strafing support to weapons
2017-07-13 19:12:16 +02:00
reaperrr
d95d7e0b0f
Rename UseOccupiedCellsOffsets to UseTargetableCellsOffsets
...
With the introduction of the new 'u' BlockingUntargetable cell type, the old property name became inaccurate.
2017-07-13 17:43:41 +02:00
reaperrr
5bdb7bd689
Add OccupiedUntargetable FootprintCellType
...
For cells that are occupied & unpassable, but should be ignored by HitShape.UseOccupiedCellsOffsets.
2017-07-13 17:43:41 +02:00
reaperrr
fdb3866238
Remove FootprintUtils
2017-07-13 17:43:41 +02:00
reaperrr
46dc827d46
Refactor footprint cell lookups and move them to Building
...
Removing FootprintUtils happens in the next commit for better
reviewability.
2017-07-13 17:43:41 +02:00
Forcecore
801796b184
FIX game hanging when units with 0 min-range attack units at 0 range.
...
Fixes #13307
2017-07-12 20:51:35 +02:00
Jean-Rémy Buchs
6749060e57
Add RangeCircleMode to trait RenderRangeCircle
2017-07-12 00:10:52 +02:00
Paul Chote
e38db04ab7
Move Stylecop checks to their own helper executable.
2017-07-09 21:58:21 +02:00
Paul Chote
6e145f902b
Fix empty lobby faction tooltips.
2017-07-08 22:45:51 +02:00