Kill Unit trait; Radar signature tweaks
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
@@ -176,7 +176,6 @@
|
|||||||
<Compile Include="Traits\Render\RenderSimple.cs" />
|
<Compile Include="Traits\Render\RenderSimple.cs" />
|
||||||
<Compile Include="Traits\TraitsInterfaces.cs" />
|
<Compile Include="Traits\TraitsInterfaces.cs" />
|
||||||
<Compile Include="Traits\Turreted.cs" />
|
<Compile Include="Traits\Turreted.cs" />
|
||||||
<Compile Include="Traits\Unit.cs" />
|
|
||||||
<Compile Include="Traits\World\UnitInfluence.cs" />
|
<Compile Include="Traits\World\UnitInfluence.cs" />
|
||||||
<Compile Include="Network\UnitOrders.cs" />
|
<Compile Include="Network\UnitOrders.cs" />
|
||||||
<Compile Include="Traits\Util.cs" />
|
<Compile Include="Traits\Util.cs" />
|
||||||
@@ -258,4 +257,7 @@
|
|||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Traits\" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -38,7 +38,7 @@ namespace OpenRA.Traits
|
|||||||
public object Create(ActorInitializer init) { return new Building(init); }
|
public object Create(ActorInitializer init) { return new Building(init); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Building : INotifyDamage, IResolveOrder, IRenderModifier, IOccupySpace, IRadarSignature
|
public class Building : INotifyDamage, IResolveOrder, IRenderModifier, IOccupySpace
|
||||||
{
|
{
|
||||||
readonly Actor self;
|
readonly Actor self;
|
||||||
public readonly BuildingInfo Info;
|
public readonly BuildingInfo Info;
|
||||||
@@ -113,19 +113,5 @@ namespace OpenRA.Traits
|
|||||||
{
|
{
|
||||||
return Footprint.UnpathableTiles( self.Info.Name, Info, TopLeft );
|
return Footprint.UnpathableTiles( self.Info.Name, Info, TopLeft );
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<int2> RadarSignatureCells(Actor self)
|
|
||||||
{
|
|
||||||
return Footprint.Tiles(self);
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color RadarSignatureColor(Actor self)
|
|
||||||
{
|
|
||||||
var mod = self.traits.WithInterface<IRadarColorModifier>().FirstOrDefault();
|
|
||||||
if (mod != null)
|
|
||||||
return mod.RadarColorOverride(self);
|
|
||||||
|
|
||||||
return self.Owner.Color;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ using OpenRA.Traits.Activities;
|
|||||||
|
|
||||||
namespace OpenRA.Traits
|
namespace OpenRA.Traits
|
||||||
{
|
{
|
||||||
public class MobileInfo : ITraitInfo, ITraitPrerequisite<UnitInfo>
|
public class MobileInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
public readonly string[] TerrainTypes;
|
public readonly string[] TerrainTypes;
|
||||||
public readonly float[] TerrainSpeeds;
|
public readonly float[] TerrainSpeeds;
|
||||||
|
|||||||
@@ -11,19 +11,20 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Traits
|
namespace OpenRA.Mods.RA
|
||||||
{
|
{
|
||||||
public class UnitInfo : ITraitInfo
|
public class AppearsOnRadarInfo : TraitInfo<AppearsOnRadar> {}
|
||||||
|
public class AppearsOnRadar : IRadarSignature
|
||||||
{
|
{
|
||||||
public object Create( ActorInitializer init ) { return new Unit(); }
|
IOccupySpace Space;
|
||||||
}
|
|
||||||
|
|
||||||
public class Unit : IRadarSignature
|
|
||||||
{
|
|
||||||
public IEnumerable<int2> RadarSignatureCells(Actor self)
|
public IEnumerable<int2> RadarSignatureCells(Actor self)
|
||||||
{
|
{
|
||||||
yield return self.Location;
|
if (Space == null)
|
||||||
|
Space = self.traits.Get<IOccupySpace>();
|
||||||
|
return Space.OccupiedCells();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Color RadarSignatureColor(Actor self)
|
public Color RadarSignatureColor(Actor self)
|
||||||
@@ -233,6 +233,7 @@
|
|||||||
<Compile Include="Transforms.cs" />
|
<Compile Include="Transforms.cs" />
|
||||||
<Compile Include="Activities\Transform.cs" />
|
<Compile Include="Activities\Transform.cs" />
|
||||||
<Compile Include="ActorLostNotification.cs" />
|
<Compile Include="ActorLostNotification.cs" />
|
||||||
|
<Compile Include="AppearsOnRadar.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
<ProjectReference Include="..\OpenRA.FileFormats\OpenRA.FileFormats.csproj">
|
||||||
@@ -244,9 +245,6 @@
|
|||||||
<Name>OpenRA.Game</Name>
|
<Name>OpenRA.Game</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Chrome\" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
^Vehicle:
|
^Vehicle:
|
||||||
Category: Vehicle
|
Category: Vehicle
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: crate
|
Crushes: crate
|
||||||
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
^Tank:
|
^Tank:
|
||||||
Category: Vehicle
|
Category: Vehicle
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: wall, crate
|
Crushes: wall, crate
|
||||||
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
^Helicopter:
|
^Helicopter:
|
||||||
Category: Plane
|
Category: Plane
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Air
|
TargetTypes: Air
|
||||||
Selectable:
|
Selectable:
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
^Infantry:
|
^Infantry:
|
||||||
Category: Infantry
|
Category: Infantry
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Health:
|
Health:
|
||||||
Armor: none
|
Armor: none
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -90,13 +90,13 @@
|
|||||||
|
|
||||||
^CivInfantry:
|
^CivInfantry:
|
||||||
Inherits: ^Infantry
|
Inherits: ^Infantry
|
||||||
|
AppearsOnRadar:
|
||||||
Selectable:
|
Selectable:
|
||||||
Voice: CivilianMaleVoice
|
Voice: CivilianMaleVoice
|
||||||
Bounds: 12,17,0,-9
|
Bounds: 12,17,0,-9
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 70
|
Cost: 70
|
||||||
Description: Civilian
|
Description: Civilian
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 4
|
Speed: 4
|
||||||
Health:
|
Health:
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
^Plane:
|
^Plane:
|
||||||
Category: Plane
|
Category: Plane
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Selectable:
|
Selectable:
|
||||||
Voice: GenericVoice
|
Voice: GenericVoice
|
||||||
Targetable:
|
Targetable:
|
||||||
@@ -125,6 +125,7 @@
|
|||||||
|
|
||||||
^Building:
|
^Building:
|
||||||
Category: Building
|
Category: Building
|
||||||
|
AppearsOnRadar:
|
||||||
Selectable:
|
Selectable:
|
||||||
Priority: 3
|
Priority: 3
|
||||||
Targetable:
|
Targetable:
|
||||||
@@ -177,6 +178,7 @@
|
|||||||
|
|
||||||
^Wall:
|
^Wall:
|
||||||
Category: Building
|
Category: Building
|
||||||
|
AppearsOnRadar:
|
||||||
Building:
|
Building:
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
Footprint: x
|
Footprint: x
|
||||||
@@ -208,6 +210,7 @@
|
|||||||
Building:
|
Building:
|
||||||
Footprint: __ x_
|
Footprint: __ x_
|
||||||
Dimensions: 2,2
|
Dimensions: 2,2
|
||||||
|
AppearsOnRadar:
|
||||||
RadarColorFromTerrain:
|
RadarColorFromTerrain:
|
||||||
Terrain: Tree
|
Terrain: Tree
|
||||||
^Rock:
|
^Rock:
|
||||||
@@ -219,12 +222,12 @@
|
|||||||
Building:
|
Building:
|
||||||
Footprint: __ x_
|
Footprint: __ x_
|
||||||
Dimensions: 2,2
|
Dimensions: 2,2
|
||||||
|
AppearsOnRadar:
|
||||||
RadarColorFromTerrain:
|
RadarColorFromTerrain:
|
||||||
Terrain: Tree
|
Terrain: Tree
|
||||||
|
|
||||||
^Husk:
|
^Husk:
|
||||||
Category: Vehicle
|
Category: Vehicle
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 0
|
ROT: 0
|
||||||
Speed: 0
|
Speed: 0
|
||||||
@@ -235,6 +238,7 @@
|
|||||||
Selectable:
|
Selectable:
|
||||||
Priority: -1
|
Priority: -1
|
||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
|
AppearsOnRadar:
|
||||||
Burns:
|
Burns:
|
||||||
|
|
||||||
^Bridge:
|
^Bridge:
|
||||||
@@ -251,5 +255,3 @@
|
|||||||
DestroyedSound: xplobig4.aud
|
DestroyedSound: xplobig4.aud
|
||||||
Footprint: ______ ______ ______ ______
|
Footprint: ______ ______ ______ ______
|
||||||
Dimensions: 6,4
|
Dimensions: 6,4
|
||||||
RadarColorFromTerrain:
|
|
||||||
Terrain: Road
|
|
||||||
@@ -9,7 +9,6 @@ E1:
|
|||||||
Icon: e1icnh
|
Icon: e1icnh
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 4
|
Speed: 4
|
||||||
Health:
|
Health:
|
||||||
@@ -30,7 +29,6 @@ E2:
|
|||||||
Icon: e2icnh
|
Icon: e2icnh
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 4
|
Speed: 4
|
||||||
Health:
|
Health:
|
||||||
@@ -52,7 +50,6 @@ E3:
|
|||||||
Icon: e3icnh
|
Icon: e3icnh
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 3
|
Speed: 3
|
||||||
Health:
|
Health:
|
||||||
@@ -75,7 +72,6 @@ E4:
|
|||||||
Icon: e4icnh
|
Icon: e4icnh
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 4
|
Speed: 4
|
||||||
Health:
|
Health:
|
||||||
@@ -101,7 +97,6 @@ E5:
|
|||||||
Prerequisites: tmpl
|
Prerequisites: tmpl
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 4
|
Speed: 4
|
||||||
Health:
|
Health:
|
||||||
@@ -127,7 +122,6 @@ E6:
|
|||||||
Icon: e6icnh
|
Icon: e6icnh
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 4
|
Speed: 4
|
||||||
Health:
|
Health:
|
||||||
@@ -152,7 +146,6 @@ RMBO:
|
|||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 12,17,0,-6
|
Bounds: 12,17,0,-6
|
||||||
Voice: CommandoVoice
|
Voice: CommandoVoice
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 5
|
Speed: 5
|
||||||
Health:
|
Health:
|
||||||
|
|||||||
@@ -158,6 +158,5 @@ CRATE:
|
|||||||
Effect: hide-map
|
Effect: hide-map
|
||||||
CloakCrateAction:
|
CloakCrateAction:
|
||||||
SelectionShares: 1000
|
SelectionShares: 1000
|
||||||
Unit:
|
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
BelowUnits:
|
BelowUnits:
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ MCV:
|
|||||||
LongDesc: Deploys into another Construction Yard.\n Unarmed
|
LongDesc: Deploys into another Construction Yard.\n Unarmed
|
||||||
Selectable:
|
Selectable:
|
||||||
Priority: 3
|
Priority: 3
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 6
|
Speed: 6
|
||||||
Health:
|
Health:
|
||||||
@@ -44,7 +43,6 @@ HARV:
|
|||||||
PipCount: 5
|
PipCount: 5
|
||||||
PipColor: Green
|
PipColor: Green
|
||||||
Capacity: 28
|
Capacity: 28
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 6
|
Speed: 6
|
||||||
Health:
|
Health:
|
||||||
@@ -64,7 +62,6 @@ APC:
|
|||||||
Cost: 700
|
Cost: 700
|
||||||
Description: Armored Personnel Carrier
|
Description: Armored Personnel Carrier
|
||||||
LongDesc: Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
|
LongDesc: Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 5
|
ROT: 5
|
||||||
Speed: 15
|
Speed: 15
|
||||||
@@ -95,7 +92,6 @@ ARTY:
|
|||||||
Cost: 600
|
Cost: 600
|
||||||
Description: Artillery
|
Description: Artillery
|
||||||
LongDesc: Long-range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
|
LongDesc: Long-range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 2
|
ROT: 2
|
||||||
Speed: 6
|
Speed: 6
|
||||||
@@ -120,7 +116,6 @@ FTNK:
|
|||||||
Cost: 800
|
Cost: 800
|
||||||
Description: Flame Tank
|
Description: Flame Tank
|
||||||
LongDesc: Heavily armored flame-throwing vehicle.\n Strong vs Infantry, Buildings\n Weak vs Aircraft
|
LongDesc: Heavily armored flame-throwing vehicle.\n Strong vs Infantry, Buildings\n Weak vs Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 5
|
ROT: 5
|
||||||
Speed: 9
|
Speed: 9
|
||||||
@@ -146,7 +141,6 @@ BGGY:
|
|||||||
Cost: 600
|
Cost: 600
|
||||||
Description: Nod Buggy
|
Description: Nod Buggy
|
||||||
LongDesc: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
|
LongDesc: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 10
|
ROT: 10
|
||||||
Speed: 18
|
Speed: 18
|
||||||
@@ -174,7 +168,6 @@ BIKE:
|
|||||||
Cost: 500
|
Cost: 500
|
||||||
Description: Recon Bike
|
Description: Recon Bike
|
||||||
LongDesc: Fast scout vehicle, armed with \nrockets.\n Strong vs Vehicles, Aircraft\n Weak vs Infantry
|
LongDesc: Fast scout vehicle, armed with \nrockets.\n Strong vs Vehicles, Aircraft\n Weak vs Infantry
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 10
|
ROT: 10
|
||||||
Speed: 20
|
Speed: 20
|
||||||
@@ -203,7 +196,6 @@ JEEP:
|
|||||||
Cost: 400
|
Cost: 400
|
||||||
Description: Hum-Vee
|
Description: Hum-Vee
|
||||||
LongDesc: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
|
LongDesc: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 10
|
ROT: 10
|
||||||
Speed: 15
|
Speed: 15
|
||||||
@@ -231,7 +223,6 @@ LTNK:
|
|||||||
Cost: 600
|
Cost: 600
|
||||||
Description: Light Tank
|
Description: Light Tank
|
||||||
LongDesc: Light Tank, good for scouting.\n Strong vs Light Vehicles\n Weak vs Tanks, Aircraft
|
LongDesc: Light Tank, good for scouting.\n Strong vs Light Vehicles\n Weak vs Tanks, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 9
|
Speed: 9
|
||||||
Health:
|
Health:
|
||||||
@@ -262,7 +253,6 @@ MTNK:
|
|||||||
Cost: 800
|
Cost: 800
|
||||||
Description: Medium Tank
|
Description: Medium Tank
|
||||||
LongDesc: General-Purpose GDI Tank.\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
|
LongDesc: General-Purpose GDI Tank.\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 9
|
Speed: 9
|
||||||
Health:
|
Health:
|
||||||
@@ -293,7 +283,6 @@ HTNK:
|
|||||||
Cost: 1500
|
Cost: 1500
|
||||||
Description: Mammoth Tank
|
Description: Mammoth Tank
|
||||||
LongDesc: Heavily armored GDI Tank.\n Strong vs Everything
|
LongDesc: Heavily armored GDI Tank.\n Strong vs Everything
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: wall, heavywall
|
Crushes: wall, heavywall
|
||||||
Speed: 3
|
Speed: 3
|
||||||
@@ -329,7 +318,6 @@ MSAM:
|
|||||||
Cost: 800
|
Cost: 800
|
||||||
Description: Rocket Launcher
|
Description: Rocket Launcher
|
||||||
LongDesc: Long range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
|
LongDesc: Long range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 6
|
Speed: 6
|
||||||
Health:
|
Health:
|
||||||
@@ -359,7 +347,6 @@ MLRS:
|
|||||||
Cost: 750
|
Cost: 750
|
||||||
Description: SSM Launcher
|
Description: SSM Launcher
|
||||||
LongDesc: Long range artillery.\n Strong vs Infantry, Aircraft\n Weak vs Tanks, Aircraft
|
LongDesc: Long range artillery.\n Strong vs Infantry, Aircraft\n Weak vs Tanks, Aircraft
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 6
|
Speed: 6
|
||||||
Health:
|
Health:
|
||||||
@@ -385,7 +372,6 @@ STNK:
|
|||||||
Cost: 900
|
Cost: 900
|
||||||
Description: Stealth Tank
|
Description: Stealth Tank
|
||||||
LongDesc: Missile tank that can bend light around \nitself to become invisible\n Strong vs Infantry, Aircraft\n Weak vs Tanks
|
LongDesc: Missile tank that can bend light around \nitself to become invisible\n Strong vs Infantry, Aircraft\n Weak vs Tanks
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 15
|
Speed: 15
|
||||||
Health:
|
Health:
|
||||||
@@ -414,7 +400,6 @@ TRAN:
|
|||||||
Cost: 1500
|
Cost: 1500
|
||||||
Description: Chinook Transport
|
Description: Chinook Transport
|
||||||
LongDesc: Fast Infantry Transport Helicopter.\n Unarmed
|
LongDesc: Fast Infantry Transport Helicopter.\n Unarmed
|
||||||
Unit:
|
|
||||||
MobileAir:
|
MobileAir:
|
||||||
InitialFacing: 20
|
InitialFacing: 20
|
||||||
ROT: 5
|
ROT: 5
|
||||||
@@ -443,7 +428,6 @@ HELI:
|
|||||||
Cost: 1200
|
Cost: 1200
|
||||||
Description: Apache Longbow
|
Description: Apache Longbow
|
||||||
LongDesc: Helicopter Gunship with AG Missiles.\n Strong vs Buildings, Tanks\n Weak vs Infantry
|
LongDesc: Helicopter Gunship with AG Missiles.\n Strong vs Buildings, Tanks\n Weak vs Infantry
|
||||||
Unit:
|
|
||||||
MobileAir:
|
MobileAir:
|
||||||
InitialFacing: 20
|
InitialFacing: 20
|
||||||
ROT: 4
|
ROT: 4
|
||||||
@@ -473,7 +457,6 @@ ORCA:
|
|||||||
Cost: 1200
|
Cost: 1200
|
||||||
Description: Orca
|
Description: Orca
|
||||||
LongDesc: Helicopter Gunship with AG Missiles.\n Strong vs Buildings, Tanks\n Weak vs Infantry
|
LongDesc: Helicopter Gunship with AG Missiles.\n Strong vs Buildings, Tanks\n Weak vs Infantry
|
||||||
Unit:
|
|
||||||
MobileAir:
|
MobileAir:
|
||||||
InitialFacing: 20
|
InitialFacing: 20
|
||||||
ROT: 4
|
ROT: 4
|
||||||
@@ -495,7 +478,6 @@ C17:
|
|||||||
ParaDrop:
|
ParaDrop:
|
||||||
LZRange: 1
|
LZRange: 1
|
||||||
Inherits: ^Plane
|
Inherits: ^Plane
|
||||||
Unit:
|
|
||||||
Plane:
|
Plane:
|
||||||
ROT: 5
|
ROT: 5
|
||||||
Speed: 25
|
Speed: 25
|
||||||
@@ -513,7 +495,6 @@ C17:
|
|||||||
|
|
||||||
A10:
|
A10:
|
||||||
Inherits: ^Plane
|
Inherits: ^Plane
|
||||||
Unit:
|
|
||||||
Plane:
|
Plane:
|
||||||
ROT: 4
|
ROT: 4
|
||||||
Speed: 25
|
Speed: 25
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
^Vehicle:
|
^Vehicle:
|
||||||
Category: Vehicle
|
Category: Vehicle
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: atmine, crate
|
Crushes: atmine, crate
|
||||||
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
^Tank:
|
^Tank:
|
||||||
Category: Vehicle
|
Category: Vehicle
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: wall, atmine, crate
|
Crushes: wall, atmine, crate
|
||||||
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
^Infantry:
|
^Infantry:
|
||||||
Category: Infantry
|
Category: Infantry
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Health:
|
Health:
|
||||||
Armor: none
|
Armor: none
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
^Ship:
|
^Ship:
|
||||||
Category: Ship
|
Category: Ship
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Mobile:
|
Mobile:
|
||||||
Crushes: crate
|
Crushes: crate
|
||||||
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
|
|
||||||
^Plane:
|
^Plane:
|
||||||
Category: Plane
|
Category: Plane
|
||||||
Unit:
|
AppearsOnRadar:
|
||||||
Selectable:
|
Selectable:
|
||||||
Voice: GenericVoice
|
Voice: GenericVoice
|
||||||
Targetable:
|
Targetable:
|
||||||
@@ -104,6 +104,7 @@
|
|||||||
|
|
||||||
^Building:
|
^Building:
|
||||||
Category: Building
|
Category: Building
|
||||||
|
AppearsOnRadar:
|
||||||
Selectable:
|
Selectable:
|
||||||
Priority: 3
|
Priority: 3
|
||||||
Targetable:
|
Targetable:
|
||||||
@@ -123,6 +124,7 @@
|
|||||||
|
|
||||||
^Wall:
|
^Wall:
|
||||||
Category: Building
|
Category: Building
|
||||||
|
AppearsOnRadar:
|
||||||
Building:
|
Building:
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
Footprint: x
|
Footprint: x
|
||||||
@@ -169,12 +171,12 @@
|
|||||||
Building:
|
Building:
|
||||||
Footprint: x
|
Footprint: x
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
|
AppearsOnRadar:
|
||||||
RadarColorFromTerrain:
|
RadarColorFromTerrain:
|
||||||
Terrain: Tree
|
Terrain: Tree
|
||||||
|
|
||||||
^Husk:
|
^Husk:
|
||||||
Category: Vehicle
|
Category: Vehicle
|
||||||
Unit:
|
|
||||||
Health:
|
Health:
|
||||||
HP: 140
|
HP: 140
|
||||||
Armor: Heavy
|
Armor: Heavy
|
||||||
@@ -182,6 +184,7 @@
|
|||||||
Selectable:
|
Selectable:
|
||||||
Priority: -1
|
Priority: -1
|
||||||
HiddenUnderFog:
|
HiddenUnderFog:
|
||||||
|
AppearsOnRadar:
|
||||||
Burns:
|
Burns:
|
||||||
|
|
||||||
^Bridge:
|
^Bridge:
|
||||||
@@ -196,5 +199,3 @@
|
|||||||
Dimensions: 4,2
|
Dimensions: 4,2
|
||||||
Health:
|
Health:
|
||||||
HP: 1000
|
HP: 1000
|
||||||
RadarColorFromTerrain:
|
|
||||||
Terrain: Road
|
|
||||||
@@ -257,7 +257,6 @@ SHOK:
|
|||||||
Bounds: 12,17,0,-9
|
Bounds: 12,17,0,-9
|
||||||
Health:
|
Health:
|
||||||
HP: 80
|
HP: 80
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 3
|
Speed: 3
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
|
|||||||
@@ -182,7 +182,6 @@ MINP:
|
|||||||
Weapon: APMine
|
Weapon: APMine
|
||||||
CrushClasses: apmine
|
CrushClasses: apmine
|
||||||
AvoidFriendly: yes
|
AvoidFriendly: yes
|
||||||
Unit:
|
|
||||||
Health:
|
Health:
|
||||||
HP: 1
|
HP: 1
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
@@ -195,7 +194,6 @@ MINV:
|
|||||||
Weapon: ATMine
|
Weapon: ATMine
|
||||||
CrushClasses: atmine
|
CrushClasses: atmine
|
||||||
AvoidFriendly: yes
|
AvoidFriendly: yes
|
||||||
Unit:
|
|
||||||
Health:
|
Health:
|
||||||
HP: 1
|
HP: 1
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
@@ -253,14 +251,11 @@ CRATE:
|
|||||||
GiveUnitCrateAction@4tnk:
|
GiveUnitCrateAction@4tnk:
|
||||||
SelectionShares: 3
|
SelectionShares: 3
|
||||||
Unit: 4tnk
|
Unit: 4tnk
|
||||||
|
|
||||||
Unit:
|
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
BelowUnits:
|
BelowUnits:
|
||||||
|
|
||||||
CAMERA:
|
CAMERA:
|
||||||
Aircraft:
|
Aircraft:
|
||||||
Unit:
|
|
||||||
Health:
|
Health:
|
||||||
HP:1000
|
HP:1000
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -268,7 +263,6 @@ CAMERA:
|
|||||||
|
|
||||||
FLARE:
|
FLARE:
|
||||||
Aircraft:
|
Aircraft:
|
||||||
Unit:
|
|
||||||
Health:
|
Health:
|
||||||
HP:1000
|
HP:1000
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ BADR:
|
|||||||
Health:
|
Health:
|
||||||
HP: 60
|
HP: 60
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Plane:
|
Plane:
|
||||||
ROT: 5
|
ROT: 5
|
||||||
Speed: 16
|
Speed: 16
|
||||||
@@ -25,7 +24,6 @@ BADR.bomber:
|
|||||||
Health:
|
Health:
|
||||||
HP: 60
|
HP: 60
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Plane:
|
Plane:
|
||||||
ROT: 5
|
ROT: 5
|
||||||
Speed: 16
|
Speed: 16
|
||||||
@@ -50,7 +48,6 @@ V2RL:
|
|||||||
Health:
|
Health:
|
||||||
HP: 150
|
HP: 150
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 7
|
Speed: 7
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -75,7 +72,6 @@ V2RL:
|
|||||||
Health:
|
Health:
|
||||||
HP: 300
|
HP: 300
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 9
|
Speed: 9
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -105,7 +101,6 @@ V2RL:
|
|||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 7
|
Speed: 7
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -135,7 +130,6 @@ V2RL:
|
|||||||
Health:
|
Health:
|
||||||
HP: 550
|
HP: 550
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 5
|
Speed: 5
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -165,7 +159,6 @@ V2RL:
|
|||||||
Health:
|
Health:
|
||||||
HP: 750
|
HP: 750
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 3
|
Speed: 3
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -202,7 +195,6 @@ ARTY:
|
|||||||
Health:
|
Health:
|
||||||
HP: 75
|
HP: 75
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 2
|
ROT: 2
|
||||||
Speed: 6
|
Speed: 6
|
||||||
@@ -231,7 +223,6 @@ HARV:
|
|||||||
Health:
|
Health:
|
||||||
HP: 600
|
HP: 600
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 6
|
Speed: 6
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -252,7 +243,6 @@ MCV:
|
|||||||
Health:
|
Health:
|
||||||
HP: 600
|
HP: 600
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 6
|
Speed: 6
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -279,7 +269,6 @@ JEEP:
|
|||||||
Health:
|
Health:
|
||||||
HP: 150
|
HP: 150
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 10
|
ROT: 10
|
||||||
Speed: 12
|
Speed: 12
|
||||||
@@ -306,7 +295,6 @@ APC:
|
|||||||
Health:
|
Health:
|
||||||
HP: 200
|
HP: 200
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 10
|
Speed: 10
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -336,7 +324,6 @@ MNLY.AP:
|
|||||||
Health:
|
Health:
|
||||||
HP: 100
|
HP: 100
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 9
|
Speed: 9
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -362,7 +349,6 @@ MNLY.AT:
|
|||||||
Health:
|
Health:
|
||||||
HP: 100
|
HP: 100
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 9
|
Speed: 9
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -380,7 +366,6 @@ TRUK:
|
|||||||
Health:
|
Health:
|
||||||
HP: 110
|
HP: 110
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 10
|
Speed: 10
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
@@ -400,7 +385,6 @@ SS:
|
|||||||
Health:
|
Health:
|
||||||
HP: 120
|
HP: 120
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 4
|
ROT: 4
|
||||||
Speed: 5
|
Speed: 5
|
||||||
@@ -433,7 +417,6 @@ MSUB:
|
|||||||
Health:
|
Health:
|
||||||
HP: 200
|
HP: 200
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 3
|
ROT: 3
|
||||||
Speed: 3
|
Speed: 3
|
||||||
@@ -465,7 +448,6 @@ DD:
|
|||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 7
|
ROT: 7
|
||||||
Speed: 6
|
Speed: 6
|
||||||
@@ -496,7 +478,6 @@ CA:
|
|||||||
Health:
|
Health:
|
||||||
HP: 800
|
HP: 800
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 2
|
ROT: 2
|
||||||
Speed: 2
|
Speed: 2
|
||||||
@@ -529,7 +510,6 @@ LST:
|
|||||||
Health:
|
Health:
|
||||||
HP: 350
|
HP: 350
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 10
|
ROT: 10
|
||||||
Speed: 14
|
Speed: 14
|
||||||
@@ -555,7 +535,6 @@ PT:
|
|||||||
Health:
|
Health:
|
||||||
HP: 200
|
HP: 200
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 7
|
ROT: 7
|
||||||
Speed: 9
|
Speed: 9
|
||||||
@@ -586,7 +565,6 @@ MIG:
|
|||||||
Health:
|
Health:
|
||||||
HP: 70
|
HP: 70
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 12
|
Range: 12
|
||||||
AttackPlane:
|
AttackPlane:
|
||||||
@@ -619,7 +597,6 @@ YAK:
|
|||||||
Health:
|
Health:
|
||||||
HP: 60
|
HP: 60
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 10
|
Range: 10
|
||||||
AttackPlane:
|
AttackPlane:
|
||||||
@@ -651,7 +628,6 @@ TRAN:
|
|||||||
Health:
|
Health:
|
||||||
HP: 90
|
HP: 90
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 12
|
Range: 12
|
||||||
Helicopter:
|
Helicopter:
|
||||||
@@ -681,7 +657,6 @@ HELI:
|
|||||||
Health:
|
Health:
|
||||||
HP: 120
|
HP: 120
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 12
|
Range: 12
|
||||||
AttackHeli:
|
AttackHeli:
|
||||||
@@ -714,7 +689,6 @@ HIND:
|
|||||||
Health:
|
Health:
|
||||||
HP: 120
|
HP: 120
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
Range: 12
|
Range: 12
|
||||||
AttackHeli:
|
AttackHeli:
|
||||||
@@ -737,7 +711,6 @@ U2:
|
|||||||
Health:
|
Health:
|
||||||
HP: 2000
|
HP: 2000
|
||||||
Armor: heavy
|
Armor: heavy
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
ROT: 7
|
ROT: 7
|
||||||
Speed: 40
|
Speed: 40
|
||||||
@@ -807,7 +780,6 @@ TTNK:
|
|||||||
Health:
|
Health:
|
||||||
HP: 110
|
HP: 110
|
||||||
Armor: light
|
Armor: light
|
||||||
Unit:
|
|
||||||
Mobile:
|
Mobile:
|
||||||
Speed: 8
|
Speed: 8
|
||||||
RevealsShroud:
|
RevealsShroud:
|
||||||
|
|||||||
Reference in New Issue
Block a user