Commit Graph

86 Commits

Author SHA1 Message Date
atlimit8
faa1a49604 RallyPoint palette tracks owner 2015-10-30 20:09:39 -05: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
atlimit8
49d7604bd9 Cache WeaponInfo look-ups 2015-10-03 22:29:40 -05: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
RoosterDragon
1b1e4f1dd2 Merge pull request #9174 from reaperrr/radius-explode
Customizable impact victim scan radius
2015-09-30 20:28:17 +01:00
Pavel Penev
7fa7ebe657 Merge pull request #9384 from Mailaender/lint-player-palettes
Added a lint check for player palette references.
2015-09-27 18:44:55 +03: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
reaperrr
33dc50d29c Fix Bullet to consider DistanceAboveTerrain 2015-09-26 17:46:27 +02:00
atlimit8
74a9dc6793 Added IRangeMultiplier 2015-09-24 16:37:43 -05:00
Pavel Penev
cdd4590ece Merge pull request #8839 from RoosterDragon/test-sync-implementations
Test sync implementations
2015-09-24 15:17:33 +03: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
RoosterDragon
6b62aa1ad5 Add missing sync interfaces. 2015-09-21 22:17:06 +01:00
Paul Chote
ef55d646f7 Unstatic the Sound class. 2015-09-20 14:11:06 +01: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
atlimit8
45112cfa76 Remove redundant IBodyOrientation[Info] & replace with BodyOrientation[Info] 2015-09-15 22:57:08 -05:00
RoosterDragon
a1f6b83653 Speed up RepairIndicator.Render.
Check repairer count first, as this is quicker than checking fog visibility.
2015-09-06 21:06:02 +01:00
Matthias Mailänder
f60080e0ac Merge pull request #9186 from LavenderMoon/bleed
Combine Shrapnel into Bullet
2015-08-30 18:40:26 +02:00
Lavender Moon
81e5b7866b Combine Shrapnel into Bullet 2015-08-30 06:37:38 -04:00
Matthias Mailänder
9c1eeafa08 Merge pull request #9004 from reaperrr/quanbo
Introduce QuantizeFacingsFromSequence
2015-08-28 22:46:29 +02:00
Matthias Mailänder
5c2849a08f add a simple projectile with random sequences for debris effects 2015-08-24 21:05:37 +02:00
reaperrr
006e66a3c3 Refactored IQuantizeBodyOrientation implementation
Moved BodyOrientation and related interfaces from Game to Mods.Common.
Introduced QuantizeFacingsFromSequence trait.
With*Body render traits no longer implement IQuantizeBodyOrientation
themselves.
2015-08-24 00:48:56 +02:00
Matthias Mailänder
118782a85e check palette references 2015-08-17 21:36:45 +02:00
Matthias Mailänder
df206ddb18 unhardcode rallypoint sprites 2015-08-10 21:35:21 +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
Paul Chote
eeb101c040 Make Contrail fields readonly. 2015-08-01 14:19:09 +01:00
Matthias Mailänder
c8c0cc52b6 add missing sequence references and add spaces for readability 2015-07-19 19:24:18 +02:00
Taryn Hill
847ce0d3a7 Add some descriptions to BulletInfo. Unhardcode a sequence and a palette in Bullet. 2015-07-16 19:19:28 -05:00
Taryn Hill
b8973cd5e7 Add some newlines to BulletInfo for readability. 2015-07-16 19:10:43 -05:00
Matija Hustić
72e8e08f48 Step in the direction of RA2 paratroopers. 2015-07-14 20:39:06 +01: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
ed7b54a21e add a Lua controllable flash palette trait 2015-07-05 18:15:12 +02:00
abcdefg30
a4fd34558d Add a lua function for beacons 2015-06-28 01:25:37 +02:00
Matthias Mailänder
7faebe874a check for missing sequence entries using lint 2015-06-20 22:22:59 +02:00
Pavel Penev
a4f85c6201 Merge pull request #8300 from matija-hustic/withrank_trait
Rank effect moved to new trait
2015-06-11 04:54:08 +03:00
Matija Hustić
a4ac3ecd5f Rank moved to new trait. 2015-06-11 02:41:29 +01:00
Paul Chote
3994e1eec9 Use FogObscures(WPos). 2015-06-07 19:50:03 +01:00
Oliver Brakmann
206c33ed41 Merge pull request #8226 from pchote/actor-disposal
Dispose traits when destroying an actor.
2015-06-02 19:33:22 +02:00
Matthias Mailänder
ea5003cd2d add new long WRange.RangeSquared to avoid integer overflows 2015-05-31 23:51:30 +02:00