imported the original aftrmath.ini, some defaults, a slight hack in converter that we don't use yet.

This commit is contained in:
Bob
2010-01-13 13:14:08 +13:00
parent a3e071c60f
commit 6df3420e61
5 changed files with 10 additions and 44 deletions

View File

@@ -204,6 +204,8 @@ namespace RulesConverter
} }
var yaml = MiniYaml.FromFile( outputFile ); var yaml = MiniYaml.FromFile( outputFile );
if( File.Exists( "merge-" + outputFile ) )
yaml = MiniYaml.Merge( MiniYaml.FromFile( "merge-" + outputFile ), yaml );
yaml.OptimizeInherits( MiniYaml.FromFile( "defaults.yaml" ) ); yaml.OptimizeInherits( MiniYaml.FromFile( "defaults.yaml" ) );
yaml.WriteToFile( outputFile ); yaml.WriteToFile( outputFile );
} }

View File

@@ -132,14 +132,10 @@ SHOK:
Voice: ShokVoice Voice: ShokVoice
Unit: Unit:
HP: 80 HP: 80
Armor: none
Sight: 4
Speed: 3 Speed: 3
AttackBase: AttackBase:
PrimaryWeapon: PortaTesla PrimaryWeapon: PortaTesla
RenderInfantry:
TakeCover: TakeCover:
Passenger:
MECH: MECH:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -156,14 +152,11 @@ MECH:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 60 HP: 60
Armor: none
Sight: 3 Sight: 3
Speed: 4 Speed: 4
RenderInfantry:
AutoHeal: AutoHeal:
AttackBase: AttackBase:
PrimaryWeapon: GoodWrench PrimaryWeapon: GoodWrench
TakeCover: TakeCover:
SquishByTank: SquishByTank:
Passenger:

View File

@@ -119,6 +119,7 @@ Cost=1650
Points=45 Points=45
ROT=7 ROT=7
Cloakable=yes Cloakable=yes
Inaccurate=no
; Shock Trooper ; Shock Trooper
[SHOK] [SHOK]
@@ -134,6 +135,7 @@ Cost=900
Points=15 Points=15
Explodes=no Explodes=no
NoMovingFire=yes NoMovingFire=yes
Crushable=no
; field mechanic ; field mechanic
[MECH] [MECH]
@@ -457,7 +459,7 @@ Cost=200
Points=5 Points=5
IsCanine=yes IsCanine=yes
GuardRange=7 GuardRange=7
SelfHealing=no Selfhealing=no
[CHAN] [CHAN]
Strength=25 Strength=25

View File

@@ -11,10 +11,14 @@ DefaultVehicle:
IronCurtainable: IronCurtainable:
DefaultInfantry: DefaultInfantry:
Unit: Unit:
Armor: none
Sight: 4
Mobile: Mobile:
MovementType: Foot MovementType: Foot
Selectable: Selectable:
RenderInfantry:
Passenger:
DefaultShip: DefaultShip:
Unit: Unit:

35
ra.yaml
View File

@@ -2027,11 +2027,8 @@ DOG:
Bounds: 12,17,-1,-4 Bounds: 12,17,-1,-4
Unit: Unit:
HP: 12 HP: 12
Armor: none
Sight: 5 Sight: 5
Speed: 4 Speed: 4
RenderInfantry:
Passenger:
E1: E1:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2046,16 +2043,12 @@ E1:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 50 HP: 50
Armor: none
Sight: 4
Speed: 4 Speed: 4
RenderInfantry:
AttackBase: AttackBase:
PrimaryWeapon: M1Carbine PrimaryWeapon: M1Carbine
TakeCover: TakeCover:
SquishByTank: SquishByTank:
AutoTarget: AutoTarget:
Passenger:
E2: E2:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2070,10 +2063,7 @@ E2:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 50 HP: 50
Armor: none
Sight: 4
Speed: 5 Speed: 5
RenderInfantry:
AttackBase: AttackBase:
PrimaryWeapon: Grenade PrimaryWeapon: Grenade
PrimaryOffset: 0,0,0,-13 PrimaryOffset: 0,0,0,-13
@@ -2081,7 +2071,6 @@ E2:
TakeCover: TakeCover:
SquishByTank: SquishByTank:
AutoTarget: AutoTarget:
Passenger:
E3: E3:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2096,17 +2085,13 @@ E3:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 45 HP: 45
Armor: none
Sight: 4
Speed: 3 Speed: 3
RenderInfantry:
AttackBase: AttackBase:
PrimaryWeapon: RedEye PrimaryWeapon: RedEye
PrimaryOffset: 0,0,0,-13 PrimaryOffset: 0,0,0,-13
TakeCover: TakeCover:
SquishByTank: SquishByTank:
AutoTarget: AutoTarget:
Passenger:
E4: E4:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2122,10 +2107,7 @@ E4:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 40 HP: 40
Armor: none
Sight: 4
Speed: 3 Speed: 3
RenderInfantry:
AttackBase: AttackBase:
PrimaryWeapon: Flamer PrimaryWeapon: Flamer
PrimaryOffset: 0,0,0,-7 PrimaryOffset: 0,0,0,-7
@@ -2133,7 +2115,6 @@ E4:
TakeCover: TakeCover:
SquishByTank: SquishByTank:
AutoTarget: AutoTarget:
Passenger:
E6: E6:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2149,14 +2130,10 @@ E6:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 25 HP: 25
Armor: none
Sight: 4
Speed: 4 Speed: 4
EngineerCapture: EngineerCapture:
RenderInfantry:
TakeCover: TakeCover:
SquishByTank: SquishByTank:
Passenger:
SPY: SPY:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2173,13 +2150,10 @@ SPY:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 25 HP: 25
Armor: none
Sight: 5 Sight: 5
Speed: 4 Speed: 4
RenderInfantry:
TakeCover: TakeCover:
SquishByTank: SquishByTank:
Passenger:
THF: THF:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2196,13 +2170,10 @@ THF:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 25 HP: 25
Armor: none
Sight: 5 Sight: 5
Speed: 4 Speed: 4
RenderInfantry:
TakeCover: TakeCover:
SquishByTank: SquishByTank:
Passenger:
Thief: Thief:
E7: E7:
@@ -2220,17 +2191,14 @@ E7:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 100 HP: 100
Armor: none
Sight: 6 Sight: 6
Speed: 5 Speed: 5
RenderInfantry:
C4Demolition: C4Demolition:
AttackBase: AttackBase:
PrimaryWeapon: Colt45 PrimaryWeapon: Colt45
TakeCover: TakeCover:
SquishByTank: SquishByTank:
AutoTarget: AutoTarget:
Passenger:
MEDI: MEDI:
Inherits: DefaultInfantry Inherits: DefaultInfantry
@@ -2246,14 +2214,11 @@ MEDI:
Bounds: 12,17,0,-9 Bounds: 12,17,0,-9
Unit: Unit:
HP: 80 HP: 80
Armor: none
Sight: 3 Sight: 3
Speed: 4 Speed: 4
RenderInfantry:
AutoHeal: AutoHeal:
AttackBase: AttackBase:
PrimaryWeapon: Heal PrimaryWeapon: Heal
TakeCover: TakeCover:
SquishByTank: SquishByTank:
Passenger: