138 lines
2.5 KiB
INI
138 lines
2.5 KiB
INI
|
|
[core]
|
|
name: CannonTurret
|
|
|
|
displayText: Old Day CannonTurret
|
|
displayDescription: -This is a strategy of Leiden Technology to support the oldday.\n-It is a defensive tower with two cannons\n-medium firepower\n-5 points of armor\n-can only attack the ground \n-[This unit belongs to a linkage unit and has been authorized by the author of Leiden Technology]
|
|
|
|
displayText_zh:旧日加农炮塔
|
|
displayDescription_zh: -来自于莱顿科技的应援科技,一座拥有两联装加农炮的防御塔\n-火力中等\n-拥有5点护甲\n-只能攻击地面\n-[本单位属于联动单位,莱顿科技作者已经授权]
|
|
|
|
class: CustomUnitMetadata
|
|
price: 4200
|
|
maxHp: 2600
|
|
mass: 9000
|
|
armour:5
|
|
#selfRegenRate:0.05
|
|
|
|
footprint: -1,-1,1,1
|
|
constructionFootprint:-1,-1,1,1
|
|
|
|
buildingToFootprintOffsetY:10
|
|
|
|
techLevel: 1
|
|
buildSpeed: 20s
|
|
#availableInDemo: true
|
|
|
|
radius: 35
|
|
displayRadius: 35
|
|
buildingSelectionOffset: -6
|
|
|
|
isBuilding: true
|
|
isBio: false
|
|
|
|
fogOfWarSightRange:24
|
|
|
|
[graphics]
|
|
total_frames: 1
|
|
|
|
image: ROOT:/assets/oldsungodimg/canonturret/Base.png
|
|
image_wreak: ROOT:/assets/oldsungodimg/canonturret/Dead.png
|
|
image_turret: ROOT:/assets/oldsungodimg/canonturret/Turret.png
|
|
|
|
#scaleTurretImagesTo: 55
|
|
teamColorsOnTurret:true
|
|
|
|
image_shadow: SHADOW:ROOT:/assets/oldsungodimg/canonturret/Shadow.png
|
|
|
|
shadowOffsetX:1
|
|
shadowOffsetY:2
|
|
|
|
lock_shadow_rotation_with_main_turret: true
|
|
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
|
|
shootDelay:1.5s
|
|
maxAttackRange: 350
|
|
|
|
[turret_1]
|
|
#右
|
|
invisible: false
|
|
x: 4.5
|
|
y: 26
|
|
|
|
turnSpeed: 0
|
|
turnSpeedAcceleration: 0
|
|
|
|
shoot_sound: large_gun_fire2
|
|
shoot_sound_vol:0.5
|
|
shoot_flame:large
|
|
shoot_light:#FFffebbc
|
|
image: ROOT:/assets/oldsungodimg/canonturret/Barrel.png
|
|
|
|
attachedTo:3
|
|
slave:true
|
|
|
|
recoilOffset: -6
|
|
recoilOutTime: 3
|
|
recoilReturnTime: 30
|
|
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
|
|
projectile: 1
|
|
size: 24
|
|
|
|
delay: 75
|
|
|
|
|
|
[turret_2]
|
|
#左
|
|
x:-4.5
|
|
y:26
|
|
copyFrom:1
|
|
delay:150
|
|
|
|
[turret_3]
|
|
image:ROOT:/assets/oldsungodimg/canonturret/Turret.png
|
|
x: 0
|
|
y: 5
|
|
invisible:false
|
|
turnSpeed: 1.5
|
|
turnSpeedAcceleration: 0.2
|
|
canShoot:false
|
|
canAttackLandUnits: true
|
|
recoilOffset: -2
|
|
recoilOutTime: 3
|
|
recoilReturnTime: 30
|
|
|
|
[projectile_1]
|
|
directDamage:175
|
|
life: 150
|
|
speed: 7
|
|
largeHitEffect: true
|
|
frame: 2
|
|
targetGround: true
|
|
trailEffect: true
|
|
areaDamage: 50
|
|
areaRadius: 50
|
|
lightColor: #cccc00
|
|
lightSize: 0.3
|
|
|
|
[movement]
|
|
movementType: NONE
|
|
moveSpeed: 0
|
|
moveAccelerationSpeed: 0.01
|
|
moveDecelerationSpeed: 0.01
|
|
|
|
maxTurnSpeed: 0
|
|
turnAcceleration: 0.1
|
|
|
|
[ai]
|
|
maxGlobal:1
|