160 lines
2.3 KiB
INI
160 lines
2.3 KiB
INI
|
|
[core]
|
|
name: c_antiAirTurretX
|
|
class: CustomUnitMetadata
|
|
price: 600
|
|
maxHp: 800
|
|
mass: 9000
|
|
|
|
displayLocaleKey: antiAirTurret
|
|
|
|
overrideAndReplace: antiAirTurret
|
|
|
|
|
|
#footprint used for collisions with units (left, up, right, down)
|
|
footprint: 0,0,1,1
|
|
#used for placement, and placement of other buildings
|
|
constructionFootprint:0,0,1,1
|
|
|
|
buildingToFootprintOffsetX:20
|
|
buildingToFootprintOffsetY:20
|
|
|
|
|
|
|
|
|
|
techLevel: 1
|
|
buildSpeed: 0.0008
|
|
#availableInDemo: true
|
|
|
|
radius: 16
|
|
#displayRadius: 25
|
|
buildingSelectionOffset: -8
|
|
|
|
|
|
isBuilding: true
|
|
isBio: false
|
|
|
|
|
|
#builtFrom_1_name: landFactory
|
|
#builtFrom_1_pos: 5
|
|
|
|
|
|
[action_upgradeT2]
|
|
convertTo: c_antiAirTurretT2
|
|
price: 1200
|
|
text: i:gui.actions.upgradeToAAT2
|
|
description: i:gui.actions.upgradeToAAT2.description
|
|
displayType: Upgrade
|
|
buildSpeed: 0.001
|
|
pos: 0.2
|
|
iconExtraImage: SHARED:icon_upgrade_top.png
|
|
iconExtraColor: #AAFFFFFF
|
|
descriptionAddUnitStats: ${section.convertTo}
|
|
#isLocked:true
|
|
|
|
[action_upgradeFlak]
|
|
convertTo: antiAirTurretFlak
|
|
price: 4000
|
|
text: i:gui.actions.upgradeToAAFlak
|
|
description: i:gui.actions.upgradeToAAFlak.description
|
|
displayType: Upgrade
|
|
buildSpeed: 0.0005
|
|
pos: 0.2
|
|
iconExtraImage: SHARED:icon_upgrade_top.png
|
|
iconExtraColor: #AAFFFFFF
|
|
descriptionAddUnitStats: ${section.convertTo}
|
|
#isLocked:true
|
|
|
|
[graphics]
|
|
total_frames: 1
|
|
|
|
image: turret_base.png
|
|
image_wreak: turret_base_dead.png
|
|
image_turret: anti_air_top.png
|
|
|
|
#scaleImagesTo: 20
|
|
#scaleTurretImagesTo: 9
|
|
|
|
#AUTO
|
|
image_shadow: NONE
|
|
shadowOffsetX:1
|
|
shadowOffsetY:1
|
|
|
|
|
|
|
|
[attack]
|
|
canAttack: true
|
|
canAttackFlyingUnits: true
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: false
|
|
|
|
turretSize: 12
|
|
turretTurnSpeed: 6
|
|
|
|
|
|
maxAttackRange: 250
|
|
shootDelay: 80
|
|
|
|
|
|
|
|
[turret_1]
|
|
|
|
x: 0
|
|
y: 6
|
|
|
|
|
|
shoot_sound:missile_fire
|
|
shoot_sound_vol:0.3
|
|
shoot_flame:small
|
|
shoot_light:#FFEECCCC
|
|
|
|
|
|
shouldResetTurret: false
|
|
|
|
idleSpin: 0.8
|
|
|
|
|
|
recoilOffset: -3
|
|
recoilOutTime: 6
|
|
recoilReturnTime: 12
|
|
|
|
|
|
[projectile_1]
|
|
directDamage: 60
|
|
life: 240
|
|
speed: 0.3
|
|
targetSpeed: 6
|
|
trailEffect: true
|
|
largeHitEffect: true
|
|
#ballistic: true
|
|
#ballistic_delaymove_height:0
|
|
#ballistic_height: 4
|
|
frame: 4
|
|
#areaDamage: 40
|
|
#areaRadius: 35
|
|
|
|
autoTargetingOnDeadTarget: true
|
|
|
|
|
|
|
|
|
|
[movement]
|
|
movementType: NONE
|
|
moveSpeed: 0
|
|
moveAccelerationSpeed: 0.01
|
|
moveDecelerationSpeed: 0.01
|
|
|
|
maxTurnSpeed: 0
|
|
turnAcceleration: 0.1
|
|
|
|
|
|
|
|
[ai]
|
|
|
|
buildPriority: 0.22
|
|
noneInBaseExtraPriority: 0.17
|
|
|
|
|
|
maxGlobal: 3
|
|
|