213 lines
3.0 KiB
INI
213 lines
3.0 KiB
INI
[core]
|
|
name: BigX
|
|
class: CustomUnitMetadata
|
|
price: 15000
|
|
maxHp: 17000
|
|
mass: 40000
|
|
copyFrom: 蟑螂陆地型.ini
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: true
|
|
canAttackNotTouchingWaterUnits:true
|
|
turretSize: 20
|
|
turretTurnSpeed: 1.5
|
|
maxAttackRange: 600
|
|
shootDelay: 100
|
|
[leg_1]
|
|
x: -45
|
|
y: 0
|
|
attach_x: -6
|
|
attach_y: 6
|
|
moveSpeed: 1.5
|
|
resetAngle:20
|
|
holdDisMin: 10
|
|
holdDisMax: 20
|
|
image_leg: leg.png
|
|
image_foot: foot.png
|
|
image_foot_shadow: SHADOW:foot.png
|
|
[leg_2]
|
|
x: 45
|
|
y: 0
|
|
attach_x: 6
|
|
attach_y: 6
|
|
copyFrom: 1
|
|
[leg_3]
|
|
x: -45
|
|
y: 37
|
|
attach_x: -6
|
|
attach_y: 26
|
|
copyFrom: 1
|
|
[leg_4]
|
|
x: 45
|
|
y: 37
|
|
attach_x: 6
|
|
attach_y: 26
|
|
copyFrom: 1
|
|
[leg_5]
|
|
x: -45
|
|
y: -27
|
|
attach_x: -2
|
|
attach_y: -20
|
|
copyFrom: 1
|
|
[leg_6]
|
|
x: 45
|
|
y: -27
|
|
attach_x: 2
|
|
attach_y: -20
|
|
copyFrom: 1
|
|
[movement]
|
|
movementType: OVER_CLIFF_WATER
|
|
moveSpeed: 0.6
|
|
moveAccelerationSpeed: 0.3
|
|
moveDecelerationSpeed: 0.3
|
|
targetHeight: 2
|
|
targetHeightDrift: 0
|
|
reverseSpeedPercentage:0.6
|
|
maxTurnSpeed: 0.5
|
|
turnAcceleration: 0.2
|
|
moveSlidingDir: 45
|
|
slowDeathFall: true
|
|
[action_surface]
|
|
convertTo: Big
|
|
isLocked: if not self.isOverwater
|
|
displayType: action
|
|
price: 0
|
|
text: 下潜
|
|
buildSpeed: 1
|
|
whenBuilding_cannotMove: true
|
|
pos:-1
|
|
highPriorityQueue: true
|
|
[projectile_3]
|
|
#missile
|
|
directDamage: 380
|
|
life: 240000
|
|
speed: 0.3
|
|
targetSpeed: 10
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
ballistic: true
|
|
ballistic_delaymove_height:2000
|
|
ballistic_height: 1000
|
|
|
|
|
|
frame: 10
|
|
areaDamage: 150
|
|
areaRadius: 100
|
|
trailEffect: CUSTOM:projectileTrail
|
|
trailEffectRate:4
|
|
[effect_projectileTrail]
|
|
stripIndex: effects
|
|
frameIndex: 0
|
|
life: 120
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
color: #FF00FF
|
|
fadeInTime:5
|
|
scaleFrom: 1
|
|
scaleTo: 3.5
|
|
alpha: 0.8
|
|
drawUnderUnits:false
|
|
#ySpeedRelative:-1
|
|
atmospheric:true
|
|
dirOffsetRandom:180
|
|
shadow:true
|
|
xSpeedAbsoluteRandom: 0.2
|
|
ySpeedAbsoluteRandom: 0.2
|
|
[turret_1]
|
|
#3
|
|
invisible: true
|
|
x: 0
|
|
y: 0
|
|
idleDir:0
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
canAttackNotTouchingWaterUnits:true
|
|
projectile: 3
|
|
size: 1.1
|
|
#turnSpeed: 15
|
|
turnSpeed: 15
|
|
canAttackMaxAngle: 181
|
|
[turret_2]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: -15
|
|
y: 0
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_2x]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 15
|
|
y: 0
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_3]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 0
|
|
y: -10
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_x3]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 0
|
|
y: 10
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_4]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: -15
|
|
y: 20
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_5]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 15
|
|
y: 20
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_6]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 20
|
|
y: 30
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_7]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: -20
|
|
y: 30
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1
|
|
[turret_9]
|
|
#back turret
|
|
copyFrom: 1
|
|
x: 0
|
|
y: 45
|
|
idleDir:0
|
|
warmup:100
|
|
projectile: 3
|
|
linkDelayWithTurret:1 |