Skip to content

Commit 71dac15

Browse files
committed
fix mobile emp and hover mlrs crash
1 parent 9a2b424 commit 71dac15

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

mods/ca/rules/gdi/commander-tree.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ promotion.Hover_MLRS.Reflector:
297297
Inherits: ^promotion_item
298298
Tooltip:
299299
Name: Hover MLRS Reflector
300+
WithProductionIconOverlay@Reflector:
301+
Types: Reflector
300302
RenderSprites:
301303
Image: hmlrs
302304
PromotionPalette:

mods/ca/rules/gdi/vehicles.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ MEMP:
461461
Queue: Vehicle
462462
BuildPaletteOrder: 260
463463
IconPalette: chrometd
464-
Prerequisites: tier3, vehicles, ~gdi, ~promotion.mobile_emp, ~!upg.moblie_emp
464+
Prerequisites: tier3, vehicles, ~gdi, ~promotion.mobile_emp, ~!upg.mobile_emp2
465465
Description: Deploys a Mobile EMP carrier that unleashes disabling pulses instead of direct damage.\\n Detonating the charge shuts down vehicles and defenses so allies can advance.\\n Requires power to arm and escorts to survive.\\n Strong vs Vehicles, Buildings\\n Weak vs Infantry, Aircraft
466466
Valued:
467467
Cost: 1050
@@ -528,6 +528,8 @@ MEMP:
528528

529529
MEMP.Volatile:
530530
Inherits: MEMP
531+
WithProductionIconOverlay@2:
532+
Types: Skull
531533
Buildable:
532534
Queue: Vehicle
533535
BuildPaletteOrder: 260
@@ -548,8 +550,10 @@ MEMP.Volatile:
548550

549551
MEMP.Ranged:
550552
Inherits: MEMP
553+
WithProductionIconOverlay@2:
554+
Types: Crosshair
551555
Buildable:
552-
Prerequisites: tier3, vehicles, ~gdi, ~promotion.mobile_emp.ranged
556+
Prerequisites: tier3, vehicles, ~gdi, ~promotion.mobile_emp.ranged, ~!upg.mobile_emp2
553557
Description: Refits the Mobile EMP with a Stable Reactor and launcher that fires EMP spheres from stand-off range instead of self-destructing.\\n Enables repeated pulses without sacrificing the vehicle but leaves it vulnerable while channeling.\\n Requires power to operate.\\n Strong vs Vehicles, Buildings\\n Weak vs Infantry, Aircraft
554558
Valued:
555559
Cost: 1250
@@ -567,12 +571,16 @@ MEMP.Ranged:
567571
PauseOnCondition: empdisable || being-warped
568572

569573
MEMP.Ranged.Improved:
570-
Inherits: MEMP
574+
Inherits: MEMP.Ranged
575+
WithProductionIconOverlay@2:
576+
Types: Wrench
571577
Buildable:
572578
Prerequisites: tier3, vehicles, ~gdi, ~promotion.mobile_emp.ranged.improved
573579
Description: Further tunes the Stable Reactor kit for greater reach and faster cycling, letting the Mobile EMP blanket battlefields from safety.\\n Sustains repeated EMP pulses without sacrificing the chassis but still needs escorts while firing.\\n Requires power to operate.\\n Strong vs Vehicles, Buildings\\n Weak vs Infantry, Aircraft
574580
Valued:
575581
Cost: 1500
582+
Tooltip:
583+
Name: Mobile E.M.P (Ranged, Improved)
576584
Armament@PRIMARY:
577585
Weapon: EmpSphereThrower.Improved
578586
LocalOffset: 900,180,340
@@ -718,6 +726,8 @@ hmlrs:
718726
Inherits: ^HoverVehicle
719727
Inherits: ^BiologicalDriver
720728
Inherits: ^PrioAntiLightAA
729+
RenderSprites:
730+
Image: hmlrs
721731
Valued:
722732
Cost: 1150
723733
Tooltip:
@@ -779,7 +789,6 @@ hmlrs.Reflector:
779789
Inherits: hmlrs
780790
Inherits: ^ReflectorArmor
781791
Buildable:
782-
IconPalette: chrome
783792
Prerequisites: vehicles, ~gdi, tier3, ~promotion.hover_mlrs.reflector
784793
Description: Prototype Hover Multiple Launch Rocket System.
785794
Tooltip:
@@ -793,7 +802,6 @@ hmlrs.PDL:
793802
Inherits: ^PointLaserDefenseSystem
794803
Inherits: hmlrs
795804
Buildable:
796-
IconPalette: chrome
797805
Prerequisites: vehicles, ~gdi, tier3, ~promotion.hover_mlrs.pdl
798806
Description: Prototype Hover Multiple Launch Rocket System.
799807
Valued:

0 commit comments

Comments
 (0)