475 lines
8.8 KiB
INI
475 lines
8.8 KiB
INI
[hiddenAction_死亡]
|
|
autoTriggerOnEvent:destroyed
|
|
showMessageToAllPlayers:The Lalaiye is seriously injured, and it is trying to shut down .....%{self.playerName}The LaLaiye is destroyed .....
|
|
showMessageToAllPlayers_zh:拉莱耶试用型受到严重伤害,正在尝试关.....%{self.playerName}的拉莱耶试用型被摧毁.....
|
|
|
|
[decal_血条]
|
|
layer:afterBody
|
|
image:ROOT:/assets/public/hpbar.png
|
|
imageScaleX:(self.hp/self.maxHp)*77
|
|
alwaysStartDirAtZero:true
|
|
dirOffset:0
|
|
color:#00cc00
|
|
yOffsetAbsolute:119.5
|
|
pivotOffset:0
|
|
#Thanks 杰厕灵 in Code
|
|
xOffsetAbsolute: ((1-(self.hp / self.maxHp)) * (-${core.radius}/2.12))
|
|
#isVisible:if self.hp > self.maxHp*0.6
|
|
|
|
|
|
[decal_血条底板]
|
|
image:ROOT:/assets/oldsungodimg/lalaiye/hp-barmain.png
|
|
alwaysStartDirAtZero:true
|
|
dirOffset:0
|
|
imageScaleX:1.3
|
|
yOffsetAbsolute:120
|
|
xOffsetAbsolute:10
|
|
pivotOffset:0
|
|
order:-1
|
|
layer:onTop
|
|
teamColors:true
|
|
|
|
[decal_xis_个位]
|
|
@define A:0
|
|
layer:onTop
|
|
order:10.01
|
|
yOffsetAbsolute:120
|
|
image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png
|
|
imageScale:0.7
|
|
frame: memory.#[${A}]
|
|
frame_width:6
|
|
frame_height:8
|
|
|
|
alwayStartDirAtZero:true
|
|
onlyWhileAlive:true
|
|
onlyOnNonPreview:true
|
|
xOffsetAbsolute: 5
|
|
|
|
[decal_xis_十位]
|
|
@copyFromSection: decal_xis_个位
|
|
@define A:1
|
|
|
|
isVisible:if memory.#[${A}] != 0 or memory.#[2] != 0 or memory.#[3] != 0
|
|
|
|
xOffsetAbsolute:0
|
|
|
|
[decal_xis_百位]
|
|
@copyFromSection: decal_xis_个位
|
|
@define A:2
|
|
|
|
isVisible:if memory.#[${A}] != 0 or memory.#[3] != 0
|
|
|
|
xOffsetAbsolute:-5
|
|
|
|
[decal_xis_千位]
|
|
@copyFromSection: decal_xis_个位
|
|
@define A:3
|
|
|
|
isVisible:if memory.#[${A}] != 0
|
|
|
|
xOffsetAbsolute:-10
|
|
|
|
[core]
|
|
name: 拉莱耶试用型
|
|
class: CustomUnitMetadata
|
|
displayText_zh:拉莱耶试用型
|
|
displayDescription_zh:来自外星名为莱顿科技的信物可以制作一些和莱顿科技的产物。\n-不过若是想要更多来自莱顿势力的支持,势必需要继续和莱顿科技继续融洽。
|
|
@memory #:number[]
|
|
updateUnitMemory: #[0]= int(self.hp%10), #[1]= int((self.hp%100)/10), #[2]= int((self.hp%1000)/100),#[3]= int((self.hp%10000)/1000)
|
|
updateUnitMemoryRate:0
|
|
displayText:Laleya Trial Type
|
|
displayDescription:Letters from the alien named Leiden Technology can make some products with Leiden Technology.\n-However, if you want more support from Leiden forces, it is necessary to continue to continue with Leiden Technology.
|
|
tags:拉莱耶
|
|
#overrideAndReplace:mechEngineer
|
|
#price: 2
|
|
price: 5000
|
|
maxHp: 2700
|
|
mass: 100000
|
|
techLevel: 2
|
|
experimental: true
|
|
buildSpeed: 35s
|
|
#buildSpeed: 1
|
|
#availableInDemo: true
|
|
radius: 70
|
|
displayRadius: 70
|
|
fogOfWarSightRange:15
|
|
transportSlotsNeeded: 3
|
|
isBio: false
|
|
softCollisionOnAll: 3
|
|
#nanoFactorySpeed:2.5
|
|
canRepairBuildings: true
|
|
canRepairUnits : true
|
|
autoRepair: true
|
|
|
|
nanoRepairSpeed: 1.2
|
|
canReclaimResources: true
|
|
|
|
generation_credits: 10
|
|
generation_delay: 40
|
|
|
|
nanoRange: 200
|
|
nanoBuildSpeed: 2
|
|
|
|
[attachment_K1]
|
|
x: 80
|
|
y: 35
|
|
onCreateSpawnUnitOf: 建造手臂
|
|
canBeAttackedAndDamaged:true
|
|
[attachment_K2]
|
|
x: -80
|
|
y: 35
|
|
onCreateSpawnUnitOf: 建造手臂
|
|
canBeAttackedAndDamaged:true
|
|
[attachment_K3]
|
|
x: -80
|
|
y: -48
|
|
onCreateSpawnUnitOf: 建造手臂
|
|
canBeAttackedAndDamaged:true
|
|
[attachment_K4]
|
|
x: 80
|
|
y: -48
|
|
onCreateSpawnUnitOf: 建造手臂
|
|
canBeAttackedAndDamaged:true
|
|
|
|
[canBuild_canReclaim]
|
|
name: reclaim
|
|
pos: -1
|
|
|
|
[canBuild_2]
|
|
name: mechBunkerDeployed
|
|
forceNano: true
|
|
|
|
#[canBuild_3]
|
|
#name: mechFactory
|
|
#forceNano: true
|
|
|
|
[canBuild_4]
|
|
name: airFactory, seaFactory
|
|
tech: 1
|
|
|
|
[canBuild_5]
|
|
name: repairBay, turret, antiAirTurret, laserDefence, extractor, fabricator, landFactoryX,TeslaTurret,CannonTurret
|
|
|
|
[graphics]
|
|
total_frames: 1
|
|
image:ROOT:/assets/oldsungodimg/lalaiye/smalllalaiye.png
|
|
image_turret: ROOT:/assets/oldsungodimg/lalaiye/buildarm.png
|
|
image_shadow: AUTO
|
|
#splastEffect: true
|
|
#dustEffect: true
|
|
icon_zoomed_out:ROOT:/assets/oldsungodimg/lalaiye/icon.png
|
|
showHealthBar:false
|
|
movementEffect:CUSTOM:尾焰,CUSTOM:trail,CUSTOM:trail2,CUSTOM:trail4,CUSTOM:trail5,CUSTOM:尾焰X
|
|
movementEffectRate: 3
|
|
|
|
[effect_尾焰]
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/nofire.png
|
|
life: 16
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime: 3
|
|
scaleFrom: 1
|
|
scaleTo: 3.5
|
|
alpha: 0.8
|
|
xSpeedRelativeRandom: 0
|
|
yOffsetRelative: -148
|
|
xOffsetRelative: -34
|
|
ySpeedRelative: 0.75
|
|
dirOffsetRandom: 0
|
|
drawUnderUnits:false
|
|
atmospheric: true
|
|
|
|
[effect_尾焰X]
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/nofire.png
|
|
life: 16
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime: 3
|
|
scaleFrom: 1
|
|
scaleTo: 3.5
|
|
alpha: 0.8
|
|
xSpeedRelativeRandom: 0
|
|
yOffsetRelative: -148
|
|
xOffsetRelative: 34
|
|
ySpeedRelative: 0.75
|
|
dirOffsetRandom: 0
|
|
drawUnderUnits:false
|
|
atmospheric: true
|
|
|
|
[attack]
|
|
turretRotateWithBody: true
|
|
|
|
canAttack: true
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
|
|
turretSize: 4
|
|
turretTurnSpeed: 1.1
|
|
maxAttackRange: 350
|
|
shootDelay: 120
|
|
isFixedFiring: false
|
|
#turretRotateWithBody: false
|
|
|
|
[turret_nanoTurret]
|
|
|
|
x: 0
|
|
y: 0
|
|
|
|
idleDir:0
|
|
idleDirReversing:0
|
|
|
|
invisible: true
|
|
canShoot: false
|
|
turnSpeed: 3
|
|
turnSpeedAcceleration: 0.2
|
|
|
|
isMainNanoTurret: true
|
|
|
|
[ai]
|
|
useAsBuilder: true
|
|
|
|
[turret_as]
|
|
#机炮
|
|
x: 28
|
|
y: 60
|
|
projectile: 机炮
|
|
|
|
turnSpeed: 2
|
|
turnSpeedAcceleration: 1.0
|
|
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/mainturret.png
|
|
shoot_sound:ROOT:/sound/shooting.ogg
|
|
shoot_sound_vol:0.4
|
|
shoot_flame:small
|
|
shoot_light:#FFff925c
|
|
delay: 1.5s
|
|
canShoot: true
|
|
|
|
#warmup:20
|
|
|
|
recoilOffset: -2
|
|
recoilOutTime: 3
|
|
recoilReturnTime: 10
|
|
[turret_ab]
|
|
#机炮
|
|
x: 28
|
|
y: 45
|
|
copyFrom:as
|
|
[turret_a3]
|
|
#机炮
|
|
x: 28
|
|
y: 30
|
|
projectile: 机炮
|
|
copyFrom:as
|
|
[turret_4a]
|
|
#机炮
|
|
x: 28
|
|
y: 15
|
|
projectile: 机炮
|
|
copyFrom:as
|
|
|
|
[turret_5a]
|
|
#机炮
|
|
x: -28
|
|
y: 15
|
|
copyFrom:as
|
|
|
|
[turret_6a]
|
|
#机炮
|
|
x: -28
|
|
y: 0
|
|
copyFrom:as
|
|
|
|
[turret_7a]
|
|
#机炮
|
|
x: -28
|
|
y: -15
|
|
copyFrom:as
|
|
|
|
recoilOffset: -2
|
|
recoilOutTime: 3
|
|
recoilReturnTime: 10
|
|
|
|
[projectile_机炮]
|
|
#shot
|
|
directDamage: 8
|
|
areaDamage:6
|
|
areaRadius:25
|
|
life: 60
|
|
drawType: 2
|
|
frame: 5
|
|
speed:10
|
|
largeHitEffect: true
|
|
image:ROOT:/assets/oldsungodimg/lalaiye/turretping.png
|
|
lightColor: #ffff925c
|
|
lightSize: 0.3
|
|
|
|
|
|
[movement]
|
|
movementType: AIR
|
|
moveSpeed: 0.7
|
|
moveAccelerationSpeed: 0.5
|
|
moveDecelerationSpeed: 0.5
|
|
landOnGround:true
|
|
reverseSpeedPercentage:0
|
|
|
|
maxTurnSpeed: 0.5
|
|
turnAcceleration: 0.03
|
|
|
|
targetHeight: 50
|
|
targetHeightDrift: 0
|
|
|
|
moveSlidingMode :true
|
|
moveIgnoringBody:true
|
|
moveSlidingDir: 181
|
|
|
|
#slowDeathFall: true
|
|
|
|
[arm_1]
|
|
x:46
|
|
y:34
|
|
image_end:ROOT:/assets/oldsungodimg/lalaiye/nxj.png
|
|
#drawOverBody: true
|
|
spinRate:35
|
|
|
|
[arm_2]
|
|
x:-46
|
|
y:34
|
|
image_end:ROOT:/assets/oldsungodimg/lalaiye/nxj.png
|
|
#drawOverBody: true
|
|
spinRate:35
|
|
|
|
[effect_trail]
|
|
alsoEmitEffects:CUSTOM:trail2
|
|
|
|
createWhenZoomedOut: false
|
|
priority:low
|
|
xOffsetRelative:-36
|
|
yOffsetRelative:-10
|
|
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/trail.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime:2
|
|
scaleFrom: 0.8
|
|
scaleTo: 0.8
|
|
alpha: 0.4
|
|
drawUnderUnits:true
|
|
ySpeedRelative:-0.4
|
|
|
|
[effect_trail2]
|
|
|
|
createWhenZoomedOut: false
|
|
priority:low
|
|
xOffsetRelative:-36
|
|
yOffsetRelative:-10
|
|
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/trail.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime:2
|
|
scaleFrom: 0.8
|
|
scaleTo: 0.8
|
|
alpha: 0.4
|
|
drawUnderUnits:true
|
|
ySpeedRelative:-0.4
|
|
|
|
[effect_trail4]
|
|
alsoEmitEffects:CUSTOM:trail5
|
|
|
|
createWhenZoomedOut: false
|
|
priority:low
|
|
xOffsetRelative:36
|
|
yOffsetRelative:-10
|
|
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/trail.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime:2
|
|
scaleFrom: 0.8
|
|
scaleTo: 0.8
|
|
alpha: 0.4
|
|
drawUnderUnits:true
|
|
ySpeedRelative:-0.4
|
|
|
|
[effect_trail5]
|
|
|
|
createWhenZoomedOut: false
|
|
priority:low
|
|
xOffsetRelative:36
|
|
yOffsetRelative:-10
|
|
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/trail.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime:2
|
|
scaleFrom: 0.8
|
|
scaleTo: 0.8
|
|
alpha: 0.4
|
|
drawUnderUnits:true
|
|
ySpeedRelative:-0.4
|
|
|
|
[effect_trail3]
|
|
|
|
createWhenZoomedOut: false
|
|
xOffsetRelative: 0
|
|
yOffsetRelative: 0
|
|
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/trail.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime:2
|
|
scaleFrom: 0.5
|
|
scaleTo: 0
|
|
alpha: 6
|
|
drawUnderUnits:true
|
|
priority:high
|
|
|
|
[effect_pyro]
|
|
spawnChance:1
|
|
life:60
|
|
alpha:0
|
|
alsoEmitEffects:CUSTOM:sparks*6,CUSTOM:sparks2*4, smoke
|
|
|
|
[effect_sparks]
|
|
attachedToUnit: false
|
|
life: 150
|
|
scaleFrom:1
|
|
scaleTo: 0.4
|
|
physics: true
|
|
xSpeedRelativeRandom: 1
|
|
ySpeedRelativeRandom: 1
|
|
hSpeed: 1
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/spark.png
|
|
priority: low
|
|
|
|
[effect_sparks2]
|
|
attachedToUnit: false
|
|
life: 150
|
|
scaleFrom:1.6
|
|
scaleTo: 0.3
|
|
physics: true
|
|
xSpeedRelativeRandom: 2
|
|
ySpeedRelativeRandom: 2
|
|
hSpeed: 1
|
|
image: ROOT:/assets/oldsungodimg/lalaiye/spark.png
|
|
priority: low
|
|
#---------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
[action_升级]
|
|
text:Authorize
|
|
description:-We have gained recognition from the Leiden faction, and now we can obtain a more powerful Lalaiye Storm Mothership!
|
|
text_zh:授权
|
|
description_zh:-我们获得了莱顿势力的认可,现在,我们可以获得更加强大的拉莱耶风暴母舰!
|
|
price:7600
|
|
buildSpeed:60s
|
|
convertTo:拉莱耶风暴中介系统 |