301 lines
5.4 KiB
INI
301 lines
5.4 KiB
INI
[core]
|
|
class: CustomUnitMetadata
|
|
mass: 12000
|
|
|
|
name: RedCoral
|
|
|
|
copyFrom:ROOT:/effect/water/index.template
|
|
#水波特效
|
|
buildSpeed:40s
|
|
displayText: RedCoral
|
|
displayText_zh:红珊号
|
|
displayDescription: -Equipped with two heavy firepower guns, two anti-aircraft guns, and a laser gun with small attack range but great power (which can break shields and armour) \n-RedCoral is the sea T2 strong sea unit of the old day.
|
|
displayDescription_zh:-配有两门火力重炮,两发高射炮,一个攻击范围较小但威力巨大的镭射炮(可以破盾破甲)\n-红珊号正是旧日神教的海军T2强力海上单位。
|
|
|
|
price: 15000
|
|
techLevel: 2
|
|
|
|
maxHp: 5000
|
|
|
|
#softCollisionOnAll: 1
|
|
|
|
isBug: false
|
|
isBuilding: false
|
|
isBio: false
|
|
|
|
#transportSlotsNeeded: #
|
|
|
|
radius: 70
|
|
#displayRadius: 21
|
|
|
|
[graphics]
|
|
total_frames: 1
|
|
|
|
image: ROOT:/assets/oldsungodimg/T2/Red/redship.png
|
|
image_wreak: ROOT:/assets/oldsungodimg/T2/Red/reddead.png
|
|
image_turret:ROOT:/assets/oldsungodimg/T2/Red/redhevayturret.png
|
|
image_shadow: auto
|
|
scaleImagesTo: 45
|
|
shadowOffsetX: 5
|
|
shadowOffsetY: 5
|
|
scaleTurretImagesTo: 16
|
|
teamColorsOnTurret: true
|
|
|
|
movementEffect: CUSTOM:水波2, CUSTOM:水波1,CUSTOM:水雾
|
|
movementEffectRate: 12
|
|
movementEffectReverse: CUSTOM:水波2,CUSTOM:水雾
|
|
|
|
[attack]
|
|
canAttack: true
|
|
canAttackUnderwaterUnits: true
|
|
canAttackLandUnits: true
|
|
canAttackFlyingUnits: true
|
|
|
|
turretSize: 18
|
|
turretTurnSpeed: 4
|
|
|
|
maxAttackRange: 280
|
|
shootDelay: 3s
|
|
|
|
turretMultiTargeting: true
|
|
|
|
[turret_Main]
|
|
#base1
|
|
x:0
|
|
y:25
|
|
image:ROOT:/assets/oldsungodimg/T2/Red/redlight.png
|
|
canAttack: true
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
chargeEffectImage: SHARED:lighting_charge.png
|
|
turnSpeedAcceleration: 0.4
|
|
warmup:3s
|
|
projectile: 电击
|
|
size:12
|
|
shoot_sound: large_gun_fire2
|
|
shoot_sound_vol: 0.27
|
|
shoot_flame: large
|
|
shoot_light:#7AAB86
|
|
limitingRange:200
|
|
#delay: 125
|
|
|
|
recoilReturnTime: 1
|
|
|
|
[turret_火炮A]
|
|
#base2
|
|
x: 0
|
|
y: 41.75
|
|
image:ROOT:/assets/oldsungodimg/T2/Red/redhevayturret.png
|
|
#attachedTo:Main
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
canAttackNotTouchingWaterUnits: false
|
|
projectile:火炮
|
|
|
|
[turret_火炮B]
|
|
#base3
|
|
x: 0
|
|
y: -32.75
|
|
image:ROOT:/assets/oldsungodimg/T2/Red/redhevayturret.png
|
|
#attachedTo:Main
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: true
|
|
canAttackUnderwaterUnits: false
|
|
canAttackNotTouchingWaterUnits: false
|
|
projectile:火炮
|
|
|
|
[turret_ANATB]
|
|
#base3
|
|
x: -7
|
|
y: -6
|
|
image:ROOT:/assets/oldsungodimg/T2/Red/redantiair.png
|
|
#attachedTo:Main
|
|
warmup: 1.75s
|
|
projectile:防空
|
|
limitingRange:220
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: false
|
|
canAttackNotTouchingWaterUnits: false
|
|
|
|
[turret_ANATA]
|
|
#base3
|
|
x: 7
|
|
y: -6
|
|
image:ROOT:/assets/oldsungodimg/T2/Red/redantiair.png
|
|
#attachedTo:Main
|
|
warmup: 1.75s
|
|
projectile:防空
|
|
limitingRange:220
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: false
|
|
canAttackNotTouchingWaterUnits: false
|
|
|
|
[turret_4]
|
|
#反潜
|
|
x: 0
|
|
y: 0
|
|
idleDir:0
|
|
|
|
invisible: true
|
|
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: true
|
|
canAttackNotTouchingWaterUnits: false
|
|
canAttackCondition: if self.isOverwater()
|
|
|
|
projectile: subBot
|
|
|
|
size: 1.1
|
|
|
|
delay: 100
|
|
|
|
turnSpeed: 15
|
|
|
|
[projectile_火炮]
|
|
directDamage:110
|
|
life: 150
|
|
speed: 7
|
|
largeHitEffect: true
|
|
frame: 2
|
|
trailEffect: true
|
|
areaDamage: 50
|
|
areaRadius: 50
|
|
lightColor: #cccc00
|
|
lightSize: 0.3
|
|
|
|
[projectile_subBot]
|
|
#torpedo
|
|
directDamage: 60
|
|
life: 500
|
|
speed: 0.4
|
|
targetSpeed: 1.3
|
|
largeHitEffect: true
|
|
drawSize: 1.3
|
|
color: #000000
|
|
|
|
trailEffect: true
|
|
deflectionPower:-1
|
|
|
|
[projectile_电击]
|
|
#directDamage: 310
|
|
directDamage: 125
|
|
life: 30
|
|
instant: true
|
|
lightingEffect: true
|
|
largeHitEffect: true
|
|
explodeEffect:CUSTOM:lightningShock*1, CUSTOM:sparks*6
|
|
explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash
|
|
shieldDamageMultiplier: 1
|
|
shieldDefectionMultiplier: 0.1
|
|
|
|
[effect_hitLightFlash]
|
|
priority:high
|
|
|
|
image: SHARED:light_50.png
|
|
life: 17
|
|
fadeOut: true
|
|
attachedToUnit: false
|
|
color: #63e6e8
|
|
|
|
scaleFrom: 2.3
|
|
scaleTo: 2.3
|
|
alpha: 0.6
|
|
drawUnderUnits:false
|
|
|
|
[effect_lightningShock]
|
|
life: 80
|
|
|
|
xOffsetRelative: 0
|
|
yOffsetRelative: 0
|
|
hOffset: 0
|
|
dirOffset: 0
|
|
dirOffsetRandom:180
|
|
|
|
fadeInTime: 0
|
|
fadeOut: false
|
|
|
|
attachedToUnit: false
|
|
|
|
image: SHARED:lightning_shock.png
|
|
total_frames: 14
|
|
animateFrameStart: 0
|
|
animateFrameStartRandomAdd: 2
|
|
animateFrameEnd: 13
|
|
animateFramePingPong: false
|
|
animateFrameSpeed: 0.5
|
|
animateFrameSpeedRandom: 0.2
|
|
|
|
alpha:0.6
|
|
|
|
[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
|
|
|
|
ySpeedRelative:2
|
|
|
|
image: SHARED:spark.png
|
|
priority: verylow
|
|
|
|
[effect_lightSlowFade]
|
|
image: SHARED:light_50.png
|
|
life: 40
|
|
fadeOut: true
|
|
attachedToUnit: true
|
|
color: #63e6e8
|
|
scaleFrom: 0.3
|
|
scaleTo: 0.2
|
|
alpha: 1.7
|
|
|
|
|
|
[projectile_防空]
|
|
#aa ball
|
|
directDamage: 90
|
|
areaDamage: 45
|
|
areaRadius:80
|
|
life: 30
|
|
speed: 2
|
|
frame:4
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
wobbleAmplitude: 0.4
|
|
wobbleFrequency: 0.8s
|
|
turnSpeed:3
|
|
lightSize:0.2
|
|
spawnProjectilesOnEndOfLife:torpedoLocked(offsetDir=90),torpedoLocked(offsetDir=-90),torpedoLocked(offsetDir=30)
|
|
|
|
[projectile_torpedoLocked]
|
|
@copyFromSection: projectile_防空
|
|
life: 300
|
|
turnSpeed:6
|
|
spawnProjectilesOnEndOfLife: NONE
|
|
|
|
[movement]
|
|
movementType: WATER
|
|
moveSpeed: 0.7
|
|
moveAccelerationSpeed: 0.02
|
|
moveDecelerationSpeed: 0.03
|
|
|
|
reverseSpeedPercentage:1
|
|
|
|
maxTurnSpeed: 1.5
|
|
turnAcceleration: 0.05 |