Commit Graph

1678 Commits

Author SHA1 Message Date
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
Matthias Mailänder
6900e4bad3 rename DemoTruck to AttackSuicides
generalize move to add Aircraft support
give it a description
don't require Explodes as it is just a soft dependency
use a regular self kill
2016-01-16 19:38:23 +01:00
Alexandre Oliveira
5ce454ce7b Decrease Engineer, Medic and Mechanic priority
Fixes the issue that engineers would just run straight at the target while
mixed with a group and attack moved.
2016-01-15 14:18:10 -02:00
teees
f46185b85f Reworked cloaking behaviour 2016-01-07 13:44:16 +01:00
Kyrylo Silin
91690bdc44 ra: buff minelayer's HP
Currently 1 rocket soldier can kill a minelayer with 2 shots. With this
change a rocket soldier needs 3 shots. I think this buff is needed
because minelayer costs $800 and it has even less HP than a paper light
tank.
2016-01-04 07:41:51 +02:00
Paul Chote
4f1d8b7ac9 Remove spurious final newline from mod files. 2016-01-02 20:06:53 +00:00
Emiel Suilen
3e63869bd1 Eliminated superfluous linendings 2016-01-01 16:22:19 +01:00
Paul Chote
a44b50c2ad Increase wall blocking geometry to a full cell. 2015-12-30 19:31:59 +00:00
DArcy Rush
efefb0e842 Buff light tank in the RA mod 2015-12-29 20:06:49 +00:00
reaperrr
7076dfaa4d HitShape Upgrade Rules
Radius is now a sub-property of Shape.Circle.
2015-12-29 00:29:03 +00:00
Paul Chote
12df496f5b Merge pull request #10015 from atlimit8/MapEditorTooltips
Add map editor only tooltips
2015-12-28 18:46:07 +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
Sean Hunt
8f4ec87b63 Factor silos needed warning to a new trait. 2015-12-27 14:40:37 -05:00
reaperrr
23dc6f64ac Merge pull request #9605 from Mailaender/nod-poweroffline
Added support for speech variants to CanPowerDown
2015-12-27 20:10:27 +01:00
Matthias Mailänder
a8d8764b81 unhardcode and self-document the notification 2015-12-27 11:44:41 +01:00
Paul Chote
5b017cee58 Remove "Primary" tag. 2015-12-26 12:38:27 +00: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
Matthias Mailänder
142d3ef6ab Merge pull request #9438 from atlimit8/UpgradableMobile
Upgradable Mobile and replace IDisableMove
2015-12-05 18:24:40 +01:00
atlimit8
c827dbe183 Replace IDisableMove with upgradability 2015-12-04 19:26:49 -06:00
abcdefg30
466279e23b Remove junk ProximityCaptor values 2015-12-05 01:56:32 +01:00
abcdefg30
e5bafe835f Merge pull request #9541 from reaperrr/rename-rendertraits-xy
Rename WithTurret, WithBarrel and WithReloadingTurret to include 'Sprite' in trait name
2015-12-05 00:24:37 +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
reaperrr
35c4aca983 Rename WithTurret, WithBarrel and WithReloadingTurret
Make them use RenderUtils.ZOffsetFromCenter.
2015-11-28 20:57:09 +01:00
atlimit8
e417ecb93f Add map editor only tooltips 2015-11-25 17:28:29 -06:00
DArcy Rush
e098743b09 Add second exit to kennel 2015-11-24 08:21:32 +00:00
abcdefg30
1a269d0f2e Fix the rushAI building spens/syrds without being able to build naval units 2015-11-21 20:29:28 +01:00
Paul Chote
09b000f7cd Merge pull request #10038 from r34ch/ammo-box-select
Hide ammobox healthbar.
2015-11-21 14:06:55 +00:00
DArcy Rush
5d7a088f18 Add CHAN to EmitInfantryOnSell on certain structures. 2015-11-21 09:39:05 +00:00
DArcy Rush
23880afe05 Rename Chan to Scientist. 2015-11-20 20:38:10 +00:00
DArcy Rush
6db8eac009 Hide ammobox healthbar. 2015-11-19 22:57:19 +00:00
reaperrr
782a1f3497 Merge pull request #10020 from cjshmyr/truckbuffs
Increase Supply & Demo Truck vision from 3 to 4 cells
2015-11-17 19:18:36 +01:00
Curtis Shmyr
cfec9caaaa Increase TRUK and DTRK vision from 3 to 4 cells 2015-11-16 18:25:29 -07:00
Curtis Shmyr
7b0c9b7bf5 Merge pull request #9992 from obrakmann/pr9959-new
RA balance fixed up
2015-11-14 14:06:20 -07:00
Oliver Brakmann
dceb1fbd80 Increase range of flak truck against air targets
From 6 cells to 8 cells
2015-11-14 20:51:10 +01:00
DArcy Rush
ee4383b75d Rebalance Tesla Tank.
Allow attacking of target regardless of facing.
2015-11-14 19:16:59 +01:00
Oliver Brakmann
473ae7c9cb Merge pull request #9985 from cjshmyr/husknames
Update some husk names to match current tooltips
2015-11-14 13:15:48 +01:00
Curtis Shmyr
2a240718db Update some husk names to match current tooltips 2015-11-14 02:01:25 -07: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
DArcy Rush
b3cba2d005 Rebalance phase transport.
Passengers increased to 4, speed and LoS increased.
2015-11-11 19:36:19 +00:00
DArcy Rush
ef1a92eaa8 Reduce chronotank charge time.
Chronotank charge decreased from 20s to 12s.
2015-11-11 19:36:19 +00:00
Oliver Brakmann
db96b62427 Merge pull request #9967 from cjshmyr/barrackexits
Made both barracks' doors exit to different cells
2015-11-11 20:20:03 +01:00
Curtis Shmyr
1a0bf541de Made both barracks' doors exit to different cells 2015-11-11 11:51:15 -07:00