StarRiver-EndlessJourney-RW.../code/public/turrets/turret_t1_lightning.ini

189 lines
2.7 KiB
INI

[core]
name: c_turret_t1_lightningX
copyFrom: turret_common_land.ini
displayLocaleKey: turret_lightning
price: 2700
maxHp: 1500
techLevel: 2
buildSpeed: 0.0008
#availableInDemo: true
#energyMax: 3
#energyRegen: 0.003
[action_upgrade_lightningT2]
convertTo: c_turret_t2_lightningX
price: 8000
text: i:gui.actions.upgradeToLightningT2
description: -Extra damage and attack speed
displayType: Upgrade
buildSpeed: 30.0s
#isLocked:true
iconExtraImage: SHARED:icon_upgrade_top.png
iconExtraColor: #AAFFFFFF
[comment_action_turnOn]
isVisible: if self.hasFlag(id=0)
text: i2:gui.actions.turnOn
#description:
displayType: action
buildSpeed: 0
addResources: unsetFlag=0
isGuiBlinking: true
[comment_action_turnOff]
isVisible: if not self.hasFlag(id=0)
text: i2:gui.actions.turnOff
#description:
displayType: action
buildSpeed: 0
addResources: setFlag=0
[graphics]
total_frames: 1
image: turret_base2.png
image_wreak: turret_base_dead.png
image_turret: turret_top_lightning.png
#AUTO
image_shadow: NONE
shadowOffsetX:1
shadowOffsetY:1
[attack]
canAttack: true
canAttackFlyingUnits: false
canAttackLandUnits: true
canAttackUnderwaterUnits: false
turretSize: 20
turretTurnSpeed: 3
maxAttackRange: 260
shootDelay: 2.00s
[turret_1]
canAttackCondition: if not self.hasFlag(id=0)
x: 0
y: 6
image_drawOffsetY:9
idleSpin: 0.8
shoot_sound:lighting_burst
shoot_sound_vol:0.3
shoot_flame:CUSTOM:sparks2*3
shoot_light:#FFcceeee
canShoot: true
warmup:30
chargeEffectImage: SHARED:lighting_charge.png
recoilOffset: -1.5
recoilOutTime: 3
recoilReturnTime: 17
#energyUsage: 1
[projectile_1]
#directDamage: 310
directDamage: 200
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
[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