Merge pull request #9521 from pchote/produce-support
Implement actor-producing support powers
This commit is contained in:
@@ -709,6 +709,7 @@
|
|||||||
<Compile Include="Traits\ThrowsShrapnel.cs" />
|
<Compile Include="Traits\ThrowsShrapnel.cs" />
|
||||||
<Compile Include="Traits\World\MusicPlaylist.cs" />
|
<Compile Include="Traits\World\MusicPlaylist.cs" />
|
||||||
<Compile Include="Scripting\Global\LightingGlobal.cs" />
|
<Compile Include="Scripting\Global\LightingGlobal.cs" />
|
||||||
|
<Compile Include="Traits\SupportPowers\ProduceActorPower.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
this.info = info;
|
this.info = info;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override IOrderGenerator OrderGenerator(string order, SupportPowerManager manager)
|
public override void SelectTarget(Actor self, string order, SupportPowerManager manager)
|
||||||
{
|
{
|
||||||
Game.Sound.PlayToPlayer(manager.Self.Owner, Info.SelectTargetSound);
|
Game.Sound.PlayToPlayer(manager.Self.Owner, Info.SelectTargetSound);
|
||||||
return new SelectTarget(Self.World, order, manager, this);
|
self.World.OrderGenerator = new SelectUpgradeTarget(Self.World, order, manager, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Activate(Actor self, Order order, SupportPowerManager manager)
|
public override void Activate(Actor self, Order order, SupportPowerManager manager)
|
||||||
@@ -101,7 +101,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
class SelectTarget : IOrderGenerator
|
class SelectUpgradeTarget : IOrderGenerator
|
||||||
{
|
{
|
||||||
readonly GrantUpgradePower power;
|
readonly GrantUpgradePower power;
|
||||||
readonly int range;
|
readonly int range;
|
||||||
@@ -109,7 +109,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
readonly SupportPowerManager manager;
|
readonly SupportPowerManager manager;
|
||||||
readonly string order;
|
readonly string order;
|
||||||
|
|
||||||
public SelectTarget(World world, string order, SupportPowerManager manager, GrantUpgradePower power)
|
public SelectUpgradeTarget(World world, string order, SupportPowerManager manager, GrantUpgradePower power)
|
||||||
{
|
{
|
||||||
// Clear selection if using Left-Click Orders
|
// Clear selection if using Left-Click Orders
|
||||||
if (Game.Settings.Game.UseClassicMouseStyle)
|
if (Game.Settings.Game.UseClassicMouseStyle)
|
||||||
|
|||||||
75
OpenRA.Mods.Common/Traits/SupportPowers/ProduceActorPower.cs
Normal file
75
OpenRA.Mods.Common/Traits/SupportPowers/ProduceActorPower.cs
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
#region Copyright & License Information
|
||||||
|
/*
|
||||||
|
* Copyright 2007-2015 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. For more information,
|
||||||
|
* see COPYING.
|
||||||
|
*/
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
using System.Linq;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
namespace OpenRA.Mods.Common.Traits
|
||||||
|
{
|
||||||
|
[Desc("Produces an actor without using the standard production queue.")]
|
||||||
|
public class ProduceActorPowerInfo : SupportPowerInfo
|
||||||
|
{
|
||||||
|
[ActorReference, FieldLoader.Require]
|
||||||
|
[Desc("Actors to produce.")]
|
||||||
|
public readonly string[] Actors = null;
|
||||||
|
|
||||||
|
[FieldLoader.Require]
|
||||||
|
[Desc("Production queue type to use")]
|
||||||
|
public readonly string Type = null;
|
||||||
|
|
||||||
|
[Desc("Notification played when production is activated.",
|
||||||
|
"The filename of the audio is defined per faction in notifications.yaml.")]
|
||||||
|
public readonly string ReadyAudio = null;
|
||||||
|
|
||||||
|
[Desc("Notification played when the exit is jammed.",
|
||||||
|
"The filename of the audio is defined per faction in notifications.yaml.")]
|
||||||
|
public readonly string BlockedAudio = null;
|
||||||
|
|
||||||
|
public override object Create(ActorInitializer init) { return new ProduceActorPower(init, this); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ProduceActorPower : SupportPower
|
||||||
|
{
|
||||||
|
readonly string faction;
|
||||||
|
|
||||||
|
public ProduceActorPower(ActorInitializer init, ProduceActorPowerInfo info)
|
||||||
|
: base(init.Self, info)
|
||||||
|
{
|
||||||
|
faction = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SelectTarget(Actor self, string order, SupportPowerManager manager)
|
||||||
|
{
|
||||||
|
self.World.IssueOrder(new Order(order, manager.Self, false));
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Activate(Actor self, Order order, SupportPowerManager manager)
|
||||||
|
{
|
||||||
|
base.Activate(self, order, manager);
|
||||||
|
|
||||||
|
var info = Info as ProduceActorPowerInfo;
|
||||||
|
var sp = self.TraitsImplementing<Production>()
|
||||||
|
.FirstOrDefault(p => p.Info.Produces.Contains(info.Type));
|
||||||
|
|
||||||
|
// TODO: The power should not reset if the production fails.
|
||||||
|
// Fixing this will require a larger rework of the support power code
|
||||||
|
var activated = false;
|
||||||
|
|
||||||
|
if (sp != null)
|
||||||
|
foreach (var name in info.Actors)
|
||||||
|
activated |= sp.Produce(self, self.World.Map.Rules.Actors[name], faction);
|
||||||
|
|
||||||
|
if (activated)
|
||||||
|
Game.Sound.PlayNotification(self.World.Map.Rules, manager.Self.Owner, "Speech", info.ReadyAudio, self.Owner.Faction.InternalName);
|
||||||
|
else
|
||||||
|
Game.Sound.PlayNotification(self.World.Map.Rules, manager.Self.Owner, "Speech", info.BlockedAudio, self.Owner.Faction.InternalName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -81,6 +81,12 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
Game.Sound.PlayToPlayer(self.Owner, Info.EndChargeSound);
|
Game.Sound.PlayToPlayer(self.Owner, Info.EndChargeSound);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public virtual void SelectTarget(Actor self, string order, SupportPowerManager manager)
|
||||||
|
{
|
||||||
|
Game.Sound.PlayToPlayer(manager.Self.Owner, Info.SelectTargetSound);
|
||||||
|
self.World.OrderGenerator = new SelectGenericPowerTarget(order, manager, info.Cursor, MouseButton.Left);
|
||||||
|
}
|
||||||
|
|
||||||
public virtual void Activate(Actor self, Order order, SupportPowerManager manager)
|
public virtual void Activate(Actor self, Order order, SupportPowerManager manager)
|
||||||
{
|
{
|
||||||
if (Info.DisplayRadarPing && manager.RadarPings != null)
|
if (Info.DisplayRadarPing && manager.RadarPings != null)
|
||||||
@@ -92,11 +98,5 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
Info.RadarPingDuration);
|
Info.RadarPingDuration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual IOrderGenerator OrderGenerator(string order, SupportPowerManager manager)
|
|
||||||
{
|
|
||||||
Game.Sound.PlayToPlayer(manager.Self.Owner, Info.SelectTargetSound);
|
|
||||||
return new SelectGenericPowerTarget(order, manager, info.Cursor, MouseButton.Left);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -222,7 +222,11 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
if (!Ready)
|
if (!Ready)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
manager.Self.World.OrderGenerator = Instances.First().OrderGenerator(key, manager);
|
var power = Instances.FirstOrDefault();
|
||||||
|
if (power == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
power.SelectTarget(power.Self, key, manager);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Activate(Order order)
|
public void Activate(Order order)
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
{
|
{
|
||||||
public ChronoshiftPower(Actor self, ChronoshiftPowerInfo info) : base(self, info) { }
|
public ChronoshiftPower(Actor self, ChronoshiftPowerInfo info) : base(self, info) { }
|
||||||
|
|
||||||
public override IOrderGenerator OrderGenerator(string order, SupportPowerManager manager)
|
public override void SelectTarget(Actor self, string order, SupportPowerManager manager)
|
||||||
{
|
{
|
||||||
Game.Sound.PlayToPlayer(manager.Self.Owner, Info.SelectTargetSound);
|
Game.Sound.PlayToPlayer(manager.Self.Owner, Info.SelectTargetSound);
|
||||||
return new SelectTarget(Self.World, order, manager, this);
|
self.World.OrderGenerator = new SelectChronoshiftTarget(Self.World, order, manager, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Activate(Actor self, Order order, SupportPowerManager manager)
|
public override void Activate(Actor self, Order order, SupportPowerManager manager)
|
||||||
@@ -94,7 +94,7 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
class SelectTarget : IOrderGenerator
|
class SelectChronoshiftTarget : IOrderGenerator
|
||||||
{
|
{
|
||||||
readonly ChronoshiftPower power;
|
readonly ChronoshiftPower power;
|
||||||
readonly int range;
|
readonly int range;
|
||||||
@@ -102,7 +102,7 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
readonly SupportPowerManager manager;
|
readonly SupportPowerManager manager;
|
||||||
readonly string order;
|
readonly string order;
|
||||||
|
|
||||||
public SelectTarget(World world, string order, SupportPowerManager manager, ChronoshiftPower power)
|
public SelectChronoshiftTarget(World world, string order, SupportPowerManager manager, ChronoshiftPower power)
|
||||||
{
|
{
|
||||||
// Clear selection if using Left-Click Orders
|
// Clear selection if using Left-Click Orders
|
||||||
if (Game.Settings.Game.UseClassicMouseStyle)
|
if (Game.Settings.Game.UseClassicMouseStyle)
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ fremen:
|
|||||||
Buildable:
|
Buildable:
|
||||||
Queue: Infantry
|
Queue: Infantry
|
||||||
BuildPaletteOrder: 100
|
BuildPaletteOrder: 100
|
||||||
Prerequisites: ~barracks.atreides, palace, ~techlevel.high
|
Prerequisites: ~disabled
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 43
|
Speed: 43
|
||||||
Health:
|
Health:
|
||||||
@@ -207,7 +207,7 @@ saboteur:
|
|||||||
Buildable:
|
Buildable:
|
||||||
Queue: Infantry
|
Queue: Infantry
|
||||||
BuildPaletteOrder: 100
|
BuildPaletteOrder: 100
|
||||||
Prerequisites: ~barracks.ordos, palace, ~techlevel.high
|
Prerequisites: ~disabled
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 800
|
Cost: 800
|
||||||
Tooltip:
|
Tooltip:
|
||||||
|
|||||||
@@ -782,6 +782,12 @@ palace:
|
|||||||
ProvidesPrerequisite@nuke:
|
ProvidesPrerequisite@nuke:
|
||||||
Prerequisite: palace.nuke
|
Prerequisite: palace.nuke
|
||||||
Factions: harkonnen
|
Factions: harkonnen
|
||||||
|
ProvidesPrerequisite@fremen:
|
||||||
|
Prerequisite: palace.fremen
|
||||||
|
Factions: atreides
|
||||||
|
ProvidesPrerequisite@saboteur:
|
||||||
|
Prerequisite: palace.saboteur
|
||||||
|
Factions: ordos
|
||||||
NukePower:
|
NukePower:
|
||||||
Cursor: nuke
|
Cursor: nuke
|
||||||
Icon: deathhand
|
Icon: deathhand
|
||||||
@@ -800,6 +806,39 @@ palace:
|
|||||||
DisplayRadarPing: True
|
DisplayRadarPing: True
|
||||||
CameraActor: camera
|
CameraActor: camera
|
||||||
ActivationSequence:
|
ActivationSequence:
|
||||||
|
ProduceActorPower@fremen:
|
||||||
|
Description: Recruit Fremen
|
||||||
|
LongDesc: Elite sniper infantry unit \n Strong vs Infantry\n Weak vs Vehicles\n Special Ability: Invisibility
|
||||||
|
Icon: fremen
|
||||||
|
Prerequisites: ~techlevel.superweapons, ~palace.fremen
|
||||||
|
Actors: fremen, fremen
|
||||||
|
Type: Palace
|
||||||
|
ChargeTime: 60
|
||||||
|
ReadyAudio: Reinforce
|
||||||
|
BlockedAudio: NoRoom
|
||||||
|
OrderName: ProduceActorPower.Fremen
|
||||||
|
ProduceActorPower@saboteur:
|
||||||
|
Description: Recruit Saboteur
|
||||||
|
LongDesc: Sneaky infantry, armed with explosives \n Strong vs Buildings\n Weak vs Everything\n Special Ability: destroy buildings
|
||||||
|
Icon: saboteur
|
||||||
|
Prerequisites: ~techlevel.superweapons, ~palace.saboteur
|
||||||
|
Actors: saboteur
|
||||||
|
Type: Palace
|
||||||
|
ChargeTime: 40
|
||||||
|
ReadyAudio: Reinforce
|
||||||
|
BlockedAudio: NoRoom
|
||||||
|
OrderName: ProduceActorPower.Saboteur
|
||||||
|
Exit@1:
|
||||||
|
SpawnOffset: -704,768,0
|
||||||
|
ExitCell: -1,2
|
||||||
|
Exit@2:
|
||||||
|
SpawnOffset: -704,768,0
|
||||||
|
ExitCell: -1,3
|
||||||
|
Exit@3:
|
||||||
|
SpawnOffset: -704,768,0
|
||||||
|
ExitCell: 0,3
|
||||||
|
Production:
|
||||||
|
Produces: Palace
|
||||||
CanPowerDown:
|
CanPowerDown:
|
||||||
DisabledOverlay:
|
DisabledOverlay:
|
||||||
RequiresPower:
|
RequiresPower:
|
||||||
|
|||||||
@@ -324,6 +324,12 @@ icon:
|
|||||||
ornistrike: DATA.R8
|
ornistrike: DATA.R8
|
||||||
Start: 4031
|
Start: 4031
|
||||||
Offset: -30,-24
|
Offset: -30,-24
|
||||||
|
fremen: DATA.R8
|
||||||
|
Start: 4032
|
||||||
|
Offset: -30,-24
|
||||||
|
saboteur: DATA.R8
|
||||||
|
Start: 4034
|
||||||
|
Offset: -30,-24
|
||||||
deathhand: DATA.R8
|
deathhand: DATA.R8
|
||||||
Start: 4035
|
Start: 4035
|
||||||
Offset: -30,-24
|
Offset: -30,-24
|
||||||
|
|||||||
@@ -287,3 +287,44 @@ APACHE:
|
|||||||
RenderSprites:
|
RenderSprites:
|
||||||
Hovers:
|
Hovers:
|
||||||
|
|
||||||
|
HUNTER:
|
||||||
|
Inherits@1: ^GainsExperience
|
||||||
|
Inherits@2: ^ExistsInWorld
|
||||||
|
Valued:
|
||||||
|
Cost: 1000
|
||||||
|
Tooltip:
|
||||||
|
Name: Hunter-Seeker Droid
|
||||||
|
Health:
|
||||||
|
HP: 500
|
||||||
|
Armor:
|
||||||
|
Type: Light
|
||||||
|
DemoTruck:
|
||||||
|
Explodes:
|
||||||
|
Weapon: SuicideBomb
|
||||||
|
EmptyWeapon: SuicideBomb
|
||||||
|
Aircraft:
|
||||||
|
RearmBuildings:
|
||||||
|
RepairBuildings:
|
||||||
|
ROT: 16
|
||||||
|
Speed: 355
|
||||||
|
CruiseAltitude: 256
|
||||||
|
CanHover: True
|
||||||
|
Targetable:
|
||||||
|
TargetTypes: Ground, Vehicle
|
||||||
|
HiddenUnderFog:
|
||||||
|
Type: CenterPosition
|
||||||
|
BodyOrientation:
|
||||||
|
UseClassicPerspectiveFudge: False
|
||||||
|
RenderSprites:
|
||||||
|
Image: GGHUNT
|
||||||
|
WithFacingSpriteBody:
|
||||||
|
Hovers:
|
||||||
|
QuantizeFacingsFromSequence:
|
||||||
|
AutoSelectionSize:
|
||||||
|
DrawLineToTarget:
|
||||||
|
AppearsOnRadar:
|
||||||
|
UseLocation: yes
|
||||||
|
Selectable:
|
||||||
|
SelectionDecorations:
|
||||||
|
Palette: pips
|
||||||
|
ActorLostNotification:
|
||||||
|
|||||||
@@ -375,6 +375,18 @@ GAPLUG:
|
|||||||
InsufficientPowerSound:
|
InsufficientPowerSound:
|
||||||
DisplayRadarPing: True
|
DisplayRadarPing: True
|
||||||
CameraActor: camera
|
CameraActor: camera
|
||||||
|
ProduceActorPower:
|
||||||
|
UpgradeTypes: plug.hunterseeker
|
||||||
|
UpgradeMinEnabledLevel: 1
|
||||||
|
Description: Hunter Seeker
|
||||||
|
LongDesc: Releases a drone that will acquire and destroy an enemy target.
|
||||||
|
Icon: hunterseeker
|
||||||
|
Actors: hunter
|
||||||
|
Type: HunterSeeker
|
||||||
|
ChargeTime: 720
|
||||||
|
Production:
|
||||||
|
Produces: HunterSeeker
|
||||||
|
Exit@1:
|
||||||
SupportPowerChargeBar:
|
SupportPowerChargeBar:
|
||||||
Power:
|
Power:
|
||||||
Amount: -150
|
Amount: -150
|
||||||
@@ -382,22 +394,36 @@ GAPLUG:
|
|||||||
UpgradeTypes: plug.ioncannon
|
UpgradeTypes: plug.ioncannon
|
||||||
UpgradeMinEnabledLevel: 1
|
UpgradeMinEnabledLevel: 1
|
||||||
Amount: -100
|
Amount: -100
|
||||||
|
Power@hunterseeker:
|
||||||
|
UpgradeTypes: plug.hunterseeker
|
||||||
|
UpgradeMinEnabledLevel: 1
|
||||||
|
Amount: -50
|
||||||
Pluggable@pluga:
|
Pluggable@pluga:
|
||||||
Offset: 0,2
|
Offset: 0,2
|
||||||
Upgrades:
|
Upgrades:
|
||||||
plug.ioncannon: plug.ioncannon, plug.ioncannona
|
plug.ioncannon: plug.ioncannon, plug.ioncannona
|
||||||
|
plug.hunterseeker: plug.hunterseeker, plug.hunterseekera
|
||||||
WithIdleOverlay@ioncannona:
|
WithIdleOverlay@ioncannona:
|
||||||
UpgradeTypes: plug.ioncannona
|
UpgradeTypes: plug.ioncannona
|
||||||
UpgradeMinEnabledLevel: 1
|
UpgradeMinEnabledLevel: 1
|
||||||
Sequence: idle-ioncannona
|
Sequence: idle-ioncannona
|
||||||
|
WithIdleOverlay@hunterseekera:
|
||||||
|
UpgradeTypes: plug.hunterseekera
|
||||||
|
UpgradeMinEnabledLevel: 1
|
||||||
|
Sequence: idle-hunterseekera
|
||||||
Pluggable@plugb:
|
Pluggable@plugb:
|
||||||
Offset: 1,2
|
Offset: 1,2
|
||||||
Upgrades:
|
Upgrades:
|
||||||
plug.ioncannon: plug.ioncannon, plug.ioncannonb
|
plug.ioncannon: plug.ioncannon, plug.ioncannonb
|
||||||
|
plug.hunterseeker: plug.hunterseeker, plug.hunterseekerb
|
||||||
WithIdleOverlay@ioncannonb:
|
WithIdleOverlay@ioncannonb:
|
||||||
UpgradeTypes: plug.ioncannonb
|
UpgradeTypes: plug.ioncannonb
|
||||||
UpgradeMinEnabledLevel: 1
|
UpgradeMinEnabledLevel: 1
|
||||||
Sequence: idle-ioncannonb
|
Sequence: idle-ioncannonb
|
||||||
|
WithIdleOverlay@hunterseekerb:
|
||||||
|
UpgradeTypes: plug.hunterseekerb
|
||||||
|
UpgradeMinEnabledLevel: 1
|
||||||
|
Sequence: idle-hunterseekerb
|
||||||
ProvidesPrerequisite@buildingname:
|
ProvidesPrerequisite@buildingname:
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
VisualBounds: 115,104,0,-24
|
VisualBounds: 115,104,0,-24
|
||||||
|
|||||||
@@ -189,6 +189,22 @@ GAPOWRUP:
|
|||||||
Power:
|
Power:
|
||||||
Amount: 50
|
Amount: 50
|
||||||
|
|
||||||
|
GAPLUG2:
|
||||||
|
Inherits: ^BuildingPlug
|
||||||
|
Valued:
|
||||||
|
Cost: 1000
|
||||||
|
Tooltip:
|
||||||
|
Name: Seeker Control
|
||||||
|
Description: Enables use of the hunter-seeker droid.
|
||||||
|
Buildable:
|
||||||
|
Queue: Defense
|
||||||
|
BuildPaletteOrder: 1000
|
||||||
|
Prerequisites: gaplug, gatech, gaweap, ~structures.gdi
|
||||||
|
Plug:
|
||||||
|
Type: plug.hunterseeker
|
||||||
|
Power:
|
||||||
|
Amount: -50
|
||||||
|
|
||||||
GAPLUG3:
|
GAPLUG3:
|
||||||
Inherits: ^BuildingPlug
|
Inherits: ^BuildingPlug
|
||||||
Valued:
|
Valued:
|
||||||
|
|||||||
@@ -311,6 +311,16 @@ NATMPL:
|
|||||||
Amount: -200
|
Amount: -200
|
||||||
WithIdleOverlay@LIGHTS:
|
WithIdleOverlay@LIGHTS:
|
||||||
Sequence: idle-lights
|
Sequence: idle-lights
|
||||||
|
ProduceActorPower:
|
||||||
|
Description: Hunter Seeker
|
||||||
|
LongDesc: Releases a drone that will acquire and destroy an enemy target.
|
||||||
|
Icon: hunterseeker
|
||||||
|
Actors: hunter
|
||||||
|
Type: HunterSeeker
|
||||||
|
ChargeTime: 720
|
||||||
|
Production:
|
||||||
|
Produces: HunterSeeker
|
||||||
|
Exit@1:
|
||||||
|
|
||||||
NASTLH:
|
NASTLH:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
|
|||||||
@@ -148,27 +148,3 @@ LPST:
|
|||||||
UpgradeMinEnabledLevel: 1
|
UpgradeMinEnabledLevel: 1
|
||||||
Range: 18
|
Range: 18
|
||||||
RenderDetectionCircle:
|
RenderDetectionCircle:
|
||||||
|
|
||||||
GGHUNT:
|
|
||||||
Inherits: ^Vehicle
|
|
||||||
Valued:
|
|
||||||
Cost: 1000
|
|
||||||
Tooltip:
|
|
||||||
Name: Hunter-Seeker Droid
|
|
||||||
Mobile:
|
|
||||||
ROT: 16
|
|
||||||
Speed: 355
|
|
||||||
Health:
|
|
||||||
HP: 500
|
|
||||||
Armor:
|
|
||||||
Type: Light
|
|
||||||
RevealsShroud:
|
|
||||||
Range: 7c0
|
|
||||||
WithFacingSpriteBody:
|
|
||||||
DemoTruck:
|
|
||||||
Voice: Attack
|
|
||||||
Explodes:
|
|
||||||
Weapon: SuicideBomb
|
|
||||||
EmptyWeapon: SuicideBomb
|
|
||||||
AutoSelectionSize:
|
|
||||||
|
|
||||||
|
|||||||
@@ -334,6 +334,7 @@ largecraters:
|
|||||||
icon:
|
icon:
|
||||||
clustermissile: mltiicon
|
clustermissile: mltiicon
|
||||||
ioncannon: ioncicon
|
ioncannon: ioncicon
|
||||||
|
hunterseeker: detnicon
|
||||||
|
|
||||||
clustermissile:
|
clustermissile:
|
||||||
up: null # TODO
|
up: null # TODO
|
||||||
|
|||||||
@@ -1234,6 +1234,15 @@ gaplug:
|
|||||||
Length: 15
|
Length: 15
|
||||||
Reverses: true
|
Reverses: true
|
||||||
Tick: 120
|
Tick: 120
|
||||||
|
idle-hunterseekera: gaplug_e
|
||||||
|
Length: 15
|
||||||
|
Tick: 120
|
||||||
|
Reverses: true
|
||||||
|
Offset: -12, -42
|
||||||
|
idle-hunterseekerb: gaplug_e
|
||||||
|
Length: 15
|
||||||
|
Reverses: true
|
||||||
|
Tick: 120
|
||||||
make: gtplugmk
|
make: gtplugmk
|
||||||
Length: 17
|
Length: 17
|
||||||
ShadowStart: 17
|
ShadowStart: 17
|
||||||
@@ -1241,5 +1250,8 @@ gaplug:
|
|||||||
Offset: 0, 0
|
Offset: 0, 0
|
||||||
UseTilesetCode: false
|
UseTilesetCode: false
|
||||||
|
|
||||||
|
gaplug2:
|
||||||
|
icon: rad2icon
|
||||||
|
|
||||||
gaplug3:
|
gaplug3:
|
||||||
icon: rad3icon
|
icon: rad3icon
|
||||||
Reference in New Issue
Block a user