[core] name: 星凛计划 class: CustomUnitMetadata price: 78000 maxHp: 0 mass: 90000 canNotBeDirectlyAttacked: true displayText: Not techLevel: 3 experimental: true showInEditor:false buildSpeed: 90s #availableInDemo: true #isBuilding: true radius: 50 #displayRadius: 25 isBio: false softCollisionOnAll: 3 generation_credits: 40 generation_delay: 40 #generation_resources: 自动升级A=1 #generation_delay: 40 #60秒后自动升级 unitsSpawnedOnDeath: 风华战机*40,星凛母舰*1,ADDED*15 canRepairBuildings: false canRepairUnits : false canReclaimResources: false autoRepair: false nanoRange: 480 nanoRepairSpeed: 0.4 nanoBuildSpeed: 8 selfRegenRate:1 #transportUnitsKillOnDeath: if self.isOverLiquid() #transportUnitsHealBy: 1 builtFrom_1_name: AX builtFrom_1_pos: 5 energyMax: 120 energyRegen: 0 energyNeedsToRechargeToFull: true [graphics] total_frames: 1 image: SHARED:blank.png image_wreak: NONE image_turret: NONE scaleImagesTo: 40 #scaleTurretImagesTo: 9 #imageScale: 1.5 image_shadow: AUTO shadowOffsetX:1 shadowOffsetY:1 [attack] canAttack: true canAttackFlyingUnits: true canAttackLandUnits: true canAttackUnderwaterUnits: false turretSize: 18 turretTurnSpeed: 4 maxAttackRange: 700 shootDelay: 1 turretMultiTargeting: true [turret_nanoTurret] x: 0 y: 0 warmup:1 invisible:true [projectile_1] directDamage: 80 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 [projectile_2] directDamage: 100 life: 150 speed: 3.5 image: SHARED:blank.png lightColor: #FFccCCEE lightSize: 0.4 image:SHARED:blank.png areaDamage: 300 areaRadius: 100 trailEffect:CUSTOM:Fire #[projectile_3] #directDamage: 100 #life: 150 #speed: 3.5 #image: ROOT:/IMGS/VC.png #lightColor: #FFccCCEE #lightSize: 0.4 #image:ROOT:/IMGS/VC.png #areaDamage: 300 #areaRadius: 100 #trailEffect:CUSTOM:Fire [movement] movementType: AIR moveSpeed: 2.5 moveAccelerationSpeed: 0.8 moveDecelerationSpeed: 0.8 landOnGround: true maxTurnSpeed: 1.3 turnAcceleration: 0.05 moveSlidingMode :true moveIgnoringBody:true moveSlidingDir: 45 slowDeathFall: true [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 [effect_Fire] createWhenZoomedOut: false priority:low image: SHARED:blank.png life:160 fadeOut: true attachedToUnit: false color: #63e6e8 fadeInTime:2 scaleFrom:1.4 scaleTo:0 alpha: 0.1 drawUnderUnits:true ySpeedRelative:-0.5 atmospheric: true [effect_move] createWhenZoomedOut: false priority:low image: SHARED:blank.png life:160 fadeOut: true attachedToUnit: false color: #63e6e8 fadeInTime:2 scaleFrom:8 scaleTo:0 alpha: 0.2 drawUnderUnits:true ySpeedRelative:0.2 atmospheric: true [ai] useAsBuilder: true [hiddenAction_巡航] autoTrigger: if self.hasUnitInTeam(withTag='亵渎', withinRange=1000) and not self.hasActiveWaypoint(type='follow') and not self.hasParent() clearAllWaypoints: true addWaypoint_type: follow addWaypoint_target_nearestUnit_tagged: 亵渎 addWaypoint_target_nearestUnit_team: own addWaypoint_maxTime: 1s [effect_SMOKE] attachedToUnit:true atmospheric:true life:35 stripIndex:effects image: SHARED:blank.png scaleTo:0.6 scaleFrom:0.6 hOffset:0 hSpeed:0.6 alpha:2.4 spawnChance:0.15 fadeInTime:10 fadeOut:true xSpeedAbsoluteRandom: 0.4 [effect_SMOKE2] attachedToUnit:true atmospheric:true life:45 stripIndex:effects image: SHARED:blank.png scaleTo:0.3 scaleFrom:0.3 hOffset:0 hSpeed:0.6 alpha:2.4 spawnChance:0.15 fadeInTime:10 fadeOut:true xSpeedAbsoluteRandom: 0.4 [effect_LIT] attachedToUnit:false atmospheric: false life: 30 stripIndex:effects image: SHARED:blank.png scaleTo:0.75 scaleFrom: 0.75 spawnChance: 1 color: #282e97ff [projectile_1] life: 15 instant:true instantReuseLast: true instantReuseLast_alsoChangeTurretAim: true moveWithParent: true beamImage: SHARED:beam3.png beamImageEnd: SHARED:beam1_end.png beamImageStart: SHARED:beam1_start.png #beamImageOffsetRate: 1.5 beamImageOffsetRate: 2 explodeEffect: NONE explodeEffectOnShield: NONE shieldDamageMultiplier: 0.75 sweepOffsetFromTargetRadius:0.4 #sweepOffset: x sweepSpeed:10 #=== others === directDamage: 1 color: #aa6284b8 #color: #dd99bcf2 color: #42f2f5 teamColorRatio_sourceRatio:0.8 teamColorRatio:0.5 #laserEffect: true [projectile_3] directDamage: 100 life: 10 laserEffect: true color: #282e97ff explodeEffect: NONE instantReuseLast:true instant:true drawSize:0.85 invisible:true explodeEffectOnShield: NONE [projectile_4] directDamage: 1 life: 10 laserEffect: true color: #282e97ff explodeEffect: NONE instantReuseLast:true instant:true drawSize:0.85 invisible:true explodeEffectOnShield: NONE