196 lines
3.3 KiB
INI
196 lines
3.3 KiB
INI
|
|
[core]
|
|
name: TeslaTurret
|
|
|
|
displayText: Old Day EM Turret
|
|
displayDescription: -It is a support technology from Leiden Technology. It is a defensive tower with large Tesla weapons. \n-Heavy armor n-land & air attack\n-[This unit belongs to a linkage unit and has been authorized by the author of Leiden Technology]
|
|
|
|
displayText_zh:旧日电磁炮塔
|
|
displayDescription_zh: -来自于莱顿科技的应援科技,一座拥有大型特斯拉武器的防御塔\n-重护甲\n-地空兼顾\n-[本单位属于联动单位,莱顿科技作者已经授权]
|
|
|
|
class: CustomUnitMetadata
|
|
price: 4200
|
|
maxHp: 2700
|
|
mass: 9000
|
|
|
|
footprint: -1,-1,1,1
|
|
constructionFootprint:-1,-1,1,1
|
|
|
|
buildingToFootprintOffsetY:10
|
|
|
|
techLevel: 1
|
|
buildSpeed: 83.3s
|
|
|
|
radius: 35
|
|
displayRadius: 35
|
|
buildingSelectionOffset: -8
|
|
|
|
isBuilding: true
|
|
isBio: false
|
|
|
|
|
|
fogOfWarSightRange:24
|
|
|
|
[graphics]
|
|
total_frames: 1
|
|
|
|
image: ROOT:/assets/oldsungodimg/lightturret/Base.png
|
|
image_wreak: ROOT:/assets/oldsungodimg/lightturret/Dead.png
|
|
image_turret: ROOT:/assets/oldsungodimg/lightturret/Turret.png
|
|
|
|
#scaleTurretImagesTo: 55
|
|
teamColorsOnTurret:true
|
|
|
|
image_shadow: SHADOW:ROOT:/assets/oldsungodimg/lightturret/Shadow.png
|
|
|
|
shadowOffsetX:1
|
|
shadowOffsetY:1
|
|
|
|
lock_shadow_rotation_with_main_turret: true
|
|
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
|
|
shootDelay:150
|
|
maxAttackRange: 240
|
|
|
|
[turret_1]
|
|
x: 0
|
|
y: 26
|
|
attachedTo: 2
|
|
slave: true
|
|
|
|
image:ROOT:/assets/oldsungodimg/lightturret/Barrel.png
|
|
|
|
projectile: 1
|
|
|
|
turnSpeed: 0
|
|
shoot_sound:lighting_burst
|
|
shoot_sound_vol:0.6
|
|
shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade
|
|
|
|
canShoot: true
|
|
|
|
size: 15
|
|
warmup:75
|
|
warmupCallDownRate: 0.3
|
|
|
|
recoilOffset: -4
|
|
recoilOutTime: 3
|
|
recoilReturnTime: 30
|
|
|
|
[turret_2]
|
|
|
|
x: 0
|
|
y: 6
|
|
canShoot: false
|
|
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: true
|
|
turnSpeed:1.5
|
|
|
|
recoilOffset: -2
|
|
recoilOutTime: 2
|
|
recoilReturnTime: 20
|
|
|
|
|
|
[projectile_1]
|
|
#directDamage: 310
|
|
directDamage: 275
|
|
life: 30
|
|
instant: true
|
|
lightingEffect: true
|
|
largeHitEffect: true
|
|
explodeEffect:CUSTOM:lightningShock*1, CUSTOM:sparks*6
|
|
explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash
|
|
shieldDamageMultiplier: 1
|
|
shieldDefectionMultiplier: 0.1
|
|
|
|
[effect_hitLightFlash]
|
|
priority:high
|
|
|
|
image: SHARED:light_50.png
|
|
life: 17
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
color: #63e6e8
|
|
|
|
scaleFrom: 2.3
|
|
scaleTo: 2.3
|
|
alpha: 0.6
|
|
drawUnderUnits:false
|
|
|
|
[effect_lightningShock]
|
|
life: 80
|
|
|
|
xOffsetRelative: 0
|
|
yOffsetRelative: 0
|
|
hOffset: 0
|
|
dirOffset: 0
|
|
dirOffsetRandom:180
|
|
|
|
fadeInTime: 0
|
|
fadeOut: false
|
|
|
|
attachedToUnit: false
|
|
|
|
image: SHARED:lightning_shock.png
|
|
total_frames: 14
|
|
animateFrameStart: 0
|
|
animateFrameStartRandomAdd: 2
|
|
animateFrameEnd: 13
|
|
animateFramePingPong: false
|
|
animateFrameSpeed: 0.5
|
|
animateFrameSpeedRandom: 0.2
|
|
|
|
alpha:0.6
|
|
|
|
[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
|
|
|
|
ySpeedRelative:2
|
|
|
|
image: SHARED:spark.png
|
|
priority: verylow
|
|
|
|
[effect_lightSlowFade]
|
|
|
|
image: SHARED:light_50.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: true
|
|
color: #63e6e8
|
|
|
|
scaleFrom: 0.3
|
|
scaleTo: 0.2
|
|
|
|
alpha: 1.7
|
|
|
|
[movement]
|
|
movementType: NONE
|
|
moveSpeed: 0
|
|
moveAccelerationSpeed: 0.01
|
|
moveDecelerationSpeed: 0.01
|
|
|
|
maxTurnSpeed: 0
|
|
turnAcceleration: 0.1
|