diff --git a/assets/magicdragonimg/MeiDiEng/梅蒂恩.png b/assets/magicdragonimg/MeiDiEng/梅蒂恩.png new file mode 100644 index 0000000..341af26 Binary files /dev/null and b/assets/magicdragonimg/MeiDiEng/梅蒂恩.png differ diff --git a/assets/magicdragonimg/bigcow/大公牛.png b/assets/magicdragonimg/bigcow/大公牛.png new file mode 100644 index 0000000..cbb9e4e Binary files /dev/null and b/assets/magicdragonimg/bigcow/大公牛.png differ diff --git a/assets/magicdragonimg/bigcow/大公牛的炮.png b/assets/magicdragonimg/bigcow/大公牛的炮.png new file mode 100644 index 0000000..a61fdfc Binary files /dev/null and b/assets/magicdragonimg/bigcow/大公牛的炮.png differ diff --git a/assets/magicdragonimg/bigcow/大公牛的脚.png b/assets/magicdragonimg/bigcow/大公牛的脚.png new file mode 100644 index 0000000..0e12893 Binary files /dev/null and b/assets/magicdragonimg/bigcow/大公牛的脚.png differ diff --git a/assets/magicdragonimg/bigcow/电牛.png b/assets/magicdragonimg/bigcow/电牛.png new file mode 100644 index 0000000..c252b23 Binary files /dev/null and b/assets/magicdragonimg/bigcow/电牛.png differ diff --git a/assets/magicdragonimg/blackstarboat/BSB.png b/assets/magicdragonimg/blackstarboat/BSB.png new file mode 100644 index 0000000..b6bae3c Binary files /dev/null and b/assets/magicdragonimg/blackstarboat/BSB.png differ diff --git a/assets/magicdragonimg/blackstarboat/BSBDIED.png b/assets/magicdragonimg/blackstarboat/BSBDIED.png new file mode 100644 index 0000000..dced1a0 Binary files /dev/null and b/assets/magicdragonimg/blackstarboat/BSBDIED.png differ diff --git a/assets/magicdragonimg/blackstarboat/anti_air_top_flakgun.png b/assets/magicdragonimg/blackstarboat/anti_air_top_flakgun.png new file mode 100644 index 0000000..e118834 Binary files /dev/null and b/assets/magicdragonimg/blackstarboat/anti_air_top_flakgun.png differ diff --git a/assets/magicdragonimg/blackstarboat/炮.png b/assets/magicdragonimg/blackstarboat/炮.png new file mode 100644 index 0000000..afedf9b Binary files /dev/null and b/assets/magicdragonimg/blackstarboat/炮.png differ diff --git a/assets/magicdragonimg/greentomb/foot.png b/assets/magicdragonimg/greentomb/foot.png new file mode 100644 index 0000000..cff126d Binary files /dev/null and b/assets/magicdragonimg/greentomb/foot.png differ diff --git a/assets/magicdragonimg/greentomb/leg.png b/assets/magicdragonimg/greentomb/leg.png new file mode 100644 index 0000000..9477df6 Binary files /dev/null and b/assets/magicdragonimg/greentomb/leg.png differ diff --git a/assets/magicdragonimg/greentomb/乌龟.png b/assets/magicdragonimg/greentomb/乌龟.png new file mode 100644 index 0000000..b249c4b Binary files /dev/null and b/assets/magicdragonimg/greentomb/乌龟.png differ diff --git a/assets/magicdragonimg/ironskycow/.光爆.png b/assets/magicdragonimg/ironskycow/.光爆.png new file mode 100644 index 0000000..4fbb400 Binary files /dev/null and b/assets/magicdragonimg/ironskycow/.光爆.png differ diff --git a/assets/magicdragonimg/ironskycow/.鱼雷爆炸.png b/assets/magicdragonimg/ironskycow/.鱼雷爆炸.png new file mode 100644 index 0000000..6a9df60 Binary files /dev/null and b/assets/magicdragonimg/ironskycow/.鱼雷爆炸.png differ diff --git a/assets/magicdragonimg/ironskycow/导弹.png b/assets/magicdragonimg/ironskycow/导弹.png new file mode 100644 index 0000000..8abd399 Binary files /dev/null and b/assets/magicdragonimg/ironskycow/导弹.png differ diff --git a/assets/magicdragonimg/ironskycow/机射.png b/assets/magicdragonimg/ironskycow/机射.png new file mode 100644 index 0000000..e39dc25 Binary files /dev/null and b/assets/magicdragonimg/ironskycow/机射.png differ diff --git a/assets/magicdragonimg/ironskycow/钢铁天牛.png b/assets/magicdragonimg/ironskycow/钢铁天牛.png new file mode 100644 index 0000000..de8df99 Binary files /dev/null and b/assets/magicdragonimg/ironskycow/钢铁天牛.png differ diff --git a/assets/magicdragonimg/magiccredits/循环序列T2.png b/assets/magicdragonimg/magiccredits/循环序列T2.png new file mode 100644 index 0000000..1f2b22d Binary files /dev/null and b/assets/magicdragonimg/magiccredits/循环序列T2.png differ diff --git a/assets/magicdragonimg/magictank/DiedRing.png b/assets/magicdragonimg/magictank/DiedRing.png new file mode 100644 index 0000000..fe326d2 Binary files /dev/null and b/assets/magicdragonimg/magictank/DiedRing.png differ diff --git a/assets/magicdragonimg/magictank/宁维凯.png b/assets/magicdragonimg/magictank/宁维凯.png new file mode 100644 index 0000000..f66fefa Binary files /dev/null and b/assets/magicdragonimg/magictank/宁维凯.png differ diff --git a/assets/magicdragonimg/magictank/宁维凯dead.png b/assets/magicdragonimg/magictank/宁维凯dead.png new file mode 100644 index 0000000..eb183e6 Binary files /dev/null and b/assets/magicdragonimg/magictank/宁维凯dead.png differ diff --git a/assets/magicdragonimg/mechblue/蓝鲸.png b/assets/magicdragonimg/mechblue/蓝鲸.png new file mode 100644 index 0000000..b01fc47 Binary files /dev/null and b/assets/magicdragonimg/mechblue/蓝鲸.png differ diff --git a/assets/magicdragonimg/mechshark/机械鲨鱼.png b/assets/magicdragonimg/mechshark/机械鲨鱼.png new file mode 100644 index 0000000..1d77082 Binary files /dev/null and b/assets/magicdragonimg/mechshark/机械鲨鱼.png differ diff --git a/assets/magicdragonimg/mechshark/水花.png b/assets/magicdragonimg/mechshark/水花.png new file mode 100644 index 0000000..2d2d496 Binary files /dev/null and b/assets/magicdragonimg/mechshark/水花.png differ diff --git a/assets/magicdragonimg/nukefight/核子战机.png b/assets/magicdragonimg/nukefight/核子战机.png new file mode 100644 index 0000000..79c9c79 Binary files /dev/null and b/assets/magicdragonimg/nukefight/核子战机.png differ diff --git a/assets/magicdragonimg/nukefight/核子战机_dead.png b/assets/magicdragonimg/nukefight/核子战机_dead.png new file mode 100644 index 0000000..dd4ffaf Binary files /dev/null and b/assets/magicdragonimg/nukefight/核子战机_dead.png differ diff --git a/assets/magicdragonimg/plasmatank/离子.png b/assets/magicdragonimg/plasmatank/离子.png new file mode 100644 index 0000000..d1c9d46 Binary files /dev/null and b/assets/magicdragonimg/plasmatank/离子.png differ diff --git a/assets/magicdragonimg/plasmatank/离子坦克.png b/assets/magicdragonimg/plasmatank/离子坦克.png new file mode 100644 index 0000000..e325dec Binary files /dev/null and b/assets/magicdragonimg/plasmatank/离子坦克.png differ diff --git a/assets/magicdragonimg/plasmatank/离子坦克的炮.png b/assets/magicdragonimg/plasmatank/离子坦克的炮.png new file mode 100644 index 0000000..af4ec5a Binary files /dev/null and b/assets/magicdragonimg/plasmatank/离子坦克的炮.png differ diff --git a/assets/magicdragonimg/redgemfight/新年号飞艇.png b/assets/magicdragonimg/redgemfight/新年号飞艇.png new file mode 100644 index 0000000..06fc733 Binary files /dev/null and b/assets/magicdragonimg/redgemfight/新年号飞艇.png differ diff --git a/assets/magicdragonimg/redgemfight/新年号飞艇_dead.png b/assets/magicdragonimg/redgemfight/新年号飞艇_dead.png new file mode 100644 index 0000000..5e804f5 Binary files /dev/null and b/assets/magicdragonimg/redgemfight/新年号飞艇_dead.png differ diff --git a/assets/magicdragonimg/sheiledragon/甲龙.png b/assets/magicdragonimg/sheiledragon/甲龙.png new file mode 100644 index 0000000..3011956 Binary files /dev/null and b/assets/magicdragonimg/sheiledragon/甲龙.png differ diff --git a/assets/magicdragonimg/sheiledragon/甲龙的炮.png b/assets/magicdragonimg/sheiledragon/甲龙的炮.png new file mode 100644 index 0000000..8c33cca Binary files /dev/null and b/assets/magicdragonimg/sheiledragon/甲龙的炮.png differ diff --git a/assets/magicdragonimg/sheiledragon/甲龙的脚.png b/assets/magicdragonimg/sheiledragon/甲龙的脚.png new file mode 100644 index 0000000..ec70044 Binary files /dev/null and b/assets/magicdragonimg/sheiledragon/甲龙的脚.png differ diff --git a/assets/public/nanoHeeling.png b/assets/public/nanoHeeling.png new file mode 100644 index 0000000..745abbd Binary files /dev/null and b/assets/public/nanoHeeling.png differ diff --git a/code/magicdragon/侦查枪艇/枪艇.ini b/code/magicdragon/侦查枪艇/枪艇.ini index c3edb87..c2b9436 100644 --- a/code/magicdragon/侦查枪艇/枪艇.ini +++ b/code/magicdragon/侦查枪艇/枪艇.ini @@ -32,8 +32,7 @@ total_frames: 2 image: ROOT:/assets/magicdragonimg/seascount/eyeboat.png image_wreak: NONE image_turret:ROOT:/assets/magicdragonimg/seascount/eyeconon.png -scaleImagesTo: 8 -turretImageScale:0.4 + image_shadow: AUTO shadowOffsetX:1 @@ -47,6 +46,8 @@ animation_idle_start: 0 animation_idle_end: 1 animation_idle_speed: 5 +splastEffect:true + [attack] canAttack: true canAttackFlyingUnits:false @@ -92,7 +93,7 @@ directDamage: 12 #no directDamage with targetGround life: 150 speed: 5 -drawSize:0.2 +drawSize:1 frame: 4 #targetGround: true @@ -102,7 +103,7 @@ moveSpeed: 0.8 moveAccelerationSpeed: 0.9 moveDecelerationSpeed: 0.9 -maxTurnSpeed: 1 +maxTurnSpeed: 3 turnAcceleration: 1 moveSlidingMode :false diff --git a/code/magicdragon/小海虫/小海虫.ini b/code/magicdragon/小海虫/小海虫.ini index 99a6d88..ce267d0 100644 --- a/code/magicdragon/小海虫/小海虫.ini +++ b/code/magicdragon/小海虫/小海虫.ini @@ -164,7 +164,7 @@ targetHeight: 2 targetHeightDrift: 0 -maxTurnSpeed: 0.5 +maxTurnSpeed:2.8 turnAcceleration: 0.2 moveSlidingMode :false @@ -172,11 +172,3 @@ moveIgnoringBody:false moveSlidingDir: 45 -slowDeathFall: true - - - - - -[ai] -useAsBuilder: true \ No newline at end of file diff --git a/code/magicdragon/尼德霍格/尼德霍格T1.ini b/code/magicdragon/尼德霍格/尼德霍格T1.ini index b03774e..4d8cd66 100644 --- a/code/magicdragon/尼德霍格/尼德霍格T1.ini +++ b/code/magicdragon/尼德霍格/尼德霍格T1.ini @@ -26,7 +26,7 @@ class:CustomUnitMetadata price:1299 maxHp:2800 selfRegenRate:0.12 -mass:1600 +mass:80000 autoTriggerCooldownTime:0.1s techLevel:2 buildSpeed:31.4s diff --git a/code/magicdragon/御澪坦克/御澪.ini b/code/magicdragon/御澪坦克/御澪.ini new file mode 100644 index 0000000..a14b89f --- /dev/null +++ b/code/magicdragon/御澪坦克/御澪.ini @@ -0,0 +1,185 @@ + +[hiddenAction_refund] +requireConditional: if numberOfUnitsInTeam(greaterThan=2,withTag='玉灵',incompleteBuildings=true) +autoTriggerOnEvent: created +addResources: 5000 +deleteSelf: true +showMessageToPlayer: [错误:最多2个御澪坦克在战场,已返还半价制作成本] + + +[core] +name: 御澪 +class: CustomUnitMetadata +price: 10000 +maxHp: 1800 +maxShield: 2000 +mass: 9500 +tags:玉灵 +techLevel: 2 +buildSpeed: 45s +#availableInDemo: true + +radius: 35 +#displayRadius: 20 +isBio: false +softCollisionOnAll: 0 +selfRegenRate:0.05 + +displayText:Royal Magic Zero Prototype Tank +displayDescription: The magical creation, the leader of the magic dragon, combines mechanical technology and has high armor.\n-When there is an enemy nearby, it releases a magic laser and generates an aura of damage,causing AOE damage to nearby enemies.The damage will gradually increase and become invalid after a period of time. + +displayText_zh:御澪原型坦克 +displayDescription_zh:来自于魔龙首领圣母的魔法造物,结合了机械技术,拥有不错的护盾。\n-附近有敌人时释放魔法激光造成伤害,可以使用特殊技能腐蚀光环,对附近敌人造成AOE伤害,伤害将会渐渐变高,一段时间后失效。\n-场上同时只能存在一个技能,且技能只能生效一次 + +energyMax: 1 +energyRegen: 0.0009 +energyNeedsToRechargeToFull: true + +[action_释放] +price:7500 +text:Healing Aura +text_zh:腐蚀光环 +description:Just let me sing for the last time.\n-Star Bird will periodically release the healing aura to cure friends, and will disappear automatically after a period of time +description_zh:特殊技能腐蚀光环:选中一个区域,对附近敌人造成AOE伤害,伤害将会渐渐变高,一段时间后失效。\n-场上同时只能存在一个技能,且技能每个单位只能生效一次 +buildSpeed:5s +fireTurretXAtGround:3 +fireTurretXAtGround_withProjectile:2 +ai_isHighPriority:true +addActionCooldownTime:2000000s +isLocked:if self.queueSize(greaterThan=0) +isLockedMessage:You are releasing skills…… +isLockedMessage_zh:您正在释放技能中…… + +[graphics] +total_frames: 2 +#scaleImagesTo: 65 +image: ROOT:/assets/magicdragonimg/magictank/宁维凯.png +image_wreak: NONE +image_turret: NONE + + +#AUTO +image_shadow: NONE +shadowOffsetX:1 +shadowOffsetY:1 + +animation_moving_start: 1 +animation_moving_end: 1 +animation_moving_speed: 10 + +animation_idle_start: 1 +animation_idle_end: 1 +animation_idle_speed: 10 + +[attack] +canAttack: true +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true + + +maxAttackRange:180 +shootDelay: 0.1s + +[turret_1] +# flame turret +x: -20 +y: 15 +warmup:0 +shoot_sound:large_gun_fire2 +shoot_sound_vol:0.3 +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 1 + +[turret_2] +# flame turret +x: 20 +y: 15 +warmup:0 +shoot_sound:large_gun_fire2 +shoot_sound_vol:0.3 +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 1 + +[turret_3] +# flame turret +x: 20 +y: 15 +warmup:0 +canShoot:false +shoot_sound:large_gun_fire2 +shoot_sound_vol:0.3 +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 2 +limitingRange:275 + +[projectile_1] +# flame +directDamage:6 +life: 25 +speed: 8 +trailEffect: true +largeHitEffect: true +#instant:true +frame: 9 +#pushForce:-3 +image:SHARED:blank.png +beamImage: SHARED:beam3.png +beamImageEnd: SHARED:beam1.png +beamImageStart: SHARED:glow_green.png +instant:true +instantReuseLast: true +instantReuseLast_alsoChangeTurretAim: true +beamImageOffsetRate: 2 + +[projectile_2] +# flame +directDamage:0 +life: 25 +speed: 8 +trailEffect: true +largeHitEffect: true +instant:true +frame: 9 +#pushForce:-3 +image:SHARED:blank.png +beamImage: SHARED:beam3.png +beamImageEnd: SHARED:beam1.png +beamImageStart: SHARED:glow_green.png +instant:true +instantReuseLast: true +instantReuseLast_alsoChangeTurretAim: true +beamImageOffsetRate: 2 +spawnUnit:DiedRing-Effect + +# [action_afterBurn] +# text: i:units.aaBeamGunship.afterBurn.name +# description: i:units.aaBeamGunship.afterBurn.description +# buildSpeed:0 +# convertTo: aaBeamGunship_afterburn +# resourceAmount: energy +# resourceAmount_setValue: 6 +# addActionCooldownTime: 25s +# ai_isDisabled: false +# canPlayerCancel: false +# allowMultipleInQueue: false +# #No confirm needed on mobile +# alwaysSinglePress: true + +[movement] +movementType: LAND +moveSpeed: 1.2 +moveAccelerationSpeed: 0.45 +moveDecelerationSpeed: 0.45 + +maxTurnSpeed: 3.1 +turnAcceleration: 0.5 + +moveSlidingMode :false +moveIgnoringBody:false \ No newline at end of file diff --git a/code/magicdragon/御澪坦克/腐蚀光环.ini b/code/magicdragon/御澪坦克/腐蚀光环.ini new file mode 100644 index 0000000..6451428 --- /dev/null +++ b/code/magicdragon/御澪坦克/腐蚀光环.ini @@ -0,0 +1,135 @@ +[graphics] +total_frames: 1 +image:SHARED:blank.png +#lock_body_rotation_with_main_turret:true +image_shadow:AUTO +shadowOffsetX:1 +shadowOffsetY:1 +imageScale:2 +animation_idle_start: 0 +animation_idle_end: 0 +animation_idle_speed: 1 +disableLowHpFire:true +disableLowHpSmoke:true +showEnergyBar:false +[hiddenAction_refund] +requireConditional: if numberOfUnitsInTeam(greaterThan=1,withTag='DS',incompleteBuildings=true) +autoTriggerOnEvent: created +deleteSelf: true +addResources: 1500 +showMessageToPlayer: [错误:特殊技能腐蚀光环已上限,已返还20%使用成本] + +[hiddenAction_释放] +autoTriggerOnEvent:created +fireTurretXAtGround:X +fireTurretXAtGround_withProjectile:2 + +[attack] +canAttack:true +canAttackFlyingUnits:true +canAttackLandUnits:true +canAttackUnderwaterUnits:true +turretSize:0 +turretTurnSpeed:9999 +maxAttackRange:200 +shootDelay: 45 + +[movement] +movementType:AIR +targetHeight:0 +reverseSpeedPercentage: 0.6 +moveSpeed:1.6 +moveAccelerationSpeed: 0.09 +moveDecelerationSpeed: 0.06 +maxTurnSpeed: 99 +turnAcceleration: 99 +moveSlidingDir: 181 +targetHeightDrift:0 + +[turret_1] +x: 0 +y: 0 +projectile:1 +barrelHeight:0 +shoot_light:#ffffffff +shoot_flame:shockwave +warmup: 300 + +warmupCallDownRate: 100 + +warmupNoReset: true +warmupShootDelayTransfer: 45 + +[turret_X] +x: 0 +y: 0 +projectile:2 +canShoot:false +barrelHeight:0 +delay:1s +limitingRange:275 + +[projectile_1] +speed:0 +areaDamage:25 +areaRadius:240 +life:0 +areaHitUnderwaterAlways:true +areaHitAirAndLandAtSameTime:true +explodeOnEndOfLife:true + +#friendlyFire:true + +[projectile_2] +speed:10 +areaDamage:0 +areaRadius:1 +life:10 +instant:true +areaHitUnderwaterAlways:true +areaHitAirAndLandAtSameTime:true +explodeOnEndOfLife:false +#friendlyFire:true +explodeEffect:CUSTOM:龙卷风1 + +[core] +showOnMinimap: false +#autoTriggerCooldownTime:0.2s +#disableAllUnitCollisions:true +class: CustomUnitMetadata +energyMax:14 +tags:DS +energyRegen: 0 +dieOnZeroEnergy: true +#hideScorchMark: true +canNotBeDamaged:true +price:0 +maxHp:1 +mass: 1 +radius:1 +canOnlyBeAttackedByUnitsWithTags:NONE +#createNeutral:true +#stayNeutral:true +#createOnAggressiveTeam:true +showInEditor:false +name:DiedRing-Effect +tags:DIED +isUnselectable:true + +[action_GiveCharge] +autoTrigger:if self.hp(greaterThan=0) +addResources: energy=-1 +isVisible:false +buildSpeed: 1s + +[effect_龙卷风1] +life:600 +attachedToUnit:true +fadeOut:true +alpha:1 +scaleFrom:5 +fadeInTime:60 +scaleTo:5 +dirSpeed:0.8 +priority:veryhigh +image:ROOT:/assets/magicdragonimg/magictank/DiedRing.png \ No newline at end of file diff --git a/code/magicdragon/循环序列反应环/T2.ini b/code/magicdragon/循环序列反应环/T2.ini new file mode 100644 index 0000000..c7e8f90 --- /dev/null +++ b/code/magicdragon/循环序列反应环/T2.ini @@ -0,0 +1,61 @@ +[core] +name: 循环序列T2 +copyFrom:循环序列.ini +class: CustomUnitMetadata +price: 2400 +maxHp: 750 +mass: 9000 +showInEditor:false +displayText: Cycle sequence square-T2 +displayDescription: -The study is underway, we finally broke through her restrictions.\n-Yes, we are violating the simulated war rules, but this is inevitable!\n-[Type:EX-CREDITS] + +displayText_zh: 循环序列容器-T2 +displayDescription_zh: -研究正在进行中,我们终于突破了她的限制。\n-是,我们正在这场战斗法则,但这是不可避免的!\n【类型:额外资金】 + +#price per credit: $1100 +generation_credits: 6 +generation_delay: 60 + +#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,1 + +techLevel: 1 +buildSpeed: 0.0005 + +radius: 20 + +isBio: false +isBuilding: true + +[action_upgradeT2] +convertTo: NONE + +[animation_idle] +onActions : idle +body_0s: {frame:0} +body_0.5s: {frame:4} + +[graphics] +total_frames: 5 + +image: ROOT:/assets/magicdragonimg/magiccredits/循环序列T2.png +image_wreak: NONE + +[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 \ No newline at end of file diff --git a/code/magicdragon/循环序列反应环/循环序列.ini b/code/magicdragon/循环序列反应环/循环序列.ini index bb8721c..c2469d1 100644 --- a/code/magicdragon/循环序列反应环/循环序列.ini +++ b/code/magicdragon/循环序列反应环/循环序列.ini @@ -8,7 +8,7 @@ mass: 9000 displayText: Cycle sequence square displayDescription: -The study is underway, we finally broke through her restrictions.\n-Yes, we are violating the simulated war rules, but this is inevitable!\n-[Type:EX-CREDITS] - +tags:Loop displayText_zh: 循环序列容器 displayDescription_zh: -研究正在进行中,我们终于突破了她的限制。\n-是,我们正在这场战斗法则,但这是不可避免的!\n【类型:额外资金】 @@ -30,19 +30,18 @@ radius: 20 isBio: false isBuilding: true -#[action_upgradeT2] -#convertTo: 循环序列-T2 -#price: 10500 -#text: Upgrade -#description: Upgrade to high level cyclic sequence extraction square -#text_zh: 升级 -#description_zh: 升级到高等级的循环序列提取方阵 -#text: i:units.fabricator.upgrade.name -#displayType: upgrade -#buildSpeed: 14.5s -#iconImage: SHARED:icon_upgrade.png -#iconExtraImage: SHARED:icon_upgrade_top.png -#iconExtraColor: #AAFFFFFF +[action_upgradeT2] +convertTo: 循环序列T2 +price: 4000 +text:Upgrade +description: Upgrade to high level cyclic sequence extraction square +text_zh: 升级 +description_zh: 升级到高等级的循环序列提取方阵 +displayType: upgrade +buildSpeed: 16s +iconImage: SHARED:icon_upgrade.png +iconExtraImage: SHARED:icon_upgrade_top.png +iconExtraColor: #AAFFFFFF [animation_idle] onActions : idle diff --git a/code/magicdragon/机械乌龟堡垒/乌龟.ini b/code/magicdragon/机械乌龟堡垒/乌龟.ini new file mode 100644 index 0000000..f4ea0e3 --- /dev/null +++ b/code/magicdragon/机械乌龟堡垒/乌龟.ini @@ -0,0 +1,247 @@ + +[core] +name: 乌龟 +class: CustomUnitMetadata +#price: 2 +price: 6400 + +maxHp: 4500 +mass: 9000 + +techLevel: 2 +experimental: true + +buildSpeed: 35s +#buildSpeed: 1 + +#availableInDemo: true + +radius: 39 +displayRadius: 39 + + +fogOfWarSightRange:19 + + +transportSlotsNeeded: 5 + +isBio: false +softCollisionOnAll: 3 +#nanoFactorySpeed:2.5 + +displayText:Mech Turtle Fortress +displayDescription: Slow action, quick attack,Air vs Land.\n-High durability value will play a supporting role in some evacuation operations. + +displayText_zh:机械乌龟堡垒 +displayDescription_zh:行动缓慢,攻击迅速,对空对地。\n-高耐久值,在一些撤离作战将会起着支援的作用。 + + +[graphics] + +total_frames: 1 + +image: ROOT:/assets/magicdragonimg/greentomb/乌龟.png +image_wreak: None +image_turret: SHARED:nano_turret.png +# scaleImagesTo: 40 +scaleTurretImagesTo: 9 + +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + +[attack] +canAttack: true +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true + +turretSize: 20 +turretTurnSpeed: 2 +maxAttackRange: 220 +shootDelay: 35 + + + +[turret_1] + +x: 0 +y: 0 + +#idleDir:-90 + +warmup:30 + +turnSpeed: 4 +size: 8 + +image: SHARED:nano_turret.png + +canShoot: false +canAttackFlyingUnits: false +canAttackLandUnits: false +canAttackUnderwaterUnits: false + +isMainNanoTurret: true + +[turret_7] +x: 0 +y: 0 + +image: SHARED:experimental_tank_turret.png + +warmup: 34 + +warmupCallDownRate: 1 + +warmupNoReset: true +warmupShootDelayTransfer: 23 + +idleDir:0 + +shoot_sound:large_gun_fire2 +shoot_sound_vol:0.3 +shoot_flame:large +shoot_light:#FFEECCCC + +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 1 + + +size:17 + +turnSpeedAcceleration: 0.08 +turnSpeed: 2 + + +recoilOffset: -3 +recoilOutTime: 6 +recoilReturnTime: 7 + + + +[turret_5] +x: 7 +y: -2 + +shoot_sound:plasma_fire +shoot_sound_vol:0.05 +shoot_flame:small +shoot_light:#FFccCCEE + +image: SHARED:turret_small.png +projectile: 2 + +warmup: 45 + +warmupCallDownRate: 1 + +warmupNoReset: true +warmupShootDelayTransfer: 23 + +size: 17 + +turnSpeedAcceleration: 0.2 +turnSpeed: 5 + + +recoilOffset: -1 +recoilOutTime: 3 +recoilReturnTime: 4 + + +[turret_6] +x: -7 +y: -2 + +#x: 0 +#y: -9 + +copyFrom: 5 +linkDelayWithTurret:5 + +warmup:0 + + + + +[projectile_1] +#main turret projectile +#directDamage: 0 #no directDamage with targetGround +life: 150 +speed: 5 +largeHitEffect: true +frame: 8 +targetGround: true +areaDamage: 16 +areaRadius: 45 + + +[projectile_2] +directDamage: 5 +life: 70 +speed: 9 + +frame: 5 + + + +[leg_1] +x: -20 +y: -20 +attach_x: 0 +attach_y: 0 +moveSpeed: 2.1 +resetAngle:20 + +image_leg: ROOT:/assets/magicdragonimg/greentomb/leg.png +image_foot: ROOT:/assets/magicdragonimg/greentomb/foot.png + +[leg_2] +x: 20 +y: -20 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[leg_3] +x: -20 +y: 20 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[leg_4] +x: 20 +y: 20 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[movement] +movementType: OVER_CLIFF_WATER +moveSpeed: 0.5 +moveAccelerationSpeed: 0.05 +moveDecelerationSpeed: 0.05 + +targetHeight: 2 +targetHeightDrift: 0 + +maxTurnSpeed: 0.5 +turnAcceleration: 0.2 + +moveSlidingMode :false +moveIgnoringBody:false +moveSlidingDir: 45 + + +slowDeathFall: true + + + + + +[ai] +useAsBuilder: true \ No newline at end of file diff --git a/code/magicdragon/机械公牛/大公牛.ini b/code/magicdragon/机械公牛/大公牛.ini new file mode 100644 index 0000000..c6e489e --- /dev/null +++ b/code/magicdragon/机械公牛/大公牛.ini @@ -0,0 +1,188 @@ + +[core] +name: 大公牛 +class: CustomUnitMetadata +#price: 2 +price: 7000 + +maxHp: 2400 +mass: 9000 + +techLevel: 2 +experimental: true + +buildSpeed: 85s +#buildSpeed: 1 + +#availableInDemo: true + +radius: 30 +displayRadius: 30 + + +fogOfWarSightRange:19 + + +transportSlotsNeeded: 5 + +isBio: false +softCollisionOnAll: 3 + + +#nanoFactorySpeed:2.5 + + +selfRegenRate:0.2 + + +displayText:Mech Big Bull +displayDescription:High blood volume high armor, considerable harm and coating do not have a hand, \n-[MainAttckType: Air&Land] + +displayText_zh:机械大公牛 +displayDescription_zh:高耐久值,对空对地。\n-装有闪电特殊弹药,能造成连环伤害,但需要蓄力10s。有一艇轻机枪。 + +autoRepair: true + + + +[graphics] + +total_frames: 1 + +image: ROOT:/assets/magicdragonimg/bigcow/大公牛.png +image_wreak: None +image_turret: ROOT:/assets/magicdragonimg/bigcow/大公牛的炮.png +scaleImagesTo: 50 +scaleTurretImagesTo: 25 + +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + +[attack] +canAttack: true +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true + +turretSize: 20 +turretTurnSpeed: 2 +maxAttackRange: 250 +shootDelay: 1s + + + +[turret_1] +#left missile pod +x: 0 +y: -10 +attachedTo: 3 +slave: true +invisible: true +shoot_sound:plasma_fire +shoot_sound_vol:0.3 +shoot_light:#FFEECCCC + +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 1 + + +size:25 + +turnSpeedAcceleration: 0.08 +turnSpeed: 2 + + +recoilOffset: -3 +recoilOutTime: 6 +recoilReturnTime: 7 + + +[turret_3] +#main turret +x: 0 +y: 20 +canShoot: false + +shouldResetTurret: true + +idleSpin: 0 + +recoilOffset: -3 +recoilOutTime: 5 +recoilReturnTime: 7 + + + +[projectile_1] +#main turret projectile +directDamage: 30 +life: 240 +speed: 0.3 +targetSpeed: 5 +trailEffect: true +largeHitEffect: true +frame: 21 +areaDamage: 20 +areaRadius: 50 +image: ROOT:/assets/magicdragonimg/bigcow/电牛.png + + + +[leg_1] +x: 18 +y: -13 +attach_x: 0 +attach_y: 0 +moveSpeed: 2.1 +resetAngle:20 + +image_foot: ROOT:/assets/magicdragonimg/bigcow/大公牛的脚.png + +[leg_2] +x: 18 +y: 24 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[leg_3] +x: -18 +y: 24 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[leg_4] +x: -18 +y: -13 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[movement] +movementType: OVER_CLIFF_WATER +moveSpeed: 0.7 +moveAccelerationSpeed: 0.05 +moveDecelerationSpeed: 0.05 + +targetHeight: 2 +targetHeightDrift: 0 + + +maxTurnSpeed: 0.5 +turnAcceleration: 0.2 + +moveSlidingMode :false +moveIgnoringBody:false +moveSlidingDir: 45 + + +slowDeathFall: true + + + + + diff --git a/code/magicdragon/机械蓝鲸重型潜艇/蓝鲸.ini b/code/magicdragon/机械蓝鲸重型潜艇/蓝鲸.ini new file mode 100644 index 0000000..e105c06 --- /dev/null +++ b/code/magicdragon/机械蓝鲸重型潜艇/蓝鲸.ini @@ -0,0 +1,133 @@ + +[core] + + + +name: 机械蓝鲸 +class: CustomUnitMetadata +price: 4500 +maxHp: 2000 +mass: 1000 + +techLevel: 2 +copyFrom:ROOT:/effect/water/index.template +#水波特效 +buildSpeed: 30s +availableInDemo: false + +radius: 30 +displayRadius: 30 + +isBio: false + +#displayDescription:来加入强者的行列吧 + +displayText: Mechanical Blue Whale Heavy Submarine +displayDescription: -The DeepSea combat unit of the Demon Dragon Empire can attack units at sea and cause huge damage. + +displayText_zh: 机械蓝鲸重型潜艇 +displayDescription_zh: -魔龙帝国的深海作战单位,能攻击海上的单位并造成巨额范围伤害。 + + +[graphics] + +total_frames: 1 +image: ROOT:/assets/magicdragonimg/mechblue/蓝鲸.png +image_wreak: NONE +image_turret: NONE +scaleImagesTo: 90 +#scaleTurretImagesTo: 9 + +#AUTO +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + +movementEffect: CUSTOM:水波2, CUSTOM:水波1 +movementEffectRate: 12 +movementEffectReverse: CUSTOM:水波2 + + +[attack] +canAttack: true +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: true +canAttackNotTouchingWaterUnits:false + +turretSize: 20 +turretTurnSpeed: 3 + +maxAttackRange: 275 +shootDelay: 0.75s + +[turret_1] +x: -30 +y: 0 + +recoilOffset: 3 +recoilOutTime: 6 +recoilReturnTime: 18 + +[turret_2] +x: 30 +y: 0 + +recoilOffset: 3 +recoilOutTime: 6 +recoilReturnTime: 18 + +[projectile_1] +drawUnderUnits:true +drawSize:1 +areaDamage:75 +areaRadius:100 +areaHitAirAndLandAtSameTime:true +speed:0 +drawSize:1.2 +autoTargetingOnDeadTarget:true +autoTargetingOnDeadTargetRange:500 +deflectionPower:-1 +targetSpeed:28 +color:#3ff6ff7d +targetSpeedAcceleration:0.06 +trailEffect:true +trailEffectRate:1 +lightCastOnGround:true +life:360 + +wobbleAmplitude: 2.4 +wobbleFrequency: 1s + +[effect_spray] +life:30 +physics:true +physicsGravity:0.7 +atmospheric:true +image:ROOT:/assets/magicdragonimg/mechshark/水花.png +hSpeed:2 +dirSpeed:5 + +xSpeedRelative:0 +xSpeedRelativeRandom:2 + +ySpeedRelative:0 +ySpeedRelativeRandom:2 + +drawUnderUnits:false + +[movement] +movementType: WATER +moveSpeed: 1.2 +moveAccelerationSpeed: 0.03 +moveDecelerationSpeed: 0.08 + + +targetHeight: -2 + +maxTurnSpeed: 3.7 +turnAcceleration: 0.05 + +moveSlidingMode :true +moveIgnoringBody:true +moveSlidingDir: 181 \ No newline at end of file diff --git a/code/magicdragon/机械鲨鱼潜艇/鲨潜艇.ini b/code/magicdragon/机械鲨鱼潜艇/鲨潜艇.ini new file mode 100644 index 0000000..4dfe06d --- /dev/null +++ b/code/magicdragon/机械鲨鱼潜艇/鲨潜艇.ini @@ -0,0 +1,124 @@ + +[core] + + + +name: 机械鲨鱼潜艇 +class: CustomUnitMetadata +price: 3000 +maxHp: 1500 +mass: 1000 + +techLevel: 2 +copyFrom:ROOT:/effect/water/index.template +#水波特效 +buildSpeed: 25s +availableInDemo: false + +radius: 30 +displayRadius: 30 + +isBio: false + +#displayDescription:来加入强者的行列吧 + +displayText:Mechanical shark submarine +displayDescription: -The Deepsea combat unit of the Demon Dragon Empire can attack units at sea. + +displayText_zh: 机械鲨鱼潜艇 +displayDescription_zh: -魔龙帝国的深海作战单位,能攻击海上的单位。 + + +[graphics] + +total_frames: 1 +image: ROOT:/assets/magicdragonimg/mechshark/机械鲨鱼.png +image_wreak: NONE +image_turret: NONE +scaleImagesTo: 90 +#scaleTurretImagesTo: 9 + +#AUTO +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + +movementEffect: CUSTOM:水波2, CUSTOM:水波1 +movementEffectRate: 12 +movementEffectReverse: CUSTOM:水波2 + + +[attack] +canAttack: true +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: true +canAttackNotTouchingWaterUnits:false + +turretSize: 20 +turretTurnSpeed: 3 + +maxAttackRange: 250 +shootDelay: 1s + +[turret_1] +x: 0 +y: 0 + +recoilOffset: 3 +recoilOutTime: 6 +recoilReturnTime: 18 + +[projectile_1] +drawUnderUnits:true +drawSize:1 +directDamage:40 +areaHitAirAndLandAtSameTime:true +speed:0 +autoTargetingOnDeadTarget:true +autoTargetingOnDeadTargetRange:500 +deflectionPower:-1 +targetSpeed:28 +frame:6 +targetSpeedAcceleration:0.06 +trailEffect:true +trailEffectRate:1 +lightCastOnGround:true +life:360 + +wobbleAmplitude: 2.4 +wobbleFrequency: 1s + +[effect_spray] +life:30 +physics:true +physicsGravity:0.7 +atmospheric:true +image:ROOT:/assets/magicdragonimg/mechshark/水花.png +hSpeed:2 +dirSpeed:5 + +xSpeedRelative:0 +xSpeedRelativeRandom:2 + +ySpeedRelative:0 +ySpeedRelativeRandom:2 + +drawUnderUnits:false + +[movement] +movementType: WATER +moveSpeed: 1.2 +moveAccelerationSpeed: 0.03 +moveDecelerationSpeed: 0.08 + + +targetHeight: -2 +targetHeightDrift: 1 + +maxTurnSpeed: 3.7 +turnAcceleration: 0.05 + +moveSlidingMode :true +moveIgnoringBody:true +moveSlidingDir: 181 \ No newline at end of file diff --git a/code/magicdragon/极光坦克/极光.ini b/code/magicdragon/极光坦克/极光.ini index c8a944f..47778bf 100644 --- a/code/magicdragon/极光坦克/极光.ini +++ b/code/magicdragon/极光坦克/极光.ini @@ -2,8 +2,8 @@ [core] name: 极光 class: CustomUnitMetadata -price: 1200 -maxHp: 800 +price: 2400 +maxHp: 920 mass: 800 techLevel: 2 buildSpeed: 35s @@ -52,7 +52,7 @@ turretSize: 10 maxAttackRange: 260 -shootDelay: 1.25s +shootDelay: 0.25s [turret_1] @@ -117,7 +117,7 @@ beamImageOffsetRate: 2 explodeEffect: NONE explodeEffectOnShield: NONE -directDamage: 25 +directDamage: 50 #color: #aa6284b8 #color: #dd99bcf2 @@ -144,7 +144,7 @@ explodeEffectOnShield: NONE #=== others === -directDamage: 5 +directDamage: 25 #color: #aa6284b8 #color: #dd99bcf2 diff --git a/code/magicdragon/核子战机/核子战机.ini b/code/magicdragon/核子战机/核子战机.ini new file mode 100644 index 0000000..11c9647 --- /dev/null +++ b/code/magicdragon/核子战机/核子战机.ini @@ -0,0 +1,165 @@ + +[core] + + + +name: 核子战机 +class: CustomUnitMetadata +price: 4500 +maxHp: 1000 +mass: 10000 + +techLevel: 2 +buildSpeed: 27s + +availableInDemo: false + +radius: 20 +#displayRadius: 15 +isBio: false +#softCollisionOnAll: 3 +softCollisionOnAll: 24 + + +selfRegenRate:0.02 + +displayText: Nuke-AIR +displayDescription: -Launch high damage shells, slow movement, only on the ground.\n-[Main Battle: Land] + + +displayText_zh: 核子战机 +displayDescription_zh: -发射高伤害炮弹,攻击前摇长,移速适中,只能对地。\n-[主战:地面] + +energyMax: 12 +energyRegen: 0.008 + + +[graphics] +total_frames: 1 + +image: ROOT:/assets/magicdragonimg/nukefight/核子战机.png +image_wreak: ROOT:/assets/magicdragonimg/nukefight/核子战机_dead.png +image_turret: NONE +#scaleImagesTo: 20 +#scaleTurretImagesTo: 9 + +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + + +lock_body_rotation_with_main_turret: true + +[attack] +turretRotateWithBody: false + +canAttack: true +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: false + +turretSize: 10 +turretTurnSpeed: 4 +maxAttackRange: 320 +shootDelay: 6s + + +#isFixedFiring: true + + +[turret_1] +#missile +invisible: true +x: -20 +y: 0 +idleDir:0 + +shoot_sound:missile_fire +shoot_sound_vol:0.1 +shoot_light:#FFEECCCC + +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: false +projectile: 1 +size: 17 + +delay: 6s + +energyUsage: 6 + +[turret_2] +#missile +invisible: true +x: 20 +y: 0 +idleDir:0 + +shoot_sound:missile_fire +shoot_sound_vol:0.1 +shoot_light:#FFEECCCC + +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: false +projectile: 1 +size: 17 + +delay: 6s + +energyUsage: 6 + + +[projectile_1] +#missile +directDamage: 1 + +areaDamage: 0 +areaRadius: 0 + +life: 100 +speed: -8 +targetSpeed:8 +trailEffect: true +largeHitEffect: true + +#ballistic: true +#ballistic_delaymove_height:0 +#ballistic_height: 10 + +frame: 10 +drawSize: 1 + +autoTargetingOnDeadTarget: false +spawnProjectilesOnEndOfLife:torpedoLocked(offsetDir=80),torpedoLocked(offsetDir=-80) + + +[projectile_torpedoLocked] +@copyFromSection: projectile_1 +life: 600 +speed:-5 +turnSpeed:6 +spawnProjectilesOnEndOfLife: NONE +directDamage:350 +frame:10 + +wobbleAmplitude: 2.4 +wobbleFrequency: 1s + +[movement] +movementType: AIR +moveSpeed: 0.75 +moveAccelerationSpeed: 0.3 +moveDecelerationSpeed: 0.3 + +landOnGround: false + +maxTurnSpeed: 3.6 +turnAcceleration: 0.5 + +moveSlidingMode :true +moveIgnoringBody:true +moveSlidingDir: 181 + + +slowDeathFall: true \ No newline at end of file diff --git a/code/magicdragon/梅蒂恩-青鸟/梅蒂恩.ini b/code/magicdragon/梅蒂恩-青鸟/梅蒂恩.ini new file mode 100644 index 0000000..ecf2a04 --- /dev/null +++ b/code/magicdragon/梅蒂恩-青鸟/梅蒂恩.ini @@ -0,0 +1,240 @@ + + +[hiddenAction_refund] +requireConditional: if numberOfUnitsInTeam(greaterThan=1,withTag='StarBird',incompleteBuildings=true) +autoTriggerOnEvent: created +addResources: 7500 +deleteSelf: true +showMessageToPlayer: [错误:最多1个游星鸟在战场] + +[core] +name: 梅蒂恩 + +displayText: Star bird +displayDescription: -Invincible, the unit skips the failure decision. \n- +At most one exists on the field, periodically giving nearby friendly unit range repair fixes. \n-disappears automatically after a period of time.\n-Just, allow me to sing one last time. +canNotBeDirectlyAttacked:true +displayText_zh: 游星鸟 +displayDescription_zh: -无敌,该单位跳过失败判定,且其他单位忽略此单位存在。\n- +在场上最多存在一个,周期性给附近的友方单位提供固定150范围修复光环。\n-一段时间后自动消失。\n-只是,请允许我最后歌唱一次。 +price: 7500 +mass: 1000 +class: CustomUnitMetadata +techLevel: 2 +buildSpeed: 45s +radius: 20 +displayRadius:25 +maxHp: 0 +softCollisionOnAll: 60 +disableDeathOnZeroHp:true +energyMax: 30 +energyRegen: 0 +energyStartingPercentage: 30 +energyNeedsToRechargeToFull: true +tags:StarBird + +[action_释放] +price:5000 +text:Healing Aura +text_zh:治愈光环 +description:Just let me sing for the last time.\n-Star Bird will periodically release the healing aura to cure friends, and will disappear automatically after a period of time +description_zh:只是,请允许我最后歌唱一次。\n-游星鸟将周期性释放治愈光环治疗友方,一段时间后自动消失…… +buildSpeed:5s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:1 +ai_isHighPriority:true +isVisible:if not self.tags(includes='再见') +temporarilyAddTags:再见 +isLocked:if self.queueSize(greaterThan=0) +isLockedMessage:You are releasing skills…… +isLockedMessage_zh:您正在释放技能中…… + +[hiddenAction_1] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:2 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_2] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:3 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_3] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:4 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_4] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:5 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_5] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:6 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_6] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:7 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_7] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:8 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_8] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:9 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_9] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +alsoQueueAction:10 +spawnEffects:CUSTOM:areaHeal + +[hiddenAction_10] +buildSpeed:3s +fireTurretXAtGround:machinegun1 +fireTurretXAtGround_withProjectile:2 +spawnEffects:CUSTOM:areaHeal +showMessageToPlayer:This time I want to sing my own voice... sing the joy I have found... The star bird has left the battlefield +deleteSelf:true +showMessageToPlayer_zh:这次我要唱出自己的心声……唱出我寻找到的喜悦……,游星鸟已离开战场…… + +[graphics] +image: ROOT:/assets/magicdragonimg/MeiDiEng/梅蒂恩.png +image_shadow: AUTO +total_frames: 3 +image_wreak: NONE + +splastEffect:true +movementEffect:CUSTOM:尾 +movementEffectRate:1 + +animation_idle_start: 0 +animation_idle_end: 2 +animation_idle_speed: 12 + +animation_moving_start: 0 +animation_moving_end: 2 +animation_moving_speed: 8 + +[attack] +canAttack:false +canAttackFlyingUnits: true +canAttackLandUnits: false +canAttackUnderwaterUnits: false + +maxAttackRange: 170 + +[turret_machinegun1] +delay: 10 +x:4 +y:15 +canShoot: true +invisible: true +shoot_flame: smoke +projectile:2 +limitingAngle: 65 +limitingMinRange: 40 + +shoot_sound: gun_fire +shoot_sound_vol: 0.3 + +turnSpeed: 6 +turnSpeedAcceleration: 1 + +aimOffsetSpread: 0.5 + +energyUsage: 0.10 + +[turret_machinegun2] +x: -4 +y: 15 +copyFrom: machinegun1 +delay: 20 + +[projectile_2] +areaDamage: -150 +areaRadius: 285 +targetGround: true +areaExpandTime: 90 +areaHitAirAndLandAtSameTime: true +areaDamageNoFalloff:true +instant: false +largeHitEffect: true +life: 0 +speed: 0 +explodeOnEndOfLife: true +deflectionPower: -1 + +shieldDamageMultiplier: 0 +buildingDamageMultiplier: 0.75 + +friendlyFire: only-ignoreEnemy + +#explodeEffect: CUSTOM:areaHeal + +[effect_areaHeal] +life: 150 +priority: veryhigh +xOffsetRelative: 0 +yOffsetRelative: 0 +hOffset: 0.1 +dirOffsetRandom:180 +dirSpeedRandom: 1 +scaleFrom: 0.1 +scaleTo: 8 +fadeInTime: 1 +fadeOut: true +attachedToUnit: false +image: ROOT:/assets/public/nanoHeeling.png +drawUnderUnits: false +alpha:1 + +[movement] +movementType: AIR +moveSpeed: 1.3 +moveAccelerationSpeed: 0.02 +moveDecelerationSpeed: 0.01 +reverseSpeedPercentage: 0 +maxTurnSpeed: 3 +turnAcceleration: 0.05 +fallingAccelerationDead:0.2 + + +[effect_尾] +life:22 +priority:critical +fadeOut:true +fadeInTime:1 +attachedToUnit:false +scaleFrom:0.6 +scaleTo:0.6 +image:ROOT:/assets/magicdragonimg/twolaser/尾焰.png +total_frames:1 +alpha:0.75 +color:#42aae7 +yOffsetRelative:-14 +drawUnderUnits:true diff --git a/code/magicdragon/火龙迷你堡垒/火龙.ini b/code/magicdragon/火龙迷你堡垒/火龙.ini index aa2aca1..c28ccea 100644 --- a/code/magicdragon/火龙迷你堡垒/火龙.ini +++ b/code/magicdragon/火龙迷你堡垒/火龙.ini @@ -6,31 +6,31 @@ name: 火龙堡垒 class: CustomUnitMetadata price: 1250 -maxHp: 500 +maxHp: 900 mass: 90000 #@memory buildTime:number[] -techLevel: 1 -experimental: true +techLevel: 2 +#experimental: true -buildSpeed: 40s +buildSpeed: 12s #availableInDemo: true -maxTransportingUnits:4 +maxTransportingUnits:6 radius: 25 #displayRadius: 11 isBio: false softCollisionOnAll: 2 -generation_credits: 1 +generation_credits: 3 generation_delay: 80 displayText: Fire Dragon Fortess displayText_zh: 火龙迷你堡垒 displayDescription:The Army Unit for Production of the Dragon Empire.Have an extremely small amount of credits in make. -displayDescription_zh:拥有运输能力,较弱的攻击力,对空对地。\n-并且自身可以产生除伊甸建造者的T1单位,但制造单位时间较长。通过升级可以加强并获得正常制作单位时间。 +displayDescription_zh:拥有运输能力,较弱的攻击力,对空对地。\n-并且自身可以产生除伊甸建造者的T1单位。 nanoFactorySpeed:0.8 @@ -46,7 +46,7 @@ total_frames: 3 image: ROOT:/assets/magicdragonimg/firedragon/火龙.png image_wreak: NONE image_turret: NONE -scaleImagesTo: 35 +scaleImagesTo: 71 #scaleTurretImagesTo: 9 image_shadow: AUTO diff --git a/code/magicdragon/玄心号战船/玄心号.ini b/code/magicdragon/玄心号战船/玄心号.ini new file mode 100644 index 0000000..759a2bc --- /dev/null +++ b/code/magicdragon/玄心号战船/玄心号.ini @@ -0,0 +1,293 @@ + +[core] +name: 玄心号 +#displayText: Carrier +#displayDescription: -Heavily armed and armored \n -Anti-air \n -builds Air factory units \n -Laser defence & repairbay \n -Can build anti-nuke missiles \n -Built-in Fabricator \n -Goes nuclear on death (if nukes are enabled) +class: CustomUnitMetadata +price: 7500 +maxHp: 3500 +mass: 15000 + +copyFrom:ROOT:/effect/water/index.template +#水波特效 + +techLevel: 2 +experimental: true +buildSpeed: 0.001 +availableInDemo: false + +radius: 40 +displayRadius: 40 +#softCollisionOnAll: 3 + +transportSlotsNeeded: 5 + + +isBio: false +energyMax: 2 +energyRegen: 0.0003 + +selfRegenRate:0.3 + +displayText: Black Star Warship +displayDescription: -The outstanding naval unit of the Magic Dragon Empire is famous for its mystery. =\n-Anti submarine against air and ground, medium speed, high durability. + +displayText_zh: 玄心号战舰 +displayDescription_zh: -魔龙帝国的杰出海军单位,以玄而出名。\n-对空对地可以反潜,移速中等,高耐久值。 + + +[graphics] +total_frames: 1 +drawLayer: experimentals +imageScale: 1.1 + +image: ROOT:/assets/magicdragonimg/blackstarboat/BSB.png +image_wreak: ROOT:/assets/magicdragonimg/blackstarboat/BSBDIED.png +image_turret: ROOT:/assets/magicdragonimg/blackstarboat/炮.png +#scaleImagesTo: 60 +#scaleTurretImagesTo: 12 + +image_shadow: AUTO +shadowOffsetX:4 +shadowOffsetY:4 +movementEffect: CUSTOM:水波2, CUSTOM:水波1,CUSTOM:水雾 +movementEffectRate: 12 +movementEffectReverse: CUSTOM:水波2,CUSTOM:水雾 +#splastEffect: true + +[attack] +canAttack: true +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true + +turretSize: 20 +turretTurnSpeed: 1.5 + +maxAttackRange: 250 + +shootDelay: 100 + + +turretMultiTargeting: true + + + +[turret_flakPivotPoint] +x: 0 +y: -80 +canShoot: false + +shouldResetTurret: false +idleSpin: 0.5 +image:ROOT:/assets/magicdragonimg/blackstarboat/anti_air_top_flakgun.png + +canAttackFlyingUnits: true +canAttackLandUnits: false +canAttackUnderwaterUnits: false + +recoilOffset: -3 +recoilOutTime: 6 +recoilReturnTime: 12 + +[turret_leftMissilePod] +x: 4 +y: 10 +size: 0 +attachedTo: flakPivotPoint +slave: true +invisible: true +warmup: 0 +canAttackFlyingUnits: true +canAttackLandUnits: false +canAttackUnderwaterUnits: false +shoot_sound:large_gun_fire2 +shoot_sound_vol:0.3 +shoot_flame:small +shoot_light:#FFEECCCC +projectile: flak + +#image: SHARED:debug_marker.png + +[turret_rightMissilePod] +x: -4 +y: 10 +copyFrom: leftMissilePod +linkDelayWithTurret:leftMissilePod +warmup: 55 + +[turret_plasma1] +#plasma +#turret +x: 14 +y: 0 + +idleDir:90 +idleDirReversing: 90 + +limitingAngle: 120 + + +image:ROOT:/assets/magicdragonimg/blackstarboat/炮.png +shoot_sound:large_gun_fire2 +shoot_sound_vol:0.3 +shoot_flame:large +shoot_light:#ffc600 + +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: gunShot + +size: 16 +recoilOffset: -1 +limitingRange: 250 + +[turret_plasma3] +#plasma +#turret +x: 14 +y: -28 + +idleDir:90 +idleDirReversing: 90 + +copyFrom:plasma1 +#linkDelayWithTurret:plasma1 +#warmup: 50 + +[turret_plasma2] +#plasma +#turret +x: -14 +y: 0 + +idleDir:-90 +idleDirReversing: -90 + +copyFrom:plasma1 +#linkDelayWithTurret:plasma1 +#warmup: 50 + +[turret_plasma4] +#plasma +#turret +x: -14 +y: -28 + +idleDir:-90 +idleDirReversing: -90 + +copyFrom:plasma1 +#linkDelayWithTurret:plasma1 +#warmup: 50 + +[turret_plasma5] +#plasma +#turret +x: 14 +y: -50 + +idleDir:90 +idleDirReversing: 90 + +copyFrom:plasma1 +#linkDelayWithTurret:plasma1 +#warmup: 50 + +[turret_plasma6] +#plasma +#turret +x: -14 +y: -50 + +idleDir:-90 +idleDirReversing: -90 + +copyFrom:plasma1 +#linkDelayWithTurret:plasma1 +#warmup: 50 + +[turret_repairTurret] +#repair +x: -16 +y: -32 +canShoot: false +invisible: true + +size:0 + +isMainNanoTurret: true +warmup:30 + + + +[projectile_shell] +#shell +life: 150 +speed: 5 +drawType: 2 +frame: 1 +drawSize: 0.9 +hitSound: true +targetGround:true +targetGroundSpread: 30 +largeHitEffect: true +deflectionPower: 2 +areaDamage: 120 +areaRadius: 80 +lightColor: #ffe92b +lightSize: 0.6 + + +[projectile_flak] +#flak +life: 340 +speed: 20 +drawSize: 0.9 +trailEffect: true +largeHitEffect: true +frame: 0 +areaDamage: 60 +areaRadius: 120 +autoTargetingOnDeadTarget: true +lightColor: #ffff00 +lightSize: 0.4 + +[projectile_torpedo] +#torpedo +directDamage: 60 +life: 550 +speed: 0.15 +targetSpeed: 1.2 +largeHitEffect: true +drawSize: 1 +color: #1E1E96 +trailEffect: true + +deflectionPower: -1 + +[projectile_gunShot] +#gun +life: 150 +speed: 4 +largeHitEffect: true +frame: 4 +areaDamage: 50 +areaRadius: 45 +drawSize: 1 +lightColor: #ffc600 +lightSize: 0.6 + + +[movement] +movementType: WATER +moveSpeed: 1.5 +moveAccelerationSpeed: 0.02 +moveDecelerationSpeed: 0.05 + + +maxTurnSpeed: 2.5 +turnAcceleration: 0.05 + + diff --git a/code/magicdragon/甲龙/甲龙.ini b/code/magicdragon/甲龙/甲龙.ini new file mode 100644 index 0000000..1e4b22d --- /dev/null +++ b/code/magicdragon/甲龙/甲龙.ini @@ -0,0 +1,182 @@ + +[core] +name: 甲龙 +class: CustomUnitMetadata +#price: 2 +price: 2400 + +maxHp: 2000 +mass: 900 + +techLevel: 2 + +buildSpeed: 25s +#buildSpeed: 1 + +#availableInDemo: true + +radius: 25 +displayRadius: 25 + +fogOfWarSightRange:15 + +isBio: false +softCollisionOnAll: 3 + +#nanoFactorySpeed:2.5 + +selfRegenRate:0.06 + +displayText:Mechanical Dragon +displayDescription: Full armed, causing considerable harm,Have reliable self-healing ability, and can only attack the land,Can be AOE Damage.\n- [Main-Attack:Land] + +displayText_zh:机械甲龙 +displayDescription_zh:全副武装,造成可观的伤害,拥有可靠的自我修复能力,只能对地,造成范围伤害。\n-[主战类型:陆军] + +autoRepair: true + + + +[graphics] + +total_frames: 1 + +image: ROOT:/assets/magicdragonimg/sheiledragon/甲龙.png +image_wreak: None +image_turret: ROOT:/assets/magicdragonimg/sheiledragon/甲龙的炮.png +scaleImagesTo: 50 +scaleTurretImagesTo: 25 + +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + +[attack] +canAttack: true +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true + +turretSize: 20 +turretTurnSpeed: 2 +maxAttackRange: 250 +shootDelay: 2.5s + + + +[turret_1] +#left missile pod +x: 10 +y: -10 +attachedTo: 3 +slave: true +invisible: true +shoot_sound:large_gun_fire2 +shoot_sound_vol:0.3 +shoot_flame:small +shoot_light:#FFEECCCC + +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 1 + + +size:25 + +turnSpeedAcceleration: 0.08 +turnSpeed: 2 + + +recoilOffset: -3 +recoilOutTime: 6 +recoilReturnTime: 7 + +[turret_2] +#right missile pod +x: -10 +y: -10 +invisible: true +copyFrom: 1 +linkDelayWithTurret:1 +warmup: 15 + +[turret_3] +#main turret +x: 0 +y: 10 +canShoot: false + +shouldResetTurret: true + +idleSpin: 0 + +recoilOffset: -3 +recoilOutTime: 5 +recoilReturnTime: 7 + + + +[projectile_1] +#main turret projectile +directDamage: 35 +life: 240 +speed: 0.3 +targetSpeed: 5 +trailEffect: true +largeHitEffect: true +frame: 4 +areaDamage: 95 +areaRadius: 45 + + +[leg_1] +x: 13 +y: -6 +attach_x: 0 +attach_y: 0 +moveSpeed: 2.1 +resetAngle:20 + +image_foot: ROOT:/assets/magicdragonimg/sheiledragon/甲龙的脚.png + +[leg_2] +x: 13 +y: 18 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[leg_3] +x: -13 +y: 18 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[leg_4] +x: -13 +y: -6 +attach_x: 0 +attach_y: 0 +copyFrom: 1 + +[movement] +movementType: OVER_CLIFF_WATER +moveSpeed: 0.7 +moveAccelerationSpeed: 0.05 +moveDecelerationSpeed: 0.05 + +targetHeight: 2 +targetHeightDrift: 0 + + +maxTurnSpeed: 0.5 +turnAcceleration: 0.2 + +moveSlidingMode :false +moveIgnoringBody:false +moveSlidingDir: 45 + + +slowDeathFall: true \ No newline at end of file diff --git a/code/magicdragon/离子聚合炮坦克/离子坦克.ini b/code/magicdragon/离子聚合炮坦克/离子坦克.ini new file mode 100644 index 0000000..f8c8881 --- /dev/null +++ b/code/magicdragon/离子聚合炮坦克/离子坦克.ini @@ -0,0 +1,113 @@ + +[core] +name: 离子坦克 +class: CustomUnitMetadata +price: 4800 +maxHp: 2800 +mass: 4000 +armour:30 +techLevel: 2 + +fogOfWarSightRange: 20 + +buildSpeed: 30s +availableInDemo: false + +radius: 30 +displayRadius: 30 +isBio: false + +displayText:Plasma-EMP-Tank +displayDescription:Fully armed,immune to partial low damage, slow movement speed. \n-[except for laser weapons]\n-Launches an ion shell every 3 seconds to cause large-scale AOE damage, air vs land. + +displayText_zh:离子聚合炮坦克 +displayDescription_zh:全副武装,免疫部分低额伤害,移速缓慢。\n-[激光武器除外]\n-每3秒发射一颗离子炮弹造成大规模AOE伤害,对空对地。 + + +[graphics] +total_frames: 1 + +image: ROOT:/assets/magicdragonimg/plasmatank/离子坦克.png +image_wreak: NONE +image_turret: ROOT:/assets/magicdragonimg/plasmatank/离子坦克的炮.png +# scaleImagesTo: 45 +# scaleTurretImagesTo: 35 + +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + + +dustEffect: true + +[attack] +canAttack: true +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: false + +turretSize: 30 + +maxAttackRange: 280 + +shootDelay: 3s + + +[turret_1] +#main turret +x: 0 +y: 2 +canShoot: false + +shouldResetTurret: true + +idleSpin: 0 +size:60 + +recoilOffset: -3 +recoilOutTime: 5 +recoilReturnTime: 7 + +[turret_2] +#left missile pod +x: 0 +y: 0 +attachedTo: 1 +slave: true +invisible: true +delay: 3s +shoot_sound:missile_fire +shoot_sound_vol:0.2 +shoot_flame:shockwave +shoot_light:#FFccCCEE +size:60 + +[projectile_1] +directDamage:50 +life: 9999 +speed: 0.3 +targetSpeed: 5 +trailEffect: true +largeHitEffect: true +#ballistic: true +#ballistic_delaymove_height:0 +#ballistic_height: 4 +frame: 20 +drawSize: 1 +areaDamage: 175 +areaRadius: 100 +image: ROOT:/assets/magicdragonimg/plasmatank/离子.png +autoTargetingOnDeadTarget: true + +[movement] +movementType: LAND +moveSpeed: 0.6 +moveAccelerationSpeed: 0.06 +moveDecelerationSpeed: 0.17 + + +maxTurnSpeed: 2.1 +turnAcceleration: 0.5 + +moveSlidingMode :false +moveIgnoringBody:false \ No newline at end of file diff --git a/code/magicdragon/红宝石战机/红霞.ini b/code/magicdragon/红宝石战机/红霞.ini new file mode 100644 index 0000000..1842824 --- /dev/null +++ b/code/magicdragon/红宝石战机/红霞.ini @@ -0,0 +1,189 @@ + +[core] +name: 红霞 +class: CustomUnitMetadata +price: 4200 +maxHp: 2600 +mass: 7400 + +techLevel: 2 +buildSpeed: 30s + +availableInDemo: false + +radius: 30 +displayRadius: 30 +isBio: false +#softCollisionOnAll: 3 +softCollisionOnAll: 24 + + +selfRegenRate:0.02 + +displayText: Red-Died-War-Air +displayDescription: -The outstanding air force unit of the magic dragon empire \n- can cause considerable harm, pair, to the sky, and dive.\n- [Main Warfare Type: Sea and Sky - Deep Sea] + + +displayText_zh: 红霞战机 +displayDescription_zh: -魔龙帝国的杰出空军单位\n-能通过灼烧造成可观的伤害,对地,对空,对潜。\n-[主战类型:海陆空-深海] + +energyMax: 6 +energyRegen: 0.008 + + +[graphics] +total_frames: 2 + +image: ROOT:/assets/magicdragonimg/redgemfight/新年号飞艇.png +image_wreak: ROOT:/assets/magicdragonimg/redgemfight/新年号飞艇_dead.png +image_turret: NONE +#scaleImagesTo: 20 +#scaleTurretImagesTo: 9 + +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + + +lock_body_rotation_with_main_turret: true + +animation_moving_start: 1 +animation_moving_end: 1 +animation_moving_speed: 20 + +[attack] +turretRotateWithBody: false + +canAttack: true +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true + +turretTurnSpeed: 4 +maxAttackRange: 320 +shootDelay: 50 + + +#isFixedFiring: true + + +[turret_1] +#missile +invisible: true +x: 30 +y: 0 +idleDir:0 + +shoot_sound:missile_fire +shoot_sound_vol:0.1 +shoot_light:#FFEECCCC + +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 1 + +energyUsage: 1 + + + +[turret_2] +#missile +invisible: true +x: -30 +y: 0 +idleDir:0 + +shoot_sound:missile_fire +shoot_sound_vol:0.1 +shoot_light:#FFEECCCC + +canAttackFlyingUnits: true +canAttackLandUnits: true +canAttackUnderwaterUnits: true +projectile: 1 + +energyUsage: 1 + + +turnSpeed: 3.9 +turnSpeedAcceleration: 0.2 + +[turret_3] +#missile +invisible: true +x: 0 +y: 30 +idleDir:0 + + +shoot_sound:missile_fire +shoot_sound_vol:0.1 +shoot_light:#ff0000 +#shoot_flame:small + +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: false +projectile: 2 + +delay: 25 + + +[projectile_1] +#missile +directDamage: 25 + +areaDamage: 75 +areaRadius: 80 + +life: 99999999 +speed: 2 +targetSpeed:8 +trailEffect: true +largeHitEffect: true + +#ballistic: true +#ballistic_delaymove_height:0 +#ballistic_height: 10 + +frame: 10 + +drawSize: 0.9 + +autoTargetingOnDeadTarget: false + +[projectile_2] +#missile +flameWeapon: true +areaDamage: 20 +areaRadius: 35 +drawSize: 1 +targetGround: true +targetGroundSpread: 40 +life: 99999 +speed: 2.6 +trailEffect: true +largeHitEffect: true +lightColor: #ff0000 +lightSize: 0.4 + +frame: 7 + +[movement] +movementType: AIR +moveSpeed: 0.9 +moveAccelerationSpeed: 0.03 +moveDecelerationSpeed: 0.03 + +landOnGround: false + +maxTurnSpeed: 3.6 +turnAcceleration: 0.2 + +moveSlidingMode :true +moveIgnoringBody:true +moveSlidingDir: 181 + + +slowDeathFall: true \ No newline at end of file diff --git a/code/magicdragon/钢铁天牛战机/钢铁天牛战机.ini b/code/magicdragon/钢铁天牛战机/钢铁天牛战机.ini new file mode 100644 index 0000000..8feab87 --- /dev/null +++ b/code/magicdragon/钢铁天牛战机/钢铁天牛战机.ini @@ -0,0 +1,252 @@ +[effect_光] +image:ROOT:/assets/magicdragonimg/ironskycow/.光爆.png +scaleFrom:1 +scaleTo:1 +life:30 +fadeOut:true + +[effect_鱼雷爆炸] +life:60 +animateFrameStart:0 +alwayStartDirAtZero:true +animateFrameEnd:21 +animateFrameSpeed:0.5 +dirOffset:90 +priority:critical +fadeOut:false +fadeInTime:0 +attachedToUnit:true +scaleFrom:0.7 +scaleTo:0.7 +total_frames:22 +alpha:1 +image:ROOT:/assets/magicdragonimg/ironskycow/.鱼雷爆炸.png + +[turret_鱼雷] +x:-30 +y:-40 +delay:4s +warmup:60 +projectile:鱼雷 + +[turret_鱼雷2] +x:30 +y:-40 +copyFrom:鱼雷 + + +[projectile_鱼雷] +explodeEffect:CUSTOM:鱼雷爆炸 +areaDamage:100 +areaRadius:60 +armourIgnoreAmount:500 +areaHitAirAndLandAtSameTime:true +speed:1 +turnSpeed:0 +deflectionPower:-1 +autoTargetingOnDeadTarget:true +targetSpeed:19 +targetSpeedAcceleration:0.05 +trailEffect:true +trailEffectRate:1 +lightCastOnGround:true +life:30 +spawnProjectilesOnEndOfLife:鱼雷2 +initialUnguidedSpeedY:1 +image:ROOT:/assets/magicdragonimg/ironskycow/导弹.png +drawSize:0.7 +drawUnderUnits:true + + +[projectile_鱼雷2] +drawUnderUnits:true +drawSize:0.7 +areaDamage:100 +areaRadius:60 +explodeEffect:CUSTOM:鱼雷爆炸 +armourIgnoreAmount:500 +areaHitAirAndLandAtSameTime:true +speed:0 +autoTargetingOnDeadTarget:true +autoTargetingOnDeadTargetRange:500 +deflectionPower:-1 +targetSpeed:28 +image:ROOT:/assets/magicdragonimg/ironskycow/导弹.png +targetSpeedAcceleration:0.06 +trailEffect:true +trailEffectRate:1 +lightCastOnGround:true +life:360 + +[turret_机射] +x:-40 +y:-40 +delay:12s +projectile:机射 + +[turret_机射2] +x:40 +y:-40 +copyFrom:机射 +projectile:机射2 + +[projectile_机射] +areaDamage:240 +areaRadius:240 +#nukeWeapon:true +largeHitEffect:true +areaHitAirAndLandAtSameTime:true +speed:-3 +image:ROOT:/assets/magicdragonimg/ironskycow/导弹.png +deflectionPower:-1 +targetSpeed:19 +targetSpeedAcceleration:0.05 +trailEffect:true +trailEffectRate:1 +lightCastOnGround:true +life:360 +initialUnguidedSpeedHeight:10 +gravity:9 +initialUnguidedSpeedX:-2 +autoTargetingOnDeadTarget:true +initialUnguidedSpeedY:-2 +drawSize:0.7 + +[projectile_机射2] +drawSize:0.7 +areaDamage:240 +areaRadius:120 +#nukeWeapon:true +image:ROOT:/assets/magicdragonimg/ironskycow/导弹.png +autoTargetingOnDeadTarget:true +largeHitEffect:true +areaHitAirAndLandAtSameTime:true +speed:-3 +deflectionPower:-1 +targetSpeed:19 +targetSpeedAcceleration:0.05 +trailEffect:true +trailEffectRate:1 +lightCastOnGround:true +life:360 +initialUnguidedSpeedHeight:10 +gravity:9 +initialUnguidedSpeedX:-2 +initialUnguidedSpeedY:2 + +[turret_机炮] +x:0 +y:0 +delay:0.5s + +warmup:120 +warmupCallDownRate:1 + +warmupNoReset:true +warmupShootDelayTransfer:40 +projectile:机炮 +aimOffsetSpread:0 +shoot_sound:ROOT:/sound/机炮.ogg + +[projectile_机炮] +directDamage:15 +speed:17 +life:60 +image:ROOT:/assets/magicdragonimg/ironskycow/机射.png +drawSize:0.7 +drawUnderUnits:true +armourIgnoreAmount:60 + +[core] +energyMax:1 +energyRegen:0.001 +energyNeedsToRechargeToFull:true +name:钢铁天牛 +class:CustomUnitMetadata +price:13000 +maxHp:5000 + +displayText:Iron Sky Bull Fighter +displayDescription:Advanced warplanes of T2 era produced by the high quality genes of the Iron Sky Bull combined with the high technology of the Magic Dragon.\n-use Red laser to air vs land,periodically launch high explosive bombs, causing range of damage to the enemy. + +displayText_zh:钢铁天牛战机 +displayDescription_zh:天牛的优质基因结合魔龙帝国的高新技术制作的T2时代的高级战机。\n-使用红色激光对空对地,周期性发射高爆弹,对敌人造成范围伤害。 + +armour:25 +mass:10000 +techLevel:2 +buildSpeed:55s +availableInDemo:true +radius:55 +isBio:false +numBitsOnDeath:24 +explodeOnDeath:false +fogOfWarSightRange:20 + +[graphics] +total_frames:1 +image:ROOT:/assets/magicdragonimg/ironskycow/钢铁天牛.png +image_shadow:AUTO +lock_body_rotation_with_main_turret:true + +[attack] +canAttack:true +canAttackFlyingUnits:true +canAttackLandUnits:true +aimOffsetSpread:0 +canAttackUnderwaterUnits:false +turretSize:0 +maxAttackRange:320 +shootDelay:2s +isFixedFiring:true +turretMultiTargeting:true + +[turret_主炮左] +x:-25 +y:0 +projectile:幻影光束 +size:42 +aimOffsetSpread:0 +delay:0.05s +turnSpeedAcceleration:1 +turnSpeed:2 + +[turret_主炮右] +copyFrom:主炮左 +x:25 +y:0 + +[projectile_幻影光束] +areaDamage:12 +areaRadius:40 +areaDamageNoFalloff:true +life:6 +flameWeapon:false +armourIgnoreAmount:60 +instant:true +instantReuseLast:true +buildingDamageMultiplier:0.35 +explodeEffect:CUSTOM:光 +deflectionPower:-1 +shieldDefectionMultiplier:0.8 +shieldDamageMultiplier:1.8 +instantReuseLast_alsoChangeTurretAim:true +moveWithParent:true +beamImage:SHARED:beam1.png +beamImageEnd:SHARED:beam1_end.png +beamImageStart:SHARED:beam1_start.png +beamImageOffsetRate:0 +sweepOffsetFromTargetRadius:0 +areaHitAirAndLandAtSameTime:true +color:#BB0000 + +[movement] +movementType:AIR +targetHeightDrift:0 +reverseSpeedPercentage:0 +moveSpeed:0.7 +moveAccelerationSpeed:0.03 +moveDecelerationSpeed:0.005 +#body_rotation_with_main_turret means this is not used +maxTurnSpeed:0.8 +turnAcceleration:0.02 \ No newline at end of file diff --git a/code/magicdragon/魔果海军基地/海军基地.ini b/code/magicdragon/魔果海军基地/海军基地.ini index 762331a..acd8ce7 100644 --- a/code/magicdragon/魔果海军基地/海军基地.ini +++ b/code/magicdragon/魔果海军基地/海军基地.ini @@ -91,3 +91,12 @@ noneInBaseExtraPriority: 0.04 noneGlobalExtraPriority: 0.1 maxGlobal: 1 + +[action_Help] +price:2700 +text:Upgrade +text_zh:升级 +description:Unlock more advanced T2 units. +description_zh:解锁更加高级的T2单位。 +buildSpeed:30s +convertTo:MSC diff --git a/code/magicdragon/魔果海军基地/海军基地T2.ini b/code/magicdragon/魔果海军基地/海军基地T2.ini new file mode 100644 index 0000000..d6ee3e9 --- /dev/null +++ b/code/magicdragon/魔果海军基地/海军基地T2.ini @@ -0,0 +1,93 @@ + +[core] +name: MSC +class: CustomUnitMetadata +price: 2000 +maxHp: 1500 +mass: 9000 + +displayText: MagicDragon Sea Factory-T2 +displayDescription: -Production MagicDragon Sea T2 unit + +displayText_zh: 魔龙海上基地-T2 +displayDescription_zh: -生产魔龙海军T2单位 + +#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,-2,2,2 + +techLevel: 2 +buildSpeed: 0.001 +#availableInDemo: true + +radius: 25 +#displayRadius: 25 +isBio: false +isBuilding: true + +exit_x:0 +exit_y:50 +exit_moveAwayAmount:50 + +[canBuild_Set] +name:setRally +pos:-1 + +[canBuild_Build] +name:小海虫,枪艇,玄心号,机械蓝鲸,机械鲨鱼潜艇 +pos:1 + + +[graphics] +total_frames: 2 + +image:ROOT:/assets/magicdragonimg/seafactory/码头.png +image_back: NONE +image_turret: NONE + +scaleImagesTo: 90 +#scaleTurretImagesTo: 9 + +#AUTO +image_shadow: NONE +shadowOffsetX:1 +shadowOffsetY:1 + +animation_idle_start: 0 +animation_idle_end: 1 +animation_idle_speed: 9 + +[attack] +canAttack: false +canAttackFlyingUnits: false +canAttackLandUnits: false +canAttackUnderwaterUnits: false +maxAttackRange: 0 + +[movement] +movementType: WATER +moveSpeed: 1.2 +moveAccelerationSpeed: 0.03 +moveDecelerationSpeed: 0.08 + + +targetHeight: 4 +targetHeightDrift: 1.5 + +maxTurnSpeed: 3.7 +turnAcceleration: 0.05 + +moveSlidingMode :true +moveIgnoringBody:true +moveSlidingDir: 181 + +[ai] + +buildPriority: 0.23 + +noneInBaseExtraPriority: 0.04 +noneGlobalExtraPriority: 0.1 + +maxGlobal: 1 diff --git a/code/magicdragon/魔果空军基地/空军基地.ini b/code/magicdragon/魔果空军基地/空军基地.ini index 89b0abf..8fc377d 100644 --- a/code/magicdragon/魔果空军基地/空军基地.ini +++ b/code/magicdragon/魔果空军基地/空军基地.ini @@ -86,4 +86,13 @@ buildPriority: 0.23 noneInBaseExtraPriority: 0.04 noneGlobalExtraPriority: 0.1 -maxGlobal: 1 \ No newline at end of file +maxGlobal: 1 + +[action_Help] +price:3000 +text:Upgrade +text_zh:升级 +description:Unlock more advanced T2 units. +description_zh:解锁更加高级的T2单位。 +buildSpeed:35s +convertTo:MAC \ No newline at end of file diff --git a/code/magicdragon/魔果空军基地/空军基地T2.ini b/code/magicdragon/魔果空军基地/空军基地T2.ini new file mode 100644 index 0000000..ba87505 --- /dev/null +++ b/code/magicdragon/魔果空军基地/空军基地T2.ini @@ -0,0 +1,89 @@ + +[core] +name: MAC +class: CustomUnitMetadata +price: 1000 +maxHp: 1400 +mass: 9000 + +displayText: Magic Dragon-Air Base-T2 +displayDescription: -Production Air T2 Army Unit [Magic Dragon] + +displayText_zh:魔龙空军基地-T2 +displayDescription_zh: -生产T2空军单位[魔龙] + +#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,1 + +techLevel: 1 +buildSpeed: 0.001 +#availableInDemo: true + +radius: 25 +#displayRadius: 25 +isBio: false +isBuilding: true + +exit_x:0 +exit_y:-1 +exit_moveAwayAmount:120 + +[canBuild_Set] +name:setRally +pos:-1 + +[canBuild_Build] +name:小飞飞,SJZ,钢铁天牛,红霞,核子战机,火龙堡垒,梅蒂恩 +pos:1 + + +[graphics] +total_frames: 1 + +image:ROOT:/assets/magicdragonimg/airfactory/空军基地T2.png +image_back: NONE +image_turret: NONE + +scaleImagesTo: 50 +#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: 1.2 +moveAccelerationSpeed: 0.03 +moveDecelerationSpeed: 0.08 + + +targetHeight: 4 +targetHeightDrift: 1.5 + +maxTurnSpeed: 3.7 +turnAcceleration: 0.05 + +moveSlidingMode :true +moveIgnoringBody:true +moveSlidingDir: 181 + +[ai] + +buildPriority: 0.23 + +noneInBaseExtraPriority: 0.04 +noneGlobalExtraPriority: 0.1 + +maxGlobal: 1 \ No newline at end of file diff --git a/code/magicdragon/魔果资金收集器/绿赫反应列阵.ini b/code/magicdragon/魔果资金收集器/绿赫反应列阵.ini index 9cca992..aa9808c 100644 --- a/code/magicdragon/魔果资金收集器/绿赫反应列阵.ini +++ b/code/magicdragon/魔果资金收集器/绿赫反应列阵.ini @@ -1,12 +1,12 @@ -#[action_升级] -#price:7500 -#text:Upgrade -#text_zh:升级 -#description:Upgrade the core to level 2\n-get more funds\n-more health\n-upgrade time: 25s -#description_zh:将核心升级到2级\n-获得更多的资金\n-更多的血量\n-升级时间:35s -#allowMultipleInQueue:false -#buildSpeed:35s -#convertTo:GRC2 +[action_升级] +price:3000 +text:Upgrade +text_zh:升级 +description:Upgrade the core to level 2\n-get more funds\n-more health\n-upgrade time: 25s +description_zh:将核心升级到2级\n-获得更多的资金\n-更多的血量 +allowMultipleInQueue:false +buildSpeed:16s +convertTo:GRCT2 [core] name: GRC @@ -16,7 +16,7 @@ price: 800 maxHp: 750 mass: 600 placeOnlyOnResPool: true - +tags:Green constructionFootprint:-1,-1,1,1 displayText: GreenReactionArray diff --git a/code/magicdragon/魔果资金收集器/绿赫反应列阵T2.ini b/code/magicdragon/魔果资金收集器/绿赫反应列阵T2.ini new file mode 100644 index 0000000..6e13355 --- /dev/null +++ b/code/magicdragon/魔果资金收集器/绿赫反应列阵T2.ini @@ -0,0 +1,150 @@ +[action_升级] +convertTo:NONE + +[core] +name: GRCT2 +class: CustomUnitMetadata +#Mod:StarRiver +price: 800 +maxHp: 950 +mass: 600 +placeOnlyOnResPool: true +copyFrom:绿赫反应列阵.ini +constructionFootprint:-1,-1,1,1 + +displayText: GreenReactionArray-T2 +displayDescription: -An elusive resource-generating device, rumored to be an overseer of the dragon leader here. \n-It seems that there may be a bigger secret behind the simulated battle. + +displayText_zh: 绿赫反应阵-T2 +displayDescription_zh: -令人难以捉摸的资源产生装置,传言是魔龙首领在这里的一个监视者。\n-看来,模拟战的背后,或许有更大的秘密。 + +generation_credits: 20 +generation_delay: 40 + +techLevel: 2 +buildSpeed: 15s +#availableInDemo: true + +radius: 30 +#displayRadius: 25 +isBio: false +isBuilding: true +selfBuildRate:0.002 + + +softCollisionOnAll: 10 + +[graphics] +#frame_width:50 + +image: ROOT:/assets/magicdragonimg/green/GRC.png +image_wreak: NONE + +scaleImagesTo: 55 +#scaleTurretImagesTo: 9 + +#AUTO +image_shadow: NONE +shadowOffsetX:4 +shadowOffsetY:4 + +#animation_idle_start: 0 +#animation_idle_end: 2 +#animation_idle_speed: 20 + + +[attack] +canAttack: false +canAttackFlyingUnits: false +canAttackLandUnits: false +canAttackUnderwaterUnits: false + +turretSize: 20 +turretTurnSpeed: 3 + + +maxAttackRange: 0 +shootDelay: 80 + +[projectile_1] +directDamage: 80 +life: 70 +speed: 5 + + +[movement] +movementType: BUILDING +moveSpeed: 0 +moveAccelerationSpeed: 0.01 +moveDecelerationSpeed: 0.01 + +maxTurnSpeed: 0 +turnAcceleration: 0.1 + +[effect_HiFiMan] +createWhenZoomedOut: false +stripIndex: effects +frameIndex: 0 + +life:420 +fadeOut: true +attachedToUnit: false +color: #ffff00 +fadeInTime: 15 +scaleFrom: 0.65 +scaleTo: 4 +alpha: 0.3 +drawUnderUnits:false +hSpeed:0.6 +xSpeedAbsolute: -0.2 +hOffsetRandom:0.15 +yOffsetRelative: -2 +atmospheric:true + +dirOffsetRandom:180 + +shadow:true +xOffsetRelativeRandom: 1 +yOffsetRelativeRandom: 1 +xSpeedAbsoluteRandom:0.05 +ySpeedAbsoluteRandom:0.1 + +[action_M5s] +autoTrigger: true +isVisible: false +fireTurretXAtGround:Sony +fireTurretXAtGround_withOffset:0,50 + +[turret_Sony] + +x: 0 +y:0 + +canShoot: false +warmup: 25 +size:0 + +projectile:Sony +turnSpeedAcceleration: 1.0 + +[projectile_Sony] +life: 60 +speed: 0.1 +targetGround: true +directDamage: 0 +image: ROOT:/assets/magicdragonimg/green/null.png +drawSize:0.1 +deflectionPower:-1 +shouldRevealFog:true + +trailEffect: CUSTOM:HiFiMan +trailEffectRate: 12 + +[ai] + +buildPriority: 0.43 + +noneInBaseExtraPriority: 0.04 +noneGlobalExtraPriority: 0.1 + +maxGlobal: 3 \ No newline at end of file diff --git a/code/magicdragon/魔果陆军工厂/陆军基地.ini b/code/magicdragon/魔果陆军工厂/陆军基地.ini index 5364c47..ba69c55 100644 --- a/code/magicdragon/魔果陆军工厂/陆军基地.ini +++ b/code/magicdragon/魔果陆军工厂/陆军基地.ini @@ -23,7 +23,7 @@ arm1_0: {x:0, y:24} name:MagicDragonLand class: CustomUnitMetadata price: 600 -maxHp: 300 +maxHp: 800 mass: 9000 footprint: -1,-1,1,1 @@ -106,4 +106,13 @@ buildPriority: 0.23 noneInBaseExtraPriority: 0.04 noneGlobalExtraPriority: 0.1 -maxGlobal: 1 \ No newline at end of file +maxGlobal: 1 + +[action_Help] +price:1800 +text:Upgrade +text_zh:升级 +description:Unlock more advanced T2 units,Obtain more credits bonus. +description_zh:解锁更加高级的T2单位,获得更多的资金加成。 +buildSpeed:35s +convertTo:MLB2 \ No newline at end of file diff --git a/code/magicdragon/魔果陆军工厂/陆军工厂T2.ini b/code/magicdragon/魔果陆军工厂/陆军工厂T2.ini new file mode 100644 index 0000000..08cbc10 --- /dev/null +++ b/code/magicdragon/魔果陆军工厂/陆军工厂T2.ini @@ -0,0 +1,69 @@ + +[arm_2] +x:0 +y:0 +image_end:ROOT:/assets/magicdragonimg/landfactory/魔果工厂背景S.png +drawOverBody:true +image_end_teamColors:true + +[core] +name:MLB2 +class: CustomUnitMetadata +price: 1000 +maxHp: 1400 +mass: 9000 +copyFrom:陆军基地.ini +footprint: -1,-1,1,1 + +#used for placement, and placement of other buildings +constructionFootprint: -1,-1,1,2 + + +techLevel: 2 +buildSpeed: 0.002 +#availableInDemo: true + +generation_credits: 5 +generation_delay: 30 + +radius: 35 +#displayRadius: 25 +isBio:false +isBuilding: true + +selfBuildRate:0.002 + +displayText: MagicDragon-LandBase-T2 +displayText_zh: 魔龙陆军基地-T2 +displayDescription:The Army Unit for Production of the Dragon Empire.Have an extremely small amount of credits in make. +displayDescription_zh:用于生产魔龙帝国的陆军T2,T1单位。拥有极其少量的资金加成。 + +#canBuild_1_name:setRally,CGS,小果坦克,极光,堕落鳄鱼,小跑跑,钢铁机械狗 +#canBuild_1_pos: 1 + +[canBuild_1] +name:小果坦克,钢铁机械狗,小跑跑,伊甸,堕落鳄鱼,极光,离子坦克,甲龙,御澪,乌龟 +pos:1 + +[canBuild_Set] +name:setRally +pos:-1 + +[graphics] +total_frames: 1 + +image: ROOT:/assets/magicdragonimg/landfactory/魔果工厂T2.png +image_turret: NONE +image_wreak:ROOT:/assets/magicdragonimg/landfactory/Dead.png + +# +scaleImagesTo: 75 +#scaleTurretImagesTo: 40 + +#AUTO +image_shadow: AUTO +shadowOffsetX:1 +shadowOffsetY:1 + +[action_Help] +convertTo:NONE \ No newline at end of file diff --git a/code/oldsungod/卡洛尔重型战舰/卡洛尔重型战舰.ini b/code/oldsungod/卡洛尔重型战舰/卡洛尔重型战舰.ini index 0977d7d..7cf893e 100644 --- a/code/oldsungod/卡洛尔重型战舰/卡洛尔重型战舰.ini +++ b/code/oldsungod/卡洛尔重型战舰/卡洛尔重型战舰.ini @@ -5,7 +5,8 @@ price:10000 maxHp:4500 mass:1900 numBitsOnDeath:58 - +copyFrom:ROOT:/effect/water/index.template +#水波特效 displayText: Carroll heavy battleship displayDescription: -An outstanding representative of the Old Sun navy\n-Developed by Dr Demon Happy, it has four basic artillery, air-to-ground\n- comes with an anti-submarine module\n- and has a deadly electromagnetic gun, which has a large attack range scale AOE damage\n-Move slowly, have a shield, self-repair, and can produce a small robot anti-submarine module. @@ -32,6 +33,10 @@ shadowOffsetX:5 shadowOffsetY:5 scaleImagesTo: 65 #jscaleTurretImagesTo: 20 +splastEffect: true + +movementEffectRate: 12 +movementEffectReverse: CUSTOM:水波2,CUSTOM:水雾 [attack] canAttack:true diff --git a/code/oldsungod/红珊号/红珊号.ini b/code/oldsungod/红珊号/红珊号.ini index 27db8cf..fe1bf2d 100644 --- a/code/oldsungod/红珊号/红珊号.ini +++ b/code/oldsungod/红珊号/红珊号.ini @@ -4,6 +4,9 @@ mass: 12000 name: RedCoral +copyFrom:ROOT:/effect/water/index.template +#水波特效 + displayText: RedCoral displayText_zh:红珊号 displayDescription: -Equipped with two heavy firepower guns, two anti-aircraft guns, and a laser gun with small attack range but great power (which can break shields and armour) \n-RedCoral is the sea T2 strong sea unit of the old day. @@ -22,7 +25,7 @@ isBio: false #transportSlotsNeeded: # -radius: 45 +radius: 70 #displayRadius: 21 [graphics] @@ -38,6 +41,9 @@ shadowOffsetY: 5 scaleTurretImagesTo: 16 teamColorsOnTurret: true +movementEffect: CUSTOM:水波2, CUSTOM:水波1,CUSTOM:水雾 +movementEffectRate: 12 +movementEffectReverse: CUSTOM:水波2,CUSTOM:水雾 [attack] canAttack: true @@ -284,40 +290,12 @@ turnSpeed:6 spawnProjectilesOnEndOfLife: NONE [movement] - movementType: WATER +moveSpeed: 0.7 +moveAccelerationSpeed: 0.02 +moveDecelerationSpeed: 0.03 -moveSpeed: 0.5 -moveAccelerationSpeed: 0.023 -moveDecelerationSpeed: 0.16 - -reverseSpeedPercentage: 1 - -maxTurnSpeed: 1.2 -turnAcceleration: 0.039 - -moveSlidingMode: false -moveSlidingDir: 0 - - - - - - - - - - - - - - - - - - - - - - +reverseSpeedPercentage:1 +maxTurnSpeed: 1.5 +turnAcceleration: 0.05 \ No newline at end of file diff --git a/code/oldsungod/重型坦克-原型/SHTank.ini b/code/oldsungod/重型坦克-原型/SHTank.ini index e2fe4e7..2abaea4 100644 --- a/code/oldsungod/重型坦克-原型/SHTank.ini +++ b/code/oldsungod/重型坦克-原型/SHTank.ini @@ -134,7 +134,7 @@ recoilOutTime: 1 recoilReturnTime: 11 turnSpeed: 3 turnSpeedAcceleration: 0.5 -projectile: 2 +projectile: X [turret_5] #tiny turret @@ -174,7 +174,7 @@ recoilReturnTime: 10 size: 0 -delay: 1.5s +warmup: 4.5s [turret_7] #anti-air second attack @@ -185,7 +185,7 @@ attachedTo: 2 copyFrom: 6 linkDelayWithTurret: 6 -warmup: 1.5s +warmup: 4.5s [projectile_1] #projectile type 3 (HEAVY) @@ -195,43 +195,49 @@ speed: 8 targetGround: true largeHitEffect: true frame: 8 -drawSize: 1 areaDamage: 100 areaRadius: 50 -drawType: 3 - lightColor: #ffff00 lightSize: 0.4 -[projectile_2] +[projectile_X] #projectile type 1 (Bullet Pol) -directDamage: 20 -life: 240 -speed: 11 -frame: 7 -#drawType: 4 -autoTargetingOnDeadTarget: true +life: 60 +speed: 6 +targetGround: true +largeHitEffect: true +frame: 11 +directDamage: 40 +lightColor: #ffff00 +lightSize: 0.4 [projectile_3] #projectile type 23 (AIR) -directDamage: 23 -life: 160 -speed: 1 -targetSpeed: 5 - -drawSize: 1.8 -color: #f7ff1d - +directDamage: 20 +life: 60 +speed:-4 +targetSpeed:2 +frame: 4 trailEffect: true largeHitEffect: true - +areaDamage: 30 +areaRadius: 60 ballistic: true ballistic_delaymove_height:25 ballistic_height: 25 - +wobbleAmplitude: 2.4 +wobbleFrequency: 1s lightColor: #f7ff1d lightSize: 0.5 +spawnProjectilesOnEndOfLife:torpedoLocked(offsetDir=20),torpedoLocked(offsetDir=-20),torpedoLocked(offsetDir=60),torpedoLocked(offsetDir=-60) + +[projectile_torpedoLocked] +@copyFromSection: projectile_3 +life: 300 +turnSpeed:6 +spawnProjectilesOnEndOfLife: NONE + [movement] movementType: LAND moveSpeed: 0.62 diff --git a/code/public/16-enery/.16角能量弹.ini b/code/public/16-enery/.16角能量弹.ini new file mode 100644 index 0000000..e2562e6 --- /dev/null +++ b/code/public/16-enery/.16角能量弹.ini @@ -0,0 +1,58 @@ + + +[core] +name:16角能量弹 +displayDescription:ᐃ +maxHp:1200 +mass:12000 +price:0 +radius:0 +energyMax:3 +energyRegen:0.02 +showOnMinimap:false +canNotBeDirectlyAttacked:true +energyNeedsToRechargeToFull:true + +isBuilding:true +showInEditor:false +buildSpeed:12s + +[graphics] +image:箭塔.png +imageScale:0 + +[attack] +canAttack:false +canAttackFlyingUnits:true +canAttackLandUnits:true +canAttackUnderwaterUnits:false +maxAttackRange:800 +shootDelay:0.25s + +[projectile_导弹分裂后] +spawnProjectilesOnCreate:导弹分裂后(offsetDir=22.5,recursionLimit=16) +directDamage:10 +life:180 +speed:0.6 +targetSpeed:9 +targetSpeedAcceleration:0.12 +retargetingInFlight:true +retargetingInFlightSearchRange:15 +trailEffect:true +image:机射.png +turnSpeed:0 + + +[turret_解离] +energyUsage:1 +x:0 +y:0 +projectile:导弹分裂后 +[movement] +movementType:BUILDING + +[hiddenAction_1] +autoTriggerOnEvent:created +fireTurretXAtGround:解离 +fireTurretXAtGround_withOffset:1200,1200 +deleteSelf:true \ No newline at end of file diff --git a/code/public/16-enery/机射.png b/code/public/16-enery/机射.png new file mode 100644 index 0000000..e39dc25 Binary files /dev/null and b/code/public/16-enery/机射.png differ diff --git a/code/public/16-enery/箭塔.png b/code/public/16-enery/箭塔.png new file mode 100644 index 0000000..a2ab2eb Binary files /dev/null and b/code/public/16-enery/箭塔.png differ diff --git a/code/public/aiplus-system/AI系统.ini b/code/public/aiplus-system/AI系统.ini index 0376bf2..04286b8 100644 --- a/code/public/aiplus-system/AI系统.ini +++ b/code/public/aiplus-system/AI系统.ini @@ -40,11 +40,12 @@ deflectionPower:-1 lightColor: #FFEEEE00 lightSize: 1 +#暂时 [hiddenAction_AI的游戏开始妖姬] autoTrigger:if self.resource.Res==2 and self.isControlledByAI() fireTurretXAtGround:SkyBlue fireTurretXAtGround_withOffset: 0,0 -fireTurretXAtGround_withProjectile:SY +fireTurretXAtGround_withProjectile:OD fireTurretXAtGround_count:1 addResources:hp=-999999999 diff --git a/code/public/eternaldream/.核芯/.核芯.ini b/code/public/eternaldream/.核芯/.核芯.ini index 14e4d0f..85f10cf 100644 --- a/code/public/eternaldream/.核芯/.核芯.ini +++ b/code/public/eternaldream/.核芯/.核芯.ini @@ -277,6 +277,7 @@ canPlayerCancel:false highPriorityQueue:true showMessageToAllPlayers_zh:WARNING:永眠的争端,不灭的理想。妖姬帝国,从未屈服。【属于:%{self.playerName}】 showMessageToAllPlayers:WARNING: The dispute of eternal sleep, the eternal ideal. The Fairy Ji Storm has never yielded. [Belongs to:%{self.playerName}] +isLocked:true [action_魔龙阵营] temporarilyAddTags:已开火过 addActionCooldownTime:60s @@ -340,7 +341,8 @@ alsoQueueAction:旧日阵营 [hiddenAction_妖姬] autoTrigger:if self.resource.Res==2 and self.isControlledByAI() -alsoQueueAction:妖姬阵营 +alsoQueueAction:旧日阵营 +#暂时 # [hiddenAction_智虫] # autoTrigger:if self.resource.Res==3 and self.isControlledByAI() diff --git a/code/public/extractor/extractor.ini b/code/public/extractor/extractor.ini index fb49509..ea4d916 100644 --- a/code/public/extractor/extractor.ini +++ b/code/public/extractor/extractor.ini @@ -24,7 +24,6 @@ displayType: upgrade buildSpeed: 0.0006 iconExtraImage: SHARED:icon_upgrade_top.png iconExtraColor: #AAFFFFFF -isLocked:true [animation_idle] onActions : idle diff --git a/code/public/fabricator/fabricatorT1.ini b/code/public/fabricator/fabricatorT1.ini index ac48894..32b9a13 100644 --- a/code/public/fabricator/fabricatorT1.ini +++ b/code/public/fabricator/fabricatorT1.ini @@ -35,7 +35,6 @@ text: i:gui.actions.upgradeT2 description: i:units.fabricator.upgrade.description #text: i:units.fabricator.upgrade.name -isLocked:true displayType: upgrade buildSpeed: 65.6s diff --git a/code/public/turrets/ammo.png b/code/public/turrets/ammo.png new file mode 100644 index 0000000..98442bd Binary files /dev/null and b/code/public/turrets/ammo.png differ diff --git a/code/public/turrets/barrel_fat.png b/code/public/turrets/barrel_fat.png new file mode 100644 index 0000000..cd860e8 Binary files /dev/null and b/code/public/turrets/barrel_fat.png differ diff --git a/code/public/turrets/barrel_huge1.png b/code/public/turrets/barrel_huge1.png new file mode 100644 index 0000000..bed5a3e Binary files /dev/null and b/code/public/turrets/barrel_huge1.png differ diff --git a/code/public/turrets/barrel_huge2.png b/code/public/turrets/barrel_huge2.png new file mode 100644 index 0000000..b144bd3 Binary files /dev/null and b/code/public/turrets/barrel_huge2.png differ diff --git a/code/public/turrets/barrel_huge3.png b/code/public/turrets/barrel_huge3.png new file mode 100644 index 0000000..9d46cd2 Binary files /dev/null and b/code/public/turrets/barrel_huge3.png differ diff --git a/code/public/turrets/flamethrowerturret2.ini b/code/public/turrets/flamethrowerturret2.ini new file mode 100644 index 0000000..cf35c02 --- /dev/null +++ b/code/public/turrets/flamethrowerturret2.ini @@ -0,0 +1,112 @@ + +[core] +class: CustomUnitMetadata +mass: 9000 +overrideAndReplace: turret_flamethrower + +name: flameTurretT3 +displayText: Hell Flamethrower +displayDescription: -Medium range, Area Of attack.\n -Two barrels. +displayText_zh: 地狱火焰塔 +displayDescription_zh:-持续造成短距离的范围伤害 + +maxHp: 3000 + +#footprint used for collisions with units (left, up, right, down) +footprint: 0,0,1,1 +#used for placement, and placement of other buildings +constructionFootprint:0,0,1,1 + +buildingToFootprintOffsetX:20 +buildingToFootprintOffsetY:20 + +builtFrom_1_name: overlord +#builtFrom_1_pos: 0 +techLevel: 1 +price: 30000 +buildSpeed: 32s +#availableInDemo: true + +radius: 16 +#displayRadius: 25 +buildingSelectionOffset: -8 +isBuilding: true +isBio: false + +[graphics] +total_frames: 1 +image:turret_base.png +image_wreak:turret_base_dead.png +image_turret: turret_flamethrower_2.png +image_shadow: NONE +shadowOffsetX:1 +shadowOffsetY:1 + +[attack] +canAttack: true +canAttackFlyingUnits: false +canAttackLandUnits: true +canAttackUnderwaterUnits: false +turretSize: 12 +turretTurnSpeed: 6 +maxAttackRange: 180 +shootDelay: 0.07s + +[turret_1] +x: 0 +y: 6 +canShoot: false +shouldResetTurret: false +turnSpeed: 6 +turnSpeedAcceleration: 0.08 + +[turret_2] +x: 5 +y: 0 +#shoot_sound:firing3 +#shoot_sound_vol:0.4 +shoot_flame:NONE +shoot_light:#FFEECCCC +size: 20 +attachedTo: 1 +slave: true +invisible: true + +[turret_3] +x: -5 +y: 0 +copyFrom: 2 +attachedTo: 1 +slave: true +invisible: true + +[projectile_1] +life: 7000 +speed: 3 +targetSpeedAcceleration: 0.1 +speedSpread: 1 +frame: 3 +drawSize: 0.9 +flameWeapon: true +hitSound: false +targetGround:true +targetGroundSpread: 25 +deflectionPower: -1 +lightColor: #AAffb237 +lightSize: 0.5 +areaDamage: 20 +areaRadius: 80 + +[movement] +movementType: NONE +moveSpeed: 0 +moveAccelerationSpeed: 0.01 +moveDecelerationSpeed: 0.01 +maxTurnSpeed: 0 +turnAcceleration: 0.1 + +[ai] +buildPriority: 0.22 +noneInBaseExtraPriority: 0.17 +maxEachBase: 3 + diff --git a/code/public/turrets/sparkY.png b/code/public/turrets/sparkY.png new file mode 100644 index 0000000..730b02f Binary files /dev/null and b/code/public/turrets/sparkY.png differ diff --git a/code/public/turrets/turret_fat.png b/code/public/turrets/turret_fat.png new file mode 100644 index 0000000..9f300b7 Binary files /dev/null and b/code/public/turrets/turret_fat.png differ diff --git a/code/public/turrets/turret_flamethrower_2.png b/code/public/turrets/turret_flamethrower_2.png new file mode 100644 index 0000000..92bd7d8 Binary files /dev/null and b/code/public/turrets/turret_flamethrower_2.png differ diff --git a/code/public/turrets/turret_t1.ini b/code/public/turrets/turret_t1.ini index 224fc58..faa1533 100644 --- a/code/public/turrets/turret_t1.ini +++ b/code/public/turrets/turret_t1.ini @@ -14,7 +14,7 @@ buildSpeed: 0.0008 [action_upgrade_gun] -convertTo: c_turret_t2_gun +convertTo: c_turret_t2_gunX price: 1000 text: i:gui.actions.upgradeToGunT2 description: -Increases HP, attack damage, and range @@ -27,7 +27,7 @@ iconExtraImage: SHARED:icon_upgrade_top.png iconExtraColor: #AAFFFFFF [action_upgrade_artillery] -convertTo: c_turret_t1_artillery +convertTo: c_turret_t1_artilleryX price: 1600 text: i:gui.actions.upgradeToArtillery description: -Large increase in range @@ -40,7 +40,7 @@ iconExtraImage: SHARED:icon_upgrade_top.png iconExtraColor: #AAFFFFFF [action_upgrade_flame] -convertTo: c_turret_t2_flame +convertTo: c_turret_t2_flameX price: 700 text: i:gui.actions.upgradeToFlamethrower description: -Short range area affect\n-Adds self-repair @@ -53,7 +53,7 @@ iconExtraImage: SHARED:icon_upgrade_top.png iconExtraColor: #AAFFFFFF [action_upgrade_lightning] -convertTo: c_turret_t1_lightning +convertTo: c_turret_t1_lightningX price: 2200 text: i:gui.actions.upgradeToLightning description: i:units.turret_lightning.description diff --git a/code/public/turrets/turret_t2_flame.ini b/code/public/turrets/turret_t2_flame.ini index e64497a..e0a7e90 100644 --- a/code/public/turrets/turret_t2_flame.ini +++ b/code/public/turrets/turret_t2_flame.ini @@ -17,20 +17,27 @@ buildSpeed: 0.0008 [graphics] total_frames: 1 - image: turret_base2.png image_wreak: turret_base_dead.png image_turret: turret_top_flame.png - #scaleImagesTo: 20 #scaleTurretImagesTo: 9 - #AUTO image_shadow: NONE shadowOffsetX:1 shadowOffsetY:1 - +[action_upgrade_artilleryT2] +convertTo: flameTurretT3 +price: 3000 +text: Upgrade +text_zh: 升级 +description: Greater range damage,slightly increase the attack range. +description_zh: 更大的范围伤害,稍微追加一点攻击范围。 +displayType: Upgrade +buildSpeed: 30s +iconExtraImage: SHARED:icon_upgrade_top.png +iconExtraColor: #AAFFFFFF [attack] canAttack: true diff --git a/effect/water/bubbles.png b/effect/water/bubbles.png new file mode 100644 index 0000000..b193b65 Binary files /dev/null and b/effect/water/bubbles.png differ diff --git a/effect/water/index.template b/effect/water/index.template new file mode 100644 index 0000000..73df5e8 --- /dev/null +++ b/effect/water/index.template @@ -0,0 +1,131 @@ +[effect_wave] +life:150 +image: ROOT:effect/water/shockwave.png +scaleFrom: 0 +scaleTo: 0.8 +createWhenOverLand: false + +[effect_waterSplash1] +life: 100 +image: ROOT:effect/water/bubbles.png +ySpeedAbsolute: 0.1 +ySpeedAbsoluteRandom: 0.05 +xSpeedAbsolute: 0.1 +xSpeedAbsoluteRandom: 0.05 +yOffsetRelativeRandom: 3 +xOffsetRelativeRandom: 3 +dirOffset:45 +createWhenOverLand: false +imageShadow: SHADOW:ROOT:effect/water/bubbles.png +shadow: true + +[effect_waterSplash2] +life: 100 +image:ROOT:effect/water/bubbles.png +ySpeedAbsolute: 0.1 +ySpeedAbsoluteRandom: 0.05 +ySpeedAbsolute: -0.1 +ySpeedAbsoluteRandom: 0.05 +yOffsetRelativeRandom: 3 +xOffsetRelativeRandom: -3 +dirOffset:185 +createWhenOverLand: false +imageShadow: SHADOW:ROOT:effect/water/bubbles.png +shadow: true + +[effect_waterSplash3] +life: 100 +image: ROOT:effect/water/bubbles.png +ySpeedAbsolute: -0.1 +ySpeedAbsoluteRandom: 0.05 +yOffsetRelativeRandom: -3 +xOffsetRelativeRandom: 0 +dirOffset:45 +createWhenOverLand: false +imageShadow: SHADOW:ROOT:effect/water/bubbles.png +shadow: true + +[effect_waterSplash4] +life: 100 +image: ROOT:effect/water/bubbles.png +scaleFrom: 0.4 +scaleTo: 1.2 +physics: true +physicsGravity: 0.4 +hSpeed: 1 +hSpeedRandom: 0.5 +ySpeedRelativeRandom: 0.25 +xSpeedRelativeRandom: 0.25 +createWhenOverLand: false +imageShadow: SHADOW:ROOT:effect/water/bubbles.png +shadow: true + +[effect_waterSplash5] +life: 100 +image: ROOT:effect/water/bubbles.png +scaleFrom: 0.4 +scaleTo: 1.2 +physics: true +physicsGravity: 0.4 +hSpeed: 1.5 +hSpeedRandom: 0.75 +ySpeedRelativeRandom: 0.25 +xSpeedRelativeRandom: 0.25 +createWhenOverLand: false +imageShadow: SHADOW:ROOT:effect/water/bubbles.png +shadow: true + + +[effect_水波1] +image:ROOT:effect/water/bubbles.png +createWhenOverLand: false +life: 120 +spawnChance: 1 +fadeOut: true +attachedToUnit: false +fadeInTime:10 +scaleFrom: 0.25 +scaleTo: 3.2 +alpha: 0.6 +drawUnderUnits:true +yOffsetRelative: -45 +ySpeedRelative: 0.3 +dirOffsetRandom: 10 +dirSpeedRandom: 0.1 +#atmospheric: true + +[effect_水雾] +image:ROOT:effect/water/waterb.png +createWhenOverLand: false +life: 120 +spawnChance: 1 +fadeOut: true +attachedToUnit: false +fadeInTime:10 +scaleFrom: 0.25 +scaleTo: 3.2 +alpha: 0.6 +drawUnderUnits:true +yOffsetRelative: 0 +ySpeedRelative: 0.3 +dirOffsetRandom: 10 +dirSpeedRandom: 0.1 +#atmospheric: true + +[effect_水波2] +image:ROOT:effect/water/bubbles.png +createWhenOverLand: false +life: 90 +spawnChance: 1 +fadeOut: true +attachedToUnit: false +fadeInTime:10 +scaleFrom: 0.5 +scaleTo: 3.2 +alpha: 0.6 +drawUnderUnits:true +yOffsetRelative:45 +ySpeedRelative: 0.3 +dirOffsetRandom: 5 +dirSpeedRandom: 0.05 +atmospheric: true \ No newline at end of file diff --git a/effect/water/shockwave.png b/effect/water/shockwave.png new file mode 100644 index 0000000..5cfd94d Binary files /dev/null and b/effect/water/shockwave.png differ diff --git a/effect/water/watera.png b/effect/water/watera.png new file mode 100644 index 0000000..c2b87b0 Binary files /dev/null and b/effect/water/watera.png differ diff --git a/effect/water/waterb.png b/effect/water/waterb.png new file mode 100644 index 0000000..9377583 Binary files /dev/null and b/effect/water/waterb.png differ diff --git a/sound/机射.ogg b/sound/机射.ogg new file mode 100644 index 0000000..95267fc Binary files /dev/null and b/sound/机射.ogg differ diff --git a/sound/机炮.ogg b/sound/机炮.ogg new file mode 100644 index 0000000..9be26bd Binary files /dev/null and b/sound/机炮.ogg differ