268 lines
4.8 KiB
INI
268 lines
4.8 KiB
INI
[core]
|
|
name: Big
|
|
class: CustomUnitMetadata
|
|
price: 45000
|
|
maxHp: 4800
|
|
mass: 40000
|
|
displayText:Heavy amphibious cockroach submarine
|
|
displayDescription:High attack power, with two forms of navy and army\n-It self is relatively fragile and Afarid be attacked by high damage.
|
|
|
|
displayText_zh:重型两栖蟑螂潜水艇
|
|
displayDescription_zh:高攻击力,拥有海军和陆军两种形态\n-本身比较脆弱,不能受到高伤害攻击。
|
|
|
|
techLevel: 3
|
|
buildSpeed: 40s
|
|
availableInDemo: false
|
|
radius: 50
|
|
#displayRadius: 11
|
|
transportSlotsNeeded: 3
|
|
isBio: false
|
|
#softCollisionOnAll: 3
|
|
builtFrom_1_name: seaFactoryvbb
|
|
builtFrom_1_pos: 6
|
|
[graphics]
|
|
total_frames: 1
|
|
image: ROOT:/.贴图分配/.旧日神教/.单位贴图/蟑螂潜水艇.png
|
|
image_wreak: NONE
|
|
image_turret: ROOT:/.贴图分配/.旧日神教/.单位贴图/黑暗零式战舰A.png
|
|
scaleImagesTo: 68
|
|
scaleTurretImagesTo: 9
|
|
image_shadow: AUTO
|
|
shadowOffsetX:2
|
|
shadowOffsetY:2
|
|
movementEffect: CUSTOM:水波1, CUSTOM:水波2
|
|
movementEffectRate: 12
|
|
movementEffectReverse: CUSTOM:水波1, CUSTOM:水波2
|
|
|
|
[effect_水波1]
|
|
image: ROOT:/.贴图分配/.旧日神教/.效果贴图/水波.png
|
|
createWhenOverLand: false
|
|
life: 120
|
|
spawnChance: 1
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime:10
|
|
scaleFrom: 0.25
|
|
scaleTo: 3.5
|
|
alpha: 0.6
|
|
drawUnderUnits:true
|
|
yOffsetRelative: -45
|
|
ySpeedRelative: 0.3
|
|
dirOffsetRandom: 10
|
|
dirSpeedRandom: 0.1
|
|
#atmospheric: true
|
|
|
|
[effect_水波2]
|
|
image: ROOT:/.贴图分配/.旧日神教/.效果贴图/水波.png
|
|
createWhenOverLand: false
|
|
life: 90
|
|
spawnChance: 1
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
fadeInTime:10
|
|
scaleFrom: 0.5
|
|
scaleTo: 3.5
|
|
alpha: 0.6
|
|
drawUnderUnits:true
|
|
yOffsetRelative:45
|
|
ySpeedRelative: 0.3
|
|
dirOffsetRandom: 5
|
|
dirSpeedRandom: 0.05
|
|
atmospheric: true
|
|
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: true
|
|
canAttackNotTouchingWaterUnits:false
|
|
turretSize: 20
|
|
turretTurnSpeed: 1.5
|
|
maxAttackRange: 600
|
|
shootDelay: 100
|
|
[turret_1]
|
|
#torpedo
|
|
invisible: true
|
|
x: 0
|
|
y: 0
|
|
idleDir:0
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: true
|
|
canAttackNotTouchingWaterUnits:false
|
|
projectile: torpedo
|
|
size: 1.1
|
|
#turnSpeed: 15
|
|
turnSpeed: 0
|
|
canAttackMaxAngle: 181
|
|
[turret_2]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: -15
|
|
y: 0
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_2x]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 15
|
|
y: 0
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_3]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 0
|
|
y: -10
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_x3]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 0
|
|
y: 10
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_4]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: -15
|
|
y: 20
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_5]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 15
|
|
y: 20
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_6]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 20
|
|
y: 30
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_7]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: -20
|
|
y: 30
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[turret_9]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 0
|
|
y: 45
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: torpedo
|
|
linkDelayWithTurret:1
|
|
[projectile_torpedo]
|
|
#torpedo
|
|
directDamage: 40
|
|
life: 30
|
|
speed: 0
|
|
targetSpeed: 7
|
|
targetSpeedAcceleration: 0.1
|
|
drawSize: 1
|
|
color: #1Eff96
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
deflectionPower: -1
|
|
wobbleAmplitude: 3.8
|
|
wobbleFrequency: 4.8s
|
|
areaDamage: 18
|
|
areaRadius: 55
|
|
turnSpeed:2
|
|
#startingTurnSpeed:1
|
|
#targetTurnSpeed:3
|
|
lightSize:0.2
|
|
#spawnProjectilesOnEndOfLife: torpedo_split(offsetDir=90), torpedo_split(offsetDir=-90), torpedo_split(offsetDir=00)
|
|
spawnProjectilesOnEndOfLife: torpedoLocked
|
|
[projectile_torpedoLocked]
|
|
@copyFromSection: projectile_torpedo
|
|
life: 300
|
|
turnSpeed:6
|
|
spawnProjectilesOnEndOfLife: NONE
|
|
[comment_projectile_torpedo_split]
|
|
#torpedo split
|
|
directDamage: 95
|
|
life: 250
|
|
speed: 0
|
|
targetSpeed: 6.0
|
|
targetSpeedAcceleration: 0.03
|
|
drawSize: 1.5
|
|
color: #1EEE96
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
deflectionPower: -1
|
|
wobbleAmplitude: 0.2
|
|
wobbleFrequency: 0.8s
|
|
turnSpeed:3
|
|
#startingTurnSpeed:1
|
|
#targetTurnSpeed:3
|
|
lightSize:0.2
|
|
[movement]
|
|
movementType: WATER
|
|
moveSpeed: 0.85
|
|
moveAccelerationSpeed: 0.015
|
|
moveDecelerationSpeed: 0.05
|
|
|
|
|
|
#moveSlidingMode :false
|
|
#moveIgnoringBody:false
|
|
#moveSlidingDir: 45
|
|
|
|
|
|
targetHeight: -8
|
|
targetHeightDrift: 0.3
|
|
|
|
maxTurnSpeed: 1.5
|
|
turnAcceleration: 0.05
|
|
[effect_splash]
|
|
life: 70
|
|
stripIndex: effects
|
|
frameIndex: 13
|
|
scaleFrom: 0.9
|
|
scaleTo: 1.3
|
|
alpha: 0.4
|
|
atmospheric:true
|
|
fadeInTime: 3
|
|
fadeOut:true
|
|
dirOffsetRandom:180
|
|
xSpeedAbsoluteRandom: 0.1
|
|
ySpeedAbsoluteRandom: 0.1
|
|
ySpeedRelative:-0.2
|
|
#hSpeed:0.1
|
|
yOffsetRelative:-28
|
|
attachedToUnit: false
|
|
drawUnderUnits:true
|
|
[action_surface]
|
|
convertTo: BigX
|
|
#isActive: if not self.isOverwater
|
|
displayType: action
|
|
price: 0
|
|
text: 上浮
|
|
buildSpeed: 1
|
|
whenBuilding_cannotMove: true
|
|
pos:-1
|
|
highPriorityQueue: true |