StarRiver-EndlessJourney-RW.../星河征途0.9.2.6/星河征途2022/★主文件夹/Denmon-Storm/代码//星战舰/Star.ini

410 lines
7.5 KiB
INI
Raw Normal View History

2022-08-23 00:37:59 +00:00
[effect_尾1]
createWhenZoomedOut: false
priority:low
image:尾轨道线.png
life:80
fadeOut: true
attachedToUnit: false
fadeInTime:2
scaleFrom:0.3
scaleTo:0
alpha:1
drawUnderUnits:false
ySpeedRelative:-0.4
atmospheric: true
xOffsetRelative:-21.5
yOffsetRelative:-9
[effect_尾2]
xOffsetRelative:21.5
@copyFromSection:effect_尾1
[effect_烟1]
spawnChance:0.8
stripIndex: effects
frameIndex: 0
life:60
fadeOut: true
attachedToUnit: false
fadeInTime:5
scaleFrom:0.7
scaleTo:2.1
alpha: 0.6
color:#2e2a31
drawUnderUnits:false
ySpeedRelative:-1.8
atmospheric:true
dirOffsetRandom:180
xSpeedAbsoluteRandom: 0.2
ySpeedAbsoluteRandom: 0.2
createWhenZoomedOut:true
createWhenOffscreen:true
yOffsetRelativeRandom: -5
xOffsetRelativeRandom: -2
yOffsetRelative:-26
xOffsetRelative:0
[effect_爆破]
priority:high
image:爆破光波.png
life:40
fadeOut: true
attachedToUnit: false
#color: #ffff925c
scaleFrom:0
scaleTo:1.2
alpha:1
drawUnderUnits:false
[core]
name: DKRT
class: CustomUnitMetadata
price: 62500,妖姬粒子=50
maxHp: 27000
mass: 90000
tags:别打我自己人
copyFrom:ROOT:/☆全局资源/Res.Ling
displayText_zh:迅雷-酃星战舰
displayText:ThunderBolt - Ling star ships
displayDescription_zh:-妖姬科技中心的结晶\n-通过研究中心购买授权后将可以制作该战舰-\n-拥有一门激光勾炮,可以试图将敌人勾到自己的面前\n-如果敌人勾到了自己的面前,则启用蔚蓝死光高伤害炮\n-一次性2000单体伤害\n-激光勾炮需要耗费一些能量能量如果为0自动重新装填\n-无法攻击敌方的迅雷-酃星战舰\n-仅允许制作5个。\n-拥有两门机关枪炮,不受能量影响。\n-并且提供少量游戏资金,+5/s。
displayDescription:-The crystallization of the DemonJi Technology Center\n-After purchasing the authorization through the research center, you will be able to make the battleship-\n-has a laser hook cannon, you can try to hook the enemy in front of you\n-if the enemy hooks in front of you , The blue deadlight high-damage cannon is enabled\n-2000 single-shot damage\n-Laser hooking requires some energy. If the energy is 0, it will automatically reload\n-Can't attack the enemy's Thunder-Star Warship\ n- Only 5 pieces are allowed. \n-Have two machine guns, unaffected by energy. \n- And provide a small amount of game funds, +5/s.
techLevel: 2
experimental: true
buildSpeed: 0.0002
#availableInDemo: true
radius: 75
#displayRadius: 25
isBio: false
softCollisionOnAll: 3
maxTransportingUnits: 8
nanoFactorySpeed:3
transportUnitsKeepBuiltUnits:true
transportUnitsKillOnDeath: false
generation_credits: 5
generation_delay: 40
selfRegenRate:0.4
#transportUnitsKillOnDeath: if self.isOverLiquid()
#transportUnitsHealBy: 1
#builtFrom_1_name: experimentalLandFactory
#builtFrom_1_pos: 5
canBuild_1_name: ATP
canBuild_1_pos: 1
canBuild_2_name: 红色战车
canBuild_2_pos: 1
canBuild_3_name: 蓝色战车
canBuild_3_pos: 2
exit_x:0
exit_y:10
exit_dirOffset:0
exit_moveAwayAmount:140
energyMax: 5
energyRegen: 0.0054
energyNeedsToRechargeToFull: true
[graphics]
total_frames: 1
image: Star.png
image_wreak: HO.png
image_turret: 机关枪炮塔.png
#scaleImagesTo: 20
scaleTurretImagesTo: 25
#imageScale: 1.5
image_shadow: AUTO
shadowOffsetX:1
shadowOffsetY:1
splastEffectReverse:true
splastEffect:true
movementEffect: CUSTOM:尾1,CUSTOM:尾2,CUSTOM:烟1
movementEffectRate:3
[attack]
canAttack: true
canAttackFlyingUnits: true
canAttackLandUnits: true
canAttackUnderwaterUnits: false
canOnlyAttackUnitsWithoutTags:别打我自己人
turretSize: 18
turretTurnSpeed: 4
maxAttackRange: 640
shootDelay: 15
turretMultiTargeting: true
[turret_sls]
x: 0
y: -30
idleSpin: 0.4
delay:3s
limitingRange:320
invisible: true
projectile:ko
[turret_ls]
x: 0
y: 26
idleSpin: 0.4
projectile:kop
delay:0.1s
energyUsage:0.05
image:激光炮台.png
[turret_1]
x: -38
y: -25
warmup:0.01s
shoot_flame:small
shoot_light:#FFccCCEE
idleSpin: 0.8
recoilOffset: 0
recoilOutTime: 3
limitingRange:450
recoilReturnTime: 4
[turret_2]
copyFrom: 1
x: 38
y: -25
linkDelayWithTurret:1
idleSpin: 0.8
recoilOffset: 0
recoilOutTime: 3
recoilReturnTime: 4
[projectile_1]
#torpedo
directDamage: 40
life: 300
speed: 1
frame:10
targetSpeed: 12.0
targetSpeedAcceleration: 0.8
drawSize: 1
color: #ff00ff
trailEffect: true
largeHitEffect: true
wobbleAmplitude: 0.4
wobbleFrequency: 0.8s
areaDamage: 18
areaRadius: 55
#turnSpeed:2
#startingTurnSpeed:1
#targetTurnSpeed:3
lightSize:0.2
#spawnProjectilesOnEndOfLife: torpedo_split(offsetDir=90), torpedo_split(offsetDir=-90), torpedo_split(offsetDir=00)
spawnProjectilesOnEndOfLife: torpedoLocked
[projectile_torpedoLocked]
@copyFromSection: projectile_1
life: 300
turnSpeed:6
spawnProjectilesOnEndOfLife: NONE
[movement]
movementType: WATER
moveSpeed: 1.1
moveAccelerationSpeed: 0.01
moveDecelerationSpeed: 0.01
landOnGround: true
maxTurnSpeed: 1.3
turnAcceleration: 0.05
moveSlidingMode :true
moveIgnoringBody:true
moveSlidingDir: 45
slowDeathFall: true
[effect_engineTrail]
#createWhenOverLiquid: false
createWhenZoomedOut: false
priority:high
life: 200
fadeOut: true
attachedToUnit: false
color: #FFEE22
fadeInTime:3
scaleFrom: 0.3
scaleTo: 0.8
alpha: 1.1
#drawUnderUnits:true
ySpeedRelative:-0.7
xSpeedRelativeRandom:0.2
yOffsetRelative: -40
atmospheric: true
stripIndex:effects
frameIndex: 0
[effect_1]
image:effect.png
life: 100
priority:veryhigh
dirOffsetRandom:-40
dirSpeedRandom: 25
scaleFrom: 0.2
scaleTo: 0.2
fadeInTime: 0
fadeOut: false
attachedToUnit: true
drawUnderUnits: false
[effect_2]
image:effect.png
life: 30
priority:veryhigh
dirOffsetRandom:-250
dirSpeed:10
scaleFrom: 0.3
scaleTo: 0.3
fadeInTime: 0
fadeOut: false
attachedToUnit: true
drawUnderUnits: false
[effect_3]
frameIndex: 0
priority:low
life:30
dirOffsetRandom:-250
attachedToUnit: false
drawUnderUnits: false
fadeOut: true
fadeInTime:5
scaleFrom:0.26
scaleTo:0.26
alpha: 0.7
image:effect.png
[effect_4]
priority:veryhigh
image:ring.png
life: 12
attachedToUnit: true
color: #1dffff
alpha: 1.2
scaleFrom: 0.15
scaleTo: 2.5
[effect_5]
image:lightpoint.png
life: 20
priority:veryhigh
scaleFrom: 0.7
scaleTo: 0.9
fadeInTime: 5
fadeOut: false
attachedToUnit: true
drawUnderUnits: false
[effect_6]
physics: false
attachedToUnit: false
life:50
image:SHARED:spark.png
atmospheric: true
dirOffsetRandom:15
scaleFrom:2.5
scaleTo:5.5
priority:verylow
showInFog:false
xOffsetRelativeRandom:5
yOffsetRelativeRandom:5
xSpeedRelativeRandom:-3
ySpeedRelativeRandom:-3
[projectile_kop]
life: 15
speed: 9
drawSize:0.5
color:#00ff00
image:SHARED:blank.png
beamImage: laser.png
beamImageEnd: SHARED:blank.png
beamImageStart: lightpoint.png
areaDamage:20
areaRadius:80
instant:true
instantReuseLast: true
instantReuseLast_alsoChangeTurretAim: true
beamImageStartRotated: true
beamImageEndRotated: true
moveWithParent: true
beamImageOffsetRate: 0.5
sweepOffsetFromTargetRadius:0.2
sweepSpeed:50
explodeEffect: CUSTOM:6,CUSTOM:5,CUSTOM:4
explodeEffectOnShield: CUSTOM:6,CUSTOM:5,CUSTOM:4
deflectionPower:-1
pushVelocity:-3
#pushForce:-3
[projectile_ko]
life:15
explodeEffect: CUSTOM:爆破*3
instant: true
directDamage: 2000
instant:true
instantReuseLast: true
instantReuseLast_alsoChangeTurretAim: true
beamImageStartRotated: true
beamImageEndRotated: true
moveWithParent: true
beamImage: Laser.png
beamImageEnd: SHARED:blank.png
beamImageStart: ring.png
drawSize:0.9
speed: 9
color:#0000ff
[hiddenAction_refund]
requireConditional: if numberOfUnitsInTeam(greaterThan=5,withTag='别打我自己人',incompleteBuildings=true)
autoTriggerOnEvent: created
addResources: 12000
deleteSelf: true
showMessageToPlayer: [错误:最多5个迅雷-酃星战舰]