540 lines
8.9 KiB
INI
540 lines
8.9 KiB
INI
|
||
[core]
|
||
name: 蠕行之灾T2
|
||
class: CustomUnitMetadata
|
||
#price: 2
|
||
price: 5000
|
||
copyFrom:血条.md
|
||
maxHp: 5000
|
||
mass: 7500
|
||
|
||
displayText:Worm Calamity[T2]
|
||
|
||
displayText_zh:蠕行之灾[T2]
|
||
|
||
displayDescription:The Worm Calamity is the core unit of the Wisdom Worm Empire, a terrifying creation with astonishing self-healing ability and terrifying nano turrets. This unit can build and produce other units, and upgrade through core reactions. \n\n-This unit has excellent combat performance both in the air and on the ground, with moderate movement speed, making it a key unit of the Wisdom Insect Empire.
|
||
|
||
displayDescription_zh:蠕行之灾是智虫帝国的核心单位,它是一个恐怖的机械造物。\n拥有惊人的自我恢复能力和令人恐惧的纳米炮塔。\n该单位可以建造和生产其他单位,并通过核心反应进行升级。\n\n这个单位在空中和地面上都有着优秀的作战表现,移速适中,成为智虫帝国的关键单位。
|
||
|
||
|
||
|
||
techLevel: 1
|
||
experimental: true
|
||
|
||
buildSpeed: 0.0002
|
||
#buildSpeed: 1
|
||
|
||
#availableInDemo: true
|
||
|
||
radius: 65
|
||
displayRadius: 65
|
||
|
||
|
||
fogOfWarSightRange:19
|
||
|
||
transportSlotsNeeded: 8
|
||
|
||
isBio: false
|
||
isBuilder: true
|
||
|
||
softCollisionOnAll: 3
|
||
|
||
#nanoFactorySpeed:2.5
|
||
|
||
generation_credits: 12
|
||
generation_delay: 40
|
||
|
||
selfRegenRate:0.4
|
||
|
||
#builtFrom_1_name: commandCenter
|
||
#builtFrom_1_pos: 2
|
||
|
||
canRepairBuildings: true
|
||
canRepairUnits : true
|
||
|
||
canReclaimResources: true
|
||
|
||
autoRepair: true
|
||
|
||
nanoRange: 220
|
||
|
||
nanoRepairSpeed: 0.4
|
||
nanoBuildSpeed: 8
|
||
|
||
nukeOnDeath: true
|
||
nukeOnDeathRange: 200
|
||
nukeOnDeathDamage: 4400
|
||
nukeOnDeathDisableWhenNoNuke: true
|
||
|
||
[canBuild_1]
|
||
name: builder
|
||
pos: 1
|
||
forceNano: true
|
||
|
||
[canBuild_2]
|
||
name: combatEngineer
|
||
pos: 1
|
||
forceNano: true
|
||
|
||
[canBuild_3]
|
||
name: heavyTank
|
||
pos: 1
|
||
forceNano: true
|
||
|
||
[canBuild_4]
|
||
name: heavyHoverTank
|
||
pos: 1
|
||
forceNano: true
|
||
|
||
[canBuild_5]
|
||
name: artillery
|
||
pos: 1
|
||
forceNano: true
|
||
|
||
[canBuild_6]
|
||
name: scout
|
||
pos: 1
|
||
forceNano: true
|
||
|
||
[canBuild_7]
|
||
name: turret, turret_artillery, antiAirTurret
|
||
pos: 0.1
|
||
|
||
[canBuild_8]
|
||
name: extractor
|
||
pos: 0.3
|
||
|
||
[canBuild_9]
|
||
name: landFactory, mechFactory, airFactory
|
||
pos: 0.4
|
||
|
||
[canBuild_10]
|
||
name: laserDefence, repairBay
|
||
pos: 0.5
|
||
|
||
[canBuild_11]
|
||
name: bomber
|
||
pos: 1
|
||
forceNano: true
|
||
|
||
[canBuild_showReclaimAction]
|
||
name: reclaim
|
||
pos: -1
|
||
|
||
[graphics]
|
||
drawLayer: experimentals
|
||
|
||
total_frames: 1
|
||
|
||
image: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2.png
|
||
image_wreak: NONE
|
||
image_turret: ROOT:/assets/wisdomwormimg/wormlord/wormlord_turret.png
|
||
#scaleImagesTo: 20
|
||
#scaleTurretImagesTo: 9
|
||
showQueueBar:false
|
||
teamColorsOnTurret: true
|
||
|
||
image_shadow: AUTO
|
||
shadowOffsetX:3
|
||
shadowOffsetY:3
|
||
|
||
[attack]
|
||
canAttack: true
|
||
canAttackFlyingUnits: true
|
||
canAttackLandUnits: true
|
||
canAttackUnderwaterUnits: false
|
||
|
||
turretSize: 30
|
||
turretTurnSpeed: 2
|
||
maxAttackRange: 350
|
||
shootDelay: 65
|
||
|
||
turretMultiTargeting: true
|
||
|
||
[turret_nanoTurret]
|
||
|
||
x: 0
|
||
y: 40
|
||
|
||
idleDir:180
|
||
|
||
warmup:30
|
||
|
||
|
||
|
||
turnSpeed: 4
|
||
size: 8
|
||
|
||
#image: SHARED:nano_turret.png
|
||
|
||
canShoot: false
|
||
canAttackFlyingUnits: false
|
||
canAttackLandUnits: false
|
||
canAttackUnderwaterUnits: false
|
||
|
||
isMainNanoTurret: true
|
||
|
||
|
||
[turret_Left]
|
||
x:-25.5
|
||
y:-30
|
||
delay:85
|
||
shouldResetTurret:false
|
||
shoot_sound:missile_fire
|
||
shoot_sound_vol:0.2
|
||
shoot_light:#FFEECCCC
|
||
idleSpin:0.4
|
||
projectile:plasma
|
||
size:1
|
||
turnSpeed:90
|
||
shoot_flame:shockwave
|
||
|
||
[turret_Right]
|
||
copyFrom:Left
|
||
x:25.5
|
||
y:-30
|
||
delay:85
|
||
idleSpin:0.4
|
||
[turret_LRight]
|
||
copyFrom:Left
|
||
x:25.5
|
||
y:7
|
||
delay:85
|
||
idleSpin:0.4
|
||
[turret_RLight]
|
||
copyFrom:Left
|
||
x:-25.5
|
||
y:7
|
||
delay:85
|
||
idleSpin:0.4
|
||
|
||
[projectile_laserShot]
|
||
directDamage: 80
|
||
life: 70
|
||
speed: 9
|
||
|
||
frame: 11
|
||
|
||
[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: 90
|
||
life: 80
|
||
speed: 16
|
||
targetSpeed: 16
|
||
targetSpeedAcceleration: 0.7
|
||
color:#00ff00
|
||
frame:11
|
||
drawSize: 1.4
|
||
#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
|
||
|
||
|
||
|
||
|
||
[leg_1]
|
||
x: 23
|
||
y: 29
|
||
attach_x:21.9
|
||
attach_y: 0
|
||
moveSpeed:1.6
|
||
heightSpeed:1.6
|
||
moveWarmUp:6
|
||
|
||
resetAngle:0
|
||
|
||
holdDisMin:6
|
||
holdDisMax:18
|
||
hold_moveOnlyIfFurthest:true
|
||
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s1r_leg.png
|
||
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s1r_foot.png
|
||
|
||
#drawUnderAllUnits:true
|
||
|
||
favourOppositeSideNeighbours: true
|
||
|
||
|
||
drawLegWhenZoomedOut: true
|
||
drawFootWhenZoomedOut: true
|
||
|
||
[leg_2]
|
||
x: -23
|
||
y: 30
|
||
attach_x:-21.9
|
||
attach_y: 0
|
||
copyFrom:1
|
||
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s1l_leg.png
|
||
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s1l_foot.png
|
||
favourOppositeSideNeighbours:false
|
||
|
||
|
||
[leg_3]
|
||
x: -19
|
||
y: 60
|
||
attach_x: -22
|
||
attach_y: 0
|
||
moveSpeed:1.4
|
||
heightSpeed:1.4
|
||
moveWarmUp:6
|
||
|
||
resetAngle:0
|
||
|
||
holdDisMin:6
|
||
holdDisMax:18
|
||
hold_moveOnlyIfFurthest:true
|
||
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s1l_leg.png
|
||
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s2r_foot.png
|
||
|
||
#drawUnderAllUnits:true
|
||
|
||
favourOppositeSideNeighbours: true
|
||
|
||
|
||
drawLegWhenZoomedOut: true
|
||
drawFootWhenZoomedOut: true
|
||
|
||
[leg_4]
|
||
x: 19
|
||
y: 60
|
||
attach_x: 22
|
||
attach_y: 0
|
||
copyFrom:3
|
||
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s1r_leg.png
|
||
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlordT2_s2l_foot.png
|
||
favourOppositeSideNeighbours:false
|
||
|
||
|
||
[movement]
|
||
movementType:OVER_CLIFF_WATER
|
||
moveSpeed:0.85
|
||
moveAccelerationSpeed:0.05
|
||
moveDecelerationSpeed:0.05
|
||
targetHeight:3
|
||
targetHeightDrift:0
|
||
|
||
|
||
maxTurnSpeed:0.5
|
||
turnAcceleration:0.15
|
||
|
||
[ai]
|
||
useAsBuilder: true
|
||
|
||
|
||
[attachment_进度条显示]
|
||
x:0
|
||
y:0
|
||
idleDir:0
|
||
rotateWithParent:false
|
||
lockRotation:false
|
||
isUnselectable:false
|
||
|
||
#----血条------
|
||
|
||
[decal_血条]
|
||
layer:afterBody
|
||
image:ROOT:/assets/public/hpbar.png
|
||
imageScaleX:(self.hp/self.maxHp)*68
|
||
alwaysStartDirAtZero:true
|
||
dirOffset:0
|
||
color:#9C7BA3
|
||
yOffsetAbsolute:100
|
||
pivotOffset:0
|
||
#Thanks 杰厕灵 in Code
|
||
xOffsetAbsolute: ((1-(self.hp / self.maxHp)) * (-${core.radius}/1.75))
|
||
#isVisible:if self.hp > self.maxHp*0.6
|
||
order:1
|
||
|
||
[decal_血条底板]
|
||
image:ROOT:/assets/wisdomwormimg/wormlord/wormlord_hpbar.png
|
||
#image:SHARED:blank.png
|
||
alwaysStartDirAtZero:true
|
||
dirOffset:0
|
||
imageScaleX:1.3
|
||
yOffsetAbsolute:100
|
||
xOffsetAbsolute:3
|
||
pivotOffset:0
|
||
order:-1
|
||
layer:onTop
|
||
teamColors:true
|
||
|
||
[decal_xis_个位]
|
||
@define A:0
|
||
layer:onTop
|
||
order:10.01
|
||
yOffsetAbsolute:100
|
||
image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png
|
||
imageScale:0.7
|
||
frame: memory.#[${A}]
|
||
frame_width:6
|
||
frame_height:8
|
||
alwayStartDirAtZero:true
|
||
color:#97789E
|
||
onlyWhileAlive:true
|
||
onlyOnNonPreview:true
|
||
xOffsetAbsolute: 5
|
||
|
||
[decal_xis_十位]
|
||
@copyFromSection: decal_xis_个位
|
||
@define A:1
|
||
image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png
|
||
isVisible:if memory.#[${A}] != 0 or memory.#[2] != 0 or memory.#[3] != 0
|
||
|
||
xOffsetAbsolute:0
|
||
|
||
[decal_xis_百位]
|
||
@copyFromSection: decal_xis_个位
|
||
@define A:2
|
||
image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png
|
||
isVisible:if memory.#[${A}] != 0 or memory.#[3] != 0
|
||
|
||
xOffsetAbsolute:-5
|
||
|
||
[decal_xis_千位]
|
||
@copyFromSection: decal_xis_个位
|
||
@define A:3
|
||
image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png
|
||
isVisible:if memory.#[${A}] != 0
|
||
|
||
xOffsetAbsolute:-10
|
||
|
||
|
||
[decal_阈值条]
|
||
layer:afterBody
|
||
image:ROOT:/assets/public/hpbar.png
|
||
imageScaleX:(self.resource.Hphold/self.maxHp)*68
|
||
alwaysStartDirAtZero:true
|
||
dirOffset:0
|
||
yOffsetAbsolute:100
|
||
pivotOffset:0
|
||
#Thanks 杰厕灵 in Code
|
||
alpha:0.9
|
||
xOffsetAbsolute:((1-(self.resource.Hphold / self.maxHp)) * (-${core.radius}/1.75))
|
||
#isVisible:if self.hp > self.maxHp*0.6
|
||
color:#00ffff
|
||
order:0
|
||
|
||
|