diff --git a/OpenRA.Mods.Cnc/OpenRA.Mods.Cnc.csproj b/OpenRA.Mods.Cnc/OpenRA.Mods.Cnc.csproj
index c04a430690..2067200577 100644
--- a/OpenRA.Mods.Cnc/OpenRA.Mods.Cnc.csproj
+++ b/OpenRA.Mods.Cnc/OpenRA.Mods.Cnc.csproj
@@ -154,6 +154,8 @@
+
+
diff --git a/OpenRA.Mods.Cnc/Traits/Attack/AttackTDGunboatTurreted.cs b/OpenRA.Mods.Cnc/Traits/Attack/AttackTDGunboatTurreted.cs
new file mode 100644
index 0000000000..ed4ef6abb2
--- /dev/null
+++ b/OpenRA.Mods.Cnc/Traits/Attack/AttackTDGunboatTurreted.cs
@@ -0,0 +1,73 @@
+#region Copyright & License Information
+/*
+ * Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
+ * This file is part of OpenRA, which is free software. It is made
+ * available to you under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version. For more
+ * information, see COPYING.
+ */
+#endregion
+
+using System.Linq;
+using OpenRA.Activities;
+using OpenRA.Mods.Common.Traits;
+using OpenRA.Traits;
+
+namespace OpenRA.Mods.Cnc.Traits
+{
+ [Desc("Actor has a visual turret used to attack.")]
+ public class AttackTDGunboatTurretedInfo : AttackTurretedInfo, Requires
+ {
+ public override object Create(ActorInitializer init) { return new AttackTDGunboatTurreted(init.Self, this); }
+ }
+
+ public class AttackTDGunboatTurreted : AttackTurreted
+ {
+ public AttackTDGunboatTurreted(Actor self, AttackTDGunboatTurretedInfo info)
+ : base(self, info) { }
+
+ public override Activity GetAttackActivity(Actor self, Target newTarget, bool allowMove, bool forceAttack)
+ {
+ return new AttackTDGunboatTurretedActivity(self, newTarget, allowMove, forceAttack);
+ }
+
+ class AttackTDGunboatTurretedActivity : Activity
+ {
+ readonly AttackTDGunboatTurreted attack;
+ readonly Target target;
+ readonly bool forceAttack;
+ bool hasTicked;
+
+ public AttackTDGunboatTurretedActivity(Actor self, Target target, bool allowMove, bool forceAttack)
+ {
+ attack = self.Trait();
+ this.target = target;
+ this.forceAttack = forceAttack;
+ }
+
+ public override Activity Tick(Actor self)
+ {
+ if (IsCanceled || !target.IsValidFor(self))
+ return NextActivity;
+
+ if (attack.IsTraitDisabled)
+ return this;
+
+ var weapon = attack.ChooseArmamentsForTarget(target, forceAttack).FirstOrDefault();
+ if (weapon != null)
+ {
+ // Check that AttackTDGunboatTurreted hasn't cancelled the target by modifying attack.Target
+ // Having both this and AttackTDGunboatTurreted modify that field is a horrible hack.
+ if (hasTicked && attack.Target.Type == TargetType.Invalid)
+ return NextActivity;
+
+ attack.Target = target;
+ hasTicked = true;
+ }
+
+ return NextActivity;
+ }
+ }
+ }
+}
diff --git a/OpenRA.Mods.Cnc/Traits/TDGunboat.cs b/OpenRA.Mods.Cnc/Traits/TDGunboat.cs
new file mode 100644
index 0000000000..36a5637f9c
--- /dev/null
+++ b/OpenRA.Mods.Cnc/Traits/TDGunboat.cs
@@ -0,0 +1,211 @@
+#region Copyright & License Information
+/*
+ * Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
+ * This file is part of OpenRA, which is free software. It is made
+ * available to you under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version. For more
+ * information, see COPYING.
+ */
+#endregion
+
+using System.Collections.Generic;
+using System.Linq;
+using OpenRA.Activities;
+using OpenRA.Mods.Common;
+using OpenRA.Mods.Common.Activities;
+using OpenRA.Mods.Common.Traits;
+using OpenRA.Primitives;
+using OpenRA.Traits;
+
+namespace OpenRA.Mods.Cnc.Traits
+{
+ public class TDGunboatInfo : ITraitInfo, IPositionableInfo, IFacingInfo, IMoveInfo,
+ UsesInit, UsesInit, IActorPreviewInitInfo
+ {
+ public readonly int Speed = 28;
+
+ [Desc("Facing to use when actor spawns. Only 64 and 192 supported.")]
+ public readonly int InitialFacing = 64;
+
+ [Desc("Facing to use for actor previews (map editor, color picker, etc). Only 64 and 192 supported.")]
+ public readonly int PreviewFacing = 64;
+
+ public virtual object Create(ActorInitializer init) { return new TDGunboat(init, this); }
+
+ public int GetInitialFacing() { return InitialFacing; }
+
+ IEnumerable