679 lines
11 KiB
INI
679 lines
11 KiB
INI
[comment_test]
|
|
单位还行,你浸没重要级单位
|
|
星河联动单位 请勿二改
|
|
|
|
[attachment_1]
|
|
x:0
|
|
y:43
|
|
height:2
|
|
canBeAttackedAndDamaged:false
|
|
keepAliveWhenParentDies:true
|
|
setDrawLayerOnTop:true
|
|
addTransportedUnits:1
|
|
rotateWithParent:true
|
|
lockRotation:false
|
|
resetRotationWhenNotAttacking:true
|
|
canAttack:true
|
|
[attachment_2]
|
|
x:0
|
|
y:-72
|
|
@copyFromSection:attachment_1
|
|
|
|
[action_buildAntiNuke]
|
|
price: 5000
|
|
text: i:gui.actions.buildAntiNuke
|
|
description:i:gui.actions.buildAntiNuke.description
|
|
displayType: NONE
|
|
buildSpeed: 0.0001
|
|
pos:-3
|
|
isActive:if self.ammoIncludingQueued(lessThan=10)
|
|
addResources: ammo=1
|
|
isLocked: if not game.nukesEnabled()
|
|
isLockedMessage: i:gui.actions.nukesDisabled
|
|
iconImage:ICON_CHDD.png
|
|
ai_isDisabled: if self.ammo(greaterThan=3)
|
|
showMessageToPlayer:Interceptor Ammunition +1
|
|
|
|
|
|
|
|
|
|
[action_showNukeCount]
|
|
#infoOnly: true
|
|
addResources: ammo=1
|
|
price: ammo=1
|
|
text: i:gui.actions.antiNukeCount
|
|
description: i:gui.actions.antiNukeCount.description
|
|
displayType: none
|
|
buildSpeed: 0s
|
|
pos:-4
|
|
displayRemainingStockpile: true
|
|
highPriorityQueue: true
|
|
isActive:false
|
|
iconImage:ICON_HWFY.png
|
|
|
|
|
|
|
|
|
|
[action_YD]
|
|
autoTrigger: if self.isMoving()
|
|
isVisible: false
|
|
playSoundAtUnit:FXQ.ogg:0.4
|
|
|
|
[effect_LJF]
|
|
image:LJF.png
|
|
priority:high
|
|
life:60
|
|
spawnChance: 1
|
|
fadeOut: true
|
|
attachedToUnit:true
|
|
fadeInTime: 30
|
|
scaleFrom:2.6
|
|
scaleTo:2.5
|
|
alpha: 0.6
|
|
color: #e8e1ed
|
|
drawUnderUnits:true
|
|
hOffset:0
|
|
dirOffsetRandom: 180
|
|
dirSpeedRandom: 5
|
|
atmospheric: true
|
|
[effect_LJF2]
|
|
image:LJF.png
|
|
priority:high
|
|
life:60
|
|
spawnChance: 1
|
|
fadeOut: true
|
|
attachedToUnit:true
|
|
fadeInTime: 30
|
|
scaleFrom:1.3
|
|
scaleTo:1.5
|
|
alpha: 0.6
|
|
color: #e8e1ed
|
|
drawUnderUnits:true
|
|
hOffset:0
|
|
dirOffsetRandom: 180
|
|
dirSpeedRandom: 5
|
|
atmospheric: true
|
|
[effect_LJF3]
|
|
image:LJF.png
|
|
priority:high
|
|
life:60
|
|
spawnChance: 1
|
|
fadeOut: true
|
|
attachedToUnit:true
|
|
fadeInTime: 30
|
|
scaleFrom:0.6
|
|
scaleTo:0.7
|
|
alpha: 0.6
|
|
color: #e8e1ed
|
|
drawUnderUnits:true
|
|
hOffset:0
|
|
dirOffsetRandom: 180
|
|
dirSpeedRandom: 5
|
|
atmospheric: true
|
|
[effect_LZ]
|
|
attachedToUnit: false
|
|
life:160
|
|
atmospheric: true
|
|
xOffsetRelativeRandom: 20
|
|
yOffsetRelativeRandom: 20
|
|
scaleFrom:2
|
|
scaleTo:2.5
|
|
xSpeedRelativeRandom:0.4
|
|
ySpeedRelativeRandom:0.4
|
|
hSpeed:0.5
|
|
hSpeedRandom: 0.5
|
|
|
|
image:SHARED:spark.png
|
|
yOffsetRelative:-72
|
|
[effect_projectileTrail]
|
|
createWhenZoomedOut: false
|
|
priority:low
|
|
image: SHARED:light_50.png
|
|
life:80
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
color: #63e6e8
|
|
fadeInTime:2
|
|
scaleFrom:0.6
|
|
scaleTo:2.8
|
|
alpha: 0.4
|
|
drawUnderUnits:true
|
|
ySpeedRelative:-0.4
|
|
atmospheric: true
|
|
yOffsetRelative:-72
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
turretSize: 18
|
|
turretTurnSpeed: 4
|
|
maxAttackRange:290
|
|
shootDelay: 25
|
|
turretMultiTargeting: true
|
|
|
|
[turret_2]
|
|
x: 27
|
|
y: -10
|
|
idleDir:45
|
|
projectile: 1
|
|
size:17
|
|
image:MF.png
|
|
turnSpeed:1.4
|
|
turnSpeedAcceleration: 1
|
|
shoot_sound:JGLZP.ogg
|
|
shoot_sound_vol:0.3
|
|
shoot_flame:CUSTOM:lightSlowFade,shockwave*2
|
|
shoot_light: #eefbff
|
|
recoilOffset: -1
|
|
recoilOutTime: 3
|
|
recoilReturnTime: 10
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: false
|
|
warmup: 200
|
|
warmupCallDownRate: 1
|
|
warmupNoReset: true
|
|
warmupShootDelayTransfer: 10
|
|
|
|
[turret_35]
|
|
x: -27
|
|
y: -10
|
|
copyFrom:2
|
|
idleDir:-45
|
|
linkDelayWithTurret:2
|
|
|
|
[turret_4]
|
|
x: -27
|
|
y: -25
|
|
copyFrom:2
|
|
idleDir:-45
|
|
linkDelayWithTurret:2
|
|
|
|
[turret_5]
|
|
x: 27
|
|
idleDir:45
|
|
y: -25
|
|
copyFrom:2
|
|
linkDelayWithTurret:2
|
|
|
|
[projectile_1]
|
|
directDamage:176
|
|
life: 100
|
|
areaDamage:150
|
|
areaRadius:76
|
|
speed: 7
|
|
frame:11
|
|
drawSize: 1
|
|
lightSize: 0.4
|
|
lightColor:#ffffff
|
|
explodeEffect:CUSTOM:new.sparks*2,shockwave
|
|
|
|
[turret_1]
|
|
invisible: true
|
|
canShoot: false
|
|
x: 0
|
|
y: 0
|
|
idleDir:0
|
|
|
|
[turret_11]
|
|
x:-7
|
|
idleDir:-30
|
|
y:-43
|
|
copyFrom:3
|
|
linkDelayWithTurret:3
|
|
|
|
[turret_12]
|
|
x:-7
|
|
idleDir:-150
|
|
y:-57
|
|
copyFrom:3
|
|
linkDelayWithTurret:3
|
|
|
|
[turret_13]
|
|
x:7
|
|
idleDir:150
|
|
y:-57
|
|
copyFrom:3
|
|
linkDelayWithTurret:3
|
|
|
|
[turret_14]
|
|
x: 0
|
|
y:-7
|
|
canShoot: false
|
|
laserDefenceEnergyUse:0.6
|
|
limitingRange:165
|
|
|
|
[turret_15]
|
|
x:0
|
|
y:80
|
|
attachedTo:1
|
|
slave: true
|
|
invisible: true
|
|
projectile:4
|
|
canShoot:true
|
|
delay:1
|
|
|
|
[projectile_4]
|
|
areaDamage:45
|
|
areaRadius:76
|
|
life:0
|
|
speed:0
|
|
explodeEffect:NONE
|
|
explodeEffectOnShield:NONE
|
|
explodeOnEndOfLife:true
|
|
areaHitAirAndLandAtSameTime:true
|
|
hitSound:false
|
|
pushForce:-0.3
|
|
pushVelocity:-1
|
|
|
|
[turret_18]
|
|
x: 0
|
|
y: 7
|
|
canShoot:true
|
|
shouldResetTurret: false
|
|
idleSpin: 0.5
|
|
image:GSP2.png
|
|
warmup:145
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: false
|
|
|
|
recoilOffset: -3
|
|
recoilOutTime: 6
|
|
recoilReturnTime: 12
|
|
projectile:6
|
|
|
|
[projectile_6]
|
|
#flak
|
|
life: 340
|
|
speed: 20
|
|
drawSize: 0.9
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
frame: 0
|
|
areaDamage: 23
|
|
areaRadius: 60
|
|
autoTargetingOnDeadTarget: true
|
|
lightColor: #ffff00
|
|
lightSize: 0.4
|
|
|
|
[turret_3]
|
|
#laser
|
|
idleDir:30
|
|
invisible: false
|
|
x:7
|
|
y:-43
|
|
shoot_sound:missile_fire
|
|
shoot_sound_vol:0.1
|
|
shoot_light:#ABEFEF
|
|
shoot_flame:small
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
projectile:3
|
|
size:8
|
|
recoilOffset: -2
|
|
delay:15
|
|
image:MF.png
|
|
energyUsage:0.8
|
|
|
|
|
|
turnSpeed: 0.8
|
|
turnSpeedAcceleration: 1
|
|
|
|
|
|
[projectile_3]
|
|
#missile
|
|
flameWeapon: true
|
|
areaDamage: 20
|
|
areaRadius: 40
|
|
drawSize:1
|
|
targetGround: true
|
|
targetGroundSpread: 20
|
|
life: 240
|
|
speed: 2.6
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
lightColor:#ABEFEF
|
|
lightSize: 0.4
|
|
color:#ABEFEF
|
|
frame: 7
|
|
|
|
[turret_8]
|
|
idleDir:-25
|
|
x: -20
|
|
y:45
|
|
size:12
|
|
image:ZLZDLTK_PT2.png
|
|
projectile: 2
|
|
turnSpeed: 4
|
|
turnSpeedAcceleration: 0.3
|
|
shoot_sound:CJP.ogg
|
|
shoot_sound_vol:0.23
|
|
shoot_flame:CUSTOM:lightSlowFade
|
|
shoot_light:#ffffff
|
|
canShoot: true
|
|
recoilOffset: -3
|
|
recoilOutTime: 4
|
|
recoilReturnTime: 20
|
|
warmupStartEffect: CUSTOM:warmup
|
|
warmup:150
|
|
chargeEffectImage: SHARED:lighting_charge2.png
|
|
image_applyTeamColors: true
|
|
canAttackFlyingUnits:false
|
|
canAttackLandUnits:true
|
|
[turret_9]
|
|
idleDir:25
|
|
x: 20
|
|
y:45
|
|
copyFrom:8
|
|
linkDelayWithTurret:8
|
|
|
|
[projectile_5]
|
|
life: 250
|
|
speed: 0.3
|
|
targetSpeed: 1.7
|
|
largeHitEffect: true
|
|
drawSize:2.5
|
|
color: #000000
|
|
trailEffect: false
|
|
#largeHitEffect: true
|
|
targetGround: true
|
|
areaDamage:15
|
|
buildingDamageMultiplier:1.65
|
|
areaRadius:35
|
|
deflectionPower:4
|
|
explodeEffect:CUSTOM:CJB
|
|
[effect_CJB]
|
|
alsoPlaySound:HZJBZ.ogg:0.4
|
|
priority:critical
|
|
stripIndex:shockwave
|
|
life:30
|
|
scaleFrom:0.1
|
|
scaleTo:2
|
|
|
|
[projectile_2]
|
|
directDamage:5
|
|
life: 80
|
|
speed: 0
|
|
targetSpeed: 16
|
|
targetSpeedAcceleration: 0.7
|
|
drawType:2
|
|
frame:4
|
|
drawSize:1
|
|
trailEffect: CUSTOM:projectileTrail2
|
|
trailEffectRate:2
|
|
#trailEffectRate: true
|
|
lightColor:#ffffff
|
|
explodeEffect: CUSTOM:projectilePassThough, smallExplosion, CUSTOM:hitLightFlash, CUSTOM:new.sparks*20
|
|
explodeEffectOnShield: CUSTOM:hitLightFlash
|
|
effectOnCreate: CUSTOM:projectileLight
|
|
areaDamage:10
|
|
areaRadius:30
|
|
[effect_new.sparks]
|
|
attachedToUnit: false
|
|
life:60
|
|
atmospheric: true
|
|
xOffsetRelativeRandom: 50
|
|
yOffsetRelativeRandom: 50
|
|
scaleFrom:2
|
|
scaleTo:2.5
|
|
xSpeedRelativeRandom:2.5
|
|
ySpeedRelativeRandom:2.5
|
|
hSpeed:0.5
|
|
hSpeedRandom: 0.5
|
|
|
|
image:SHARED:spark.png
|
|
[effect_warmup]
|
|
priority:high
|
|
image: SHARED:light_50.png
|
|
life: 25
|
|
fadeOut: true
|
|
attachedToUnit: true
|
|
color: #63e6e8
|
|
scaleFrom: 0.2
|
|
scaleTo: 0.2
|
|
alpha: 0.8
|
|
drawUnderUnits:false
|
|
ySpeedRelative:3.9
|
|
[effect_lightSlowFade]
|
|
image: SHARED:light_50.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: true
|
|
color: #63e6e8
|
|
scaleFrom: 0.7
|
|
scaleTo: 0.7
|
|
alpha: 0.5
|
|
drawUnderUnits:true
|
|
[effect_projectileTrail2]
|
|
image: SHARED:light_50.png
|
|
life: 20
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
color: #63e6e8
|
|
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: #63e6e8
|
|
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: #63e6e8
|
|
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.5
|
|
scaleTo:1
|
|
alpha: 1
|
|
drawUnderUnits:false
|
|
ySpeedRelative:2
|
|
atmospheric: true
|
|
|
|
|
|
[ai]
|
|
useAsBuilder: true
|
|
useAsTransport:true
|
|
|
|
|
|
[turret_10]
|
|
|
|
x:0
|
|
y:-28
|
|
#idleDir:-90
|
|
warmup:30
|
|
turnSpeed: 4
|
|
size:1
|
|
canShoot: false
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: false
|
|
isMainNanoTurret: true
|
|
|
|
[turret_16]
|
|
canShoot:false
|
|
x: 0
|
|
y:7
|
|
projectile:5
|
|
shoot_sound:NDX.ogg:0.3
|
|
energyUsage:0.7
|
|
|
|
[turret_17]
|
|
#anti-nuke turret
|
|
x: 0
|
|
y:7
|
|
canShoot:false
|
|
|
|
|
|
idleDir:0
|
|
invisible: true
|
|
|
|
projectile: antiNukeMissile
|
|
interceptProjectiles_withTags: nuke
|
|
interceptProjectiles_andTargetingGroundUnderDistance: 400
|
|
interceptProjectiles_andUnderDistance: 800
|
|
interceptProjectiles_andOverHeight:50
|
|
|
|
shoot_sound:nuke_launch
|
|
shoot_sound_vol:0.15
|
|
shoot_light:#FFEECCCC
|
|
|
|
size: 1
|
|
|
|
turnSpeed: 40
|
|
|
|
resourceUsage: ammo=1
|
|
|
|
shoot_flame:shockwave, smoke
|
|
|
|
[projectile_antiNukeMissile]
|
|
#anti-nuke
|
|
directDamage: 85
|
|
|
|
life: 99999
|
|
speed: 0.2
|
|
targetSpeed: 6.5
|
|
targetSpeedAcceleration:0.05
|
|
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
ballistic: true
|
|
ballistic_delaymove_height:80
|
|
ballistic_height: 110
|
|
frame: 10
|
|
#shadowFrame:1
|
|
|
|
drawType:0
|
|
|
|
targetGround: true
|
|
areaDamage: 100
|
|
areaRadius: 60
|
|
|
|
areaExpandTime:75
|
|
|
|
deflectionPower:-1
|
|
|
|
|
|
lightColor: #FFEEEE00
|
|
lightSize: 1
|
|
|
|
|
|
alwaysVisibleInFog: true
|
|
|
|
[movement]
|
|
movementType: AIR
|
|
moveSpeed: 1.2
|
|
moveAccelerationSpeed: 0.01
|
|
moveDecelerationSpeed: 0.01
|
|
maxTurnSpeed: 0.8
|
|
turnAcceleration: 0.05
|
|
moveSlidingMode :true
|
|
moveIgnoringBody:true
|
|
moveSlidingDir: 120
|
|
|
|
[hiddenAction_TJSFZY]
|
|
autoTrigger:if self.isControlledByAI()
|
|
addResourcesScaledByAIHandicaps:credits=35
|
|
|
|
[graphics]
|
|
total_frames:2
|
|
image:JMDLKTMJ.png
|
|
#icon_zoomed_out:ROOT:/QT/SC/ICON/DWTB/ICON_SYFJ.png
|
|
image_wreak:NONE
|
|
image_turret:NONE
|
|
image_shadow: AUTO
|
|
shadowOffsetX:1
|
|
shadowOffsetY:1
|
|
|
|
animation_idle_start: 0
|
|
animation_idle_end: 1
|
|
animation_idle_speed: 2
|
|
animation_moving_start: 0
|
|
animation_moving_end: 1
|
|
animation_moving_speed: 2
|
|
|
|
movementEffect: CUSTOM:projectileTrail,CUSTOM:LZ*2,CUSTOM:LJF,CUSTOM:LJF2,CUSTOM:LJF3
|
|
movementEffectRate: 8
|
|
|
|
[core]
|
|
autoTriggerCooldownTime:2.0s
|
|
fireTurretXAtSelfOnDeath:16
|
|
class: CustomUnitMetadata
|
|
price:75000
|
|
maxHp:8000
|
|
mass: 900
|
|
techLevel: 1
|
|
experimental: true
|
|
buildSpeed:128.5s
|
|
radius:78
|
|
isBio: false
|
|
softCollisionOnAll: 3
|
|
transportSlotsNeeded:20
|
|
maxTransportingUnits:18
|
|
nanoFactorySpeed:6
|
|
generation_credits:15
|
|
generation_delay: 40
|
|
energyMax:7
|
|
soundOnMoveOrder:KJMS.ogg:0.4
|
|
soundOnAttackOrder:MZ.ogg:0.4
|
|
energyRegen: 0.002
|
|
energyNeedsToRechargeToFull: true
|
|
selfRegenRate:0.5
|
|
#transportUnitsRequireMovementType:AIR
|
|
#transportUnitsCanUnloadUnits:if self.isFlying()
|
|
transportUnitsKillOnDeath:false
|
|
transportUnitsHealBy:0.5
|
|
#borrowResourcesWhileAlive:ㄣ=-50
|
|
canRepairBuildings: true
|
|
canRepairUnits : true
|
|
autoRepair: true
|
|
nanoRange: 260
|
|
nanoRepairSpeed: 0.8
|
|
nanoBuildSpeed:1.2
|
|
canBuild_3_name: repair
|
|
canBuild_3_pos: -2
|
|
canBuild_2_name: reclaim
|
|
canBuild_2_pos: -1
|
|
canBuild_1_name:turretT2,antiAirTurretT2,turret_artillery,turret_flamethrower
|
|
|
|
exit_x:0
|
|
exit_y:36
|
|
exit_dirOffset:0
|
|
exit_moveAwayAmount:140
|
|
isPickableStartingUnit: true
|
|
startFallingWhenStartingUnit: true
|
|
transportUnitsCanUnloadUnits:if self.isOverPassableTile(type='LAND') or self.isOverwater()
|
|
transportUnitsRequireMovementType:LAND,WATER,AIR,HOVER
|
|
name:堕落级剿灭
|
|
tags:JMDLJSZKJ
|
|
displayText_zh:堕落级散装空舰
|
|
displayText:Immersion fallen class bulk empty ship
|
|
displayDescription_zh:-可建设单位与建筑物\n-在空中移动防核\n-自带激光防御与维修湾\n-对空中和陆地目标进行强力攻击\n-高速回血\n-死亡后投射剩余的弹药
|
|
displayDescription:-Buildable units and buildings\n-Mobile anti-nuclear in the air\n-Self-equipped laser defense and maintenance bay\n-Strong attack on air and land targets\n-High-speed blood return |