[core] name: modularSpider_artillery copyFrom: common_weapon_slot.ini displayText: Artillery T1 displayText_zh: 火炮 T1 displayDescription: -Can attack ground only displayDescription_zh:-只能攻击地面 overrideAndReplace:modularSpider_artillery price: 5000 maxHp: 4000 [graphics] teamColoringMode: pureGreen teamColorsOnTurret: true [action_upgradeT2] text: Upgrade text_zh: 升级 textAddUnitName: ${section.convertTo} descriptionAddFromUnit: ${section.convertTo} descriptionAddUnitStats: ${section.convertTo} isActive: if self.queueSize(empty=true) buildSpeed: 8s convertTo: modularSpider_artilleryT2 price: 5000 iconExtraImage: SHARED:icon_upgrade.png iconExtraColor: #FFFFFFFF [comment_action_fireArtillery] buildSpeed: 1s text: Fire artillery at ground text_zh: 向目标点开火 whenBuilding_rotateTo_aimAtActionTarget: true whenBuilding_rotateTo_waitTillRotated: true fireTurretXAtGround: mainCannon [attack] canAttack: true canAttackFlyingUnits: false canAttackLandUnits: true canAttackUnderwaterUnits: false turretSize: 30 turretTurnSpeed: 2 maxAttackRange: 350 shootDelay: 85 #turretMultiTargeting: true [turret_mainCannon] x: -0.5 y: 20 #projectile: cannonShot projectile: plasma attachedTo: mainCannonBase slave: true #image: SHARED:experimental_tank_turret.png #image: SHARED:turret_artillery_large.png image: CORE:experimental_spider/experimental_tank_turret2.png #canAttackFlyingUnits: false #canAttackLandUnits: true #canAttackUnderwaterUnits: false #delay: 190 delay: 110 warmup: 20 idleDir:0 shoot_sound:large_gun_fire2 shoot_sound_vol:0.3 shoot_flame:large,CUSTOM:lightSlowFade shoot_light:#EEEECCCC #warmupStartEffect:CUSTOM:lightSlowFadeBase size:16 turnSpeedAcceleration: 0.1 turnSpeed: 0 recoilOffset: -5 recoilOutTime: 3 recoilReturnTime: 38 #chargeEffectImage: SHARED:lighting_charge.png [turret_mainCannonBase] x: 0 y: 0 #image: SHARED:experimental_tank_turret.png #image: SHARED:turret_artillery_large.png image: CORE:experimental_spider/spider_turret_base.png image_applyTeamColors: true canAttackFlyingUnits: false canAttackLandUnits: true canAttackUnderwaterUnits: false canShoot: false #delay: 190 delay: 110 warmup: 20 idleDir:0 shoot_sound:large_gun_fire2 shoot_sound_vol:0.3 #shoot_flame:large shoot_light:#EEEECCCC shoot_flame:CUSTOM:lightSlowFade #warmupStartEffect:CUSTOM:lightSlowFadeBase size:40 turnSpeedAcceleration: 0.1 turnSpeed: 2 recoilOffset: -1 recoilOutTime: 3 recoilReturnTime: 38 #chargeEffectImage: SHARED:lighting_charge.png [projectile_cannonShot] #main turret projectile #directDamage: 0 #no directDamage with targetGround life: 150 speed: 5 largeHitEffect: true frame: 2 targetGround: true areaDamage: 160 areaRadius: 45 [projectile_plasma] directDamage: 190 life: 80 speed: 16 targetSpeed: 16 targetSpeedAcceleration: 0.7 drawType:2 frame:4 drawSize: 1 #trailEffect: CUSTOM:projectileTrail trailEffectRate:2 #trailEffectRate: true #lightColor:#ffffff explodeEffect: smallExplosion, CUSTOM:hitLightFlash, CUSTOM:projectilePassThough #explodeEffectOnShield: CUSTOM:hitLightFlash effectOnCreate: CUSTOM:projectileLight [effect_warmup] priority:high image: SHARED:light_50.png life: 25 fadeOut: true attachedToUnit: true color: #e89263 scaleFrom: 0.1 scaleTo: 0.1 alpha: 0.8 drawUnderUnits:false ySpeedRelative:3.9 [effect_lightSlowFade] image: SHARED:light_50.png life: 40 fadeOut: true attachedToUnit: true color: #e89263 scaleFrom: 0.4 scaleTo: 0.4 alpha: 0.5 #drawUnderUnits:true [effect_lightSlowFadeBase] image: SHARED:light_50.png life: 30 fadeOut: true attachedToUnit: true color: #AAAAFF scaleFrom: 0.2 scaleTo: 0.6 alpha: 0.7 #drawUnderUnits:true yOffsetRelative:-41 ySpeedRelative:0.3 [effect_projectileTrail] image: SHARED:light_50.png life: 20 fadeOut: true attachedToUnit: false color: #e89263 fadeInTime:2 scaleFrom: 0.4 scaleTo: 0.4 alpha: 0.6 drawUnderUnits:true #ySpeedRelative:-1 [effect_projectileLight] priority:veryhigh image: SHARED:light_50.png life: 100 fadeOut: true attachedToUnit: true color: #e89263 fadeInTime:2 scaleFrom: 0.8 scaleTo: 0.8 alpha: 0.6 drawUnderUnits:false liveAfterAttachedDies: false [effect_hitLightFlash] priority:high image: SHARED:light_50.png life: 14 fadeOut: true attachedToUnit: false color: #e89263 scaleFrom: 1.8 scaleTo: 1.8 alpha: 0.6 drawUnderUnits:false [effect_projectilePassThough] priority:high frameIndex: 4 stripIndex: projectiles2 life: 20 fadeOut: true attachedToUnit: false color: #FFFFFF scaleFrom: 1 scaleTo: 0.5 alpha: 1 drawUnderUnits:false ySpeedRelative:2 atmospheric: true [effect_lightFlash] priority:high image: SHARED:light_50.png life: 14 fadeOut: true attachedToUnit: false color: #63e6e8 scaleFrom: 1.8 scaleTo: 1.8 alpha: 0.6 drawUnderUnits:false