[core] name: combatEngineerX class: CustomUnitMetadata price: 3500 maxHp: 1000 mass: 4000 overrideAndReplace:combatEngineer displayLocaleKey: combatEngineer techLevel: 2 buildSpeed: 0.0005 availableInDemo: false selfRegenRate:0.1 radius: 17 displayRadius: 18 isBio: false isBuilder: true canRepairBuildings: true canRepairUnits : true canReclaimResources: true transportSlotsNeeded: 2 generation_credits: 1 generation_delay: 40 nanoRange: 95 nanoBuildSpeed: 2 [canBuild_1] name: heavyTank pos: 1 forceNano: true [canBuild_2] name: AmphibiousJet pos: 2 forceNano: true [canBuild_3] name: extractorT2 pos: 3 #tech: 2 [canBuild_4] name: landFactory, airFactory pos: 4 tech: 2 [canBuild_5] name: mechFactoryX pos: 5 [canBuild_6] name: seaFactory pos: 6 tech: 2 [canBuild_7] name: fabricator pos: 7 [canBuild_8] name: repairBay pos: 8 [canBuild_9] name: 目视者 pos: 2.1 forceNano: true [canBuild_10] name: turretT2, turret, c_turret_t1_lightning pos: 3.1 [canBuild_11] name: antiAirTurret pos: 3.2 [canBuild_12] name: laserDefenceT2 pos: 12 tech:2 [canBuild_16] name: extractor pos: 2.9 tech: 1 [canBuild_17] name: reclaim pos: -1 [graphics] total_frames: 1 image: base.png image_wreak: base_dead.png image_turret: mammoth_tank_turret.png #scaleImagesTo: 20 #scaleTurretImagesTo: 9 #AUTO image_shadow: AUTO shadowOffsetX:1 shadowOffsetY:1 [attack] canAttack: true canAttackFlyingUnits: false canAttackLandUnits: true canAttackUnderwaterUnits: true isFixedFiring: true turretSize: 3 turretTurnSpeed: 3 maxAttackRange: 170 shootDelay: 50 turretRotateWithBody: false [turret_1] #coil x: 0 y: -4 attachedTo: 2 size:20 projectile: 1 turnSpeed: 0 turnSpeedAcceleration: 0 shoot_sound:lighting_burst shoot_sound_vol:0.3 shoot_flame:CUSTOM:sparks2*3 shoot_light:#FFcceeee canShoot: true warmup:30 image: mammoth_tank_coil.png chargeEffectImage: SHARED:lighting_charge.png [turret_2] #turret x: 0 y: -4 canShoot: false [turret_3] #torpedo invisible: true x: 0 y: 0 idleDir:0 canAttackFlyingUnits: false canAttackLandUnits: false canAttackUnderwaterUnits: true canAttackCondition: if self.overwater projectile: 2 size: 1 turnSpeed: 15 delay: 150 [projectile_1] #directDamage: 310 directDamage: 45 life: 25 instant: true lightingEffect: true largeHitEffect: true shieldDamageMultiplier: 1 shieldDefectionMultiplier: 0.1 buildingDamageMultiplier: 0.5 explodeEffect:CUSTOM:lightningShock, CUSTOM:sparks*8 explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash [projectile_2] #torpedo directDamage: 45 life: 250 speed: 0.4 targetSpeed: 1.3 drawSize: 1 color: #1E1E96 trailEffect: true largeHitEffect: true [movement] movementType: HOVER moveSpeed: 1.0 moveAccelerationSpeed: 0.03 moveDecelerationSpeed: 0.08 targetHeight: 4 targetHeightDrift: 1.5 maxTurnSpeed: 3.5 turnAcceleration: 0.05 moveSlidingMode :true moveIgnoringBody:true moveSlidingDir: 181 [ai] useAsBuilder: true [effect_hitLightFlash] priority:high image: SHARED:light_50.png life: 17 fadeOut: true attachedToUnit: false color: #63e6e8 scaleFrom: 1.8 scaleTo: 1.8 alpha: 0.6 drawUnderUnits:false [effect_lightningShock] life: 60 hOffset: 0 dirOffset: 0 fadeInTime: 0 fadeOut: false attachedToUnit: true image: SHARED:lightning_shock.png total_frames: 14 animateFrameStart: 0 animateFrameEnd: 13 animateFramePingPong: false animateFrameSpeed: 0.5 [effect_sparks] attachedToUnit: false life: 150 physics: true xSpeedRelativeRandom: 1.6 ySpeedRelativeRandom: 1.6 hSpeed: 2 image: SHARED:spark.png priority: verylow [effect_sparks2] attachedToUnit: false life: 150 physics: true xSpeedRelativeRandom: 0.5 ySpeedRelativeRandom: 0.5 hSpeed: 1 image: SHARED:spark.png priority: verylow