Commit Graph

62 Commits

Author SHA1 Message Date
reaperrr
122035c36c Remove Smoke effect and use SpriteEffect instead 2016-05-23 23:57:18 +02:00
reaperrr
bd2a24af55 Merge pull request #11223 from Mailaender/missile-dead
Cleaned up logically dead Missile code.
2016-05-08 14:09:27 +02:00
Matthias Mailänder
3d865d46e7 Removed logically dead code.
targetPassedBy is always true in this section
and - times - is +.
2016-05-05 10:19:38 +02:00
reaperrr
1258ddde7f Refactored Missile.RangeLimit from ticks to WDist
Changed default from 'unlimited' fuel to weapon range.
2016-04-30 16:02:15 +02:00
Paul Chote
59f5e24189 Simplify and fix missile turnaround facing check. 2016-04-23 17:14:56 +01:00
reaperrr
863772675b Merge pull request #11165 from pchote/fix-missile-flip
Fix missile facing check.
2016-04-23 15:15:59 +02:00
reaperrr
3dcb7bc02b Fix missiles not moving to CruiseAltitude if launched above it 2016-04-23 14:50:35 +02:00
Paul Chote
13cfd3699d Fix missile facing check. 2016-04-23 13:37:08 +01:00
Matthias Mailänder
3e536a61e6 targetPassedBy is always false here so avoid redundant check. 2016-04-17 14:30:22 +02:00
Paul Chote
65df25b1a4 Remove lazy loading of binary map data. 2016-03-18 20:16:24 +00:00
reaperrr
d3ca9e1733 Fix Smoke facings to not track spawner's facing 2016-03-12 13:12:42 +01:00
reaperrr
717a5063d9 Add facings support to projectile trails and SmokeTrailWhenDamaged 2016-03-05 13:49:07 +01:00
abcdefg30
85ee351d96 Merge pull request #10636 from reaperrr/missile-speed
Refactor naming of Missile's speed-related properties
2016-02-24 17:39:25 +01:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
reaperrr
462b8583a2 Refactor Missile speed nomenclature 2016-02-14 13:41:27 +01:00
reaperrr
8729f39154 Fix Missile projectile crashing with NRE if it has no Image 2016-02-13 01:06:22 +01:00
Paul Chote
b0bd252343 Move Util to Mods.Common. 2016-01-19 23:35:18 +00:00
Paul Chote
8a8368b97b Use .Yaw.Facing in Missile. 2016-01-16 22:38:17 +00:00
reaperrr
671f5af723 Unhardcode Missile freefall gravity 2016-01-01 15:52:12 +01:00
Matthias Mailänder
cd730914db Merge pull request #10119 from RoosterDragon/sort-effects-with-actors
Interleave renderables for effects and actors
2015-12-31 12:31:47 +01:00
Paul Chote
8771562e37 Reduce projectile search radius to match warheads. 2015-12-30 19:32:00 +00:00
Paul Chote
871d328c35 Fix collision detection for Missiles and Bullets. 2015-12-30 19:15:17 +00:00
reaperrr
c7b61799dc Make Bullet and Missile contrail ZOffset customizable
And give them a high default to avoid contrails "hiding" below large sprites.
2015-12-28 21:28:32 +00:00
Paul Chote
310222eb0e Use RgbaColorRenderer for rendering contrails. 2015-12-19 12:28:10 +00:00
RoosterDragon
bfe1804bf6 Fix some spellings. 2015-11-27 16:19:59 +00:00
reaperrr
1d020872ec Increase the default range of angles that missiles can launch at 2015-11-19 15:02:19 +01:00
Matija Hustić
7ca8d85771 Revert explosion condition to strictly less than zero 2015-10-24 18:20:18 +02:00
Matija Hustić
5fe7c4af4d Temporary fix for missiles launched from zero height 2015-10-16 10:22:58 +02:00
Matija Hustić
cd8a15271c Downward lookahead.
Added downward lookahead capability.
2015-10-11 22:15:30 +02:00
Matija Hustić
b9e57d33c3 Added lookahead, launch speed & angle computation.
The missiles should be more intelligent, avoiding cliffs,
surmounting inclines and flexibly selecting appropriate
launch speed and angle to avoid a close incline or miss
a close target.
2015-10-11 22:02:02 +02:00
Matija Hustić
41f57f2a15 Missile projectile refactor.
Introduces:

Vertical rate of turn
Customizable vertical launch angle
Delayed activation of the homing mechanism / propulsion
Freefall while propulsion deactivated
Customizable explosion altitude (for airburst)
Customizable cruise altitude (when target out of range)
Height checks for terrain impact and shadow rendering
Acceleration (instead of constant speed from launch to impact)
2015-10-11 22:02:01 +02:00
reaperrr
4cf27fc207 Replace duplicate BlockedByActor with BlocksProjectiles.AnyBlockingActorAt 2015-09-30 23:54:21 +02:00
reaperrr
7e1f29d4c5 Made BlocksProjectiles upgradable 2015-09-30 21:54:35 +02:00
Matthias Mailänder
defba7aece lint check player palette reference
and tell which actor is affected when a problem is found
2015-09-27 14:57:58 +02:00
Pavel Penev
0ac0fed15c Merge pull request #9340 from reaperrr/d2k-bal-weapons
Changed D2k health, armor types and weapon stats to match original
2015-09-22 23:55:25 +03:00
atlimit8
de7f5a4288 Make Range WDist for all traits with circular ranges. 2015-09-19 11:02:28 -05:00
reaperrr
8e737d09c1 Temporary work-around for D2k deviator missile
The lint check doesn't handle player palettes properly yet.
2015-09-19 17:40:01 +02:00
atlimit8
8162fa27ab Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types 2015-09-19 09:49:24 -05:00
atlimit8
85fab45451 Remove Actor.HasTrait<T>() 2015-09-19 09:49:23 -05:00
Matthias Mailänder
118782a85e check palette references 2015-08-17 21:36:45 +02:00
reaperrr
433eac34b5 Fixes missile shadow on elevated terrain 2015-08-08 20:14:05 +02:00
reaperrr
efc7915f4f Made projectile shadows heightmap-aware. 2015-08-03 23:36:16 +02:00
Matthias Mailänder
c8c0cc52b6 add missing sequence references and add spaces for readability 2015-07-19 19:24:18 +02:00
Matthias Mailänder
56e9bcd96e rename RangeSquard to LengthSquared 2015-07-09 21:16:01 +02:00
Matthias Mailänder
8d8d7ab8ea rename WRange to WDist in documentation 2015-07-09 12:36:29 +02:00
Matthias Mailänder
413baf9d8b rename WDist.Range to WDist.Length 2015-07-09 10:55:38 +02:00
Matthias Mailänder
7447e0bf93 rename WRange to WDist 2015-07-09 10:55:38 +02:00
Matthias Mailänder
7faebe874a check for missing sequence entries using lint 2015-06-20 22:22:59 +02:00
Paul Chote
3994e1eec9 Use FogObscures(WPos). 2015-06-07 19:50:03 +01:00