Commit Graph

978 Commits

Author SHA1 Message Date
reaperrr
edffaa4987 Introduce Weapon.TargetActorCenter and adapt projectiles
This also fixes issues with attackers that don't have their own Attack
trait.
2017-06-24 11:24:17 +01:00
Paul Chote
3db15beeb9 Fix compatibility with msbuild/csc on non-windows. 2017-06-17 20:17:31 +02:00
reaperrr
7eab278711 Adapt tracking projectiles to support targeting CenterPosition
Instead of closest targetable position.
2017-06-15 01:32:37 +02:00
Paul Chote
9c9a23be86 Make Frames and Limbs private. 2017-06-14 18:56:06 +02:00
Paul Chote
34810756c2 Move Voxel code to Mods.Cnc. 2017-06-14 18:56:06 +02:00
Paul Chote
4f42778d26 Rename VoxelAnimation to ModelAnimation. 2017-06-14 18:56:06 +02:00
Paul Chote
90778bc8a8 Fix queued move orders on Chrono Tank. 2017-06-12 19:38:18 -05:00
reaperrr
ab8bc53ed8 Replace doneDamage bool in TeslaZap with DamageDuration
Allows it to deal continous damage via a single projectile.
2017-06-11 23:28:17 +02:00
reaperrr
6ff31786cb Refactor TeslaZap targeting
- made it target closest targetable position, instead of CenterPosition
- made target tracking optional (enabled by default)
- made tracking independent from whether damage has already been dealt
- cache target position and update it in Tick only if tracking
2017-06-11 23:28:17 +02:00
reaperrr
c474b77d79 Remove unused 'initialized' bool from TeslaZap
It was never set to 'true', and doing so would break Duration > 1, so it's better to just remove it.
2017-06-11 23:28:17 +02:00
reaperrr
2704f3bcd5 Minor TeslaZap cleanup
Renaming timeUntilRemove to ticksUntilRemove makes it more clear and allows to drop the comment.
2017-06-11 23:28:17 +02:00
Markus Hartung
2a0b3b39ea INotifyCreated.Created now calls base properly 2017-06-04 17:11:44 +02:00
Paul Chote
34844e87a3 Replace Lazy trait lookups with INotifyCreated. 2017-05-29 06:27:19 -05:00
Paul Chote
ba7290cc2c Move classic-mod package loaders and support files to Mods.Cnc. 2017-05-29 12:41:28 +02:00
Paul Chote
df40d38b91 Rework read/write zip file loading/saving. 2017-05-29 12:20:32 +02:00
abcdefg30
2a3139dc39 Add a IAutoSelctionSizeInfo trait interface 2017-05-28 14:02:18 +02:00
abcdefg30
1f93029e51 Always make sure to be on the host actor when repairing 2017-05-26 22:53:03 +02:00
Jean-Rémy Buchs
2e0d7d0e79 Add KillCargo and FlashScreen to PortableChrono 2017-05-26 10:31:59 +02:00
reaperrr
5e736527b7 Merge pull request #13223 from pchote/mod-package-loaders
Unhardcode mod package loaders
2017-05-12 14:04:58 +02:00
Paul Chote
cdf2df58a0 Define RectangularIsometric world coordinate scale along the cell axis. 2017-05-07 13:45:30 +01:00
Paul Chote
0222ea675c Implement mod-defined package loaders. 2017-05-07 13:25:38 +01:00
Paul Chote
d787429a2e Merge pull request #12996 from atlimit8/RemoveIDisable-part2
Remove IDisable - part 2
2017-05-07 08:38:09 +01:00
atlimit8
431f06cd49 Convert support powers from actor disabled to pausable-conditional. 2017-05-06 17:19:43 -05:00
Zimmermann Gyula
81b79a1b29 Expose the drop-disguise-when-attacking aspect to yaml.
Also adds Damaged for more usecases.
2017-05-05 07:58:14 +02:00
Paul Chote
64896eb73d Add EnergyWall trait. 2017-04-23 00:44:11 +01:00
reaperrr
4a8571161a Unhardcode LightPaletteRotator properties 2017-04-21 00:24:23 +02:00
reaperrr
04f8a85cc6 Make LightPaletteRotator interfaces explicit and add desc 2017-04-20 21:12:07 +02:00
reaperrr
bb9790c754 Move legacy map import commands into matching subfolder 2017-04-20 20:50:04 +02:00
Paul Chote
4d2563cc11 Remove unnecessary AttackTesla : AttackOmni subclass. 2017-03-10 19:42:18 +00:00
Mustafa Alperen Seki
fd595660ec Add condition support to Infiltrates. 2017-03-03 22:40:20 +00:00
abc013
423744451b Rename DisguiseToolTip to DisguiseTooltip 2017-03-03 15:21:33 +01:00
reaperrr
686b21c044 Change target location for Mods.Cnc to mods/common 2017-02-12 18:02:15 +01:00
reaperrr
0c3a786d10 Merge Mods.RA into Mods.Cnc 2017-02-12 01:33:22 +01:00
Paul Chote
a8d46adb2d Rename tesla attack logic and move to Mods.Cnc. 2017-02-11 16:19:58 +00:00
reaperrr
709e2a26e1 Merge Mods.TS into Mods.Cnc 2017-02-02 21:20:31 +01:00
reaperrr
76f961e39e Move ProductionTabsLogic to Mods.Common 2017-02-01 19:58:21 +01:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
Paul Chote
03236927e5 Replace TD shellmap with a fixed background. 2016-12-23 11:34:23 +00:00
Paul Chote
a16344d347 Remove "Show Shellmap" setting. 2016-12-23 11:34:23 +00:00
Paul Chote
9ddfdc45b3 Introduce SoundType enum. 2016-12-23 11:34:23 +00:00
Paul Chote
23f4ae5027 Replace UpgradeMinEnabledLevel checks with an EnabledByDefault shim. 2016-11-19 17:19:25 +00:00
reaperrr
97c2c24e8d Require explicit implementation of IDamageModifier 2016-10-30 20:22:16 +01:00
reaperrr
ce52bc9d7b Some more misc explicit interface implementations
'Fallout' from working on other things.
2016-10-30 19:17:41 +01:00
reaperrr
61779bf02a Make WithSpriteTurret ITick implementation explicit 2016-10-30 19:17:39 +01:00
reaperrr
a6b09342bc Make INotifyBuildComplete require explicit implementation 2016-10-22 18:21:52 +02:00
Paul Chote
f66883c925 Merge pull request #11973 from Phrohdoh/csproj-afterbuild-targets
Fix AfterBuild tasks in csprojs
2016-10-11 02:51:47 +01:00
abcdefg30
348249119a Play all IonCannonPower launch sounds using the new helper method 2016-09-12 23:33:47 +02:00
abcdefg30
41bc3b20ba Add a new OnFireSound property to IonCannonPower
This replaces the hacky use of LaunchSound
2016-09-12 23:33:37 +02:00
abcdefg30
b6dc30ca93 Add support for playing the weapon report of the ion cannon 2016-09-12 23:28:25 +02:00
Taryn Hill
69c919943f CnC csproj: Use MSBuild tasks instead of shelling out 2016-09-05 16:35:42 -05:00