Commit Graph

2720 Commits

Author SHA1 Message Date
reaperrr
40e5dfbedb Fix helicopters not returning when all valid weapons are out of ammo
They now return if all weapons are invalid (which includes those that are otherwise valid, but out of ammo) and at least one AmmoPool needs reloading at RearmBuilding.
2016-06-23 14:47:42 +02:00
reaperrr
4f55b088eb Check if weapon without self-reloading is out of ammo when deciding validity
This should prevent attacking helicopters (or other actors) staying at the range to target of a weapon that is out of ammo and needs manual reloading at a RearmBuilding or via upgrades.
2016-06-23 14:47:41 +02:00
reaperrr
2f1a6e8807 Add maximum and minimum range vs. target checks
This adresses the issue that actors would ignore the validity of weapons when deciding the attack distance versus a target. This could result in actors staying out of range of a weapon valid versus target if they carried a weapon with higher range but invalid versus target.
2016-06-16 20:39:45 +02:00
Curtis Shmyr
f05c537491 Merge pull request #11447 from obrakmann/fix11446_fix-disabled-aa-tracking-targets
Fix disabled AA gun continuing to track targets
2016-06-13 18:08:51 -06:00
Oliver Brakmann
79fa3f731e Merge pull request #11435 from reaperrr/remove-rotoroverlay
Remove WithSpriteRotorOverlay
2016-06-13 21:59:32 +02:00
Curtis Shmyr
348d49cd5b Merge pull request #11404 from obrakmann/fix11246_getexternalip-nres
Fix NREs in LobbyUtils.GetExternalIP
2016-06-12 13:52:18 -06:00
Oliver Brakmann
3edc4da15c Fix disabled AA gun continuing to track targets 2016-06-12 18:01:04 +02:00
abcdefg30
d97d02b97f Merge pull request #11407 from reaperrr/ts-infantry-tweaks
Various TS infantry fixes
2016-06-12 14:42:12 +02:00
reaperrr
ce73faaa1f Change WithDeathAnimation to look up string rather than integers
For DeathType sequence mapping.
2016-06-12 14:25:31 +02:00
reaperrr
0947e7bdd6 Introduce ExplosionOnDamageTransition
And use it for TS cyborgs.
2016-06-12 14:25:26 +02:00
reaperrr
e59a491c1b Allow UpgradeOnDamage to grant permanent upgrades
Needed to properly implement things like permanently crippled weapons or limbs.
2016-06-12 14:25:23 +02:00
reaperrr
9def6b0f70 Merge pull request #11211 from Mailaender/debugcustomterrain
Added a CustomTerrainDebugOverlay
2016-06-12 11:53:47 +02:00
reaperrr
1adf887c75 Remove WithSpriteRotorOverlay
This is now redundant as WithIdleOverlay + upgrades can be used to completely replicate its functionality.
2016-06-11 17:43:10 +02:00
reaperrr
b1e331e7ec Merge pull request #11364 from pchote/lobby-trait-options
Unhardcode the lobby options backend.
2016-06-11 13:40:09 +02:00
reaperrr
239f51e8b2 Merge pull request #11406 from Mailaender/upgrademanager-exception
Added an error message when setting up upgrades without UpgradeManager
2016-06-11 12:59:59 +02:00
Matthias Mailänder
9b6e15ea78 Add a CustomTerrain debug overlay. 2016-06-06 19:25:37 +02:00
Matthias Mailänder
3b27975b33 Also check for a missing UpgradeManager trait
as optional upgrades will otherwise be silently non-functional.
2016-06-05 17:37:36 +02:00
Matthias Mailänder
bec879cf7c Don't check modulare actor templates
as the inherited combinations of the actors are of concern.
2016-06-05 17:36:32 +02:00
Paul Chote
e70b27f857 Merge pull request #11391 from Mailaender/flameguy
Added the FLAMEGUY death animation
2016-06-05 15:20:15 +01:00
Oliver Brakmann
c0dd7c3182 Fix NREs in LobbyUtils.GetExternalIP 2016-06-05 12:55:00 +02:00
Matthias Mailänder
6cc7a21629 Add FLAMEGUY. 2016-06-05 00:35:42 +02:00
reaperrr
2de84253b5 Merge pull request #11398 from obrakmann/inotifyfiredsalvo
Added INotifyBurstComplete interface
2016-06-04 22:54:54 +02:00
teees
524bc3d45f Added INotifyBurstComplete trait interface to notify when a full salvo has been fired 2016-06-04 22:33:28 +02:00
Oliver Brakmann
910d04f53d Merge pull request #11395 from pchote/fix-missing-filenames
Set yaml filename when loading from FileSystem.
2016-06-04 18:23:55 +02:00
Oliver Brakmann
8de91be069 Merge pull request #11380 from Mailaender/upgrade-on-terrain
Added UpgradeOnTerrain
2016-06-04 18:16:55 +02:00
Matthias Mailänder
3dc472bb06 Add UpgradeOnTerrain. 2016-06-04 17:42:58 +02:00
Paul Chote
b4d1517d0d Set yaml filename when loading from FileSystem. 2016-06-04 15:23:44 +01:00
reaperrr
d94d06d87b Merge pull request #11370 from pchote/fix-game-start-events
Fix shellmap UI disappearing prematurely when starting a mission or replay.
2016-06-04 15:41:35 +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
Oliver Brakmann
fa3264affc Merge pull request #11381 from reaperrr/cleanup-upgraderules
Cleaned up upgrade rules
2016-06-04 14:43:15 +02:00
reaperrr
3f19e7c9de Merge pull request #11374 from obrakmann/fix-koth-capture-notification
Fix calling OnOwnerChange with wrong player in ProximityCapturable
2016-06-04 13:47:51 +02:00
reaperrr
e423f965cf Projectile property names upgrade rules 2016-06-04 12:59:05 +02:00
Paul Chote
24f166595f Convert lobby dropdowns to new options backend. 2016-06-04 10:06:18 +01:00
Paul Chote
eb884ca76f Convert lobby checkboxes to new options backend. 2016-06-04 10:03:06 +01:00
Paul Chote
3e92c1944a Add plumbing for trait-defined lobby options. 2016-06-04 10:03:06 +01:00
Paul Chote
d27d265bdd Add Id field to ProvidesTechPrerequisite. 2016-06-04 10:03:05 +01:00
reaperrr
adc6095f9c Remove the rest of the unused AI Aggro left-overs 2016-06-01 22:48:50 +02:00
reaperrr
f1b8cf117a Remove dead code from HackyAI
Has been unused for three years...
2016-06-01 22:48:50 +02:00
reaperrr
2e94a23d9e Make LaserZap classes public 2016-05-31 15:05:36 +02:00
reaperrr
af8e81a99d Add random Sequences support to GravityBomb 2016-05-31 15:05:35 +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
reaperrr
386b142913 Add random sequences support to Missile 2016-05-31 15:05:30 +02:00
reaperrr
3d2855c3b9 Missile description fixes 2016-05-31 15:05:28 +02:00
reaperrr
170fdc89e3 Rename Bullet Trail to TrailImage 2016-05-31 15:05:26 +02:00
reaperrr
df35d60877 Change RangeLimit upgrade rule engine version 2016-05-31 13:51:23 +02:00
reaperrr
b7644df40a Remove upgrade rules older than release 20160508
Modders will have to use release 20160508 to apply upgrade rules written
between release 20151224 and 20160508.
2016-05-31 13:48:59 +02:00
Matthias Mailänder
1a2851bdaf Merge pull request #11316 from obrakmann/mp-allies02
Add Scott's Allies02 multiplayer mission as "Evacuation"
2016-05-30 19:49:07 +02:00
Oliver Brakmann
e6dcf3dee6 Fix calling OnOwnerChange with wrong player in ProximityCapturable
The actor's owner only gets changed in an end frame task queued by `Actor.ChangeOwner`. So during this frame end task, `self.Owner` still points to the old owner, whereas we want the new one, represented by `captor.Owner`.

This bug lead to the capture notification being played when *losing* a building, but not when actually capturing it.
2016-05-29 20:33:34 +02:00
Oliver Brakmann
363d47f08b Merge pull request #11194 from abcdefg30/providesTech
Fix ProvidesPrerequisite not refreshing the tech tree (on owner change)
2016-05-29 20:30:23 +02:00
Oliver Brakmann
97ad5268b8 Merge pull request #11241 from Mailaender/replay-flag-crash
Fixed a crash when replay is selected in the wrong mod
2016-05-29 17:55:53 +02:00