Commit Graph

64 Commits

Author SHA1 Message Date
Matthias Mailänder
399e451ada Add a DamagesConcreteWarhead to remove buildable concrete. 2018-09-15 15:36:12 +02:00
Paul Chote
6fdb25b48f Fix yaml formatting. 2018-05-12 16:42:54 +02:00
Alexis Hunt
08ad7d7f4e Refactor handling of hit radii in projectiles.
penev discovered that the RulesetLoaded functions of projectiles were
never being called, meaning that their blocking calculations were not
properly accounting for actors with large hitboxes.

The best fix for this is to change FindActorsOnLine to always account
for the largest actor's hit radius, rather than forcing callers to pass
the largest radius. Per the comment in Util.cs, as a result, move this
computation to ActorMap. I decided to simplify by not making a separate
calculation for actors that block projectiles only; this may cause a
small performance degradation as the search space is a bit larger.

Similarly to this, I've removed the ability to specify a search radius
manually. Because this is only a search radius, setting a value smaller
than the largest eligible actor makes no sense; that would lead to
completely inconsistent blocking. Setting a larger value, on the other
hand, would make no difference.

CreateEffectWarhead was the only place in core code any of these search
radii were set, and that's because 0 was a mysterious magic value that
made the warhead incapable of hitting actors. I replaced it with a
boolean flag that more clearly indicates the actual behaviour.

Fixes #14151.
2018-02-21 23:26:41 +01:00
Mustafa Alperen Seki
a45e0d9d0a Seperate Imperial and Harkonnen Sardaukars 2018-02-06 21:20:00 +01:00
Arular101
50185d3ccd Small adjustments 2017-12-12 23:56:25 +01:00
Arular101
64a3187fd1 Increase damage and HP by 10x 2017-12-12 23:56:25 +01:00
Matthias Mailänder
d64a9e6afc Add Devastator reactor overload upon deployment 2017-10-06 18:14:17 +02:00
C. Helmig
80b69af30c d2k: sonic weapon fix.
Works around buggy friend-foe discrimination (/Falloff) for sonic weapon. Damage values closer to original game. (Fixes #13850)
2017-08-23 13:02:54 +02:00
reaperrr
7704ae655e Apply BurstDelays rename to D2k 2017-08-20 20:48:25 +02:00
reaperrr
70b43222fe Adapt D2k AA missiles to CEWH refactor 2017-07-13 20:58:47 +02:00
reaperrr
4823d5454d Disable effect warhead victim scans in D2k
They are always displayed unconditionally anyway.
2017-06-25 22:40:12 +02:00
reaperrr
522a29f1e4 Reduce Ornithopter damage vs buildings
Especially larger ones.
2017-06-24 11:11:56 +01:00
abcdefg30
e37667efb6 Merge pull request #12606 from reaperrr/forward-bombs2
Add forward movement support to GravityBomb
2017-04-11 13:07:15 +02:00
reaperrr
4fdda9efd2 Remove wrong space and 2nd free line from d2k yamls 2017-03-31 10:55:01 +02:00
reaperrr
5b617cf6e5 Refactor GravityBomb velocity/acceleration 2017-03-29 19:30:51 +02:00
Mustafa Alperen Seki
5ccfcb1cb9 Remove Sonic Tanks' immunity to other friendly sonic tanks. 2017-03-26 10:15:19 +02:00
reaperrr
4c02112cc6 Tweak Ornithopter bombs
In the original,
- they were slower
- didn't accelerate
- had a shadow
- were dropped at lower rate
- played EXPLSML4.WAV

compared to bleed.
2017-02-25 21:14:43 +01:00
abc013
a73e7e6103 Adjust the drop-position of the air strike in D2k 2017-02-25 21:03:53 +01:00
reaperrr
6cd6cedd2c Tweak D2k debris
- Enabled shadow
- reduced maximum speed
- considerably increased 'launch angle'
- increased bounce count to 3 and toned down BounceRangeModifier
- reduced TrailInterval to 1 for Debris2
- removed explosion sounds to a) match original and b) make them less annoying
- fixed debris explosion animations to match original
- used different trail anim for Debris2 and Debris3
2017-02-14 01:56:22 +01:00
reaperrr
9b34aa4d6b Set up D2k wall explosion 2017-02-14 01:56:19 +01:00
reaperrr
6745cf402d Remove explosion sound from Fremen weapon 2017-02-12 22:50:29 +01:00
reaperrr
03a5e7ff4e Make Quad Rocket speed a multiple of 32 2017-02-12 22:28:55 +01:00
reaperrr
c4fc8f55bc Make D2k large missile speeds consistent 2017-02-12 22:27:52 +01:00
reaperrr
84dedd4237 Only play explosion sound for Missile Tank and Tower in D2k
But not on Bazooka and Quad's Rocket.
2017-02-12 22:27:09 +01:00
reaperrr
87d5a17a18 Fix explosion sound, speed and angle of D2k grenade 2017-02-12 22:13:09 +01:00
reaperrr
194a386a66 Remove unused Heal weapon from D2k 2017-02-12 01:25:47 +01:00
reaperrr
be6aaa0da5 Use InstantHit projectile for d2k BloomExplosion 2017-02-12 01:24:16 +01:00
reaperrr
0176fa5ff3 Remove redundant Blockable from DevBullet 2017-02-12 01:23:42 +01:00
reaperrr
69eaa16726 Make D2k machine guns unblockable and instant hits
To match original.
2017-02-12 01:20:03 +01:00
Paul Chote
cc3c618d60 Play spurt animation on each growth step. 2017-02-05 13:28:00 +00:00
reaperrr
c057acba7a Use TargetDamage for D2k WormJaw 2017-01-30 21:22:11 +01:00
abcdefg30
48cee8c426 Disable the SpreadDamageWarhead of WormJaw 2017-01-29 11:08:31 +01:00
Mustafa Alperen Seki
4601331f7f Add bouncing to D2K Debris. 2017-01-24 15:04:29 +02:00
reaperrr
9dab3d57f4 Remove explosion sound from D2k gun turret weapon
It was soundless in the original, and the sound is a bit annoying, too.
2017-01-19 22:48:14 +01:00
reaperrr
c67735626c Slim down D2k CrateNuke via inheritance 2017-01-19 22:43:30 +01:00
reaperrr
983047f78a Slim down D2k missile weapons via inheritance 2017-01-19 22:43:30 +01:00
reaperrr
dc4073009d Slim down D2k miniguns via inheritance 2017-01-19 22:43:30 +01:00
reaperrr
b1aa1bc2c1 Slim down D2k cannon weapons via inheritance 2017-01-19 22:43:30 +01:00
reaperrr
6d56d3485b Slim down D2k Debris weapons via inheritance 2017-01-19 22:43:30 +01:00
reaperrr
b77b67e560 Fix Trike/Raider muzzle flashes
Armament requires a projectile to fire.
2017-01-07 15:12:20 +01:00
reaperrr
4f2c360cb9 Use Explodes instead of WithBuildingExplosion in D2k 2016-12-10 13:45:12 +01:00
reaperrr
20cd2aa4ab Rename Bullet Angle to LaunchAngle 2016-10-22 17:57:32 +02:00
Zimmermann Gyula
0f368bf6c3 Update the default mods excluding veins in TS. 2016-07-26 23:18:54 +02:00
reaperrr
5df32e6d2a Fix smudges in D2k to not spawn or grow when hitting vehicle or structure 2016-07-07 20:51:21 +02:00
reaperrr
170fdc89e3 Rename Bullet Trail to TrailImage 2016-05-31 15:05:26 +02:00
reaperrr
cee5ec4754 Give large D2k missiles a ballistic flight curve 2016-05-15 16:38:34 +02:00
reaperrr
2c7fe90532 Use 'true' instead of 'yes' on all D2k booleans 2016-05-15 16:38:02 +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
reaperrr
5905e75d95 Fix D2k deviator not taking effect
The warhead's scan range was lower than both the missile inaccuracy as
well as the Missile CloseEnough value of 298, so it almost never had an
effect.
2016-03-20 13:07:13 +01:00
reaperrr
08034fa7e0 Upgrade D2k missile rules 2016-02-14 13:43:45 +01:00