StarRiver-EndlessJourney-RW.../code/oldsungod/猛犸坦克IV型/mammothmech.ini
2023-01-05 11:55:33 +08:00

214 lines
4.6 KiB
INI

[core]
name: mammoth_mech_t1
class: CustomUnitMetadata
mass: 4500
displayText: Mammoth Mech IV
displayText_zh:猛犸机甲-IV
displayDescription: -Like a mammoth tank but better \n-Fires deadlier lighting burst \n-Can walk over cliffs and water \n-Can attack air
displayDescription_zh:-旧日联盟猛犸机甲,\n-致命的等离子攻击\n-可以走过悬崖和水\n-可以攻击空军
maxHp: 2400
#[builtFrom_upgrade]
buildSpeed:25s
price: 2800
techLevel: 2
#softCollisionOnAll: 3
isBug: false
isBio: false
isBuilding: false
#displayRadius: 9000
radius: 25
[graphics]
total_frames: 1
image: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_mech_body.png
image_wreak: none
image_turret: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_mech_topLayer.png
image_shadow: auto
shadowOffsetX: 2
shadowOffsetY: 2
teamColorsOnTurret: true
dustEffect: false
animation_moving_start: 0
animation_moving_end: 0
animation_moving_speed: 0
lock_body_rotation_with_main_turret: true
[attack]
canAttack: true
canAttackUnderwaterUnits: false
canAttackLandUnits: true
canAttackFlyingUnits: true
turretSize: 20
turretTurnSpeed: 1.3
maxAttackRange: 200
shootDelay: 1.5s
turretRotateWithBody: false
turretMultiTargeting: true
[turret_hardBase]
#tope layer base (for #cannon burst electric)
x: 0
y: 0
invisible: true
canAttackFlyingUnits: false
turnSpeedAcceleration: 0.7
canShoot: false
recoilOffset: -0.25
recoilOutTime: 3
recoilReturnTime: 10
[turret_special]
#cannon burst electric
x: 0
y: 11
attachedTo: hardBase
slave: true
image: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_cannon_coil.png
size: 35
canAttack: true
canAttackUnderwaterUnits: false
canAttackLandUnits: true
canAttackFlyingUnits: false
shoot_sound: lighting_burst
shoot_sound_vol: 0.4
shoot_flame: CUSTOM:sparks_2*5
#shoot_light: none
recoilOffset: -3
recoilOutTime: 3
recoilReturnTime: 27
projectile: bursting2
warmup: 180
chargeEffectImage: SHARED:lighting_charge.png
[turret_base]
#attachment fixed
x: 0
y: 0
attachedTo: hardBase
slave: true
turnSpeed: 0
turnSpeedAcceleration: 0
canAttack: false
[turret_coil_barrel]
x: 0
y: 0
canAttack: true
image:ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_tank_coil.png
canAttackUnderwaterUnits: false
canAttackFlyingUnits: true
canAttackLandUnits: true
shoot_sound: lighting_burst
shoot_sound_vol: 0.35
shoot_flame: CUSTOM:sparks_2*3
delay: 1.5s
warmup: 1.5s
recoilOffset: -1.5
recoilOutTime: 5
recoilReturnTime: 10
attachedTo: topBase
slave: true
chargeEffectImage: SHARED:lighting_charge.png
projectile: bursting
turnSpeed: 10
turnSpeedAcceleration: 10
[turret_topBase]
x: 0
y: 0
#attachedTo: hardBase
#slave: true
canAttack: false
size: 0
image:ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_tank_turret.png
canAttackUnderwaterUnits: false
canAttackLandUnits: true
canAttackFlyingUnits: true
turnSpeed: 2
turnSpeedAcceleration: 0.6
recoilOffset: -0.5
recoilOutTime: 0
recoilReturnTime: 33
idleSpin: 0
[projectile_bursting2]
#main lighting
directDamage: 100
instant: true
life: 10
speed: 0
lightingEffect: true
#areaDamage: 21
#areaRadius: 21
explodeEffect: CUSTOM:lightningShock, CUSTOM:sparks*10
explodeEffectOnShield:CUSTOM:lightningShock*1
[projectile_bursting]
#lightning_support
directDamage: 100
instant: true
life: 10
speed: 0
lightingEffect: true
explodeEffect: CUSTOM:lightningShock, CUSTOM:sparks*8
explodeEffectOnShield:CUSTOM:lightningShock*1
[leg_1]
#leg / foot part
x: -15
y: 0
attach_x: -10
attach_y: 0
moveSpeed: 2
rotateSpeed: 8
heightSpeed: 0.8
resetAngle: 20
image_leg: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_leg.png
image_foot: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_foot2.png
holdDisMin: 22
holdDisMax: 38
image_end_teamColors: true
[leg_2]
#leg / foot part
x: 15
y: 0
attach_x: 10
attach_y: 0
copyFrom: 1
image_foot: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_foot.png
image_end_teamColors: true
[effect_lightningShock]
#custom explode effect
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]
#custom explode effect
attachedToUnit: false
life: 150
physics: true
xSpeedRelativeRandom: 1.6
ySpeedRelativeRandom: 1.6
hSpeed: 2
image: SHARED:spark.png
priority: verylow
[effect_sparks_2]
#custom shoot effect
attachedToUnit: false
life: 150
physics: true
xSpeedRelativeRandom: 0.5
ySpeedRelativeRandom: 0.5
hSpeed: 1
image: SHARED:spark.png
priority: verylow
[movement]
reverseSpeedPercentage: 1
movementType: OVER_CLIFF_WATER
targetHeight: 3
moveSpeed: 0.5
moveAccelerationSpeed: 0.045
moveDecelerationSpeed: 0.19
maxTurnSpeed: 2
turnAcceleration: 0.7
moveSlidingMode: false
moveIgnoringBody: false