Tidy ra dir

This commit is contained in:
Paul Chote
2010-09-09 20:27:35 +12:00
parent 55c3e9d5bb
commit 9ea3a404a3
47 changed files with 35 additions and 33 deletions

182
mods/ra/rules/civilian.yaml Normal file
View File

@@ -0,0 +1,182 @@
FCOM:
Inherits: ^CivBuilding
Building:
Power: -200
Footprint: xx xx
Dimensions: 2,2
Capturable: true
Health:
HP: 400
Armor:
Type: Wood
RevealsShroud:
Range: 10
Bib:
V01:
Inherits: ^CivBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
Tooltip:
Name: Church
V02:
Inherits: ^CivBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
V03:
Inherits: ^CivBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
V04:
Inherits: ^CivBuilding
Building:
Footprint: xx xx
Dimensions: 2,2
V05:
Inherits: ^CivBuilding
Building:
Footprint: xx
Dimensions: 2,1
V06:
Inherits: ^CivBuilding
Building:
Footprint: xx
Dimensions: 2,1
V07:
Inherits: ^CivBuilding
Building:
Footprint: xx
Dimensions: 2,1
V08:
Inherits: ^CivBuilding
V09:
Inherits: ^CivBuilding
V10:
Inherits: ^CivBuilding
V11:
Inherits: ^CivBuilding
V12:
Inherits: ^CivBuilding
V13:
Inherits: ^CivBuilding
V14:
Inherits: ^CivField
V15:
Inherits: ^CivField
V16:
Inherits: ^CivField
V17:
Inherits: ^CivField
V18:
Inherits: ^CivField
BARL:
Inherits: ^Building
Selectable:
Priority: 0
-RepairableBuilding:
Building:
BaseNormal: no
Adjacent: 0
Health:
HP: 10
Explodes:
Tooltip:
Name: Explosive Barrel
BRL3:
Inherits: ^Building
Selectable:
Priority: 0
-RepairableBuilding:
Building:
BaseNormal: no
Adjacent: 0
Health:
HP: 10
Explodes:
Tooltip:
Name: Explosive Barrel
MISS:
Inherits: ^CivBuilding
Selectable:
Priority: 0
Building:
Footprint: xxx xxx
Dimensions: 3,2
Capturable: true
Health:
HP: 400
Armor:
Type: Wood
Bib:
BR1:
Inherits: ^Bridge
Bridge:
Template: 235
DamagedTemplate: 236
DestroyedTemplate: 237
SouthOffset: 0,2
BR2:
Inherits: ^Bridge
Bridge:
Template: 238
DamagedTemplate: 239
DestroyedTemplate: 240
NorthOffset: 3,0
BR3:
Inherits: ^Bridge
Bridge:
Long: yes
ShorePieces: br1,br2
Template: 241
DamagedTemplate: 242
DestroyedTemplate: 243
DestroyedPlusNorthTemplate: 245
DestroyedPlusSouthTemplate: 244
DestroyedPlusBothTemplate: 246
NorthOffset: 2,0
SouthOffset: 0,1
BRIDGE1:
Inherits: ^Bridge
Bridge:
Template: 131
DamagedTemplate: 378
DestroyedTemplate: 132
Building:
Footprint: _____ _____ _____
Dimensions: 5,3
BRIDGE2:
Inherits: ^Bridge
Bridge:
Template: 133
DamagedTemplate: 379
DestroyedTemplate: 134
Building:
Footprint: _____ _____
Dimensions: 5,2

211
mods/ra/rules/defaults.yaml Normal file
View File

@@ -0,0 +1,211 @@
^Vehicle:
AppearsOnRadar:
Mobile:
Crushes: atmine, crate
TerrainSpeeds:
Clear: 60%
Rough: 40%
Road: 100%
Ore: 90%
Beach: 40%
ROT: 5
Selectable:
Voice: VehicleVoice
Targetable:
TargetTypes: Ground
Repairable:
Chronoshiftable:
Passenger:
CargoType: Vehicle
IronCurtainable:
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification: unitlst1.aud
^Tank:
AppearsOnRadar:
Mobile:
Crushes: wall, atmine, crate
TerrainSpeeds:
Clear: 80%
Rough: 70%
Road: 100%
Ore: 70%
Beach: 70%
ROT: 5
Selectable:
Voice: VehicleVoice
Targetable:
TargetTypes: Ground
Repairable:
Chronoshiftable:
Passenger:
CargoType: Vehicle
IronCurtainable:
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification: unitlst1.aud
^Infantry:
AppearsOnRadar:
Health:
Armor:
Type: None
RevealsShroud:
Range: 4
Mobile:
Crushes: apmine, crate
TerrainSpeeds:
Clear: 90%
Rough: 80%
Road: 100%
Ore: 100%
Beach: 80%
Selectable:
Voice: GenericVoice
Targetable:
TargetTypes: Ground
RenderInfantry:
AutoTarget:
Passenger:
CargoType: Infantry
HiddenUnderFog:
TeslaInstantKills:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification: unitlst1.aud
^Ship:
AppearsOnRadar:
Mobile:
Crushes: crate
TerrainSpeeds:
Water: 100%
Selectable:
Voice: ShipVoice
Targetable:
TargetTypes: Ground, Water
DetectCloaked:
Range: 3
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification: navylst1.aud
^Plane:
AppearsOnRadar:
Selectable:
Voice: GenericVoice
Targetable:
TargetTypes: Air
HiddenUnderFog:
GainsExperience:
GivesExperience:
DrawLineToTarget:
ActorLostNotification:
Notification: aunitl1.aud
^Building:
AppearsOnRadar:
Selectable:
Priority: 3
Targetable:
TargetTypes: Ground
Building:
Dimensions: 1,1
Footprint: x
RenderBuilding:
RepairableBuilding:
EmitInfantryOnSell:
ActorTypes: e1,e1,e1,c1,c2,e6
MustBeDestroyed:
GivesExperience:
FrozenUnderFog:
CaptureNotification:
Notification: strucap1.aud
^Wall:
AppearsOnRadar:
Building:
Dimensions: 1,1
Footprint: x
BuildSounds: placbldg.aud
Capturable: false
BaseNormal: no
DamagedSound: sandbag2.aud
DestroyedSound: sandbag2.aud
Adjacent: 7
Wall:
CrushClasses: wall
LineBuild:
Range: 8
Selectable:
Priority: 1
Targetable:
TargetTypes: Ground
RenderBuildingWall:
HasMakeAnimation: false
Palette: terrain
GivesExperience:
^CivBuilding:
Inherits: ^Building
-RepairableBuilding:
Health:
HP: 400
Armor:
Type: Wood
Tooltip:
Name: Civilian Building
^CivField:
Inherits: ^CivBuilding
-Selectable:
Tooltip:
Name: Field
^Tree:
Tooltip:
Name: Tree
RenderBuilding:
Palette: terrain
Building:
Footprint: x
Dimensions: 1,1
AppearsOnRadar:
RadarColorFromTerrain:
Terrain: Tree
^Husk:
Health:
HP: 140
Armor:
Type: Heavy
Husk:
Selectable:
Priority: -1
HiddenUnderFog:
AppearsOnRadar:
Burns:
^Bridge:
Tooltip:
Name: Bridge
BelowUnits:
Targetable:
TargetTypes: Ground, Water
Building:
Footprint: ____ ____
Dimensions: 4,2
Health:
HP: 1000

298
mods/ra/rules/infantry.yaml Normal file
View File

@@ -0,0 +1,298 @@
DOG:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 30
Prerequisites: barr
Owner: soviet
Valued:
Cost: 200
Tooltip:
Name: Attack Dog
Description: Anti-infantry unit. Not fooled by the \nSpy's disguise.\n Strong vs Infantry\n Weak vs Vehicles
Selectable:
Voice: DogVoice
Bounds: 12,17,-1,-4
Health:
HP: 12
Mobile:
Speed: 7
RevealsShroud:
Range: 5
AutoTarget:
AttackLeap:
PrimaryWeapon: DogJaw
E1:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Prerequisites: @Barracks
Owner: allies,soviet
BuiltAt: barr,tent
Valued:
Cost: 100
Tooltip:
Name: Rifle Infantry
Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 50
Mobile:
Speed: 4
AttackBase:
PrimaryWeapon: M1Carbine
TakeCover:
E2:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Owner: soviet
Prerequisites: barr
BuiltAt: barr
Valued:
Cost: 160
Tooltip:
Name: Grenadier
Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 50
Mobile:
Speed: 5
AttackBase:
PrimaryWeapon: Grenade
PrimaryOffset: 0,0,0,-13
FireDelay: 15
TakeCover:
E3:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Owner: allies,soviet
Prerequisites: @Barracks
BuiltAt: barr,tent
Valued:
Cost: 300
Tooltip:
Name: Rocket Soldier
Description: Anti-tank/Anti-aircraft infantry.\n Strong vs Tanks, Aircraft\n Weak vs Infantry
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 45
Mobile:
Speed: 3
AttackBase:
PrimaryWeapon: RedEye
SecondaryWeapon: Dragon
PrimaryOffset: 0,0,0,-13
TakeCover:
E4:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: stek, @Barracks
Owner: soviet
BuiltAt: barr,tent
Valued:
Cost: 300
Tooltip:
Name: Flamethrower
Description: Advanced Anti-infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 40
Mobile:
Speed: 3
AttackBase:
PrimaryWeapon: Flamer
PrimaryOffset: 0,0,0,-7
FireDelay: 8
TakeCover:
E6:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Owner: soviet,allies
Prerequisites: @Barracks
BuiltAt: barr,tent
Valued:
Cost: 500
Tooltip:
Name: Engineer
Description: Infiltrates and captures enemy structures.\n Strong vs Nothing\n Weak vs Everything
Selectable:
Voice: EngineerVoice
Bounds: 12,17,0,-9
Health:
HP: 25
Mobile:
Speed: 4
Passenger:
PipType: Yellow
EngineerRepair:
EngineerCapture:
TakeCover:
-AutoTarget:
SPY:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: dome, tent
Owner: allies
BuiltAt: tent
Valued:
Cost: 500
Tooltip:
Name: Spy
Description: Infiltrates enemy structures to gather \nintelligence. Exact effect depends on the \nbuilding infiltrated.\n Strong vs Nothing\n Weak vs Everything\n Special Ability: Disguised
Selectable:
Voice: SpyVoice
Bounds: 12,17,0,-9
Health:
HP: 25
Mobile:
Speed: 4
RevealsShroud:
Range: 5
Passenger:
PipType: Yellow
RenderSpy:
TakeCover:
Spy:
-RenderInfantry:
-AutoTarget:
E7:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 110
Prerequisites: @Tech Center, @Barracks
Owner: allies,soviet
BuiltAt: barr,tent
Valued:
Cost: 1200
Tooltip:
Name: Tanya
Description: Elite commando infantry, armed with \ndual pistols and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles\n Special Ability: Destroy Building with C4
Selectable:
Voice: TanyaVoice
Bounds: 12,17,0,-9
Health:
HP: 100
Mobile:
Speed: 5
RevealsShroud:
Range: 6
C4Demolition:
C4Delay: .03
AttackBase:
PrimaryWeapon: Colt45
SecondaryWeapon: Colt45
TakeCover:
MEDI:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Owner: allies
Prerequisites: tent
BuiltAt: tent
Valued:
Cost: 800
Tooltip:
Name: Medic
Description: Heals nearby infantry.\n Strong vs Nothing\n Weak vs Everything
Selectable:
Voice: MedicVoice
Bounds: 12,17,0,-9
Health:
HP: 80
Mobile:
Speed: 4
RevealsShroud:
Range: 3
Passenger:
PipType: Yellow
AutoHeal:
AttackBase:
PrimaryWeapon: Heal
TakeCover:
-AutoTarget:
C1:
Inherits: ^Infantry
Selectable:
Voice: CivilianMaleVoice
Bounds: 12,17,0,-9
Valued:
Cost: 70
Tooltip:
Name: Technician
Health:
HP: 20
Mobile:
Speed: 4
RevealsShroud:
Range: 2
AttackBase:
PrimaryWeapon: Pistol
C2:
Inherits: ^Infantry
Selectable:
Voice: CivilianFemaleVoice
Bounds: 12,17,0,-9
Valued:
Cost: 70
Tooltip:
Name: Technician
Health:
HP: 20
Mobile:
Speed: 4
RevealsShroud:
Range: 2
AttackBase:
PrimaryWeapon: Pistol
SHOK:
Inherits: ^Infantry
Buildable:
Queue: Infantry
Prerequisites: stek,tsla
Owner: soviet
Valued:
Cost: 900
Tooltip:
Name: Tesla Trooper
Description: TODO
Selectable:
Voice: ShokVoice
Bounds: 12,17,0,-9
Health:
HP: 80
Mobile:
Speed: 3
RevealsShroud:
Range: 4
AttackBase:
PrimaryWeapon: PortaTesla
TakeCover:

File diff suppressed because it is too large Load Diff

297
mods/ra/rules/system.yaml Normal file
View File

@@ -0,0 +1,297 @@
Player:
TechTreeCache:
ProductionQueue@Building:
Type: Building
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionQueue@Defense:
Type: Defense
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionQueue@Vehicle:
Type: Vehicle
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionQueue@Infantry:
Type: Infantry
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionQueue@Ship:
Type: Ship
BuildSpeed: .4
LowPowerSlowdown: 3
ProductionQueue@Plane:
Type: Plane
BuildSpeed: .4
LowPowerSlowdown: 3
PlaceBuilding:
GpsPower:
Image: gpssicon
OneShot: yes
ChargeTime: 8
Description: GPS Satellite
LongDesc: Reveals the entire map
Prerequisites: ATEK
TechLevel: 12
RevealDelay: 15
LaunchSound: satlnch1.aud
ChronoshiftPower:
Image: warpicon
ChargeTime: 4
Description: Chronoshift
LongDesc: Temporarily teleports a vehicle across \nthe map.
Prerequisites: PDOX
TechLevel: 12
SelectTargetSound: slcttgt1.aud
BeginChargeSound: chrochr1.aud
EndChargeSound: chrordy1.aud
IronCurtainPower:
Image: infxicon
ChargeTime: 6
Description: Invulnerability
LongDesc: Makes a single unit invulnerable for a \nshort time.
Prerequisites: IRON
TechLevel: 12
Duration: .75
SpyPlanePower:
Image: smigicon
ChargeTime: 3
Description: Spy Plane
LongDesc: Reveals an area of the map.
Prerequisites: AFLD
TechLevel: 5
ParatroopersPower:
Image: pinficon
ChargeTime: 6
Description: Paratroopers
LongDesc: A Badger drops a squad of Riflemen \nanywhere on the map
Prerequisites: AFLD
TechLevel: 5
DropItems: E1,E1,E1,E3,E3
SelectTargetSound: slcttgt1.aud
NukePower:
Image: atomicon
ChargeTime: 13
Description: Atom Bomb
LongDesc: Launches a nuclear missile at a target location.
Prerequisites: MSLO
TechLevel: 12
BeginChargeSound: aprep1.aud
EndChargeSound: aready1.aud
SelectTargetSound: slcttgt1.aud
LaunchSound: alaunch1.aud
SonarPulsePower:
Image: sonricon
ChargeTime: 10
Description: Sonar Pulse (Single Use)
LongDesc: Reveals all submarines on the map for a \nshort time.
TechLevel: 5
GivenAuto: no
OneShot: yes
AirstrikePower:
Image: pbmbicon
ChargeTime: 5
Description: Parabombs (Single Use)
LongDesc: A Badger drops a load of parachuted bombs on your target.
TechLevel: 5
GivenAuto: no
OneShot: yes
UnitType: badr.bomber
SelectTargetSound: slcttgt1.aud
FlareType: flare
ConquestVictoryConditions:
PlayerResources:
InitialCash: 5000
ActorGroupProxy:
DeveloperMode:
HackyAI:
World:
ScreenShaker:
ColorPickerPaletteModifier:
WaterPaletteRotation:
ChronoshiftPaletteEffect:
NukePaletteEffect:
LightPaletteRotator:
BuildingInfluence:
UnitInfluence:
ChooseBuildTabOnSelect:
BridgeLayer:
Bridges: bridge1, bridge2, br1, br2, br3
CrateDrop:
Minimum: 1
Maximum: 3
SpawnInterval: 120
WaterChance: .2
PaletteFromCurrentTheatre:
Name: terrain
PlayerColorPalette:
BasePalette: terrain
PaletteFromFile@chrome:
Name: chrome
Filename: temperat.pal
PaletteFromFile@effect:
Name: effect
Filename: temperat.pal
PaletteFromFile@cursor:
Name: cursor
Filename: temperat.pal
PaletteFromRGBA@shadow:
Name: shadow
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@highlight:
Name: highlight
R: 255
G: 255
B: 255
A: 128
PaletteFromRGBA@invuln:
Name: invuln
R: 128
G: 0
B: 0
A: 128
PaletteFromRGBA@disabled:
Name: disabled
R: 0
G: 0
B: 0
A: 180
ShroudPalette@shroud:
ShroudPalette@fog:
IsFog: yes
Name: fog
Country@0:
Name: Allies
Race: allies
Country@1:
Name: Soviet
Race: soviet
BibLayer:
ResourceLayer:
ResourceType@ore:
ResourceType: 1
Palette: terrain
SpriteNames: gold01,gold02,gold03,gold04
ValuePerUnit: 25
Name: Ore
ResourceType@gem:
ResourceType: 2
Palette: terrain
SpriteNames: gem01,gem02,gem03,gem04
ValuePerUnit: 50
Name: Gems
SmudgeLayer@SCORCH:
Type:Scorch
Types:sc1,sc2,sc3,sc4,sc5,sc6
Depths:1,1,1,1,1,1
SmudgeLayer@CRATER:
Type:Crater
Types:cr1,cr2,cr3,cr4,cr5,cr6
Depths:5,5,5,5,5,5
SpawnMapActors:
CreateMPPlayers:
MPStartLocations:
SpawnMPUnits:
EvaAlerts:
SpatialBins:
BinSize: 4
Shroud:
MINP:
Mine:
Weapon: APMine
CrushClasses: apmine
AvoidFriendly: yes
Health:
HP: 1
RenderUnit:
BelowUnits:
InvisibleToOthers:
MINV:
Mine:
Weapon: ATMine
CrushClasses: atmine
AvoidFriendly: yes
Health:
HP: 1
RenderUnit:
BelowUnits:
InvisibleToOthers:
CRATE:
Tooltip:
Name: Crate
Crate:
Lifetime: 120
TerrainTypes: Clear, Rough, Road, Water, Ore, Beach
GiveCashCrateAction:
Amount: 1000
SelectionShares: 50
Effect: dollar
LevelUpCrateAction:
SelectionShares: 40
ExplodeCrateAction@fire:
Weapon: CrateNapalm
SelectionShares: 5
ExplodeCrateAction@boom:
Weapon: CrateExplosion
SelectionShares: 5
HideMapCrateAction:
SelectionShares: 5
Effect: hide-map
RevealMapCrateAction:
SelectionShares: 1
Effect: reveal-map
SupportPowerCrateAction@parabombs:
Power: AirstrikePower
SelectionShares: 5
Effect: parabombs
GiveMcvCrateAction:
SelectionShares: 1000
Unit: mcv
GiveUnitCrateAction@jeep:
SelectionShares: 7
Unit: jeep
GiveUnitCrateAction@arty:
SelectionShares: 6
Unit: arty
GiveUnitCrateAction@v2rl:
SelectionShares: 6
Unit: v2rl
GiveUnitCrateAction@1tnk:
SelectionShares: 5
Unit: 1tnk
GiveUnitCrateAction@2tnk:
SelectionShares: 4
Unit: 2tnk
GiveUnitCrateAction@3tnk:
SelectionShares: 4
Unit: 3tnk
GiveUnitCrateAction@4tnk:
SelectionShares: 3
Unit: 4tnk
RenderUnit:
BelowUnits:
CAMERA:
Aircraft:
Health:
HP:1000
RevealsShroud:
Range: 10
FLARE:
Aircraft:
Health:
HP:1000
RevealsShroud:
Range: 3
RenderFlare:
Image: smokland
HiddenUnderFog:

164
mods/ra/rules/trees.yaml Normal file
View File

@@ -0,0 +1,164 @@
T01:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T02:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T03:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T05:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T06:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T07:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T08:
Inherits: ^Tree
Building:
Footprint: x_
Dimensions: 2,1
T10:
Inherits: ^Tree
Building:
Footprint: __ xx
Dimensions: 2,2
T11:
Inherits: ^Tree
Building:
Footprint: __ xx
Dimensions: 2,2
T12:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T13:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T14:
Inherits: ^Tree
Building:
Footprint: ___ xx_
Dimensions: 3,2
T15:
Inherits: ^Tree
Building:
Footprint: ___ xx_
Dimensions: 3,2
T16:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
T17:
Inherits: ^Tree
Building:
Footprint: __ x_
Dimensions: 2,2
TC01:
Inherits: ^Tree
Building:
Footprint: ___ xx_
Dimensions: 3,2
TC02:
Inherits: ^Tree
Building:
Footprint: _x_ xx_
Dimensions: 3,2
TC03:
Inherits: ^Tree
Building:
Footprint: xx_ xx_
Dimensions: 3,2
TC04:
Inherits: ^Tree
Building:
Footprint: ____ xxx_ x___
Dimensions: 4,3
TC05:
Inherits: ^Tree
Building:
Footprint: __x_ xxx_ _xx_
Dimensions: 4,3
MINE:
Inherits: ^Tree
Tooltip:
Name: Ore Mine
SeedsResource:
RadarColorFromTerrain:
Terrain: Ore
BOXES01:
Inherits: ^Tree
BOXES02:
Inherits: ^Tree
BOXES03:
Inherits: ^Tree
BOXES04:
Inherits: ^Tree
BOXES05:
Inherits: ^Tree
BOXES06:
Inherits: ^Tree
BOXES07:
Inherits: ^Tree
BOXES08:
Inherits: ^Tree
BOXES09:
Inherits: ^Tree

919
mods/ra/rules/vehicles.yaml Normal file
View File

@@ -0,0 +1,919 @@
BADR:
ParaDrop:
LZRange: 4
Inherits: ^Plane
Health:
HP: 60
Armor:
Type: Light
Plane:
ROT: 5
Speed: 16
RenderUnit:
WithShadow:
IronCurtainable:
Cargo:
Passengers: 10
Types: Infantry, Vehicle
-Selectable:
-GainsExperience:
BADR.bomber:
CarpetBomb:
Range: 3
Weapon: ParaBomb
Inherits: ^Plane
Health:
HP: 60
Armor:
Type: Light
Plane:
ROT: 5
Speed: 16
LimitedAmmo:
Ammo: 7
RenderUnit:
Image: badr
WithShadow:
IronCurtainable:
-Selectable:
-GainsExperience:
V2RL:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 40
Prerequisites: weap,dome
Owner: soviet
Valued:
Cost: 700
Tooltip:
Name: V2 Rocket
Description: Long-range rocket artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Health:
HP: 150
Armor:
Type: Light
Mobile:
Speed: 7
RevealsShroud:
Range: 5
AttackBase:
PrimaryWeapon: SCUD
RenderUnitReload:
# AutoTarget:
Explodes:
Weapon: SCUD
EmptyWeapon:
1TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 40
Prerequisites: weap
Owner: allies
Valued:
Cost: 700
Tooltip:
Name: Light Tank
Description: Light Tank, good for scouting.\n Strong vs Light Vehicles\n Weak vs Tanks, Aircraft
Health:
HP: 300
Armor:
Type: Heavy
Mobile:
Speed: 9
RevealsShroud:
Range: 4
Turreted:
ROT: 5
AttackTurreted:
PrimaryWeapon: 25mm
Recoil: 2
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
LeavesHusk:
HuskActor: 1TNK.Husk
2TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 60
Prerequisites: weap
Owner: allies
Valued:
Cost: 800
Tooltip:
Name: Medium Tank
Description: Allied Main Battle Tank.\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
Health:
HP: 400
Armor:
Type: Heavy
Mobile:
Speed: 7
RevealsShroud:
Range: 5
Turreted:
ROT: 5
AttackTurreted:
PrimaryWeapon: 90mm
Recoil: 3
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
LeavesHusk:
HuskActor: 2TNK.Husk
Selectable:
Bounds: 30,30
3TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 40
Prerequisites: weap
Owner: soviet
Valued:
Cost: 1200
Tooltip:
Name: Heavy Tank
Description: Soviet Main Battle Tank, with dual cannons\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
Health:
HP: 550
Armor:
Type: Heavy
Mobile:
Speed: 5
RevealsShroud:
Range: 5
Turreted:
ROT: 5
AttackTurreted:
PrimaryWeapon: 105mm
Recoil: 3
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
LeavesHusk:
HuskActor: 3TNK.Husk
Selectable:
Bounds: 30,30
4TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 100
Prerequisites: weap,stek
Owner: soviet
Valued:
Cost: 1800
Tooltip:
Name: Mammoth Tank
Description: Big and slow tank, with anti-air capability.\n Strong vs Tanks, Aircraft\n Weak vs Infantry
Health:
HP: 750
Armor:
Type: Heavy
Mobile:
Speed: 3
RevealsShroud:
Range: 6
Turreted:
ROT: 2
AttackTurreted:
PrimaryWeapon: 120mm
SecondaryWeapon: MammothTusk
PrimaryLocalOffset: -4,-5,0,4,-5,0
SecondaryLocalOffset: -7,2,25,7,2,-25
Recoil: 4
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
LeavesHusk:
HuskActor: 4TNK.Husk
SelfHealing:
Step: 1
Ticks: 5
HealIfBelow: 50%
Selectable:
Bounds: 44,38,0,-4
ARTY:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 80
Prerequisites: weap
Owner: allies
Valued:
Cost: 600
Tooltip:
Name: Artillery
Description: Long-range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Health:
HP: 75
Armor:
Type: Light
Mobile:
ROT: 2
Speed: 6
RevealsShroud:
Range: 5
AttackBase:
PrimaryWeapon: 155mm
RenderUnit:
Explodes:
AutoTarget:
HARV:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 10
Prerequisites: weap,proc
Owner: allies,soviet
Valued:
Cost: 1100
Tooltip:
Name: Ore Truck
Description: Collects Ore and Gems for processing.\n Unarmed
Selectable:
Priority: 7
Bounds: 42,42
Harvester:
Capacity: 20
Resources: Ore,Gems
Health:
HP: 600
Armor:
Type: Heavy
Mobile:
Speed: 6
RevealsShroud:
Range: 4
RenderUnit:
MCV:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 110
Prerequisites: weap,fix
Owner: allies,soviet
Valued:
Cost: 2000
Tooltip:
Name: Mobile Construction Vehicle
Description: Deploys into another Construction Yard.\n Unarmed
Selectable:
Priority: 3
Bounds: 42,42
Health:
HP: 600
Armor:
Type: Light
Mobile:
Speed: 6
RevealsShroud:
Range: 4
Transforms:
IntoActor: fact
Offset:-1,-1
Facing: 96
TransformSounds: placbldg.aud, build5.aud
NoTransformSounds: nodeply1.aud
RenderUnit:
MustBeDestroyed:
BaseBuilding:
JEEP:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 30
Prerequisites: weap
Owner: allies,soviet
Valued:
Cost: 500
Tooltip:
Name: Ranger
Description: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
Health:
HP: 150
Armor:
Type: Light
Mobile:
ROT: 10
Speed: 12
RevealsShroud:
Range: 8
Turreted:
ROT: 10
AttackTurreted:
PrimaryWeapon: M60mg
PrimaryOffset: 0,0,0,-2
MuzzleFlash: yes
RenderUnitTurreted:
AutoTarget:
APC:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 50
Prerequisites: weap,tent
Owner: allies
Valued:
Cost: 800
Tooltip:
Name: Armored Personnel Carrier
Description: Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
Health:
HP: 200
Armor:
Type: Heavy
Mobile:
Speed: 10
RevealsShroud:
Range: 5
AttackBase:
PrimaryWeapon: M60mg
PrimaryOffset: 0,0,0,-4
MuzzleFlash: yes
RenderUnit:
WithMuzzleFlash:
AutoTarget:
Cargo:
Types: Infantry
Passengers: 5
UnloadFacing: 220
MNLY.AP:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 30
Prerequisites: weap,fix
Owner: soviet
Valued:
Cost: 800
Tooltip:
Name: Minelayer (Anti-Personnel)
Icon: MNLYICON
Description: Lays mines to destroy unwary enemy units.\n Unarmed
Health:
HP: 100
Armor:
Type: Heavy
Mobile:
Speed: 9
RevealsShroud:
Range: 5
RenderUnit:
Image: MNLY
Minelayer:
Mine: MINP
MineImmune:
LimitedAmmo:
Ammo: 5
MNLY.AT:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 30
Prerequisites: weap,fix
Owner: allies
Valued:
Cost: 800
Tooltip:
Name: Minelayer (Anti-Tank)
Icon: MNLYICON
Description: Lays mines to destroy unwary enemy units.\n Unarmed
Health:
HP: 100
Armor:
Type: Heavy
Mobile:
Speed: 9
RevealsShroud:
Range: 5
RenderUnit:
Image: MNLY
Minelayer:
Mine: MINV
MineImmune:
LimitedAmmo:
Ammo: 5
TRUK:
Inherits: ^Vehicle
Health:
HP: 110
Armor:
Type: Light
Mobile:
Speed: 10
RevealsShroud:
Range: 3
RenderUnit:
SS:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 50
Prerequisites: spen
BuiltAt: spen
Owner: soviet
Valued:
Cost: 950
Tooltip:
Name: Submarine
Description: Submerged anti-ship unit armed with \ntorpedoes.\n Strong vs Ships\n Weak vs Everything\n Special Ability: Submerge
Health:
HP: 250
Armor:
Type: Light
Mobile:
ROT: 4
Speed: 5
RevealsShroud:
Range: 6
-Targetable:
TargetableCloaked:
TargetTypes: Ground, Water
CloakedTargetTypes: Underwater
RenderUnit:
Cloak:
InitialDelay: 0
CloakDelay: 2.0
CloakSound: subshow1.aud
UncloakSound: subshow1.aud
AttackBase:
PrimaryWeapon: TorpTube
PrimaryLocalOffset: -4,0,0,4,0,0
FireDelay: 2
Chronoshiftable:
IronCurtainable:
RepairableNear:
MSUB:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 60
Prerequisites: spen,stek
BuiltAt: spen
Owner: soviet
Valued:
Cost: 2400
Tooltip:
Name: Missile Submarine
Description: Submerged anti-ground unit armed with \nlong-range ballistic missiles.\n Strong vs Buildings\n Weak vs Everything\n Special Ability: Submerge
Health:
HP: 400
Armor:
Type: Light
Mobile:
ROT: 3
Speed: 3
RevealsShroud:
Range: 6
RenderUnit:
-Targetable:
TargetableCloaked:
TargetTypes: Ground, Water
CloakedTargetTypes: Underwater
Cloak:
InitialDelay: 0
CloakDelay: 2.0
CloakSound: subshow1.aud
UncloakSound: subshow1.aud
AttackBase:
PrimaryWeapon: SubMissile
FireDelay: 2
Chronoshiftable:
IronCurtainable:
RepairableNear:
DD:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 70
Prerequisites: syrd
BuiltAt: syrd
Owner: allies
Valued:
Cost: 1000
Tooltip:
Name: Destroyer
Description: Fast multi-role ship. \n Strong vs Submarines, Aircraft\n Weak vs Infantry, Tanks
Health:
HP: 400
Armor:
Type: Heavy
Mobile:
ROT: 7
Speed: 6
RevealsShroud:
Range: 6
Turreted:
ROT: 7
AttackTurreted:
PrimaryWeapon: Stinger
SecondaryWeapon: DepthCharge
PrimaryOffset: 0,-8,0,-3
RenderUnitTurreted:
AutoTarget:
Chronoshiftable:
IronCurtainable:
RepairableNear:
CA:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 100
Prerequisites: syrd,atek
BuiltAt: syrd
Owner: allies
Valued:
Cost: 3200
Tooltip:
Name: Cruiser
Description: Very slow long-range ship. \n Strong vs Buildings\n Weak vs Ships, Submarines
Health:
HP: 800
Armor:
Type: Heavy
Mobile:
ROT: 2
Speed: 2
RevealsShroud:
Range: 7
Turreted:
ROT: 3
AttackTurreted:
PrimaryWeapon: 8Inch
SecondaryWeapon: 8Inch
PrimaryOffset: 0,17,0,-2
SecondaryOffset: 0,-17,0,-2
PrimaryLocalOffset: -4,-5,0,4,-5,0
SecondaryLocalOffset: -4,-5,0,4,-5,0
Recoil: 4
RenderUnitTurreted:
AutoTarget:
Chronoshiftable:
IronCurtainable:
RepairableNear:
LST:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 30
Owner: allies,soviet
Valued:
Cost: 700
Tooltip:
Name: Transport
Description: General-purpose naval transport.\nCan carry infantry and tanks.\n Unarmed
Health:
HP: 350
Armor:
Type: Heavy
Mobile:
ROT: 10
Speed: 14
RevealsShroud:
Range: 6
RenderUnit:
Cargo:
Types: Infantry, Vehicle
Passengers: 5
IronCurtainable:
RepairableNear:
PT:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 50
Prerequisites: syrd
BuiltAt: syrd
Owner: allies
Valued:
Cost: 500
Tooltip:
Name: Gunboat
Description: Light scout & support ship. \n Strong vs Ships, Submarines\n Weak vs Aircraft
Health:
HP: 200
Armor:
Type: Heavy
Mobile:
ROT: 7
Speed: 9
RevealsShroud:
Range: 7
Turreted:
ROT: 7
AttackTurreted:
PrimaryWeapon: 2Inch
SecondaryWeapon: DepthCharge
PrimaryOffset: 0,-6,0,-1
RenderUnitTurreted:
AutoTarget:
Chronoshiftable:
IronCurtainable:
RepairableNear:
MIG:
Inherits: ^Plane
Buildable:
Queue: Plane
BuildPaletteOrder: 100
Prerequisites: afld, stek
BuiltAt: afld
Owner: soviet
Valued:
Cost: 1200
Tooltip:
Name: Mig Attack Plane
Description: Fast Ground-Attack Plane.\n Strong vs Buildings\n Weak vs Infantry, Light Vehicles
Health:
HP: 70
Armor:
Type: Light
RevealsShroud:
Range: 12
AttackPlane:
PrimaryWeapon: Maverick
SecondaryWeapon: Maverick
PrimaryLocalOffset: -15,0,-10,-12,0,6
SecondaryLocalOffset: 15,0,10,12,0,6
Plane:
InitialFacing: 192
ROT: 5
Speed: 20
RearmBuildings: afld
RenderUnit:
WithShadow:
LimitedAmmo:
Ammo: 8
IronCurtainable:
ReturnOnIdle:
Selectable:
Bounds: 44,40,0,0
YAK:
Inherits: ^Plane
Buildable:
Queue: Plane
BuildPaletteOrder: 50
Prerequisites: afld
BuiltAt: afld
Owner: soviet
Valued:
Cost: 800
Tooltip:
Name: Yak Attack Plane
Description: Anti-Tanks & Anti-Infantry Plane.\n Strong vs Infantry, Tanks\n Weak vs Buildings
Health:
HP: 60
Armor:
Type: Light
RevealsShroud:
Range: 10
AttackPlane:
PrimaryWeapon: ChainGun
SecondaryWeapon: ChainGun
PrimaryOffset: -5,-6,0,0
SecondaryOffset: 5,-6,0,0
Plane:
RearmBuildings: afld
InitialFacing: 192
ROT: 5
Speed: 16
RenderUnit:
WithShadow:
LimitedAmmo:
Ammo: 18
PipCount: 6
IronCurtainable:
ReturnOnIdle:
WithMuzzleFlash:
TRAN:
Inherits: ^Plane
Buildable:
Queue: Plane
BuildPaletteOrder: 110
Prerequisites: hpad
BuiltAt: hpad
Owner: allies
Valued:
Cost: 1200
Tooltip:
Name: Transport Helicopter
Description: Fast Infantry Transport Helicopter.\n Unarmed
Health:
HP: 90
Armor:
Type: Light
RevealsShroud:
Range: 12
Helicopter:
RearmBuildings: hpad
InitialFacing: 20
ROT: 5
Speed: 12
RenderUnitRotor:
PrimaryOffset: 0,14,0,-4
SecondaryOffset: 0,-14,0,-2
WithShadow:
Cargo:
Types: Infantry
Passengers: 5
IronCurtainable:
HELI:
Inherits: ^Plane
Buildable:
Queue: Plane
BuildPaletteOrder: 90
Prerequisites: hpad
BuiltAt: hpad
Owner: allies
Valued:
Cost: 1200
Tooltip:
Name: Longbow
Description: Helicopter Gunship with AG Missiles.\n Strong vs Buildings, Tanks\n Weak vs Infantry
Health:
HP: 120
Armor:
Type: Light
RevealsShroud:
Range: 12
AttackHeli:
PrimaryWeapon: Hellfire
SecondaryWeapon: Hellfire
PrimaryOffset: -5,0,0,2
SecondaryOffset: 5,0,0,2
Helicopter:
RearmBuildings: hpad
LandWhenIdle: false
InitialFacing: 20
ROT: 4
Speed: 16
RenderUnitRotor:
PrimaryOffset: 0,0,0,-2
WithShadow:
LimitedAmmo:
Ammo: 6
IronCurtainable:
HIND:
Inherits: ^Plane
Buildable:
Queue: Plane
BuildPaletteOrder: 90
Prerequisites: hpad
BuiltAt: hpad
Owner: allies
Valued:
Cost: 1200
Tooltip:
Name: Hind
Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks
Health:
HP: 120
Armor:
Type: Light
RevealsShroud:
Range: 12
AttackHeli:
PrimaryWeapon: ChainGun
SecondaryWeapon: ChainGun
PrimaryOffset: -5,-2,0,2
SecondaryOffset: 5,-2,0,2
Helicopter:
RearmBuildings: hpad
LandWhenIdle: false
InitialFacing: 20
ROT: 4
Speed: 12
RenderUnitRotor:
WithShadow:
LimitedAmmo:
Ammo: 24
PipCount: 6
IronCurtainable:
Selectable:
Bounds: 38,32,0,0
WithMuzzleFlash:
U2:
Inherits: ^Plane
Health:
HP: 2000
Armor:
Type: Heavy
Plane:
ROT: 7
Speed: 40
RenderUnit:
WithShadow:
IronCurtainable:
-Selectable:
-GainsExperience:
1TNK.Husk:
Inherits: ^Husk
Tooltip:
Name: Husk (Light Tank)
RenderUnit:
Image: 1tnk
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret
2TNK.Husk:
Inherits: ^Husk
Tooltip:
Name: Husk (Medium Tank)
RenderUnit:
Image: 2tnk
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret
3TNK.Husk:
Inherits: ^Husk
Tooltip:
Name: Husk (Heavy Tank)
RenderUnit:
Image: 3tnk
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret
4TNK.Husk:
Inherits: ^Husk
Tooltip:
Name: Husk (Mammoth Tank)
RenderUnit:
Image: 4tnk
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret
TTNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
Prerequisites: stek,tsla
Owner: soviet
Valued:
Cost: 1800
Tooltip:
Name: Tesla Tank
Description: TODO
Health:
HP: 110
Armor:
Type: Light
Mobile:
Speed: 8
RevealsShroud:
Range: 7
AttackBase:
PrimaryWeapon: TTankZap
RenderUnitSpinner:
Selectable:
Bounds: 28,28,0,0