Commit Graph

35 Commits

Author SHA1 Message Date
Pavel Penev
8c394a4cb5 Created FlashPaletteEffectWarhead and removed the hardcoded flashing from NukeLaunch
Not actually hardcoded, but there was a hard dependency in NukeLaunch on FlashPaletteEffect and explicit flashing checks.
2020-07-10 13:22:54 +02:00
reaperrr
f132bac80d Add Tree armor type and remove tree-only warheads
This simplifies #12467.
Using a tree-exclusive amor type is far more efficient
than adding more warheads, which cost performance
due to their huge Spread

This also restores the 100% efficiency vs. trees for
some of the incendiary nuke warheads (which have
reduced efficiency vs. Wood since #13643).

Note: Atomic had two tree-only warheads with a Delay
of 15, I believe the first one to be a copy-paste error
and moved the damage to the regular SpreadDamage
with a Delay of 10.
2020-05-26 22:51:29 +02:00
reaperrr
e40c0516e6 Adapt RA warheads to new target types 2020-05-24 13:26:40 +02:00
reaperrr
c580a94ab7 Fix RA weapon ValidTargets 2020-05-24 13:26:40 +02:00
Pavel Penev
93bec9e430 Updated the default mods' weapons 2020-01-24 13:09:37 +01:00
Punsho
38f5d2c100 RA balance changes for September 2019 2019-10-05 11:03:06 +01:00
Punsho
70dc053c5f RA balance changes 2019-07-20 12:09:54 +01: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
a021bd4584 Remove ^Tank default from RA mod 2018-01-06 12:08:25 +01:00
Arular101
e049452f22 Increase damage and HP by 100x 2017-12-12 20:50:27 +01:00
reaperrr
20efd1fc29 Fix RA effect waheads
- take Trees into consideration (they don't have Ground TargetType)
- fixed the delayed effect warheads on Vulcan
2017-08-07 11:01:21 +02:00
SoScared
9097837e6d Adjust AoE damage vs Wood in relation to HitShapes 2017-07-18 00:59:25 +02:00
SoScared
bfca4897ea Visual, Polish/Performance and Balance Tweak 2017-07-17 23:37:04 +02:00
reaperrr
db16165261 Adapt RA explosions, supers and other weapons to CEWH refactor 2017-07-13 20:58:47 +02:00
reaperrr
fa02c97111 RA Parabombs balance fix
They're too over-powered on bleed due to the hitshap changes.
2017-07-13 19:12:16 +02:00
reaperrr
4afe9dd248 Enable RA ParaBomb shadow 2017-07-13 19:12:16 +02:00
reaperrr
e0abf8ed27 Disable effect WH victim scans in RA where sensible
AA missiles, flame weapons and nukes, pretty much, because they always
display the effect regardless of what they hit.
2017-06-25 22:40:12 +02:00
reaperrr
5b617cf6e5 Refactor GravityBomb velocity/acceleration 2017-03-29 19:30:51 +02:00
SoScared
d314b22203 nukemoretrees 2016-12-11 19:21:41 +01:00
reaperrr
1886bad107 Make smudges in RA not spawn/grow below vehicles and structures
Also walls, trees and husks in most cases.

Note: Differences between warheads are intentional.
Note2: Some smudge WHs were removed instead when the weapon was purely anti-air or anti-water.
2016-07-07 20:51:21 +02:00
Oliver Brakmann
916f2ea2ea Merge pull request #11382 from reaperrr/projectile-streamlining
Moved projectiles to their own namespace and streamlined property names
2016-06-04 15:00:08 +02:00
reaperrr
a320ca89a6 Rename GravityBomb Velocity to Speed
Mostly to make switching between projectiles a little easier for modders, and to potentially save some upgrade rule overhead if sprite projectiles are refactored to share a common code base.
2016-05-31 15:05:33 +02:00
Matthias Mailänder
a85a8f09c7 Add burning trees to Red Alert. 2016-05-29 23:26:56 +02:00
Oliver Brakmann
38ccc4aff9 Change nukes to be able to damage submerged submarines 2016-03-13 15:53:33 +01:00
Pavel Penev
489ee9fc54 Add support for multiple impact sounds to CreateEffectWarhead
Have the engine pick one impact sound at random from the provided list.
2016-01-31 16:22:47 +02:00
Pavel Penev
7e3ec91d30 Add support for multiple explosions to CreateEffectWarhead
Have the engine pick one explosion at random from the provided list.
2016-01-31 16:22:09 +02:00
Paul Chote
9f7f759da4 Fix filename case on weapon reports. 2016-01-17 19:24:40 +00:00
Paul Chote
4f1d8b7ac9 Remove spurious final newline from mod files. 2016-01-02 20:06:53 +00:00
Paul Chote
04a71f4dc5 Revert "Fix fallrates for parachutable things to match lowered release altitude"
This reverts commit f7a02eeca5.
2015-07-25 23:31:38 +01:00
penev92
1c44fcbad4 Add upgrade rules to remove DamageWarhead.DeathType
and replace it with proper DamageTypes
2015-05-24 00:15:09 +03:00
penev92
ea01439377 Add an upgrade rule for DamageWarheads 2015-04-26 14:29:10 +03:00
reaperrr
6b7ffdc1b7 De-hardcoded GravityBomb idle and opening sequence
Avoid checking for sequence if Image is null.
2015-04-10 00:39:34 +02:00
Oliver Brakmann
f7a02eeca5 Fix fallrates for parachutable things to match lowered release altitude 2015-04-05 12:23:32 +02:00
reaperrr
1cc900b269 Yaml style fixes to reduce future --upgrade-mod "noise" a little 2015-03-27 00:11:32 +01:00
reaperrr
477dbbd532 Splits RA weapons.yaml into multiple roughly categorized files 2015-03-01 22:11:45 +01:00