Skip to content

Commit

Permalink
imported the original aftrmath.ini, some defaults, a slight hack in c…
Browse files Browse the repository at this point in the history
…onverter that we don't use yet.
  • Loading branch information
Bob authored and Bob committed Jan 13, 2010
1 parent a3e071c commit 6df3420
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 44 deletions.
2 changes: 2 additions & 0 deletions RulesConverter/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ static void Main(string[] args)
}

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.WriteToFile( outputFile );
}
Expand Down
7 changes: 0 additions & 7 deletions aftermath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,10 @@ SHOK:
Voice: ShokVoice
Unit:
HP: 80
Armor: none
Sight: 4
Speed: 3
AttackBase:
PrimaryWeapon: PortaTesla
RenderInfantry:
TakeCover:
Passenger:

MECH:
Inherits: DefaultInfantry
Expand All @@ -156,14 +152,11 @@ MECH:
Bounds: 12,17,0,-9
Unit:
HP: 60
Armor: none
Sight: 3
Speed: 4
RenderInfantry:
AutoHeal:
AttackBase:
PrimaryWeapon: GoodWrench
TakeCover:
SquishByTank:
Passenger:

4 changes: 3 additions & 1 deletion aftrmath.ini
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Cost=1650
Points=45
ROT=7
Cloakable=yes
Inaccurate=no

; Shock Trooper
[SHOK]
Expand All @@ -134,6 +135,7 @@ Cost=900
Points=15
Explodes=no
NoMovingFire=yes
Crushable=no

; field mechanic
[MECH]
Expand Down Expand Up @@ -457,7 +459,7 @@ Cost=200
Points=5
IsCanine=yes
GuardRange=7
SelfHealing=no
Selfhealing=no

[CHAN]
Strength=25
Expand Down
6 changes: 5 additions & 1 deletion defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ DefaultVehicle:
IronCurtainable:

DefaultInfantry:
Unit:
Unit:
Armor: none
Sight: 4
Mobile:
MovementType: Foot
Selectable:
RenderInfantry:
Passenger:

DefaultShip:
Unit:
Expand Down
35 changes: 0 additions & 35 deletions ra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2027,11 +2027,8 @@ DOG:
Bounds: 12,17,-1,-4
Unit:
HP: 12
Armor: none
Sight: 5
Speed: 4
RenderInfantry:
Passenger:

E1:
Inherits: DefaultInfantry
Expand All @@ -2046,16 +2043,12 @@ E1:
Bounds: 12,17,0,-9
Unit:
HP: 50
Armor: none
Sight: 4
Speed: 4
RenderInfantry:
AttackBase:
PrimaryWeapon: M1Carbine
TakeCover:
SquishByTank:
AutoTarget:
Passenger:

E2:
Inherits: DefaultInfantry
Expand All @@ -2070,18 +2063,14 @@ E2:
Bounds: 12,17,0,-9
Unit:
HP: 50
Armor: none
Sight: 4
Speed: 5
RenderInfantry:
AttackBase:
PrimaryWeapon: Grenade
PrimaryOffset: 0,0,0,-13
FireDelay: 15
TakeCover:
SquishByTank:
AutoTarget:
Passenger:

E3:
Inherits: DefaultInfantry
Expand All @@ -2096,17 +2085,13 @@ E3:
Bounds: 12,17,0,-9
Unit:
HP: 45
Armor: none
Sight: 4
Speed: 3
RenderInfantry:
AttackBase:
PrimaryWeapon: RedEye
PrimaryOffset: 0,0,0,-13
TakeCover:
SquishByTank:
AutoTarget:
Passenger:

E4:
Inherits: DefaultInfantry
Expand All @@ -2122,18 +2107,14 @@ E4:
Bounds: 12,17,0,-9
Unit:
HP: 40
Armor: none
Sight: 4
Speed: 3
RenderInfantry:
AttackBase:
PrimaryWeapon: Flamer
PrimaryOffset: 0,0,0,-7
FireDelay: 8
TakeCover:
SquishByTank:
AutoTarget:
Passenger:

E6:
Inherits: DefaultInfantry
Expand All @@ -2149,14 +2130,10 @@ E6:
Bounds: 12,17,0,-9
Unit:
HP: 25
Armor: none
Sight: 4
Speed: 4
EngineerCapture:
RenderInfantry:
TakeCover:
SquishByTank:
Passenger:

SPY:
Inherits: DefaultInfantry
Expand All @@ -2173,13 +2150,10 @@ SPY:
Bounds: 12,17,0,-9
Unit:
HP: 25
Armor: none
Sight: 5
Speed: 4
RenderInfantry:
TakeCover:
SquishByTank:
Passenger:

THF:
Inherits: DefaultInfantry
Expand All @@ -2196,13 +2170,10 @@ THF:
Bounds: 12,17,0,-9
Unit:
HP: 25
Armor: none
Sight: 5
Speed: 4
RenderInfantry:
TakeCover:
SquishByTank:
Passenger:
Thief:

E7:
Expand All @@ -2220,17 +2191,14 @@ E7:
Bounds: 12,17,0,-9
Unit:
HP: 100
Armor: none
Sight: 6
Speed: 5
RenderInfantry:
C4Demolition:
AttackBase:
PrimaryWeapon: Colt45
TakeCover:
SquishByTank:
AutoTarget:
Passenger:

MEDI:
Inherits: DefaultInfantry
Expand All @@ -2246,14 +2214,11 @@ MEDI:
Bounds: 12,17,0,-9
Unit:
HP: 80
Armor: none
Sight: 3
Speed: 4
RenderInfantry:
AutoHeal:
AttackBase:
PrimaryWeapon: Heal
TakeCover:
SquishByTank:
Passenger:

0 comments on commit 6df3420

Please sign in to comment.