Commit Graph

24698 Commits

Author SHA1 Message Date
abcdefg30
b012fa62fe Replace 'target point' by 'center' in all descriptions 2018-03-09 23:32:07 +01:00
abcdefg30
ed6a6b61de Throw a proper error when parsing an invalid int2 2018-03-09 23:32:07 +01:00
atlimit8
7283f9804e Added Polygon IHitShape 2018-03-09 23:32:07 +01:00
abcdefg30
56e7b1edc2 Fix int2 arrays not being parsed 2018-03-09 23:32:07 +01:00
reaperrr
5a889c0efd De-duplicate some WithTurretAttackAnimation code 2018-03-09 21:30:30 +01:00
reaperrr
769a49ef0b Make WithTurretAimAnimation conditional 2018-03-09 21:30:30 +01:00
reaperrr
76da40bbda Make WithTurretAttackAnimation conditional 2018-03-09 21:30:30 +01:00
reaperrr
02b1530300 Fix upgrade rule dates 2018-03-09 19:28:29 +01:00
reaperrr
79c78090d1 Remove WithSpriteTurret.AimSequence
We can now use WithTurretAimAnimation instead.
2018-03-09 19:28:29 +01:00
reaperrr
a1ad76ba74 Split *AimAnimation from WithTurretAttackAnimation
These two didn't interact and actually even conflicted when used at the same time, so splitting them is the sensible thing to do.
2018-03-09 19:28:29 +01:00
reaperrr
bd097730cf Adapt TS 2018-03-09 18:58:49 +01:00
reaperrr
e17e8c8cbd Adapt TD 2018-03-09 18:58:49 +01:00
reaperrr
b40970ca5d Adapt RA rules 2018-03-09 18:58:49 +01:00
reaperrr
d643d2ebda Remove legacy .aud sound defaults from Common traits
While C&C-specific sound defaults might be acceptable for C&C-specific traits like MadTank and Chronoshiftable, for common, generic traits like Building they no longer are.
2018-03-09 18:58:49 +01:00
netnazgul
58b5e7b243 Fix Pitfight and Ascent maps in RA mod map pool 2018-03-09 15:57:07 +01:00
Mustafa Alperen Seki
5e7e3bb011 Add DamageTypes to Kill() and make some traits use it. 2018-03-09 00:25:29 +01:00
Pavel Penev
b620e8107f Added GrantRandomCondition trait. 2018-03-08 18:15:54 +01:00
Mustafa Alperen Seki
c976bb1d7b Make BaseProvider PausableConditional 2018-03-08 17:19:23 +01:00
Matthias Mailänder
12054506e1 Add support for JASC and GIMP color palettes 2018-03-08 16:54:13 +01:00
reaperrr
92584c3c85 Fix upgrade rule dates to be after release-20180307 2018-03-08 16:03:14 +01:00
reaperrr
d90ff99e74 Replace WithReloadingSpriteTurret with conditions
WithReloadingSpriteTurret was bound to run into conflicts with any WithTurret*Animation traits due to overriding the turret sequence constantly via ITick.
Using (stacked) conditions instead avoids that.
2018-03-08 16:03:14 +01:00
reaperrr
55b11d1745 Don't cache ActorSpawners at creation
Re-evaluate before every spawn attempt instead.
Also accounts for ActorSpawner being conditional now.

While a bit more costly in terms of performance, this allows to create spawns mid-game.
2018-03-08 15:39:44 +01:00
Voidwalker
711bad91a3 Generalize WormManager into ActorSpawnManager.
Added support of multiple actors, conditions and types.
2018-03-08 15:39:44 +01:00
Paul Chote
e69cf4fd5c Rename another Stream.Write(byte[]) extension method. 2018-03-07 22:29:35 +01:00
Paul Chote
fadcfa0828 Bump mono requirement to 4.2 in the deb package. 2018-03-05 23:16:34 +01:00
Smittytron
1d9ed31f7d Add secondary objective and difficulty levels to nod06b 2018-03-04 21:31:27 +01:00
Smittytron
f9a45130fa Add Bridge to TerrainType 2018-03-04 21:29:11 +01:00
Paul Chote
42f1db0d4b Rename Stream.Write(byte[]) extension method to fix compatibility with newer mono. 2018-03-03 18:40:01 +01:00
Peter Antal
9ce0bcb0b7 Mop up active Stylecop nits.
Style consistency cleanup.
2018-03-03 11:45:35 +00:00
Peter Antal
701675fd4c Add "Slowest" gamespeed with Timestep of 80.
Drop "Slowest" latency to 2 frames, to balance out with the particularly long timestep.
2018-02-28 13:06:24 +01:00
reaperrr
700c46d6af Prevent TS AI from building too many (advanced) power plants
While scaling minimum excess power with base size to make sure they don't build too few, either.
2018-02-27 19:47:00 +01:00
reaperrr
342114878c Prevent D2k AIs from building too many wind traps
While scaling minimum excess power with base size to make sure they don't build too few, either.
2018-02-27 19:47:00 +01:00
reaperrr
7c79d20083 Prevent TD AIs from building too many (advanced) power plants
While scaling minimum excess power with base size to make sure they don't build too few, either.
2018-02-27 19:47:00 +01:00
reaperrr
de47d570d5 Prevent RA AIs from building too many (advanced) power plants
While scaling minimum excess power with base size to make sure they don't build too few, either.
2018-02-27 19:47:00 +01:00
reaperrr
c5f9d6ff2d Add more configurability to AI MinimumExcessPower logic
Allows to scale the targeted minimum excess with building count as well as define a maximum cap to avoid overproducing powerplants.
2018-02-27 19:47:00 +01:00
abcdefg30
851c38012e Set 'SecurityProtocol' to 'Tls12' for download dependencies on windows
But only for dependencies downloaded from github.
2018-02-26 01:42:00 +01:00
ltem
4376dd8c52 Add Github issue template 2018-02-25 15:16:29 +01:00
Smittytron
9de1fe40a5 Add difficulty levels to nod06a 2018-02-25 11:13:52 +01:00
Matthias Mailänder
cf944ae9f1 Require IntoActor everywhere. 2018-02-23 20:02:47 +01:00
Matthias Mailänder
e3e710bb27 Add Visceroid fusing 2018-02-23 20:02:47 +01:00
Matthias Mailänder
6bd1e90671 Add TransformCrusherOnCrush 2018-02-23 20:02:47 +01:00
reaperrr
025f664820 Fix Tiberian Fiend editor category 2018-02-23 19:59:33 +01:00
Matthias Mailänder
f189b85caa Render Tiberian Fiend spikes in Tiberium green. 2018-02-23 19:59:33 +01:00
Matthias Mailänder
8cfb406e29 Don't hide while attacking. 2018-02-23 19:59:33 +01:00
Matthias Mailänder
e5810d19d9 Add Tiberium Fiend hiding mechanic. 2018-02-23 19:59:33 +01:00
abcdefg30
93513db09e Fix launch-game.cmd accepting wrong mod IDs 2018-02-23 14:41:51 +01:00
Mustafa Alperen Seki
763da40092 Fix palette of Oil Pump, Ice, Boxes, Hedgehogs and Utility Poles on Desert Tileset 2018-02-23 02:23:10 +01:00
reaperrr
9107ca3bc1 Remove unused legacy IsWater flag
This was planned anyway, we had just forgotten about it when the last blocker was removed.
2018-02-22 11:51:10 +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
c4b0ad45e3 Add lua functions for DeliverCash and DeliverExperience 2018-02-21 21:38:43 +01:00