Commit Graph

272 Commits

Author SHA1 Message Date
Matthias Mailänder
a85a8f09c7 Add burning trees to Red Alert. 2016-05-29 23:26:56 +02:00
Oliver Brakmann
7681cb2df5 Merge pull request #11180 from Mailaender/burning-trees
Added burning trees to the Tiberian Dawn mod
2016-05-29 15:32:28 +02:00
Paul Chote
09e110c007 Remove CanPowerDown from gates. 2016-05-28 17:19:18 +01:00
Matthias Mailänder
99c7989ebc Rename WithSmoke into a more generic WithDamageOverlay trait.
Rename Sequence parameter to Image to avoid confusion.
2016-05-28 16:03:13 +02:00
Matthias Mailänder
8fcb31407d Add gates to the Red Alert mod. 2016-05-15 15:52:11 +02:00
Oliver Brakmann
a8e6ca14ab Fix self-healing percentage in yaml rules for all mods 2016-05-02 19:05:48 +02:00
reaperrr
83631f3b4d Disable OwnerRow on RA trees, rocks, bridges and crates 2016-04-24 01:10:32 +02:00
Paul Chote
183e5ae7ab Generate initial frozen renderables for all map-placed actors. 2016-04-21 17:21:29 +01:00
reaperrr
4894211789 Migrate Captures.SabotageHPRemoval and Capturable.CaptureThreshold to int percentages 2016-03-28 17:20:49 +02:00
colonelpopcorn
95350a7e81 Upgraded rules for Red Alert mod. 2016-03-22 16:58:38 -04:00
reaperrr
cddf182996 Renamed ROT to TurnSpeed on Mobile, Aircraft, Turreted and ThrowsParticle 2016-03-04 15:13:55 +01:00
Paul Chote
66df822412 Enable ClassicFacingFudge in RA. 2016-01-27 21:39:51 +00:00
RoosterDragon
3c930c3ef9 Introduce FrozenUnderFogUpdatedByGps and IOnGpsRefreshed.
This trait uses the new interface to register with the GpsWatcher to get notified when the GPS state changes. It needs to register as if the actor is destroyed, the GpsWatcher can no longer query actors in the world to get the trait. This is no good as the trait needs to perform actions after the death of its parent actor.

When the GPS is enabled, the trait will track ownership changes and update the frozen actor (just like if there was only a GPS dot, it would change colour) and it will also remove frozen actors if the real actor dies or is sold.
2016-01-17 00:13:06 +00:00
RoosterDragon
a232eff7fd Replace IRemoveFrozenActor with FrozenActorLayer.Remove.
The IRemoveFrozenActor interface is replaced with a Remove method on FrozenActorLayer. IRemoveFrozenActor is a performance problem for FrozenActorLayer.Tick as it incurs a large cache miss penalty in order to load and enumerate the array of these interfaces for every frozen actor. Instead, we invert control and allow traits to remove frozen actors directly which eliminates the performance penalty.
2016-01-17 00:13:06 +00:00
Paul Chote
4f1d8b7ac9 Remove spurious final newline from mod files. 2016-01-02 20:06:53 +00:00
Paul Chote
a44b50c2ad Increase wall blocking geometry to a full cell. 2015-12-30 19:31:59 +00:00
reaperrr
7076dfaa4d HitShape Upgrade Rules
Radius is now a sub-property of Shape.Circle.
2015-12-29 00:29:03 +00:00
Oliver Brakmann
5e04c45dd9 Merge pull request #10163 from teees/cruising
Added cruising upgrade to aircraft
2015-12-28 15:25:41 +01:00
Paul Chote
ef2f9cbafa Remove "Fake" tag. 2015-12-26 12:38:27 +00:00
Paul Chote
372bbaf7b6 Overhaul WithDecoration trait. 2015-12-26 12:38:26 +00:00
teees
1869880aab Enable Hovers: when cruising, merged common aircraft rules into defaults 2015-12-16 13:44:13 +01:00
teees
cdf82cab14 Merged common ra aircraft definitions 2015-12-15 18:45:14 +01:00
teees
c1c386a994 Removed default definitions for repair and rearmbuildings in Aircraft.cs 2015-12-15 18:44:05 +01:00
Pavel Penev
6f8b3c45b4 Add RenderDebugState trait 2015-12-07 01:41:19 +02:00
abcdefg30
466279e23b Remove junk ProximityCaptor values 2015-12-05 01:56:32 +01:00
Oliver Brakmann
5174da6d93 Merge pull request #10048 from r34ch/scientist-on-sell
Add CHAN to EmitInfantryOnSell on certain structures.
2015-12-01 21:34:31 +01:00
Matthias Mailänder
035dc3fc5c Merge pull request #9943 from abcdefg30/moreexplosions
Add more variations to building explosions in ra
2015-12-01 20:05:05 +01:00
DArcy Rush
5d7a088f18 Add CHAN to EmitInfantryOnSell on certain structures. 2015-11-21 09:39:05 +00:00
DArcy Rush
6db8eac009 Hide ammobox healthbar. 2015-11-19 22:57:19 +00:00
abcdefg30
a1fd16f6c9 Add a flipped napalm explosion for buildings 2015-11-14 00:41:30 +01:00
abcdefg30
e238c583d5 Add more variations to building explosions 2015-11-14 00:10:33 +01:00
atlimit8
7c1e93a880 Merge pull request #9730 from r34ch/fake-structures-detonate
Fake structures detonate to mask health difference.
2015-10-25 09:12:02 -05:00
DArcy Rush
60ad19b625 Fake structures use 'DamageThreshold' under 'Explodes'.
This change means that fake structures take damage at the same
rate as their real counterparts, but explode at 90% of their
max health.

MSLF and PDOF have been given a health buff as only one fake
version of each can be built.

Also fixed mission Monster Tank Madness. Actor v19.Husk required
HealthInfo.
2015-10-25 11:51:27 +00:00
abcdefg30
1a7a184730 Add cloak to HIJACKER 2015-10-22 16:43:10 +02:00
Oliver Brakmann
05e18fe682 Fix aircraft husk crash velocity
This fixes the long glide time aircraft husks had when they were shot down. They are falling down to earth much faster now and the distance covered matches that from release-20150614
2015-09-27 22:53:01 +02:00
RoosterDragon
e016227ddf Merge pull request #9327 from Mailaender/bridge-render-sizes
Fixed bridge rendering glitches
2015-09-26 19:54:43 +01:00
Matthias Mailänder
c3dce785a5 add custom selection sizes to aid the renderer 2015-09-20 14:58:39 +02:00
Paul Chote
141575fc45 Merge pull request #9339 from reaperrr/sbag-fence
Makes only concrete walls block fire
2015-09-20 11:57:04 +01:00
atlimit8
de7f5a4288 Make Range WDist for all traits with circular ranges. 2015-09-19 11:02:28 -05:00
reaperrr
81b8754ffa Make only concrete walls block fire in RA 2015-09-16 00:51:42 +02:00
reaperrr
c2a0ca49a6 Cut yaml duplication between anti-actor mines 2015-09-09 00:16:23 +02:00
reaperrr
7c7506fafb Merge pull request #9096 from deniz1a/hide-crate
Hides crates under fog.
2015-09-07 22:35:46 +02:00
reaperrr
543dc8e5d0 Make rocks and trees HiddenUnderShroud instead of FrozenUnderFog
This improves performance significantly when many trees and rocks are on the map and shroud/fog are enabled.
2015-09-04 17:15:16 +02:00
deniz1a
fb87bf0b90 Hides crates under fog of war. 2015-09-04 13:01:01 +03:00
reaperrr
6b9a511bd5 Added ^SpriteActor and streamlined RA defaults
To fix potential BodyOrientation issues and reduce risk of future
regressions.
2015-09-03 22:39:57 +02:00
atlimit8
6986cd9f0e Remove TargetableAircraft 2015-09-02 23:19:00 -05:00
atlimit8
23d0424437 Add ITargetablePositions seperating it from ITargetable 2015-09-02 23:14:40 -05:00
Pavel Penev
2042fccefd Merge pull request #9189 from reaperrr/bye-rendersimple3
Remove RenderBuilding
2015-09-02 19:21:01 +03:00
reaperrr
9da56f51e2 Remove RenderBuilding 2015-08-30 15:44:59 +02:00
reaperrr
bf51e0600d RenderBuildingWall -> WithWallSpriteBody 2015-08-30 00:22:53 +02:00