129 lines
1.8 KiB
INI
129 lines
1.8 KiB
INI
|
|
[core]
|
|
name: mechFactoryX
|
|
class: CustomUnitMetadata
|
|
price: 1000
|
|
maxHp: 1800
|
|
mass: 9000
|
|
displayLocaleKey:mechFactory
|
|
overrideAndReplace: mechFactory
|
|
#footprint used for collisions with units (left, up, right, down)
|
|
footprint: -1,-1,1,1
|
|
|
|
#used for placement, and placement of other buildings
|
|
constructionFootprint: -1,-1,1,3
|
|
|
|
|
|
techLevel: 1
|
|
buildSpeed: 0.001
|
|
#availableInDemo: true
|
|
|
|
radius: 35
|
|
#displayRadius: 25
|
|
isBio: false
|
|
isBuilding: true
|
|
|
|
explodeTypeOnDeath: building
|
|
|
|
|
|
exit_x:0
|
|
exit_y:-1
|
|
exit_moveAwayAmount:120
|
|
|
|
#canBuild_3_name: scout
|
|
#canBuild_3_pos: 1
|
|
|
|
#canBuild_4_name: hoverTank
|
|
#canBuild_4_pos: 1
|
|
|
|
[canBuild_Rally]
|
|
name:setRally,目视者,mechGun,mechMissile,mechArtillery,mechBunkerX
|
|
|
|
|
|
[action_upgrade]
|
|
convertTo: mechFactoryT2X
|
|
price: 4000
|
|
text: i:gui.actions.upgradeT2
|
|
description: i:units.mechFactoryT2.description
|
|
|
|
displayType: upgrade
|
|
buildSpeed: 0.0004
|
|
pos: 0.2
|
|
|
|
iconExtraImage: SHARED:icon_upgrade_top.png
|
|
iconExtraColor: #AAFFFFFF
|
|
|
|
|
|
|
|
|
|
[graphics]
|
|
total_frames: 1
|
|
|
|
image: mechFactoryTop.png
|
|
image_back: mechFactoryBottom.png
|
|
image_wreak: mechFactoryDead.png
|
|
|
|
#scaleImagesTo: 20
|
|
#scaleTurretImagesTo: 9
|
|
|
|
#AUTO
|
|
image_shadow: NONE
|
|
shadowOffsetX:1
|
|
shadowOffsetY:1
|
|
|
|
|
|
[attack]
|
|
canAttack: false
|
|
canAttackFlyingUnits: false
|
|
canAttackLandUnits: false
|
|
canAttackUnderwaterUnits: false
|
|
maxAttackRange: 0
|
|
|
|
|
|
[movement]
|
|
movementType: NONE
|
|
moveSpeed: 0
|
|
moveAccelerationSpeed: 0.01
|
|
moveDecelerationSpeed: 0.01
|
|
|
|
maxTurnSpeed: 0
|
|
turnAcceleration: 0.1
|
|
|
|
|
|
|
|
[arm_1]
|
|
x:0
|
|
y:5
|
|
image_end:mechFactoryDoor.png
|
|
#y:16
|
|
|
|
[animation_openDoor]
|
|
|
|
onActions: queuedUnits
|
|
onActionsQueuedUnitPlayAt: 0.8
|
|
|
|
blendIn: 1s
|
|
blendOut: 4s
|
|
|
|
arm1_0: {x:0, y:16}
|
|
#arm1_0ms: {x:0, y:0}
|
|
#arm1_1400ms: {x:10, y:-8}
|
|
|
|
|
|
[ai]
|
|
|
|
buildPriority: 0.03
|
|
|
|
noneInBaseExtraPriority: 0.04
|
|
|
|
noneGlobalExtraPriority: 0.1
|
|
|
|
|
|
maxEachBase: 1
|
|
maxGlobal: 5
|
|
|
|
|
|
|
|
|
|
|