104 lines
1.9 KiB
INI
104 lines
1.9 KiB
INI
|
|
[core]
|
|
name: Demon-LaserT2
|
|
class: CustomUnitMetadata
|
|
price: 6200
|
|
maxHp: 2000
|
|
mass: 3000
|
|
#tags:LK
|
|
|
|
displayText: Swordfish Laser Interception
|
|
displayDescription:
|
|
|
|
displayText_zh: 剑鱼式激光拦截-T2
|
|
displayDescription_zh: 拦截附近的炮弹,拦截需要能量。可以升级变得更强。
|
|
|
|
#footprint used for collisions with units (left, up, right, down)
|
|
footprint: 0,0,1,1
|
|
|
|
#used for placement, and placement of other buildings
|
|
constructionFootprint: 0,0,1,1
|
|
|
|
buildingToFootprintOffsetX:20
|
|
buildingToFootprintOffsetY:20
|
|
|
|
buildingSelectionOffset:-6
|
|
|
|
techLevel: 1
|
|
buildSpeed: 0.002
|
|
|
|
radius: 18
|
|
|
|
isBio: false
|
|
isBuilding: true
|
|
|
|
energyMax: 25
|
|
energyRegen: 0.004
|
|
|
|
softCollisionOnAll: 3
|
|
|
|
|
|
[hiddenAction_0]
|
|
stopLastAnimation:true
|
|
autoTrigger:if self.energy(full=true)
|
|
|
|
[hiddenAction_1]
|
|
playAnimation:1
|
|
autoTrigger:if self.energy(lessThan=0.1)
|
|
|
|
[action_upgradeT3]
|
|
convertTo: Demon-LaserT3
|
|
price: 5000
|
|
text:Upgrade
|
|
description:Upgrade to T3 with more powerful interception capabilities.and unlock the attack module intercepted by Swordfish.
|
|
text_zh:升级
|
|
description_zh:升级到T3,拥有更加强大的拦截能力。且解锁剑鱼拦截的攻击模块。
|
|
displayType: upgrade
|
|
buildSpeed: 35s
|
|
iconImage: SHARED:icon_upgrade.png
|
|
|
|
[animation_1]
|
|
blendIn:0
|
|
blendOut:99s
|
|
body_0: {frame:0}
|
|
body_99s: {frame:1}
|
|
|
|
[graphics]
|
|
total_frames: 4
|
|
|
|
image: ROOT:/assets/demonjiimg/laserfish/剑鱼拦截.png
|
|
|
|
animation_idle_start:2
|
|
animation_idle_end:3
|
|
animation_idle_speed:15
|
|
|
|
[movement]
|
|
movementType: NONE
|
|
moveSpeed: 0
|
|
moveAccelerationSpeed: 0.01
|
|
moveDecelerationSpeed: 0.01
|
|
|
|
maxTurnSpeed: 0
|
|
turnAcceleration: 0.1
|
|
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: false
|
|
maxAttackRange:190
|
|
|
|
|
|
[turret_1]
|
|
x: 0
|
|
y: 14
|
|
canShoot: false
|
|
laserDefenceEnergyUse: 1.1
|
|
size:1
|
|
|
|
|
|
[ai]
|
|
buildPriority: 0.05
|
|
noneInBaseExtraPriority: 0.35
|
|
noneGlobalExtraPriority: 0.12
|
|
maxGlobal: 5 |