521 lines
8.4 KiB
INI
521 lines
8.4 KiB
INI
|
|
|||
|
[core]
|
|||
|
name: 蠕行之灾
|
|||
|
class: CustomUnitMetadata
|
|||
|
#price: 2
|
|||
|
price: 5000
|
|||
|
copyFrom:血条.md
|
|||
|
|
|||
|
|
|||
|
maxHp: 2700
|
|||
|
mass: 7500
|
|||
|
|
|||
|
displayText:Worm Calamity
|
|||
|
|
|||
|
displayText_zh:蠕行之灾
|
|||
|
|
|||
|
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: 39
|
|||
|
displayRadius: 39
|
|||
|
|
|||
|
|
|||
|
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: 70
|
|||
|
nukeOnDeathDamage: 2400
|
|||
|
nukeOnDeathDisableWhenNoNuke: true
|
|||
|
|
|||
|
#此处有自动触发高刷新更改
|
|||
|
autoTriggerCooldownTime:0.1s
|
|||
|
|
|||
|
|
|||
|
|
|||
|
[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
|
|||
|
showHealthBar:false
|
|||
|
image: ROOT:/assets/wisdomwormimg/wormlord/wormlordT1.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: 290
|
|||
|
shootDelay: 85
|
|||
|
|
|||
|
turretMultiTargeting: true
|
|||
|
|
|||
|
[turret_nanoTurret]
|
|||
|
|
|||
|
x: 0
|
|||
|
y: 16
|
|||
|
|
|||
|
idleDir:-50
|
|||
|
idleDirReversing: -110
|
|||
|
|
|||
|
warmup:30
|
|||
|
|
|||
|
idleSpin:0.4
|
|||
|
|
|||
|
turnSpeed: 4
|
|||
|
size: 8
|
|||
|
|
|||
|
#image: SHARED:nano_turret.png
|
|||
|
|
|||
|
canShoot: false
|
|||
|
canAttackFlyingUnits: false
|
|||
|
canAttackLandUnits: false
|
|||
|
canAttackUnderwaterUnits: false
|
|||
|
|
|||
|
isMainNanoTurret: true
|
|||
|
|
|||
|
|
|||
|
[turret_Left]
|
|||
|
x:-26
|
|||
|
y:-16
|
|||
|
delay:55
|
|||
|
shouldResetTurret:false
|
|||
|
shoot_sound:missile_fire
|
|||
|
shoot_sound_vol:0.2
|
|||
|
shoot_light:#FFEECCCC
|
|||
|
|
|||
|
projectile:laserShot
|
|||
|
size:1
|
|||
|
turnSpeed:90
|
|||
|
shoot_flame:shockwave
|
|||
|
|
|||
|
[turret_Right]
|
|||
|
copyFrom:Left
|
|||
|
x:26
|
|||
|
y:-16
|
|||
|
delay:100
|
|||
|
|
|||
|
|
|||
|
[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: 190
|
|||
|
life: 80
|
|||
|
speed: 16
|
|||
|
targetSpeed: 16
|
|||
|
targetSpeedAcceleration: 0.7
|
|||
|
|
|||
|
drawType:2
|
|||
|
frame:4
|
|||
|
drawSize: 1
|
|||
|
#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: -32
|
|||
|
y: 22
|
|||
|
attach_x: 0
|
|||
|
attach_y: 23
|
|||
|
moveSpeed:0.9
|
|||
|
heightSpeed:0.9
|
|||
|
moveWarmUp:3
|
|||
|
|
|||
|
resetAngle:0
|
|||
|
|
|||
|
holdDisMin:12
|
|||
|
holdDisMax:25
|
|||
|
hold_moveOnlyIfFurthest:true
|
|||
|
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s1r_leg.png
|
|||
|
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s1r_foot.png
|
|||
|
|
|||
|
#drawUnderAllUnits:true
|
|||
|
|
|||
|
favourOppositeSideNeighbours: true
|
|||
|
|
|||
|
|
|||
|
drawLegWhenZoomedOut: true
|
|||
|
drawFootWhenZoomedOut: true
|
|||
|
|
|||
|
[leg_2]
|
|||
|
x: 32
|
|||
|
y: 22
|
|||
|
attach_x: 0
|
|||
|
attach_y: 23
|
|||
|
copyFrom:1
|
|||
|
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s1l_leg.png
|
|||
|
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s1l_foot.png
|
|||
|
favourOppositeSideNeighbours:false
|
|||
|
|
|||
|
|
|||
|
[leg_3]
|
|||
|
x: -24
|
|||
|
y: 35
|
|||
|
attach_x: 0
|
|||
|
attach_y: 40
|
|||
|
moveSpeed:1.1
|
|||
|
heightSpeed:1.1
|
|||
|
moveWarmUp:3
|
|||
|
|
|||
|
resetAngle:0
|
|||
|
|
|||
|
holdDisMin:12
|
|||
|
holdDisMax:25
|
|||
|
hold_moveOnlyIfFurthest:true
|
|||
|
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s2_leg.png
|
|||
|
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s2_foot.png
|
|||
|
|
|||
|
#drawUnderAllUnits:true
|
|||
|
|
|||
|
favourOppositeSideNeighbours: true
|
|||
|
|
|||
|
|
|||
|
drawLegWhenZoomedOut: true
|
|||
|
drawFootWhenZoomedOut: true
|
|||
|
|
|||
|
[leg_4]
|
|||
|
x: 24
|
|||
|
y: 35
|
|||
|
attach_x: 0
|
|||
|
attach_y: 40
|
|||
|
copyFrom:3
|
|||
|
image_leg: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s2r_leg.png
|
|||
|
image_foot: ROOT:/assets/wisdomwormimg/wormlord/wormlord_s2r_foot.png
|
|||
|
favourOppositeSideNeighbours:false
|
|||
|
|
|||
|
|
|||
|
[movement]
|
|||
|
movementType:OVER_CLIFF_WATER
|
|||
|
moveSpeed:0.5
|
|||
|
moveAccelerationSpeed:0.05
|
|||
|
moveDecelerationSpeed:0.05
|
|||
|
targetHeight:3
|
|||
|
targetHeightDrift:0
|
|||
|
|
|||
|
|
|||
|
maxTurnSpeed:0.9
|
|||
|
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)*63
|
|||
|
alwaysStartDirAtZero:true
|
|||
|
dirOffset:0
|
|||
|
color:#9C7BA3
|
|||
|
yOffsetAbsolute:69
|
|||
|
pivotOffset:0
|
|||
|
#Thanks 杰厕灵 in Code
|
|||
|
xOffsetAbsolute: ((1-(self.hp / self.maxHp)) * (-${core.radius}/1.12))
|
|||
|
#isVisible:if self.hp > self.maxHp*0.6
|
|||
|
order:1
|
|||
|
|
|||
|
[decal_血条底板]
|
|||
|
image:ROOT:/assets/wisdomwormimg/wormlord/wormlord_hpbar.png
|
|||
|
alwaysStartDirAtZero:true
|
|||
|
dirOffset:0
|
|||
|
imageScaleX:1.3
|
|||
|
yOffsetAbsolute:69
|
|||
|
xOffsetAbsolute:3
|
|||
|
pivotOffset:0
|
|||
|
order:-1
|
|||
|
layer:onTop
|
|||
|
teamColors:true
|
|||
|
|
|||
|
[decal_xis_个位]
|
|||
|
@define A:0
|
|||
|
layer:onTop
|
|||
|
order:10.01
|
|||
|
yOffsetAbsolute:69
|
|||
|
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
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|