diff --git a/mods/ts/rules/civilian-vehicles.yaml b/mods/ts/rules/civilian-vehicles.yaml index 83a53888e4..41ce3ebe4c 100644 --- a/mods/ts/rules/civilian-vehicles.yaml +++ b/mods/ts/rules/civilian-vehicles.yaml @@ -156,3 +156,39 @@ WINI: PipCount: 5 UnloadVoice: Unload +LOCOMOTIVE: + Inherits: ^Train + Valued: + Cost: 800 + Tooltip: + Name: Train Locomotive + Cargo: + Types: Infantry + MaxWeight: 2 + PipCount: 2 + UnloadVoice: Unload + +TRAINCAR: + Inherits: ^Train + Valued: + Cost: 800 + Tooltip: + Name: Passenger Car + Cargo: + Types: Infantry + MaxWeight: 10 + PipCount: 5 + UnloadVoice: Unload + +CARGOCAR: + Inherits: ^Train + Valued: + Cost: 800 + Tooltip: + Name: Cargo Car + Cargo: + Types: Infantry + MaxWeight: 10 + PipCount: 5 + UnloadVoice: Unload + diff --git a/mods/ts/rules/defaults.yaml b/mods/ts/rules/defaults.yaml index db45d8b621..8e441a34cc 100644 --- a/mods/ts/rules/defaults.yaml +++ b/mods/ts/rules/defaults.yaml @@ -44,6 +44,27 @@ UpgradeMinEnabledLevel: 1 UpgradeMaxAcceptedLevel: 2 +^EmpDisable: + UpgradeOverlay@EMPDISABLE: + UpgradeTypes: empdisable + UpgradeMinEnabledLevel: 1 + Palette: disabled + DisableUpgrade@EMPDISABLE: + UpgradeTypes: empdisable + UpgradeMinEnabledLevel: 1 + TimedUpgradeBar@EMPDISABLE: + Upgrade: empdisable + Color: 255,255,255 + WithDecoration@EMPDISABLE: + Image: emp + Sequence: idle + ReferencePoint: HCenter, VCenter + Palette: effect + UpgradeTypes: empdisable + ShowToEnemies: true + ZOffset: 512 + UpgradeMinEnabledLevel: 1 + ^BasicBuilding: Inherits: ^ExistsInWorld SelectionDecorations: @@ -332,6 +353,7 @@ ^Vehicle: Inherits@1: ^GainsExperience Inherits@2: ^ExistsInWorld + Inherits@3: ^EmpDisable DrawLineToTarget: Mobile: Crushes: crate @@ -376,25 +398,6 @@ Explodes: Weapon: UnitExplodeSmall EmptyWeapon: UnitExplodeSmall - UpgradeOverlay@EMPDISABLE: - UpgradeTypes: empdisable - UpgradeMinEnabledLevel: 1 - Palette: disabled - DisableUpgrade@EMPDISABLE: - UpgradeTypes: empdisable - UpgradeMinEnabledLevel: 1 - TimedUpgradeBar@EMPDISABLE: - Upgrade: empdisable - Color: 255,255,255 - WithDecoration@EMPDISABLE: - Image: emp - Sequence: idle - ReferencePoint: HCenter, VCenter - Palette: effect - UpgradeTypes: empdisable - ShowToEnemies: true - ZOffset: 512 - UpgradeMinEnabledLevel: 1 Cloak@CLOAKGENERATOR: UpgradeTypes: cloakgenerator UpgradeMinEnabledLevel: 1 @@ -646,3 +649,49 @@ HiddenUnderFog: ActorLostNotification: +^Train: + Inherits@1: ^EmpDisable + Inherits@2: ^ExistsInWorld + RenderVoxels: + WithVoxelBody: + DrawLineToTarget: + Mobile: + TerrainSpeeds: + Rail: 100 + ROT: 5 + Voice: Move + Speed: 113 + Health: + HP: 100 + Armor: + Type: Light + RevealsShroud: + Range: 5c0 + Selectable: + Bounds: 40,24 + SelectionDecorations: + Palette: pips + Voiced: + VoiceSet: Vehicle + TargetableUnit: + TargetTypes: Ground, Vehicle + Passenger: + CargoType: Infantry + Voice: Move + HiddenUnderFog: + BodyOrientation: + CameraPitch: 90 + QuantizedFacings: 0 + Explodes: + Weapon: UnitExplodeSmall + EmptyWeapon: UnitExplodeSmall + Cloak@CLOAKGENERATOR: + UpgradeTypes: cloakgenerator + UpgradeMinEnabledLevel: 1 + InitialDelay: 0 + CloakDelay: 90 + ThrowsShrapnel: + Weapons: SmallDebris + Pieces: 3, 7 + Range: 2c0, 5c0 + diff --git a/mods/ts/sequences/voxels.yaml b/mods/ts/sequences/voxels.yaml index 0d66f8a43c..8b06b25b0a 100644 --- a/mods/ts/sequences/voxels.yaml +++ b/mods/ts/sequences/voxels.yaml @@ -107,6 +107,15 @@ car: wini: idle: +locomotive: + idle: monoeng + +traincar: + idle: monocar + +cargocar: + idle: + sonic: idle: turret: sonictur