StarRiver-EndlessJourney-RW.../code/magicdragon/尼德霍格/尼德霍格T2.ini
2023-04-13 20:06:27 +08:00

516 lines
9.2 KiB
INI

[core]
radius:55
@memory #:number[]
updateUnitMemory: #[0]= self.hp%10, #[1]= int((self.hp%100)/10), #[2]= int((self.hp%1000)/100),#[3]= int((self.hp%10000)/1000)
updateUnitMemoryRate:0
name:黑渊之龙
displayText: Black Abyss Dragon
displayDescription: -The magic dragon that gradually lost its mind in the mock battle had forgotten its goal. It has only one goal: slaughter!\n-Is no longer the small dragon it once was, moving more quickly and can manipulate the space-time distortion for instantaneous movement.Very dangerous, need special attention.
displayText_zh: 黑渊之龙
displayDescription_zh: -在模拟战逐渐失去理智的魔龙,已经忘却了目标。它的目标只有一个:屠杀!\n-已经不再是曾经的小龙,行动更加迅速,且可以操控时空扭曲进行瞬移。十分危险,需要特别注意。
class:CustomUnitMetadata
price:1299
maxHp:4350
mass:80000
autoTriggerCooldownTime:0.1s
techLevel:2
buildSpeed:31.4s
tags:黑渊之龙,T2龙,龙
armour:16
generation_resources: credits=21
canRepairBuildings: true
canRepairUnits : true
canReclaimResources: true
autoRepair: true
nanoRange: 285
selfRegenRate:0.25
nanoRepairSpeed: 1.8
nanoBuildSpeed: 1.8
[action_blink]
price:6000
fireTurretXAtGround: blink
fireTurretXAtGround_withProjectile: blink
fireTurretXAtGround_onlyOverPassableTileOf: HOVER
whenBuilding_cannotMove: true
text: Time Reload
#description:i:gui.actions.launchNuke.description
text_zh: 时空扭曲
displayType: action
buildSpeed: 1.2s
pos: 0.1
whenBuilding_playAnimation: blink
highPriorityQueue: true
onlyOneUnitAtATime: true
iconImage: SHARED:icon_attack_point.png
allowMultipleInQueue: false
addActionCooldownTime: 25s
[canBuild_1]
name: reclaim,MLB2,循环序列T2,GRCT2,MAC,MSC,四恒防空塔,模块化炮塔底座,翠绿灵塔
pos: 1
[graphics]
total_frames:5
image:ROOT:/assets/magicdragonimg/dragon/T2/黑渊之龙.png
image_wreak:NONE
image_turret:SHARED:blank.png
image_shadow:AUTO
shadowOffsetX:-2
shadowOffsetY:-7
imageScale:1
scaleTurretImagesTo: 0.5
lock_body_rotation_with_main_turret:true
showHealthBar:false
animation_moving_start: 0
animation_moving_end: 4
animation_moving_speed: 7
animation_idle_start:0
animation_idle_end:4
animation_idle_speed:8
[leg_1]
x:-12
y:12
attach_x:0
attach_y:0
moveSpeed:2.1
moveWarmUp:0.1s
rotateSpeed:7
heightSpeed:1
resetAngle:0
image_foot:ROOT:/assets/magicdragonimg/dragon/leg.png
holdDisMin:0
holdDisMax:10
[leg_2]
x:12
y:12
copyFrom:1
[leg_3]
x:12
y:-20
copyFrom:1
[leg_4]
x:-12
y:-20
copyFrom:1
[attack]
canAttack:true
canAttackFlyingUnits:true
canAttackLandUnits:true
canAttackUnderwaterUnits:false
isFixedFiring:false
turretSize:30
turretTurnSpeed:3.4
maxAttackRange:310
shootDelay:0.05s
[turret_1]
x:-24
aimOffsetSpread:0
y:0
size:48
projectile:1
shoot_sound:NONE
shoot_sound_vol:1
shoot_flame:NONE
canShoot:true
recoilReturnTime:32
[turret_A]
x:16
aimOffsetSpread:0
y:16
size:48
projectile:3
shoot_sound:NONE
shoot_sound_vol:1
shoot_flame:NONE
canShoot:true
recoilReturnTime:32
warmup:125
[turret_B]
x:-12
aimOffsetSpread:0
y:18
size:48
projectile:3
shoot_sound:NONE
shoot_sound_vol:1
shoot_flame:NONE
canShoot:true
warmup:70
recoilReturnTime:32
[turret_3]
barrelX:-5
x:0
aimOffsetSpread:0
y:0
size:0
projectile:1
shoot_sound:NONE
shoot_sound_vol:1
shoot_flame:NONE
image:ROOT:/assets/magicdragonimg/modconon/UI.png
canShoot:false
recoilReturnTime:32
isMainNanoTurret:true
[turret_2]
x:24
y:0
copyFrom:1
[projectile_1]
areaDamage:10
areaRadius:40
life:6
flameWeapon:false
armourIgnoreAmount:60
instant:true
instantReuseLast:true
buildingDamageMultiplier:0.35
deflectionPower:-1
shieldDefectionMultiplier:0.8
shieldDamageMultiplier:1.8
instantReuseLast_alsoChangeTurretAim:true
moveWithParent:true
beamImage:SHARED:beam1.png
beamImageEnd:SHARED:beam1_end.png
beamImageStart:SHARED:beam1_start.png
beamImageOffsetRate:2
sweepOffsetFromTargetRadius:0.1
areaHitAirAndLandAtSameTime:true
beamImageStartRotated:true
beamImageEndRotated:true
color:#BB0000
[movement]
movementType:HOVER
moveSpeed:0.75
moveAccelerationSpeed:0.5
moveDecelerationSpeed:0.17
maxTurnSpeed:2.4
turnAcceleration:0.3
moveIgnoringBody:false
[ai]
useAsBuilder: true
[decal_血条]
layer:afterBody
image:ROOT:/assets/public/hpbar.png
imageScaleX:(self.hp/self.maxHp)*86
alwaysStartDirAtZero:true
dirOffset:0
color:#8c8c8c
yOffsetAbsolute:39
pivotOffset:0
#Thanks 杰厕灵 in Code
xOffsetAbsolute: ((1-(self.hp / self.maxHp)) * (-${core.radius}/1.12))
#isVisible:if self.hp > self.maxHp*0.6
[decal_血条底板]
image:ROOT:/assets/magicdragonimg/dragon/dragon-hpbar.png
alwaysStartDirAtZero:true
dirOffset:0
imageScaleX:1.3
yOffsetAbsolute:39
xOffsetAbsolute:3
pivotOffset:0
order:-1
layer:onTop
teamColors:true
#判定单位血量满的情况
[decal_xis_个位]
@define A:0
layer:onTop
order:10.01
yOffsetAbsolute:39
image:ROOT:/assets/oldsungodimg/lalaiye/hp-number.png
imageScale:0.7
frame: memory.#[${A}]
frame_width:6
frame_height:8
#isVisible:if self.hp(full=true)
alwayStartDirAtZero:true
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
[turret_blink]
x: 0
y: 0
canShoot:false
invisible: true
size: 1
turnSpeed: 40
limitingRange: 700
[projectile_blink]
teleportSource: true
instant: true
directDamage: 0
life: 99999
speed: 1
targetGround: true
deflectionPower:-1
shouldRevealFog:true
explodeEffect: CUSTOM:blinkFlash,CUSTOM:blinkGlow, CUSTOM:blinkChargeOut_displacement
effectOnCreate: CUSTOM:blinkFlash,CUSTOM:blinkGlow, CUSTOM:blinkEnter_displacement
[effect_blinkFlash]
priority:high
image: SHARED:light_50.png
life: 78
fadeOut: true
attachedToUnit: false
color: #ff0000
scaleFrom: 4.8
scaleTo: 1.0
alpha: 0.8
drawUnderUnits:false
[effect_blinkGlow]
priority:high
image: SHARED:light_50.png
life: 148
fadeOut: true
attachedToUnit: false
color: #00ffff
scaleFrom: 2.8
scaleTo: 7.0
alpha: 0.5
drawUnderUnits:false
[effect_blinkChargeIn_displacement]
#displacement type ignored if postprocessing is not enabled
drawType: displacement
image: SHARED:cone_inverted_normal_128.png
life: 23
fadeOut: true
fadeInTime: 20
attachedToUnit: true
color: #ff00ff
scaleFrom: 3.5
scaleTo: 1.0
alpha: 1.0
drawUnderUnits:false
#dirOffsetRandom: 180
#dirSpeed: 1
#delayedStartTimer: 0
alwayStartDirAtZero: true
[effect_blinkChargeOut_displacement]
#displacement type ignored if postprocessing is not enabled
drawType: displacement
image: SHARED:shockwave_normal_128.png
life: 80
fadeOut: true
fadeInTime: 5
attachedToUnit: false
color: #ffff00
scaleFrom: 1.0
scaleTo: 4.0
alpha: 0.3
drawUnderUnits:false
alwayStartDirAtZero: true
[effect_blinkEnter_displacement]
#displacement type ignored if postprocessing is not enabled
drawType: displacement
image: SHARED:shockwave_normal_128.png
life: 40
fadeOut: true
fadeInTime: 20
attachedToUnit: false
color: #ff0000
scaleFrom: 4.3
scaleTo: 0.5
alpha: 0.7
drawUnderUnits:false
#dirOffsetRandom: 180
#dirSpeed: 1
#delayedStartTimer: 0
alwayStartDirAtZero: true
[effect_blinkSpark]
priority:high
image: SHARED:light_50.png
life: 18
lifeRandom:5
fadeOut: true
attachedToUnit: false
color: #07eef2
scaleFrom: 0.2
scaleTo: 0.5
alpha: 0.8
drawUnderUnits:false
#xOffsetAbsoluteRandom:205
#yOffsetAbsoluteRandom:205
xOffsetRelativeRandom:30
yOffsetRelativeRandom:30
xSpeedAbsoluteRandom:1.4
ySpeedAbsoluteRandom:1.4
delayedStartTimer:30
delayedStartTimerRandom:30
physics:true
physicsGravity:-0.4
#hSpeed:1
[animation_blink]
effect_0.1s: {x:0, y:0, name:CUSTOM|blinkSpark*3}
effect_0.5s: {x:0, y:0, name:CUSTOM|blinkSpark*5}
effect_1.0s: {x:0, y:0, name:CUSTOM|blinkSpark*10}
effect_1.05s: {x:0, y:0, name:CUSTOM|blinkChargeIn_displacement}
effect_1.5s: {x:0, y:0, name:CUSTOM|blinkSpark*16}
[projectile_3]
#directDamage: 310
directDamage: 20
life: 25
instant: true
lightingEffect: true
largeHitEffect: true
shieldDamageMultiplier: 1
shieldDefectionMultiplier: 0.1
buildingDamageMultiplier: 0.5
explodeEffect:CUSTOM:lightningShock, CUSTOM:sparks*8
explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash
[effect_hitLightFlash]
priority:high
image: SHARED:light_50.png
life: 17
fadeOut: true
attachedToUnit: false
color: #63e6e8
scaleFrom: 1.8
scaleTo: 1.8
alpha: 0.6
drawUnderUnits:false
[effect_lightningShock]
life: 60
hOffset: 0
dirOffset: 0
fadeInTime: 0
fadeOut: false
attachedToUnit: true
image: SHARED:lightning_shock.png
total_frames: 14
animateFrameStart: 0
animateFrameEnd: 13
animateFramePingPong: false
animateFrameSpeed: 0.5
[effect_sparks]
attachedToUnit: false
life: 150
physics: true
xSpeedRelativeRandom: 1.6
ySpeedRelativeRandom: 1.6
hSpeed: 2
image: SHARED:spark.png
priority: verylow
[effect_sparks2]
attachedToUnit: false
life: 150
physics: true
xSpeedRelativeRandom: 0.5
ySpeedRelativeRandom: 0.5
hSpeed: 1
image: SHARED:spark.png
priority: verylow