Commit Graph

2943 Commits

Author SHA1 Message Date
RoosterDragon
cc4ef736b0 Ensure HackyAI tries to attack and capture as frequently as it should.
Returning early in AssignRolesToIdleUnits would skip ticking down the counters that trigger new attack and capture attempts. This means they would be attempted far less often than intended.
2016-08-12 18:08:58 +01:00
Oliver Brakmann
068ffb169b Merge pull request #11417 from Phrohdoh/ai-capturers
Add naive capturing to HackyAI
2016-08-11 20:23:12 +02:00
reaperrr
bd4f7db711 Fix UpgradeOnDamage trait description
The old desc is bogus copy-pasta.
2016-08-11 11:31:18 +02:00
Taryn Hill
c5e76a67dd HackyAI: Add basic capturing 2016-08-10 19:06:24 -05:00
Oliver Brakmann
510555af5c Merge pull request #11776 from pchote/fix-bridge-freeze
Check terrain cost when testing pathable cells.
2016-08-08 18:41:24 +02:00
Matthias Mailänder
90ab5023a6 Merge pull request #11778 from pchote/detect-sequence-length-mismatch
Fix bogus D2K grenadier sequences.
2016-08-07 08:46:06 +02:00
Paul Chote
b94b703157 Add a check for bogus Frames / Length combinations. 2016-08-06 21:19:32 +01:00
Paul Chote
9437a86e7e Remove legacy sound code and simplify platform init. 2016-08-06 19:53:50 +01:00
Paul Chote
bb0fda41d2 Check terrain cost when testing pathable cells. 2016-08-06 19:01:04 +01:00
Paul Chote
de85a76c90 Merge pull request #11586 from GraionDilach/selfheal-revamp
Expand SelfHealing.
2016-08-06 17:31:46 +01:00
RoosterDragon
3b5798b5e8 Fix cancellation of downloads.
The Download class cancels asynchronously, which means callers must handle cancellation inside the completion event, and not after requesting cancellation.
2016-07-30 16:27:45 +01:00
Oliver Brakmann
77d0a8c54e Merge pull request #11638 from reaperrr/deprecate-IsWater-p1
Deprecate terrain IsWater check - Part 1
2016-07-30 14:25:17 +02:00
reaperrr
abaa0f4da5 Allow to customize which terrain types are considered water by HackyAI
For naval structure placement.
2016-07-30 13:19:32 +02:00
reaperrr
1e43554559 Allow to customize which terrain types are considered water by Parachutable 2016-07-30 13:19:32 +02:00
reaperrr
3e217c2192 Allow to customize which terrain types are considered water by WithCrateBody 2016-07-30 13:19:32 +02:00
Paul Chote
56fa7cee1b Fix install source tooltip width. 2016-07-30 09:14:36 +01:00
Paul Chote
fdc74353fc Migrate to 1.06 patch content. 2016-07-30 09:14:35 +01:00
Oliver Brakmann
2eede9493e Merge pull request #11699 from Mailaender/unhardcode-capture-cursors
Unhardcoded the capture mouse cursor sequences
2016-07-27 21:36:33 +02:00
Matthias Mailänder
78848a67a0 Merge pull request #11721 from obrakmann/fix11660_smudge-removal-desync
Fix desync when removing smudges
2016-07-27 14:36:29 +02:00
Zimmermann Gyula
3ac5e0b455 Add a damagetype option to SelfHealing. 2016-07-27 14:14:35 +02:00
Zimmermann Gyula
4fa70cdfb9 Add a percentage option to SelfHealing. 2016-07-27 14:14:34 +02:00
Zimmermann Gyula
4812bc2997 Change DamagedByTerrain to apply the damage directly.
Instead of relying on a weapon.
2016-07-26 23:18:53 +02:00
Oliver Brakmann
30cf8c204b Fix desync when removing smudges
The cause of the crash was that the `RemoveSmudge` method only invokes `SharedRandom` in the else-branch of an if condition that is only taken when the `RenderPlayer` has fog visibility on the location (locations the `RenderPlayer` can see get removed from `dirty` in `TickRender`).

To add insult to injury, the `Type` field does not even need to get set since we are only using the `Sprite` field's `null` value as a marker to be picked up by the `TickRender` method. The `Type` field is only ever used twice in `AddSmudge`, in a branch of an if-condition that will not be taken when the `Sprite` field is null, which we set explicitly. The same holds true for the `Depth` field.
2016-07-26 21:46:18 +02:00
Alexandre Oliveira
66b74b0116 Add command to generate settings docs 2016-07-26 00:02:01 -03:00
abcdefg30
4ed2c53b1a Fix the Desc of MapOptionsInfo 2016-07-24 15:34:21 +02:00
Matthias Mailänder
da509d6394 Unhardcode the capture cursors. 2016-07-23 23:50:02 +02:00
Oliver Brakmann
56ae4e846b Add GUI integration for PlayerExperience 2016-07-19 22:23:03 +02:00
Oliver Brakmann
dab7276601 Make repairing buildings and units grant experience
Using the repair button and repair pad, not using engineers and mechanics.
2016-07-19 20:20:38 +02:00
Oliver Brakmann
1e86326cbc Make capturing grant player experience 2016-07-19 20:20:38 +02:00
Oliver Brakmann
c1729a3b70 Make DonateSupplies grant player experience 2016-07-19 20:20:38 +02:00
Matthias Mailänder
25c640679c Merge pull request #11647 from abcdefg30/colorBorder
Add a dynamically generated bordercolor for supportpower timers
2016-07-19 10:27:11 +02:00
abcdefg30
76e57895b5 Merge pull request #11645 from RailTracker/bleed
Changed Basic and Combat observer stats to include Assets Destroyed/L…
2016-07-18 19:58:11 +02:00
Anthony Diep
b96de91480 Changed Basic and Combat observer stats to include Assets Destroyed/Lost instead of K/D ratio 2016-07-17 14:55:10 -07:00
abcdefg30
7769ef3c14 Add a dynamically generated bordercolor for supportpower timers 2016-07-17 16:07:53 +02:00
Matthias Mailänder
5b61206ac6 Merge pull request #11513 from GraionDilach/idamage
Remove passing the warheads from DamageWarhead to AttackInfo.
2016-07-16 14:26:43 +02:00
abcdefg30
549c00c6c1 Merge pull request #11653 from Mailaender/damagedbyterrain-div0
Fixed a division through zero in DamagedByTerrain.
2016-07-16 11:03:38 +02:00
Matthias Mailänder
fcd904a168 Avoid a division through zero. 2016-07-15 20:10:30 +02:00
abcdefg30
b1e8108a44 Merge pull request #11559 from MUzzell/feature-10416
Added ready checkbox for spectating admins
2016-07-15 15:47:05 +02:00
abcdefg30
e8bcf0757f Merge pull request #11654 from Mailaender/dispose-installshieldcab
Fixed a resource leak on OpenRA.Utility.exe --list-installshield-cab
2016-07-15 15:28:59 +02:00
abcdefg30
d5bac4ebe4 Merge pull request #11651 from obrakmann/fix_HealthInit_breaking_Actor.Create
Allow HealthInit to be used with Actor.Create in Lua scripts
2016-07-15 14:10:47 +02:00
Oliver Brakmann
e6659f805b Merge pull request #11641 from abcdefg30/particleDensity
Convert ParticleDensityFactor from a float to an int
2016-07-15 10:30:57 +02:00
Matthias Mailänder
eb586fb37c Dispose the file open read stream. 2016-07-15 07:37:28 +02:00
Matthew Uzzell
6110357460 #10416 Added ready checkbox for spectating admins 2016-07-14 23:42:32 +01:00
Oliver Brakmann
417e9ca71f Add a single-argument constructor to HealthInit
...which is a requirement for an ActorInit to be usable with the Lua API's Actor.Create() method.
2016-07-14 19:45:03 +02:00
Oliver Brakmann
c4956120a7 Merge pull request #11572 from pchote/building-depth
Add building depth imposters for TS base structures.
2016-07-14 11:10:13 +02:00
Paul Chote
0371727596 Allow sequences to define depth offsets via sprites. 2016-07-13 22:22:13 +01:00
Paul Chote
5fbe747de2 Improve logging on sequence error. 2016-07-13 22:22:13 +01:00
Paul Chote
ac6b2a8f62 Support custom fully-open sequences for gates. 2016-07-13 22:22:07 +01:00
Paul Chote
dbd21b9e46 Support extracting and deleting from content files. 2016-07-13 21:01:56 +01:00
Paul Chote
bddae7314a Reimplement InstallShieldCAB extraction. 2016-07-13 21:01:56 +01:00