184 lines
3.2 KiB
INI
184 lines
3.2 KiB
INI
|
||
[core]
|
||
|
||
|
||
|
||
name: WRSD
|
||
class: CustomUnitMetadata
|
||
price: 53000,星河纯能=5
|
||
maxHp:35000
|
||
mass: 9000
|
||
#maxShield:100
|
||
tags:未来战机
|
||
displayText: Future fighter-CTD
|
||
displayDescription: With 9 muzzles, it can only attack the air and the ground. No anti-passback.
|
||
displayText_zh: 未来战机CTD
|
||
displayDescription_zh: 搭配9炮口,只能攻击空中和地面。无法反潜。
|
||
isUnselectable: true
|
||
techLevel: 2
|
||
experimental: true
|
||
|
||
buildSpeed: 15s
|
||
#availableInDemo: true
|
||
|
||
radius: 18
|
||
displayRadius: 11
|
||
isBio: false
|
||
softCollisionOnAll: 3
|
||
|
||
generation_credits: 0
|
||
generation_delay: 40
|
||
|
||
selfRegenRate:0.5
|
||
|
||
builtFrom_1_name: experimentalLandFactory电脑打开
|
||
builtFrom_1_pos: 5
|
||
|
||
[graphics]
|
||
total_frames: 1
|
||
|
||
image: 空白.png
|
||
image_wreak: NONE
|
||
image_turret: NONE
|
||
scaleImagesTo: 50
|
||
#scaleTurretImagesTo: 9
|
||
|
||
image_shadow: AUTO
|
||
shadowOffsetX:1
|
||
shadowOffsetY:1
|
||
|
||
[attack]
|
||
canAttack: true
|
||
canAttackFlyingUnits: true
|
||
canAttackLandUnits: true
|
||
canAttackUnderwaterUnits: false
|
||
|
||
turretSize: 18
|
||
turretTurnSpeed: 4
|
||
maxAttackRange: 450
|
||
shootDelay: 45
|
||
|
||
[turret_1]
|
||
x: 0
|
||
y: 0
|
||
|
||
shoot_sound:plasma_fire
|
||
shoot_sound_vol:0.05
|
||
shoot_flame:small
|
||
shoot_light:#FFccCCEE
|
||
|
||
recoilOffset: -1
|
||
recoilOutTime: 4
|
||
recoilReturnTime: 6
|
||
|
||
[turret_2]
|
||
copyFrom: 1
|
||
x: 10
|
||
y: 0
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[turret_3]
|
||
copyFrom: 1
|
||
x: -10
|
||
y: 0
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[turret_4]
|
||
copyFrom: 1
|
||
x: 0
|
||
y: 10
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[turret_5]
|
||
copyFrom: 1
|
||
x: 0
|
||
y: -10
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[turret_6]
|
||
copyFrom: 1
|
||
x: 0
|
||
y: 0
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[turret_7]
|
||
copyFrom: 1
|
||
x: 0
|
||
y: -10
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[turret_8]
|
||
copyFrom: 1
|
||
x: 0
|
||
y: -10
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[turret_9]
|
||
copyFrom: 1
|
||
x: 0
|
||
y: -10
|
||
warmup:7
|
||
linkDelayWithTurret:1
|
||
|
||
[projectile_1]
|
||
directDamage: 35
|
||
life: 700
|
||
speed: 7
|
||
|
||
image:K1.png
|
||
|
||
lightColor: #FFccCCEE
|
||
lightSize: 0.4
|
||
|
||
[movement]
|
||
movementType: AIR
|
||
moveSpeed: 0.5
|
||
moveAccelerationSpeed: 0.01
|
||
moveDecelerationSpeed: 0.01
|
||
maxTurnSpeed: 1.2
|
||
turnAcceleration: 0.04
|
||
moveSlidingMode :false
|
||
moveIgnoringBody:false
|
||
moveSlidingDir: 25
|
||
slowDeathFall: true
|
||
|
||
[hiddenAction_上层起飞]
|
||
autoTrigger: if not self.hasParent(withTag='上层起飞') and self.hasParent()
|
||
disconnectFromParent: true
|
||
convertTo: WRSDT
|
||
[hiddenAction_巡航]
|
||
autoTrigger: if self.hasUnitInTeam(withTag='上层甲板', withinRange=1000) and not self.hasActiveWaypoint(type='follow') and not self.hasParent()
|
||
clearAllWaypoints: true
|
||
addWaypoint_type: attackmove
|
||
addWaypoint_target_nearestUnit_tagged: 上层甲板
|
||
addWaypoint_target_nearestUnit_team: own
|
||
|
||
[hiddenAction_返航]
|
||
autoTrigger: if not self.hasUnitInTeam(withTag='上层甲板', withinRange=1000) and not self.hasActiveWaypoint(type='follow') and not self.hasParent()
|
||
clearAllWaypoints: true
|
||
addWaypoint_type: follow
|
||
addWaypoint_target_nearestUnit_tagged: 上层甲板
|
||
addWaypoint_target_nearestUnit_team: own
|
||
addWaypoint_maxTime: 1s
|
||
|
||
[hiddenAction_脱离]
|
||
autoTrigger: if self.hasUnitInTeam(withTag='上层起飞') and not self.hasActiveWaypoint(type='loadInto') and not self.hasParent()
|
||
clearAllWaypoints: true
|
||
addWaypoint_type: loadInto
|
||
addWaypoint_target_nearestUnit_tagged: 上层甲板
|
||
addWaypoint_target_nearestUnit_team: own
|
||
|
||
[hiddenAction_死亡]
|
||
autoTrigger: if not self.hasUnitInTeam(withTag='上层甲板')
|
||
addResources=hp=-9999999
|
||
|
||
|
||
|