221 lines
3.9 KiB
INI
221 lines
3.9 KiB
INI
|
[attack]
|
||
|
turretRotateWithBody: false
|
||
|
canAttack: true
|
||
|
canAttackFlyingUnits: true
|
||
|
canAttackLandUnits: true
|
||
|
canAttackUnderwaterUnits: false
|
||
|
turretSize: 7
|
||
|
turretTurnSpeed: 4
|
||
|
maxAttackRange: 350
|
||
|
shootDelay: 50
|
||
|
isFixedFiring: false
|
||
|
|
||
|
[canBuild_canReclaim]
|
||
|
name: reclaim
|
||
|
pos: -1
|
||
|
|
||
|
# [canBuild_1]
|
||
|
# name: mechFactory
|
||
|
# forceNano: true
|
||
|
|
||
|
[canBuild_2]
|
||
|
name: airFactory, seaFactory
|
||
|
tech: 1
|
||
|
|
||
|
[canBuild_3]
|
||
|
name: repairBay, turret, antiAirTurret, laserDefence, extractor, fabricator, landFactoryX
|
||
|
tech: 1
|
||
|
|
||
|
[turret_1]
|
||
|
x:0
|
||
|
y:0
|
||
|
canShoot: false
|
||
|
recoilOffset: -3
|
||
|
recoilOutTime: 5
|
||
|
recoilReturnTime:15
|
||
|
idleDir:0
|
||
|
turnSpeed: 2.9
|
||
|
turnSpeedAcceleration: 0.3
|
||
|
|
||
|
[turret_2]
|
||
|
x:17
|
||
|
y:-2
|
||
|
attachedTo: 1
|
||
|
slave: true
|
||
|
invisible: true
|
||
|
shoot_flame:CUSTOM:lightSlowFade,shockwave
|
||
|
canShoot: true
|
||
|
warmup:7
|
||
|
chargeEffectImage: SHARED:lighting_charge.png
|
||
|
|
||
|
[turret_3]
|
||
|
x:-17
|
||
|
y:-2
|
||
|
invisible: true
|
||
|
copyFrom: 2
|
||
|
linkDelayWithTurret:2
|
||
|
warmup:7
|
||
|
|
||
|
[projectile_1]
|
||
|
directDamage:5
|
||
|
life: 70
|
||
|
frame: 11
|
||
|
drawSize: 0.7
|
||
|
speed: 0
|
||
|
targetSpeed: 8
|
||
|
targetSpeedAcceleration: 1.5
|
||
|
effectOnCreate: CUSTOM:projectileLight
|
||
|
trailEffect:CUSTOM:sparks2
|
||
|
largeHitEffect: true
|
||
|
explodeEffect: CUSTOM:projectilePassThough,shockwave
|
||
|
|
||
|
[effect_projectilePassThough]
|
||
|
spawnChance: 0.3
|
||
|
priority:high
|
||
|
frameIndex:11
|
||
|
stripIndex: projectiles
|
||
|
life:80
|
||
|
fadeOut: true
|
||
|
attachedToUnit: false
|
||
|
color: #FFFFFF
|
||
|
scaleFrom:0.7
|
||
|
scaleTo: 0.2
|
||
|
alpha: 1
|
||
|
drawUnderUnits:false
|
||
|
ySpeedRelative:6
|
||
|
atmospheric: true
|
||
|
alsoPlaySound:ROOT:/sound/killdie.ogg:0.3
|
||
|
|
||
|
[effect_lightSlowFade]
|
||
|
image: SHARED:light_50.png
|
||
|
life: 20
|
||
|
fadeOut: true
|
||
|
attachedToUnit: true
|
||
|
#color: #63e6e8
|
||
|
color: #FFEECCCC
|
||
|
scaleFrom: 0.2
|
||
|
scaleTo: 0.5
|
||
|
alpha: 0.5
|
||
|
drawUnderUnits:true
|
||
|
|
||
|
|
||
|
|
||
|
[effect_projectileLight]
|
||
|
priority:high
|
||
|
image: SHARED:light_50.png
|
||
|
life: 100
|
||
|
fadeOut: true
|
||
|
attachedToUnit: true
|
||
|
color: #FFEECCCC
|
||
|
fadeInTime:2
|
||
|
scaleFrom: 0.3
|
||
|
scaleTo: 0.3
|
||
|
alpha: 0.6
|
||
|
drawUnderUnits:false
|
||
|
liveAfterAttachedDies: false
|
||
|
|
||
|
|
||
|
[effect_scoutTrail]
|
||
|
createWhenOverLiquid: false
|
||
|
createWhenZoomedOut: false
|
||
|
priority:low
|
||
|
image: SHARED:light_50.png
|
||
|
life:60
|
||
|
fadeOut: true
|
||
|
attachedToUnit: false
|
||
|
color: #63e6e8
|
||
|
fadeInTime:2
|
||
|
scaleFrom:1
|
||
|
scaleTo:0.6
|
||
|
alpha: 0.4
|
||
|
drawUnderUnits:true
|
||
|
ySpeedRelative:-0.4
|
||
|
atmospheric: true
|
||
|
|
||
|
[effect_sparks]
|
||
|
createWhenOverLiquid: false
|
||
|
createWhenZoomedOut: false
|
||
|
attachedToUnit: false
|
||
|
life:80
|
||
|
xOffsetRelativeRandom:15
|
||
|
yOffsetRelativeRandom:15
|
||
|
image: SHARED:spark.png
|
||
|
scaleFrom:0.8
|
||
|
scaleTo:1.2
|
||
|
ySpeedRelative:-1
|
||
|
ySpeedRelativeRandom:0.6
|
||
|
xSpeedRelativeRandom:0.6
|
||
|
|
||
|
[effect_sparks2]
|
||
|
#createWhenOverLiquid: false
|
||
|
#createWhenZoomedOut: false
|
||
|
attachedToUnit: false
|
||
|
life:80
|
||
|
xOffsetRelativeRandom:3
|
||
|
yOffsetRelativeRandom:3
|
||
|
image: SHARED:spark.png
|
||
|
scaleFrom:0.8
|
||
|
scaleTo:0.4
|
||
|
ySpeedRelativeRandom:0.3
|
||
|
xSpeedRelativeRandom:0.3
|
||
|
|
||
|
[movement]
|
||
|
movementType: HOVER
|
||
|
moveSpeed: 0.6
|
||
|
moveAccelerationSpeed: 0.3
|
||
|
moveDecelerationSpeed: 0.3
|
||
|
targetHeight: 3
|
||
|
targetHeightDrift: 1
|
||
|
maxTurnSpeed: 2.4
|
||
|
turnAcceleration: 0.2
|
||
|
moveSlidingMode :true
|
||
|
moveIgnoringBody:true
|
||
|
moveSlidingDir: 181
|
||
|
|
||
|
|
||
|
[graphics]
|
||
|
total_frames: 1
|
||
|
image:ROOT:/assets/oldsungodimg/eye/目视者.png
|
||
|
lock_body_rotation_with_main_turret: true
|
||
|
image_shadow: AUTO
|
||
|
shadowOffsetX:2
|
||
|
shadowOffsetY:2
|
||
|
splastEffect: true
|
||
|
#dustEffect: true
|
||
|
#不,一定的单位需要一定的好效果
|
||
|
movementEffect: CUSTOM:scoutTrail,CUSTOM:sparks
|
||
|
movementEffectRate:5
|
||
|
|
||
|
|
||
|
[core]
|
||
|
class: CustomUnitMetadata
|
||
|
soundOnAttackOrder:ROOT:/sound/aimupdate.ogg:0.5
|
||
|
price:400
|
||
|
maxHp:180
|
||
|
mass: 500
|
||
|
techLevel:1
|
||
|
buildSpeed:8s
|
||
|
radius:19
|
||
|
displayRadius:21
|
||
|
fogOfWarSightRange:7
|
||
|
name:目视者
|
||
|
tags:AimEye
|
||
|
displayText_zh:目视者
|
||
|
displayText:Eye Build
|
||
|
displayDescription_zh:-可在两栖移动\n-可攻击空中和陆地单位\n-可大范围去雾\n-攻击能力较弱\n-可建造东西。
|
||
|
displayDescription:-Can be moved in hover\n-attack air and land unit\n-can be largely removed\n-The attack ability is weaker \n-can build something.
|
||
|
|
||
|
canRepairBuildings: true
|
||
|
canRepairUnits : true
|
||
|
canReclaimResources: true
|
||
|
|
||
|
autoRepair: true
|
||
|
|
||
|
nanoRange: 140
|
||
|
|
||
|
nanoRepairSpeed: 0.7
|
||
|
nanoBuildSpeed: 0.7
|
||
|
|
||
|
[ai]
|
||
|
useAsBuilder: true
|