diff --git a/mods/ca/bits/china/bixi.hva b/mods/ca/bits/china/bixi.hva new file mode 100644 index 00000000..761c713c Binary files /dev/null and b/mods/ca/bits/china/bixi.hva differ diff --git a/mods/ca/bits/china/bixi.vxl b/mods/ca/bits/china/bixi.vxl new file mode 100644 index 00000000..b4996c3d Binary files /dev/null and b/mods/ca/bits/china/bixi.vxl differ diff --git a/mods/ca/bits/china/bixidragonicon.shp b/mods/ca/bits/china/bixidragonicon.shp new file mode 100644 index 00000000..f17708fb Binary files /dev/null and b/mods/ca/bits/china/bixidragonicon.shp differ diff --git a/mods/ca/bits/china/bixiempty.hva b/mods/ca/bits/china/bixiempty.hva new file mode 100644 index 00000000..761c713c Binary files /dev/null and b/mods/ca/bits/china/bixiempty.hva differ diff --git a/mods/ca/bits/china/bixiempty.vxl b/mods/ca/bits/china/bixiempty.vxl new file mode 100644 index 00000000..7ca01f66 Binary files /dev/null and b/mods/ca/bits/china/bixiempty.vxl differ diff --git a/mods/ca/bits/china/biximissile.hva b/mods/ca/bits/china/biximissile.hva new file mode 100644 index 00000000..e77b573b Binary files /dev/null and b/mods/ca/bits/china/biximissile.hva differ diff --git a/mods/ca/bits/china/biximissile.vxl b/mods/ca/bits/china/biximissile.vxl new file mode 100644 index 00000000..eebfb6de Binary files /dev/null and b/mods/ca/bits/china/biximissile.vxl differ diff --git a/mods/ca/rules/china/commander-tree.yaml b/mods/ca/rules/china/commander-tree.yaml index 11243b88..debe7808 100644 --- a/mods/ca/rules/china/commander-tree.yaml +++ b/mods/ca/rules/china/commander-tree.yaml @@ -346,6 +346,22 @@ hack.cameo_filler.overlord.1: Prerequisites: prerequisite.has_points, ~vehicles.china, ~!chinainf, ~filler.overlord2, disabled +commander_tree.Bixi_Dragon: + Inherits: ^default.commander_tree_item + RenderSprites: + Image: bixi + Tooltip: + Name: Bi Xi Dragon + Buildable: + Queue: Commander_Tree + BuildPaletteOrder: 530 + ForceIconLocation: true + Prerequisites: prerequisite.has_points, techcenter, ~vehicles.chinainf + Description: Unlocks the Bi Xi Dragon.\nA long-range rocket artillery.\n + TooltipExtras: + Strengths: • Strong vs any ground target + Weaknesses: • Weak vs Aircraft, Anti-Aircraft + commander_tree.Nuke_Cannon: Inherits: ^default.commander_tree_item RenderSprites: @@ -357,7 +373,7 @@ commander_tree.Nuke_Cannon: IconPalette: chrometd BuildPaletteOrder: 530 ForceIconLocation: true - Prerequisites: prerequisite.has_points, ~vehicles.china, ~!chinatnk + Prerequisites: prerequisite.has_points, ~vehicles.chinaatom Description: Unlocks the Nuke Cannon. TooltipExtras: Strengths: • Strong vs any ground target @@ -388,7 +404,7 @@ commander_tree.Nuke_Cannon.Range: IconPalette: chrometd BuildPaletteOrder: 532 ForceIconLocation: true - Prerequisites: prerequisite.has_points, ~vehicles.china, ~!chinatnk, ~commander_tree.nuke_cannon, ~!commander_tree.nuke_cannon.neutron + Prerequisites: prerequisite.has_points, ~vehicles.china, ~commander_tree.nuke_cannon, ~!commander_tree.nuke_cannon.neutron Description: Increases the range of the Nuke Cannon. TooltipExtras: Strengths: • Strong vs any ground target diff --git a/mods/ca/rules/china/vehicles.yaml b/mods/ca/rules/china/vehicles.yaml index c271dc1c..c947f49b 100644 --- a/mods/ca/rules/china/vehicles.yaml +++ b/mods/ca/rules/china/vehicles.yaml @@ -1524,3 +1524,92 @@ chnukecann.Husk: IntoActor: chnukecann RenderSprites: Image: chnukecann + +Bixi: + Inherits: ^FightingVehicle + Inherits: ^VoxelVehicle + RenderVoxels: + Scale: 0.8 + Image: bixi + WithVoxelBody: + RequiresCondition: !reloading + WithVoxelBody@deployed: + ShowShadow: true + Sequence: empty-idle + RequiresCondition: reloading + RenderSprites: + Image: bixi + Inherits: ^BiologicalDriver + Inherits: ^PrioArtillery + Inherits: ^SovietArtillery + Buildable: + Queue: Vehicle + BuildPaletteOrder: 115 + Prerequisites: techcenter, ~chweap, ~commander_tree.bixi_dragon + Description: Long-range rocket artillery.\n Strong vs Buildings, Infantry\n Weak vs Vehicles, Aircraft + Valued: + Cost: 900 + Tooltip: + Name: Bixi Dragon + Health: + HP: 16000 + Mobile: + Speed: 56 + TurnSpeed: 8 + Voice: Move + PauseOnCondition: aiming || being-captured || empdisable || being-warped || driver-dead + Passenger: + Voice: Move + Armament: + Weapon: BixiLauncher + ReloadingCondition: reloading + AttackFrontal: + TargetFrozenActors: True + ForceFireIgnoresActors: True + PauseOnCondition: empdisable || being-warped + Voice: Attack + FacingTolerance: 0 + GrantConditionOnAttack: + Condition: aiming + RevokeDelay: 50 + RevokeAll: false + MissileSpawnerMaster: + Actors: bixi.missile,bixi.missile + SpawnAllAtOnce: True + RespawnTicks: 125 + Explodes: + Weapon: BarrelExplode + Voiced: + VoiceSet: V3Voice + Exit@1: + SpawnOffset: 0,-150,350 + Exit@2: + SpawnOffset: 0,150,350 + +Bixi.Missile: + Inherits: ^VoxelShootableMissile + RenderVoxels: + Scale: 0.8 + Image: bixi.missile + RenderSprites: + Image: bixi.missile + Tooltip: + Name: Bixi Missile + Tooltip@NoRow: + Name: Bixi Missile + Health: + HP: 2500 + BallisticMissile: + LaunchAngle: 95 + Speed: 145 + SpawnedExplodes: + Weapon: BixiWeapon + EmptyWeapon: VisualExplodeHusk + RequiresCondition: !airborne && !blacknapalm + SpawnedExplodes@black_napalm: + Weapon: BixiWeapon.Black_Napalm + EmptyWeapon: VisualExplodeHusk + RequiresCondition: !airborne && blacknapalm + Explodes: + Weapon: VisualExplodeAirborne + RequiresCondition: airborne diff --git a/mods/ca/rules/china/weapons.yaml b/mods/ca/rules/china/weapons.yaml index bf64d7eb..b07dca0b 100644 --- a/mods/ca/rules/china/weapons.yaml +++ b/mods/ca/rules/china/weapons.yaml @@ -1113,3 +1113,35 @@ CHMineSpawner: Actors: chminv Range: 0 ValidTargets: Ground, Water, Air + +BixiLauncher: + Inherits: ^MissileArtillery + ReloadDelay: 5 + Range: 19c511 + MinRange: 5c0 + Report: vv3latta.aud, vv3lattb.aud + ValidTargets: Ground, Water + Projectile: InstantHit + Warhead@1Dam: TargetDamage + ValidTargets: Ground, Water + -Warhead@2Smu: LeaveSmudge + -Warhead@3Eff: CreateEffect + -Warhead@4EffWater: CreateEffect + +BixiWeapon: + Inherits: ^AntiGroundMissile + Inherits: ^NapalmMissile + ValidTargets: Ground, Trees, Water + Warhead@1: FireFragment + UseZOffsetAsAbsoluteHeight: true + Weapon: CHInfernoCannonC + ValidTargets: Air, Ground, Water + Chance: 25 + +BixiWeapon.Black_Napalm: + Inherits: BixiWeapon + Warhead@1: FireFragment + UseZOffsetAsAbsoluteHeight: true + Weapon: CHInfernoCannonC + ValidTargets: Air, Ground, Water + Chance: 25 diff --git a/mods/ca/rules/defaults.yaml b/mods/ca/rules/defaults.yaml index 35141fe9..b6592935 100644 --- a/mods/ca/rules/defaults.yaml +++ b/mods/ca/rules/defaults.yaml @@ -3980,6 +3980,40 @@ PROC.Dummy: GrantConditionOnDamageState@SmokeTrail: Condition: enable-smoke +^VoxelShootableMissile: + Inherits: ^ExistsInWorld + Inherits: ^SpriteActor + Inherits: ^LightArmor + Inherits: ^TSRenderVoxel + Valued: + Cost: 0 + BallisticMissile: + LaunchAngle: 128 + Speed: 165 + AirborneCondition: airborne + MissileSpawnerSlave: + LeavesTrails: + Image: smokey2 + Palette: tseffect-ignore-lighting-alpha75 + MovingInterval: 3 + Type: CenterPosition + Offsets: -200, 0, 0 + Targetable@GROUND: + TargetTypes: Ground, Vehicle + RequiresCondition: !airborne + Targetable@AIRBORNE: + TargetTypes: Air + RequiresCondition: airborne + HiddenUnderFog: + Type: GroundPosition + Tooltip: + Name: Missile + GenericName: Missile + ShowOwnerRow: false + HitShape: + RejectsOrders: + Interactable: + ^VoxelPlaneHusk: Inherits: ^PlaneHusk Inherits: ^TSRenderVoxel diff --git a/mods/ca/sequences/china.yaml b/mods/ca/sequences/china.yaml index 9ef61dfd..50d5aa74 100644 --- a/mods/ca/sequences/china.yaml +++ b/mods/ca/sequences/china.yaml @@ -701,6 +701,15 @@ chneutronmines: icon: chneutronmines.png AddExtension: false +bixi: + Inherits: ^VehicleOverlays + idle: invisibleitem + icon: bixidragonicon + +bixi.missile: + Inherits: ^HighRes + idle: invisibleitem + icon: chartybarr1: upartybarrage1icon diff --git a/mods/ca/sequences/voxels.yaml b/mods/ca/sequences/voxels.yaml index c693873f..83ae1a0a 100644 --- a/mods/ca/sequences/voxels.yaml +++ b/mods/ca/sequences/voxels.yaml @@ -105,6 +105,13 @@ nukecannon: deployed: nukecannonchassis turret: nukecannontur +bixi: + idle: bixi + empty-idle: bixiempty + +bixi.missile: + idle: biximissile + ecm: idle: ecm turret: ecmtur