[core] name: 辛拉德斯 class: CustomUnitMetadata price: 200000 maxHp: 100000 mass: 90000 #showInEditor: false displayText:雷霆母舰-辛拉德斯 displayDescription:-重空战列舰\n-8座大口径连锁特斯拉武器\n-雷暴发生装置\n-雷电球舰炮\n-折越引擎\n-在与旧日政府交谈后授权使用本单位进行作战。 techLevel: 1 experimental: true buildSpeed: 120s #availableInDemo: true maxShield: 88000 shieldRegen: 1 shieldRenderRadius:0 tags:辛拉德斯,希拉 fogOfWarSightRange: 50 radius: 50 displayRadius: 130 transportUnitsAddUnloadOption: false isBio: false selfRegenRate:1.5 builtFrom_1_name: experimentalLandjgvkFactory builtFrom_1_pos:10.2 [graphics] total_frames: 2 image: .辛拉德斯.png image_wreak: NONE image_shadow: AUTO shadowOffsetX:0 shadowOffsetY:10 [arm_3] x:0 y:0 image_end:.辛拉德斯装逼左上.png drawOverBody: true image_end_teamColors: true [arm_4] x:0 y:0 image_end:.辛拉德斯装逼右上.png drawOverBody: true image_end_teamColors: true [arm_5] x:0 y:0 image_end:.辛拉德斯装逼左下.png drawOverBody: true image_end_teamColors: true [arm_6] x:0 y:0 image_end:.辛拉德斯装逼右下.png image_end_teamColors: true drawOverBody: true [animation_装逼] onActions : idle,move arm3_0.5s: {x:-10,y:-10} arm5_1s: {x:-10,y:-10} arm4_0.5s: {x:10,y:-10} arm6_1s: {x:10,y:-10} arm3_2s: {x:-10,y:-10} arm5_2.5s: {x:-10,y:-10} arm4_2s: {x:10,y:-10} arm6_2.5s: {x:10,y:-10} arm3_2.5s: {x:10,y:10} arm5_3s: {x:10,y:10} arm4_2.5s: {x:-10,y:10} arm6_3s: {x:-10,y:10} arm3_4s: {x:10,y:10} arm5_4.5s: {x:10,y:10} arm4_4s: {x:-10,y:10} arm6_4.5s: {x:-10,y:10} arm3_4.5s: {x:0,y:0} arm4_4.5s: {x:0,y:0} body_0s: {frame:1} body_4.5s: {frame:1} [action_装逼ex] autoTrigger: if self.isAttacking() and not self.hasFlag(id=1) resetCustomTimer:true isVisible: false addResources:setFlag=1 [action_闪瞎眼1] autoTrigger:if self.customTimer(laterThanSeconds=1) and self.hasFlag(id=1) and not self.hasFlag(id=2) spawnEffects:CUSTOM:闪瞎眼 isVisible: false addResources:setFlag=2 [action_闪瞎眼2] autoTrigger:if self.customTimer(laterThanSeconds=1.5) and self.hasFlag(id=1) and not self.hasFlag(id=3) spawnEffects:CUSTOM:闪瞎眼 isVisible: false addResources:setFlag=3 [action_闪瞎眼3] autoTrigger:if self.customTimer(laterThanSeconds=5) and self.hasFlag(id=1) and not self.hasFlag(id=4) spawnEffects:CUSTOM:闪瞎眼 isVisible: false addResources:setFlag=4 [action_闪瞎眼4] autoTrigger:if self.customTimer(laterThanSeconds=5.5) and self.hasFlag(id=1) and not self.hasFlag(id=5) spawnEffects:CUSTOM:闪瞎眼 isVisible: false addResources:setFlag=5 resetCustomTimer:true addResources:unsetFlag=2,unsetFlag=3,unsetFlag=4,unsetFlag=5,unsetFlag=6 [action_声音装逼] autoTrigger:if self.customTimer(laterThanSeconds=0) and self.hasFlag(id=1) and not self.hasFlag(id=6) playSoundAtUnit:雷声.ogg:5 isVisible: false addResources:setFlag=6 [action_不装逼了] autoTrigger:if not self.isAttacking() and self.hasFlag(id=1) isVisible: false addResources:unsetFlag=1,unsetFlag=2,unsetFlag=3,unsetFlag=4,unsetFlag=5,unsetFlag=6 [effect_闪瞎眼] priority:critical showInFog: true image: .闪瞎眼.png life: 10 fadeOut: true attachedToUnit: false fadeInTime:2 scaleFrom: 100 scaleTo: 100 alpha: 1 color: #FFFFFF drawUnderUnits: false hOffset: 0 dirOffsetRandom: 0 dirSpeedRandom: 0 atmospheric: true xOffsetRelativeRandom: 0 yOffsetRelativeRandom: 0 xSpeedAbsoluteRandom:0 ySpeedAbsoluteRandom:0 alwayStartDirAtZero:true [effect_雷声] priority:critical life: 0 alsoPlaySound:雷声.ogg:10 [attachment_雷暴右] x:130 y:94 isUnselectable: true canBeAttackedAndDamaged: false setDrawLayerOnBottom:false canAttack: true onCreateSpawnUnitOf:雷暴发生器Ag [attachment_雷暴左] x:-130 y:94 isUnselectable: true canBeAttackedAndDamaged: false setDrawLayerOnBottom:false canAttack: true onCreateSpawnUnitOf:雷暴发生器Ag [attack] canAttack: true canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false maxAttackRange:800 [turret_左一] # x: -8 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:17 chargeEffectImage:NONE warmupCallDownRate: 0.3 [turret_左二] # x: -16 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:18 chargeEffectImage:NONE warmupCallDownRate: 0.3 [turret_左三] # x: -24 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:19 chargeEffectImage:NONE warmupCallDownRate: 0.3 [turret_左四] # x: -32 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:20 chargeEffectImage:NONE warmupCallDownRate: 0.3 [turret_右一] # x: 8 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:17 chargeEffectImage:NONE warmupCallDownRate: 0.3 [turret_右二] # x: 16 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:18 chargeEffectImage:NONE warmupCallDownRate: 0.3 [turret_右三] # x: 24 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:19 chargeEffectImage:NONE warmupCallDownRate: 0.3 [turret_右四] # x: 32 y: 179 invisible: true projectile: lightning turnSpeed: 5.0 turnSpeedAcceleration: 1.5 shoot_sound:lighting_burst shoot_sound_vol:0.3 #shoot_flame:CUSTOM:sparks2*3, CUSTOM:lightSlowFade shoot_flame:CUSTOM:lightSlowFade #shoot_light:#FFcceeee canShoot: true size: 0 #energyUsage: 1 warmup:20 chargeEffectImage:NONE warmupCallDownRate: 0.3 [projectile_lightning] #directDamage: 310 directDamage: 50 life: 25 instant: true lightingEffect: true largeHitEffect: true shieldDamageMultiplier: 1 shieldDefectionMultiplier: 0.1 buildingDamageMultiplier: 0.5 explodeEffect:CUSTOM:lightningShock*1, CUSTOM:sparks*3 explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash spawnUnit:lightningChain [effect_hitLightFlash] priority:high image: SHARED:light_50.png life: 17 fadeOut: true attachedToUnit: false color: #63e6e8 scaleFrom: 1.8 scaleTo: 1.8 alpha: 0.6 drawUnderUnits:false [effect_lightningShock] life: 60 xOffsetRelative: 0 yOffsetRelative: 0 hOffset: 0 dirOffset: 0 dirOffsetRandom:180 fadeInTime: 0 fadeOut: false attachedToUnit: false image: SHARED:lightning_shock.png total_frames: 14 animateFrameStart: 0 animateFrameStartRandomAdd: 2 animateFrameEnd: 13 animateFramePingPong: false animateFrameSpeed: 0.5 animateFrameSpeedRandom: 0.2 alpha:0.6 [effect_sparks] attachedToUnit: false life: 150 physics: true xSpeedRelativeRandom: 1.1 ySpeedRelativeRandom: 1.1 hSpeed: 1.5 image: SHARED:spark.png priority: verylow [effect_sparks2] attachedToUnit: false life: 150 physics: true xSpeedRelativeRandom: 0.5 ySpeedRelativeRandom: 0.5 hSpeed: 1 ySpeedRelative:2 image: SHARED:spark.png priority: verylow [effect_lightSlowFade] image: SHARED:light_50.png life: 40 fadeOut: true attachedToUnit: true color: #63e6e8 scaleFrom: 0.3 scaleTo: 0.2 alpha: 1.7 [turret_左舰炮管] #轨道 x: 0 y: 0 attachedTo: 左舰炮座 slave: true canShoot: true shouldResetTurret: true delay:1s shoot_flame: large shoot_light:#00b1ff invisible: false size:20 recoilOffset: -6 recoilOutTime: 3 recoilReturnTime: 81 image: .舰炮管.png projectile:舰炮 canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false [turret_左舰炮座] #转轴 x: -34 y: 82 canShoot: false recoilOffset: -1 recoilOutTime: 3 recoilReturnTime: 70 canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false turnSpeed:2 image:.舰炮座.png [turret_右舰炮管] #轨道 x: 0 y: 0 attachedTo: 右舰炮座 slave: true canShoot: true shouldResetTurret: true delay:1s shoot_flame: large shoot_light:#00b1ff invisible: false size:20 recoilOffset: -6 recoilOutTime: 3 recoilReturnTime: 81 image: .舰炮管.png projectile:舰炮 canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false [turret_右舰炮座] #转轴 x: 34 y: 82 canShoot: false recoilOffset: -1 recoilOutTime: 3 recoilReturnTime: 70 canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false turnSpeed:2 image:.舰炮座.png [projectile_舰炮] #directDamage: 310 areaDamage: 220 areaRadius:100 life: 99999 speed: 4 #instant: true #lightingEffect: true #largeHitEffect: true shieldDamageMultiplier: 1 shieldDefectionMultiplier: 0.1 buildingDamageMultiplier: 0.5 explodeEffect:CUSTOM:离子球爆炸 drawSize:0.5 explodeEffectOnShield:CUSTOM:离子球爆炸 trailEffect:CUSTOM:尾迹 image:.离子球.png lightColor: #63e6e8 lightSize: 0.6 spawnUnit:lightningChain*2 deflectionPower:-1 [effect_离子球爆炸] createWhenZoomedOut: false xOffsetRelative: 0 yOffsetRelative: -10 image: .离子球.png life: 40 fadeOut: true attachedToUnit: false fadeInTime:2 scaleFrom: 0 scaleTo: 1 alpha: 6 drawUnderUnits:true priority:high [effect_尾迹] createWhenZoomedOut: false xOffsetRelative: 0 yOffsetRelative: -10 image: .离子球.png life: 40 fadeOut: true attachedToUnit: false fadeInTime:2 scaleFrom: 0.03 scaleTo: 0 alpha: 6 drawUnderUnits:true priority:veryhigh [movement] movementType: AIR moveSpeed:1.2 moveAccelerationSpeed: 0.7 moveDecelerationSpeed: 0.8 reverseSpeedPercentage:0.8 maxTurnSpeed: 0.5 turnAcceleration: 0.02 #moveSlidingMode :false #moveIgnoringBody:false #moveSlidingDir: 45 targetHeightDrift: 0.3 slowDeathFall: true