sight moved to Unit/Building

This commit is contained in:
Chris Forbes
2010-01-11 18:37:35 +13:00
parent 50b138e2de
commit 4b19f1dfe5
7 changed files with 83 additions and 192 deletions

View File

@@ -33,7 +33,7 @@ namespace OpenRa.Game
public void Explore(Actor a) public void Explore(Actor a)
{ {
foreach (var t in Game.FindTilesInCircle((1f / Game.CellSize * a.CenterLocation).ToInt2(), a.LegacyInfo.Sight)) foreach (var t in Game.FindTilesInCircle((1f / Game.CellSize * a.CenterLocation).ToInt2(), a.Info.Traits.Get<OwnedActorInfo>().Sight))
explored[t.X, t.Y] = true; explored[t.X, t.Y] = true;
dirty = true; dirty = true;

View File

@@ -15,6 +15,7 @@ namespace OpenRa.Game.Traits
public readonly ArmorType Armor = ArmorType.none; public readonly ArmorType Armor = ArmorType.none;
public readonly bool Crewed = false; // replace with trait? public readonly bool Crewed = false; // replace with trait?
public readonly int InitialFacing = 128; public readonly int InitialFacing = 128;
public readonly int Sight = 0;
} }
class BuildingInfo : OwnedActorInfo, ITraitInfo class BuildingInfo : OwnedActorInfo, ITraitInfo

View File

@@ -7,7 +7,6 @@ namespace OpenRa.Game.Traits
{ {
class MobileInfo : ITraitInfo class MobileInfo : ITraitInfo
{ {
public readonly int Sight = 0;
public readonly int ROT = 0; public readonly int ROT = 0;
public readonly int Speed = 0; public readonly int Speed = 0;

View File

@@ -40,7 +40,8 @@ namespace RulesConverter
{ "HP", "Strength" }, { "HP", "Strength" },
{ "Armor", "Armor" }, { "Armor", "Armor" },
{ "Crewed", "Crewed" }, { "Crewed", "Crewed" },
{ "InitialFacing", "InitialFacing" } } { "InitialFacing", "InitialFacing" },
{ "Sight", "Sight" } }
}, },
{ "Selectable", new PL { { "Selectable", new PL {
@@ -50,7 +51,6 @@ namespace RulesConverter
}, },
{ "Mobile", new PL { { "Mobile", new PL {
{ "Sight", "Sight" },
{ "ROT", "ROT" }, { "ROT", "ROT" },
{ "Speed", "Speed" } } { "Speed", "Speed" } }
//{ "MovementType", ... }, //{ "MovementType", ... },
@@ -115,7 +115,8 @@ namespace RulesConverter
{ "Armor", "Armor" }, { "Armor", "Armor" },
{ "Crewed", "Crewed" }, { "Crewed", "Crewed" },
{ "WaterBound", "WaterBound" }, { "WaterBound", "WaterBound" },
{ "InitialFacing", "InitialFacing" } } { "InitialFacing", "InitialFacing" },
{ "Sight", "Sight" } }
}, },
{ "StoresOre", new PL { { "StoresOre", new PL {

View File

@@ -5,8 +5,8 @@ STNK:
Unit: Unit:
HP: 200 HP: 200
Armor: heavy Armor: heavy
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 10 Speed: 10
Turreted: Turreted:
@@ -32,8 +32,8 @@ TTNK:
HP: 110 HP: 110
Armor: light Armor: light
Crewed: yes Crewed: yes
Mobile:
Sight: 7 Sight: 7
Mobile:
ROT: 5 ROT: 5
Speed: 8 Speed: 8
AttackBase: AttackBase:
@@ -55,8 +55,8 @@ CTNK:
Unit: Unit:
HP: 350 HP: 350
Armor: light Armor: light
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 5 Speed: 5
AttackBase: AttackBase:
@@ -79,8 +79,8 @@ DTRK:
Unit: Unit:
HP: 110 HP: 110
Armor: light Armor: light
Mobile:
Sight: 3 Sight: 3
Mobile:
ROT: 5 ROT: 5
Speed: 8 Speed: 8
AttackBase: AttackBase:
@@ -103,8 +103,8 @@ QTNK:
HP: 300 HP: 300
Armor: heavy Armor: heavy
Crewed: no Crewed: no
Mobile:
Sight: 6 Sight: 6
Mobile:
ROT: 5 ROT: 5
Speed: 3 Speed: 3
RenderUnit: RenderUnit:
@@ -123,8 +123,8 @@ MSUB:
Unit: Unit:
HP: 150 HP: 150
Armor: light Armor: light
Mobile:
Sight: 6 Sight: 6
Mobile:
ROT: 7 ROT: 7
Speed: 5 Speed: 5
AttackBase: AttackBase:
@@ -147,8 +147,8 @@ SHOK:
Unit: Unit:
HP: 80 HP: 80
Armor: none Armor: none
Mobile:
Sight: 4 Sight: 4
Mobile:
Speed: 3 Speed: 3
AttackBase: AttackBase:
PrimaryWeapon: PortaTesla PrimaryWeapon: PortaTesla
@@ -172,8 +172,8 @@ MECH:
Unit: Unit:
HP: 60 HP: 60
Armor: none Armor: none
Mobile:
Sight: 3 Sight: 3
Mobile:
Speed: 4 Speed: 4
RenderInfantry: RenderInfantry:
AutoHeal: AutoHeal:

244
ra.yaml
View File

@@ -14,8 +14,8 @@ V2RL:
HP: 150 HP: 150
Armor: light Armor: light
Crewed: yes Crewed: yes
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 7 Speed: 7
AttackBase: AttackBase:
@@ -43,8 +43,8 @@ V2RL:
HP: 300 HP: 300
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Mobile:
Sight: 4 Sight: 4
Mobile:
ROT: 5 ROT: 5
Speed: 9 Speed: 9
Turreted: Turreted:
@@ -74,8 +74,8 @@ V2RL:
HP: 400 HP: 400
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 8 Speed: 8
Turreted: Turreted:
@@ -105,8 +105,8 @@ V2RL:
HP: 400 HP: 400
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 7 Speed: 7
Turreted: Turreted:
@@ -136,8 +136,8 @@ V2RL:
HP: 600 HP: 600
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Mobile:
Sight: 6 Sight: 6
Mobile:
ROT: 5 ROT: 5
Speed: 4 Speed: 4
Turreted: Turreted:
@@ -170,8 +170,8 @@ MRJ:
HP: 110 HP: 110
Armor: light Armor: light
Crewed: yes Crewed: yes
Mobile:
Sight: 7 Sight: 7
Mobile:
ROT: 5 ROT: 5
Speed: 9 Speed: 9
RenderUnitSpinner: RenderUnitSpinner:
@@ -198,8 +198,8 @@ MGG:
HP: 110 HP: 110
Armor: light Armor: light
Crewed: yes Crewed: yes
Mobile:
Sight: 4 Sight: 4
Mobile:
ROT: 5 ROT: 5
Speed: 9 Speed: 9
RenderUnitSpinner: RenderUnitSpinner:
@@ -225,8 +225,8 @@ ARTY:
HP: 75 HP: 75
Armor: light Armor: light
Crewed: yes Crewed: yes
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 2 ROT: 2
Speed: 6 Speed: 6
AttackBase: AttackBase:
@@ -257,8 +257,8 @@ HARV:
HP: 600 HP: 600
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Mobile:
Sight: 4 Sight: 4
Mobile:
ROT: 5 ROT: 5
Speed: 6 Speed: 6
RenderUnit: RenderUnit:
@@ -284,8 +284,8 @@ MCV:
HP: 600 HP: 600
Armor: light Armor: light
Crewed: yes Crewed: yes
Mobile:
Sight: 4 Sight: 4
Mobile:
ROT: 5 ROT: 5
Speed: 6 Speed: 6
McvDeploy: McvDeploy:
@@ -311,8 +311,8 @@ JEEP:
HP: 150 HP: 150
Armor: light Armor: light
Crewed: yes Crewed: yes
Mobile:
Sight: 6 Sight: 6
Mobile:
ROT: 10 ROT: 10
Speed: 10 Speed: 10
Turreted: Turreted:
@@ -342,8 +342,8 @@ APC:
Unit: Unit:
HP: 200 HP: 200
Armor: heavy Armor: heavy
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 10 Speed: 10
AttackBase: AttackBase:
@@ -377,8 +377,8 @@ MNLY.AP:
HP: 100 HP: 100
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 9 Speed: 9
RenderUnit: RenderUnit:
@@ -409,8 +409,8 @@ MNLY.AT:
HP: 100 HP: 100
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Mobile:
Sight: 5 Sight: 5
Mobile:
ROT: 5 ROT: 5
Speed: 9 Speed: 9
RenderUnit: RenderUnit:
@@ -438,8 +438,8 @@ SS:
Unit: Unit:
HP: 120 HP: 120
Armor: light Armor: light
Mobile:
Sight: 6 Sight: 6
Mobile:
ROT: 7 ROT: 7
Speed: 6 Speed: 6
RenderUnit: RenderUnit:
@@ -463,8 +463,8 @@ DD:
Unit: Unit:
HP: 400 HP: 400
Armor: heavy Armor: heavy
Mobile:
Sight: 6 Sight: 6
Mobile:
ROT: 7 ROT: 7
Speed: 6 Speed: 6
Turreted: Turreted:
@@ -490,8 +490,8 @@ CA:
Unit: Unit:
HP: 700 HP: 700
Armor: heavy Armor: heavy
Mobile:
Sight: 7 Sight: 7
Mobile:
ROT: 5 ROT: 5
Speed: 4 Speed: 4
Turreted: Turreted:
@@ -518,8 +518,8 @@ LST:
Unit: Unit:
HP: 350 HP: 350
Armor: heavy Armor: heavy
Mobile:
Sight: 6 Sight: 6
Mobile:
ROT: 10 ROT: 10
Speed: 14 Speed: 14
RenderUnit: RenderUnit:
@@ -541,8 +541,8 @@ PT:
Unit: Unit:
HP: 200 HP: 200
Armor: heavy Armor: heavy
Mobile:
Sight: 7 Sight: 7
Mobile:
ROT: 7 ROT: 7
Speed: 9 Speed: 9
Turreted: Turreted:
@@ -569,6 +569,7 @@ MIG:
HP: 50 HP: 50
Armor: light Armor: light
InitialFacing: 192 InitialFacing: 192
Sight: 0
AttackPlane: AttackPlane:
PrimaryWeapon: Maverick PrimaryWeapon: Maverick
Plane: Plane:
@@ -596,6 +597,7 @@ YAK:
Armor: light Armor: light
Crewed: yes Crewed: yes
InitialFacing: 192 InitialFacing: 192
Sight: 0
AttackPlane: AttackPlane:
PrimaryWeapon: ChainGun PrimaryWeapon: ChainGun
Plane: Plane:
@@ -622,6 +624,7 @@ TRAN:
HP: 90 HP: 90
Armor: light Armor: light
InitialFacing: 20 InitialFacing: 20
Sight: 0
Helicopter: Helicopter:
ROT: 5 ROT: 5
Speed: 12 Speed: 12
@@ -649,6 +652,7 @@ HELI:
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
InitialFacing: 20 InitialFacing: 20
Sight: 0
AttackHeli: AttackHeli:
PrimaryWeapon: Hellfire PrimaryWeapon: Hellfire
PrimaryOffset: -5,0,0,2 PrimaryOffset: -5,0,0,2
@@ -679,6 +683,7 @@ HIND:
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
InitialFacing: 20 InitialFacing: 20
Sight: 0
AttackHeli: AttackHeli:
PrimaryWeapon: ChainGun PrimaryWeapon: ChainGun
PrimaryOffset: -5,0,0,2 PrimaryOffset: -5,0,0,2
@@ -713,6 +718,7 @@ IRON:
HP: 400 HP: 400
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 10
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
IronCurtain: IronCurtain:
@@ -738,6 +744,7 @@ PDOX:
HP: 400 HP: 400
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 10
RenderBuilding: RenderBuilding:
Chronosphere: Chronosphere:
IronCurtainable: IronCurtainable:
@@ -761,6 +768,7 @@ PBOX:
HP: 400 HP: 400
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 5
Turreted: Turreted:
RenderBuilding: RenderBuilding:
AttackTurreted: AttackTurreted:
@@ -787,6 +795,7 @@ HBOX:
HP: 600 HP: 600
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 5
Turreted: Turreted:
RenderBuilding: RenderBuilding:
AttackTurreted: AttackTurreted:
@@ -814,6 +823,7 @@ TSLA:
HP: 400 HP: 400
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Sight: 8
Turreted: Turreted:
RenderBuildingCharge: RenderBuildingCharge:
AttackTurreted: AttackTurreted:
@@ -841,6 +851,7 @@ GUN:
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
InitialFacing: 50 InitialFacing: 50
Sight: 6
Turreted: Turreted:
RenderBuildingTurreted: RenderBuildingTurreted:
AttackTurreted: AttackTurreted:
@@ -869,6 +880,7 @@ AGUN:
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
InitialFacing: 224 InitialFacing: 224
Sight: 6
Turreted: Turreted:
RenderBuildingTurreted: RenderBuildingTurreted:
AttackTurreted: AttackTurreted:
@@ -896,6 +908,7 @@ FTUR:
HP: 400 HP: 400
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Sight: 6
RenderBuilding: RenderBuilding:
AttackTurreted: AttackTurreted:
PrimaryWeapon: FireballLauncher PrimaryWeapon: FireballLauncher
@@ -923,6 +936,7 @@ GAP:
HP: 1000 HP: 1000
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 10
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -945,6 +959,7 @@ SAM:
HP: 400 HP: 400
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Sight: 5
Turreted: Turreted:
RenderBuildingTurreted: RenderBuildingTurreted:
AttackTurreted: AttackTurreted:
@@ -971,6 +986,7 @@ MSLO:
HP: 400 HP: 400
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Sight: 5
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -995,6 +1011,7 @@ ATEK:
HP: 400 HP: 400
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 10
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
GpsLaunchSite: GpsLaunchSite:
@@ -1020,6 +1037,7 @@ WEAP:
HP: 1000 HP: 1000
Armor: light Armor: light
Crewed: yes Crewed: yes
Sight: 4
RenderWarFactory: RenderWarFactory:
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
@@ -1048,6 +1066,7 @@ SYRD:
HP: 1000 HP: 1000
Armor: light Armor: light
WaterBound: yes WaterBound: yes
Sight: 4
RenderBuilding: RenderBuilding:
ProductionSurround: ProductionSurround:
IronCurtainable: IronCurtainable:
@@ -1074,6 +1093,7 @@ SPEN:
HP: 1000 HP: 1000
Armor: light Armor: light
WaterBound: yes WaterBound: yes
Sight: 4
RenderBuilding: RenderBuilding:
ProductionSurround: ProductionSurround:
IronCurtainable: IronCurtainable:
@@ -1091,6 +1111,7 @@ FACT:
HP: 1000 HP: 1000
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Sight: 5
RenderBuilding: RenderBuilding:
ConstructionYard: ConstructionYard:
IronCurtainable: IronCurtainable:
@@ -1116,6 +1137,7 @@ PROC:
HP: 900 HP: 900
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 6
RenderBuilding: RenderBuilding:
AcceptsOre: AcceptsOre:
StoresOre: StoresOre:
@@ -1142,6 +1164,7 @@ SILO:
Capturable: true Capturable: true
HP: 300 HP: 300
Armor: wood Armor: wood
Sight: 4
RenderBuildingOre: RenderBuildingOre:
StoresOre: StoresOre:
Pips: 5 Pips: 5
@@ -1169,6 +1192,7 @@ HPAD:
HP: 800 HP: 800
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 5
RenderBuilding: RenderBuilding:
Production: Production:
BelowUnits: BelowUnits:
@@ -1197,6 +1221,7 @@ DOME:
HP: 1000 HP: 1000
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 10
RenderBuilding: RenderBuilding:
ProvidesRadar: ProvidesRadar:
IronCurtainable: IronCurtainable:
@@ -1221,6 +1246,7 @@ AFLD:
HP: 1000 HP: 1000
Armor: heavy Armor: heavy
Crewed: yes Crewed: yes
Sight: 7
RenderBuilding: RenderBuilding:
Production: Production:
BelowUnits: BelowUnits:
@@ -1248,6 +1274,7 @@ POWR:
HP: 400 HP: 400
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 4
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -1272,6 +1299,7 @@ APWR:
HP: 700 HP: 700
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 4
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -1296,6 +1324,7 @@ STEK:
HP: 600 HP: 600
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 4
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -1320,6 +1349,7 @@ BARR:
HP: 800 HP: 800
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 5
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
@@ -1346,6 +1376,7 @@ TENT:
HP: 800 HP: 800
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 5
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
@@ -1369,6 +1400,7 @@ KENN:
Dimensions: 1,1 Dimensions: 1,1
HP: 400 HP: 400
Armor: wood Armor: wood
Sight: 4
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
@@ -1394,6 +1426,7 @@ FIX:
HP: 800 HP: 800
Armor: wood Armor: wood
Crewed: yes Crewed: yes
Sight: 5
RenderBuilding: RenderBuilding:
BelowUnits: BelowUnits:
Reservable: Reservable:
@@ -1418,6 +1451,7 @@ FACF:
BaseNormal: no BaseNormal: no
Bib: yes Bib: yes
HP: 30 HP: 30
Sight: 4
RenderBuilding: RenderBuilding:
Image: FACT Image: FACT
Fake: Fake:
@@ -1443,6 +1477,7 @@ WEAF:
BaseNormal: no BaseNormal: no
Bib: yes Bib: yes
HP: 30 HP: 30
Sight: 4
RenderWarFactory: RenderWarFactory:
RenderBuilding: RenderBuilding:
Image: WEAP Image: WEAP
@@ -1470,6 +1505,7 @@ SYRF:
Adjacent: 8 Adjacent: 8
HP: 30 HP: 30
WaterBound: yes WaterBound: yes
Sight: 4
RenderBuilding: RenderBuilding:
Image: SYRD Image: SYRD
Fake: Fake:
@@ -1487,6 +1523,7 @@ SPEF:
Adjacent: 8 Adjacent: 8
HP: 30 HP: 30
WaterBound: yes WaterBound: yes
Sight: 4
RenderBuilding: RenderBuilding:
Image: SPEN Image: SPEN
Fake: Fake:
@@ -1511,6 +1548,7 @@ DOMF:
BaseNormal: no BaseNormal: no
Bib: yes Bib: yes
HP: 30 HP: 30
Sight: 4
RenderBuilding: RenderBuilding:
Image: DOME Image: DOME
Fake: Fake:
@@ -1533,154 +1571,6 @@ MINV:
BelowUnits: BelowUnits:
InvisibleToOthers: InvisibleToOthers:
T01:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
T02:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
T03:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
T05:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
T06:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
T07:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
T08:
Inherits: DefaultBuilding
Building:
Footprint: x_
Dimensions: 2,1
RenderBuilding:
T10:
Inherits: DefaultBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
RenderBuilding:
T11:
Inherits: DefaultBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
RenderBuilding:
T12:
Inherits: DefaultBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
RenderBuilding:
T13:
Inherits: DefaultBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
RenderBuilding:
T14:
Inherits: DefaultBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
RenderBuilding:
T15:
Inherits: DefaultBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
RenderBuilding:
T16:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
T17:
Inherits: DefaultBuilding
Building:
Footprint: x_ x_
Dimensions: 2,2
RenderBuilding:
TC01:
Inherits: DefaultBuilding
Building:
Footprint: xx_ xx_
Dimensions: 3,2
RenderBuilding:
TC02:
Inherits: DefaultBuilding
Building:
Footprint: xx_ xx_
Dimensions: 3,2
RenderBuilding:
TC03:
Inherits: DefaultBuilding
Building:
Footprint: xx_ xx_
Dimensions: 3,2
RenderBuilding:
TC04:
Inherits: DefaultBuilding
Building:
Footprint: xxx_ xxx_ xxx_
Dimensions: 4,3
RenderBuilding:
TC05:
Inherits: DefaultBuilding
Building:
Footprint: xxx_ xxx_ xxx_
Dimensions: 4,3
RenderBuilding:
MINE:
Inherits: DefaultBuilding
Building:
Footprint: x
Dimensions: 1,1
RenderBuilding:
SeedsOre:
DOG: DOG:
Inherits: DefaultInfantry Inherits: DefaultInfantry
Buildable: Buildable:
@@ -1697,8 +1587,8 @@ DOG:
Unit: Unit:
HP: 12 HP: 12
Armor: none Armor: none
Mobile:
Sight: 5 Sight: 5
Mobile:
Speed: 4 Speed: 4
RenderInfantry: RenderInfantry:
Passenger: Passenger:
@@ -1717,8 +1607,8 @@ E1:
Unit: Unit:
HP: 50 HP: 50
Armor: none Armor: none
Mobile:
Sight: 4 Sight: 4
Mobile:
Speed: 4 Speed: 4
RenderInfantry: RenderInfantry:
AttackBase: AttackBase:
@@ -1742,8 +1632,8 @@ E2:
Unit: Unit:
HP: 50 HP: 50
Armor: none Armor: none
Mobile:
Sight: 4 Sight: 4
Mobile:
Speed: 5 Speed: 5
RenderInfantry: RenderInfantry:
AttackBase: AttackBase:
@@ -1768,8 +1658,8 @@ E3:
Unit: Unit:
HP: 45 HP: 45
Armor: none Armor: none
Mobile:
Sight: 4 Sight: 4
Mobile:
Speed: 3 Speed: 3
RenderInfantry: RenderInfantry:
AttackBase: AttackBase:
@@ -1795,8 +1685,8 @@ E4:
Unit: Unit:
HP: 40 HP: 40
Armor: none Armor: none
Mobile:
Sight: 4 Sight: 4
Mobile:
Speed: 3 Speed: 3
RenderInfantry: RenderInfantry:
AttackBase: AttackBase:
@@ -1822,8 +1712,8 @@ E6:
Unit: Unit:
HP: 25 HP: 25
Armor: none Armor: none
Mobile:
Sight: 4 Sight: 4
Mobile:
Speed: 4 Speed: 4
EngineerCapture: EngineerCapture:
RenderInfantry: RenderInfantry:
@@ -1847,8 +1737,8 @@ SPY:
Unit: Unit:
HP: 25 HP: 25
Armor: none Armor: none
Mobile:
Sight: 5 Sight: 5
Mobile:
Speed: 4 Speed: 4
RenderInfantry: RenderInfantry:
TakeCover: TakeCover:
@@ -1871,8 +1761,8 @@ THF:
Unit: Unit:
HP: 25 HP: 25
Armor: none Armor: none
Mobile:
Sight: 5 Sight: 5
Mobile:
Speed: 4 Speed: 4
RenderInfantry: RenderInfantry:
TakeCover: TakeCover:
@@ -1896,8 +1786,8 @@ E7:
Unit: Unit:
HP: 100 HP: 100
Armor: none Armor: none
Mobile:
Sight: 6 Sight: 6
Mobile:
Speed: 5 Speed: 5
RenderInfantry: RenderInfantry:
C4Demolition: C4Demolition:
@@ -1923,8 +1813,8 @@ MEDI:
Unit: Unit:
HP: 80 HP: 80
Armor: none Armor: none
Mobile:
Sight: 3 Sight: 3
Mobile:
Speed: 4 Speed: 4
RenderInfantry: RenderInfantry:
AutoHeal: AutoHeal:

View File

@@ -1,2 +1,2 @@
RulesConverter/bin/debug/RulesConverter units.ini rules.ini ra.yaml RulesConverter\bin\debug\RulesConverter.exe units.ini rules.ini ra.yaml
RulesConverter/bin/debug/RulesConverter aftermathUnits.ini aftrmath.ini aftermath.yaml RulesConverter\bin\debug\RulesConverter.exe aftermathUnits.ini aftrmath.ini aftermath.yaml