旧日T2初版提交
特别感谢DC的帮忙,以及卡姐和大老鼠的数据平衡
BIN
assets/oldsungodimg/LaserTurret/Barrel.png
Normal file
After Width: | Height: | Size: 169 B |
BIN
assets/oldsungodimg/LaserTurret/Base.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/oldsungodimg/LaserTurret/Dead.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/oldsungodimg/LaserTurret/Shadow.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
assets/oldsungodimg/LaserTurret/Turret.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/oldsungodimg/T2/CardLuoer/卡洛尔战列舰_死亡.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
assets/oldsungodimg/T2/CardLuoer/卡洛尔战列舰本体.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
assets/oldsungodimg/T2/CardLuoer/火炮.png
Normal file
After Width: | Height: | Size: 306 B |
BIN
assets/oldsungodimg/T2/CardLuoer/火炮炮弹.png
Normal file
After Width: | Height: | Size: 658 B |
BIN
assets/oldsungodimg/T2/CardLuoer/电磁炮.png
Normal file
After Width: | Height: | Size: 274 B |
BIN
assets/oldsungodimg/T2/CardLuoer/电磁炮塔.png
Normal file
After Width: | Height: | Size: 546 B |
BIN
assets/oldsungodimg/T2/CardLuoer/电磁炮弹药.png
Normal file
After Width: | Height: | Size: 114 B |
BIN
assets/oldsungodimg/T2/Cruiser/巡洋舰船.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/oldsungodimg/T2/Cruiser/巡洋舰船死亡.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
assets/oldsungodimg/T2/EightStar/body.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
assets/oldsungodimg/T2/EightStar/body_dead.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/oldsungodimg/T2/HeavyBomber/Drone_Turret.png
Normal file
After Width: | Height: | Size: 252 B |
BIN
assets/oldsungodimg/T2/HeavyBomber/Heavy_Bomber.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/oldsungodimg/T2/HeavyBomber/Heavy_is_Dead.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
assets/oldsungodimg/T2/HeavyBomber/Twin_Bullets.png
Normal file
After Width: | Height: | Size: 121 B |
BIN
assets/oldsungodimg/T2/IgniterTank/igniter_dead.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/oldsungodimg/T2/IgniterTank/igniter_tank.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
assets/oldsungodimg/T2/IgniterTank/igniter_tank2.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
assets/oldsungodimg/T2/IgniterTank/turret_flamethrower.png
Normal file
After Width: | Height: | Size: 459 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_attachment_left.png
Normal file
After Width: | Height: | Size: 522 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_attachment_right.png
Normal file
After Width: | Height: | Size: 510 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_cannon_coil.png
Normal file
After Width: | Height: | Size: 405 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_foot.png
Normal file
After Width: | Height: | Size: 705 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_foot2.png
Normal file
After Width: | Height: | Size: 695 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_leg.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_mech_body.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_mech_topLayer.png
Normal file
After Width: | Height: | Size: 630 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_tank_coil.png
Normal file
After Width: | Height: | Size: 258 B |
BIN
assets/oldsungodimg/T2/MenMaTank/mammoth_tank_turret.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/oldsungodimg/T2/Red/redantiair.png
Normal file
After Width: | Height: | Size: 414 B |
BIN
assets/oldsungodimg/T2/Red/reddead.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
assets/oldsungodimg/T2/Red/redhevayturret.png
Normal file
After Width: | Height: | Size: 377 B |
BIN
assets/oldsungodimg/T2/Red/redlight.png
Normal file
After Width: | Height: | Size: 373 B |
BIN
assets/oldsungodimg/T2/Red/redship.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/oldsungodimg/T2/ScountLeide/fake_file.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
assets/oldsungodimg/T2/ScountLeide/foot.png
Normal file
After Width: | Height: | Size: 184 B |
BIN
assets/oldsungodimg/T2/ScountLeide/leg.png
Normal file
After Width: | Height: | Size: 339 B |
BIN
assets/oldsungodimg/T2/ScountLeide/scout-mech-body.png
Normal file
After Width: | Height: | Size: 789 B |
BIN
assets/oldsungodimg/T2/ScountLeide/scout-mech-platform.png
Normal file
After Width: | Height: | Size: 513 B |
BIN
assets/oldsungodimg/T2/ScountLeide/scout-mech-scanner.png
Normal file
After Width: | Height: | Size: 675 B |
BIN
assets/oldsungodimg/T2/ScountLeide/scout-mech-turret.png
Normal file
After Width: | Height: | Size: 411 B |
BIN
assets/oldsungodimg/T2/ScountLeide/scout-mech-wreak.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/oldsungodimg/T2/SuperHeavyTank/large_barrel_3.png
Normal file
After Width: | Height: | Size: 396 B |
BIN
assets/oldsungodimg/T2/SuperHeavyTank/super_heavy_hover_tank.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 447 B |
BIN
assets/oldsungodimg/T2/SuperTank/Dead Sht.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/oldsungodimg/T2/SuperTank/sht_barrel.png
Normal file
After Width: | Height: | Size: 300 B |
BIN
assets/oldsungodimg/T2/SuperTank/super_heavy_tank_body.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/oldsungodimg/T2/SuperTank/super_heavy_turret.png
Normal file
After Width: | Height: | Size: 768 B |
BIN
assets/oldsungodimg/T2/SuperTank/very_tiny_turret.png
Normal file
After Width: | Height: | Size: 138 B |
BIN
assets/oldsungodimg/T2/iplcter/高阶拦截机.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/oldsungodimg/laser/laser_defenceT3.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
assets/oldsungodimg/laser/laser_defenceT3_dead.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
|
@ -75,5 +75,4 @@ buildPriority: 0.23
|
|||
noneInBaseExtraPriority: 0.04
|
||||
noneGlobalExtraPriority: 0.1
|
||||
|
||||
maxGlobal: 1
|
||||
maxGlobal: 5
|
||||
maxGlobal: 3
|
|
@ -77,5 +77,4 @@ buildPriority: 0.23
|
|||
noneInBaseExtraPriority: 0.04
|
||||
noneGlobalExtraPriority: 0.1
|
||||
|
||||
maxGlobal: 1
|
||||
maxGlobal: 5
|
||||
maxGlobal: 4
|
|
@ -84,4 +84,3 @@ noneInBaseExtraPriority: 0.04
|
|||
noneGlobalExtraPriority: 0.1
|
||||
|
||||
maxGlobal: 1
|
||||
maxGlobal: 5
|
|
@ -100,5 +100,4 @@ buildPriority: 0.43
|
|||
noneInBaseExtraPriority: 0.04
|
||||
noneGlobalExtraPriority: 0.1
|
||||
|
||||
maxGlobal: 1
|
||||
maxGlobal: 2
|
|
@ -64,4 +64,3 @@ noneInBaseExtraPriority: 0.04
|
|||
noneGlobalExtraPriority: 0.1
|
||||
|
||||
maxGlobal: 1
|
||||
maxGlobal: 5
|
|
@ -43,11 +43,13 @@ buildSpeed: 4s
|
|||
convertTo: 碧绿炮塔
|
||||
#在这里定义单位
|
||||
price: 1800
|
||||
onlyOneUnitAtATime:false
|
||||
|
||||
[action_组装音波模块核心]
|
||||
@copyFromSection: template_组装模块
|
||||
buildSpeed: 4s
|
||||
convertTo: 超音波塔
|
||||
onlyOneUnitAtATime:false
|
||||
|
||||
#在这里定义单位
|
||||
price: 1500
|
||||
|
|
|
@ -14,6 +14,7 @@ techLevel:3
|
|||
buildSpeed:1s
|
||||
#availableInDemo:true
|
||||
radius:35
|
||||
|
||||
#displayRadius:25
|
||||
isBio:false
|
||||
isUnselectable:false
|
||||
|
@ -69,6 +70,7 @@ unitShownInUI: unitRef self.attachment(slot="单位插槽${slotId}")
|
|||
iconExtraIsVisible: if self.hasFlag(id=${slotId})
|
||||
iconExtraImage: ROOT:/assets/magicdragonimg/modconon/UI.png
|
||||
#设置选择的素材图
|
||||
onlyOneUnitAtATime:false
|
||||
|
||||
[attachment_单位插槽1]
|
||||
x: 0
|
||||
|
|
139
code/oldsungod/侦查机械雷达/scout-mech-deployed.ini
Normal file
|
@ -0,0 +1,139 @@
|
|||
[core]
|
||||
name: scoutMechDeployed
|
||||
class: CustomUnitMetadata
|
||||
copyFrom: scout-mech.ini
|
||||
|
||||
|
||||
|
||||
showInEditor: false
|
||||
|
||||
builtFrom_1_name: NONE
|
||||
builtFrom_2_name: NONE
|
||||
|
||||
radius: 25
|
||||
|
||||
fogOfWarSightRange: 29
|
||||
|
||||
#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
|
||||
|
||||
#buildingToFootprintOffsetX:20
|
||||
#buildingToFootprintOffsetY:20
|
||||
|
||||
|
||||
|
||||
maxShield: 350
|
||||
shieldRegen: 0.15
|
||||
|
||||
startShieldAtZero: true
|
||||
|
||||
isBuilding: true
|
||||
|
||||
|
||||
[action_deploy]
|
||||
|
||||
isVisible: false
|
||||
|
||||
[action_undeploy]
|
||||
|
||||
isVisible: true
|
||||
text: Undeploy
|
||||
text_zh: 取消部署
|
||||
convertTo: scoutMech
|
||||
displayType: action
|
||||
price: 0
|
||||
buildSpeed: 5s
|
||||
#canPlayerCancel: false
|
||||
|
||||
|
||||
|
||||
[graphics]
|
||||
|
||||
|
||||
|
||||
#lock_body_rotation_with_main_turret: false
|
||||
|
||||
[attack]
|
||||
|
||||
|
||||
maxAttackRange: 220
|
||||
|
||||
shootDelay: 60
|
||||
|
||||
|
||||
|
||||
[leg_1]
|
||||
x: -3
|
||||
y: 3
|
||||
attach_x: -5
|
||||
attach_y: 10
|
||||
moveSpeed: 1.0
|
||||
|
||||
rotateSpeed: 7
|
||||
|
||||
heightSpeed: 0.4
|
||||
resetAngle:25
|
||||
|
||||
image_leg: ROOT:/assets/oldsungodimg/T2/ScountLeide/leg.png
|
||||
image_foot: ROOT:/assets/oldsungodimg/T2/ScountLeide/foot.png
|
||||
|
||||
#draw_foot_on_top: true
|
||||
#dust_effect: false
|
||||
|
||||
holdDisMin: 5
|
||||
holdDisMax: 15
|
||||
|
||||
[leg_2]
|
||||
x: 3
|
||||
y: 3
|
||||
attach_x: 5
|
||||
attach_y: 10
|
||||
copyFrom: 1
|
||||
|
||||
[leg_3]
|
||||
x: -3
|
||||
y: -3
|
||||
attach_x: -5
|
||||
attach_y: -10
|
||||
copyFrom: 1
|
||||
|
||||
[leg_4]
|
||||
x: 3
|
||||
y: -3
|
||||
attach_x: 5
|
||||
attach_y: -10
|
||||
copyFrom: 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[movement]
|
||||
movementType: NONE
|
||||
|
||||
targetHeight:0
|
||||
|
||||
moveSpeed: 0
|
||||
moveAccelerationSpeed: 0.07
|
||||
moveDecelerationSpeed: 0.17
|
||||
|
||||
maxTurnSpeed: 1.0
|
||||
turnAcceleration: 0.5
|
||||
|
||||
moveSlidingMode :false
|
||||
moveIgnoringBody:false
|
||||
|
||||
|
||||
reverseSpeedPercentage:1
|
||||
|
||||
|
||||
|
||||
|
||||
[ai]
|
||||
|
||||
|
||||
upgradedFrom: scoutMech
|
||||
|
233
code/oldsungod/侦查机械雷达/scout-mech.ini
Normal file
|
@ -0,0 +1,233 @@
|
|||
[core]
|
||||
name: scoutMech
|
||||
displayText: Survelance Mech
|
||||
displayDescription: -Can attack ground and air \n-Can see very far into fog if enabled \n-Can deploy for more fog view range \n-Not effective in direct combat alone
|
||||
|
||||
displayText_zh: 侦查雷达机械
|
||||
displayDescription_zh: -可以攻击地面和空中\n-如果部署了该单位,可以获得更多的迷雾视野,但攻速变长。
|
||||
|
||||
mass: 8000
|
||||
price: 3200
|
||||
maxHp: 1800
|
||||
|
||||
selfRegenRate:0
|
||||
|
||||
fogOfWarSightRange: 24
|
||||
|
||||
softCollisionOnAll: 3
|
||||
|
||||
buildSpeed: 18s
|
||||
numBitsOnDeath: 15
|
||||
radius: 25
|
||||
|
||||
transportSlotsNeeded: 3
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-body.png
|
||||
image_turret: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-body.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-wreak.png
|
||||
image_shadow: SHADOW:ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-body.png
|
||||
|
||||
total_frames: 1
|
||||
|
||||
teamColorsOnTurret: true
|
||||
|
||||
|
||||
lock_shadow_rotation_with_main_turret: true
|
||||
|
||||
lock_body_rotation_with_main_turret: false
|
||||
|
||||
shadowOffsetX: 1
|
||||
shadowOffsetY: 1
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: true
|
||||
|
||||
turretSize: 10
|
||||
turretTurnSpeed: 1.5
|
||||
|
||||
isFixedFiring: false
|
||||
|
||||
turretMultiTargeting: true
|
||||
|
||||
maxAttackRange: 200
|
||||
shootDelay: 5
|
||||
|
||||
turretRotateWithBody: false
|
||||
[movement]
|
||||
movementType: OVER_CLIFF
|
||||
|
||||
moveSpeed: 0.36
|
||||
moveAccelerationSpeed: 0.07
|
||||
moveDecelerationSpeed: 0.17
|
||||
|
||||
maxTurnSpeed: 1.1
|
||||
turnAcceleration: 0.5
|
||||
|
||||
moveSlidingMode :false
|
||||
moveIgnoringBody:false
|
||||
|
||||
reverseSpeedPercentage:1
|
||||
|
||||
|
||||
[turret_body]
|
||||
#body
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
image: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-body.png
|
||||
|
||||
#invisible: true
|
||||
|
||||
turnSpeed: 1
|
||||
turnSpeedAcceleration: 0.3
|
||||
|
||||
canShoot: false
|
||||
|
||||
limitingRange: 220
|
||||
[turret_main]
|
||||
#cannon spout
|
||||
|
||||
x: 0.5
|
||||
y: 10
|
||||
slave: false
|
||||
attachedTo: body
|
||||
projectile: 1
|
||||
invisible: false
|
||||
limitingAngle: 80
|
||||
image: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-turret.png
|
||||
|
||||
turnSpeed: 2
|
||||
turnSpeedAcceleration: 0.2
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
idleDir: 0
|
||||
|
||||
recoilOffset: -2
|
||||
recoilOutTime: 5
|
||||
recoilReturnTime: 15
|
||||
|
||||
shoot_sound:cannon_firing
|
||||
shoot_sound_vol:0.2
|
||||
shoot_flame: small
|
||||
shoot_light:#CCFFFFaa
|
||||
|
||||
delay: 60
|
||||
size: 18
|
||||
limitingMinRange: 0
|
||||
|
||||
|
||||
[turret_fake]
|
||||
#body
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
image: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-body.png
|
||||
attachedTo: body
|
||||
|
||||
#invisible: true
|
||||
|
||||
|
||||
canShoot: false
|
||||
|
||||
limitingRange: 0
|
||||
|
||||
[turret_plat]
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
idleDirReversing: 0
|
||||
|
||||
#invisible: true
|
||||
image: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-platform.png
|
||||
turnSpeed: 2.4
|
||||
turnSpeedAcceleration: 10
|
||||
|
||||
canShoot: false
|
||||
|
||||
limitingRange: 0
|
||||
|
||||
[turret_idle]
|
||||
|
||||
x: 0
|
||||
y: 0
|
||||
idleSpin: 0.5
|
||||
image: ROOT:/assets/oldsungodimg/T2/ScountLeide/scout-mech-scanner.png
|
||||
#invisible: true
|
||||
canShoot: false
|
||||
|
||||
limitingRange: 0
|
||||
[projectile_1]
|
||||
life: 150
|
||||
speed: 5
|
||||
largeHitEffect: false
|
||||
frame: 2
|
||||
areaDamage: 90
|
||||
areaRadius: 30
|
||||
|
||||
|
||||
lightColor: #ffe92b
|
||||
lightSize: 0.6
|
||||
|
||||
|
||||
[leg_1]
|
||||
x: -22
|
||||
y: 20
|
||||
attach_x: -10
|
||||
attach_y: 10
|
||||
moveSpeed: 1.2
|
||||
|
||||
rotateSpeed: 8
|
||||
|
||||
heightSpeed: 1.1
|
||||
resetAngle: 1
|
||||
|
||||
image_leg: ROOT:/assets/oldsungodimg/T2/ScountLeide/leg.png
|
||||
image_foot: ROOT:/assets/oldsungodimg/T2/ScountLeide/foot.png
|
||||
|
||||
holdDisMin: 18
|
||||
holdDisMax: 35
|
||||
|
||||
hardLimit: 50
|
||||
|
||||
[leg_2]
|
||||
x: 22
|
||||
y: 20
|
||||
attach_x: 10
|
||||
attach_y: 10
|
||||
copyFrom: 1
|
||||
|
||||
[leg_3]
|
||||
x: -22
|
||||
y: -20
|
||||
attach_x: -10
|
||||
attach_y: -10
|
||||
copyFrom: 1
|
||||
|
||||
[leg_4]
|
||||
x: 22
|
||||
y: -20
|
||||
attach_x: 10
|
||||
attach_y: -10
|
||||
copyFrom: 1
|
||||
|
||||
[action_deploy]
|
||||
|
||||
isVisible: true
|
||||
text: Deploy
|
||||
text_zh:部署
|
||||
convertTo: scoutMechDeployed
|
||||
displayType: action
|
||||
price: 0
|
||||
buildSpeed: 10s
|
||||
whenBuilding_cannotMove: true
|
||||
whenBuilding_rotateTo: 0
|
||||
whenBuilding_rotateTo_orBackwards: true
|
||||
#canPlayerCancel: false
|
308
code/oldsungod/卡洛尔重型战舰/卡洛尔重型战舰.ini
Normal file
|
@ -0,0 +1,308 @@
|
|||
[core]
|
||||
name:卡洛尔重型战舰
|
||||
class:CustomUnitMetadata
|
||||
price:10000
|
||||
maxHp:4500
|
||||
mass:1900
|
||||
numBitsOnDeath:58
|
||||
|
||||
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.
|
||||
|
||||
displayText_zh: 卡洛尔重型战舰
|
||||
displayDescription_zh: -旧日海军的杰出代表\n-由邪欢博士进行研发,拥有四发基础火炮,对空对地\n-自带反潜模块\n-并拥有一个致命打击的电磁炮,对攻击范围造成大规模AOE伤害\n-移动较慢,拥有护盾,自我修复,可以生产小型机器人反潜模块。
|
||||
|
||||
techLevel:2
|
||||
buildSpeed:50s
|
||||
|
||||
radius:80
|
||||
fogOfWarSightRange:20
|
||||
|
||||
transportSlotsNeeded:5
|
||||
|
||||
isBio:false
|
||||
#碰撞体积软化:3
|
||||
|
||||
|
||||
[graphics]
|
||||
image:ROOT:/assets/oldsungodimg/T2/CardLuoer/卡洛尔战列舰本体.png
|
||||
image_wreak:ROOT:/assets/oldsungodimg/T2/CardLuoer/卡洛尔战列舰_死亡.png
|
||||
image_shadow:AUTO
|
||||
shadowOffsetX:5
|
||||
shadowOffsetY:5
|
||||
scaleImagesTo: 65
|
||||
#jscaleTurretImagesTo: 20
|
||||
|
||||
[attack]
|
||||
canAttack:true
|
||||
canAttackFlyingUnits:true
|
||||
canAttackLandUnits:true
|
||||
canAttackUnderwaterUnits:false
|
||||
turretSize:17
|
||||
maxAttackRange:300
|
||||
#turretMultiTargeting:true
|
||||
|
||||
[turret_火炮1]
|
||||
canAttackFlyingUnits:false
|
||||
aimOffsetSpread:1.2
|
||||
limitingRange:240
|
||||
canAttack:true
|
||||
image_drawOffsetY:6
|
||||
warmup:3s
|
||||
delay:3s
|
||||
x:18.5
|
||||
y:45
|
||||
image:ROOT:/assets/oldsungodimg/T2/CardLuoer/火炮.png
|
||||
|
||||
shoot_sound:large_gun_fire2
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:large
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits:true
|
||||
canAttackLandUnits:true
|
||||
canAttackUnderwaterUnits:false
|
||||
projectile:1
|
||||
|
||||
|
||||
recoilOffset:-3
|
||||
|
||||
idleDir:0
|
||||
#idleDirReversing:-145
|
||||
|
||||
[projectile_1]
|
||||
targetSpeed: 10
|
||||
life:300
|
||||
speed:0
|
||||
#targetGround:true
|
||||
areaDamage:90
|
||||
areaRadius:60
|
||||
|
||||
lightColor:#ffe92b
|
||||
lightSize:0.6
|
||||
largeHitEffect:true
|
||||
trailEffect:true
|
||||
frame:4
|
||||
color:#f7ff5e
|
||||
autoTargetingOnDeadTarget:true
|
||||
|
||||
[turret_火炮2]
|
||||
canAttackFlyingUnits:false
|
||||
aimOffsetSpread:0.6
|
||||
limitingRange:240
|
||||
canAttack:true
|
||||
image_drawOffsetY:6
|
||||
warmup:3s
|
||||
delay:3s
|
||||
x:-18.5
|
||||
y:45
|
||||
image:ROOT:/assets/oldsungodimg/T2/CardLuoer/火炮.png
|
||||
|
||||
shoot_sound:large_gun_fire2
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:large
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits:true
|
||||
canAttackLandUnits:true
|
||||
canAttackUnderwaterUnits:false
|
||||
projectile:1
|
||||
|
||||
|
||||
recoilOffset:-3
|
||||
|
||||
idleDir:0
|
||||
#idleDirReversing:-145
|
||||
[turret_火炮3]
|
||||
canAttackFlyingUnits:false
|
||||
aimOffsetSpread:0.3
|
||||
limitingRange:240
|
||||
canAttack:true
|
||||
image_drawOffsetY:6
|
||||
warmup:3s
|
||||
delay:3s
|
||||
x:18.5
|
||||
y:-55
|
||||
image:ROOT:/assets/oldsungodimg/T2/CardLuoer/火炮.png
|
||||
|
||||
shoot_sound:large_gun_fire2
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:large
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits:true
|
||||
canAttackLandUnits:true
|
||||
canAttackUnderwaterUnits:false
|
||||
projectile:1
|
||||
|
||||
|
||||
recoilOffset:-3
|
||||
|
||||
idleDir:0
|
||||
#idleDirReversing:-145
|
||||
[turret_火炮4]
|
||||
canAttackFlyingUnits:false
|
||||
aimOffsetSpread:0.9
|
||||
limitingRange:240
|
||||
canAttack:true
|
||||
image_drawOffsetY:6
|
||||
warmup:3s
|
||||
delay:3s
|
||||
x:-18.5
|
||||
y:-55
|
||||
image:ROOT:/assets/oldsungodimg/T2/CardLuoer/火炮.png
|
||||
|
||||
shoot_sound:large_gun_fire2
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:large
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits:true
|
||||
canAttackLandUnits:true
|
||||
canAttackUnderwaterUnits:false
|
||||
projectile:1
|
||||
|
||||
|
||||
recoilOffset:-3
|
||||
|
||||
idleDir:0
|
||||
#idleDirReversing:-145
|
||||
[turret_电磁炮]
|
||||
canAttack:true
|
||||
aimOffsetSpread:0
|
||||
image_drawOffsetY:6
|
||||
warmup:60
|
||||
delay:160
|
||||
x:0
|
||||
y:-25
|
||||
image:ROOT:/assets/oldsungodimg/T2/CardLuoer/电磁炮.png
|
||||
|
||||
shoot_sound:large_gun_fire1
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:small
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits:true
|
||||
canAttackLandUnits:true
|
||||
canAttackUnderwaterUnits:false
|
||||
projectile:电磁炮弹
|
||||
|
||||
|
||||
recoilOffset:-8
|
||||
recoilOutTime:3
|
||||
recoilReturnTime:45
|
||||
|
||||
|
||||
idleDir:0
|
||||
#idleDirReversing:-125
|
||||
[projectile_电磁炮弹]
|
||||
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: 90
|
||||
#color: #aa6284b8
|
||||
#color: #dd99bcf2
|
||||
color: #42f2f5
|
||||
teamColorRatio_sourceRatio:0.8
|
||||
teamColorRatio:0.5
|
||||
areaDamage:40
|
||||
areaRadius:50
|
||||
|
||||
[movement]
|
||||
movementType:WATER
|
||||
moveSpeed:0.4
|
||||
moveAccelerationSpeed:0.02
|
||||
moveDecelerationSpeed:0.01
|
||||
|
||||
reverseSpeedPercentage:2
|
||||
|
||||
maxTurnSpeed:2.0
|
||||
turnAcceleration:0.05
|
||||
|
||||
#moveSlidingMode :false
|
||||
#moveIgnoringBody:false
|
||||
#moveSlidingDir: 45
|
||||
[turret_电磁炮2]
|
||||
canAttack:true
|
||||
aimOffsetSpread:0
|
||||
image_drawOffsetY:6
|
||||
warmup:60
|
||||
delay:900
|
||||
x:0
|
||||
y:3
|
||||
image:ROOT:/assets/oldsungodimg/T2/CardLuoer/电磁炮.png
|
||||
|
||||
shoot_sound:large_gun_fire1
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:small
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits:true
|
||||
canAttackLandUnits:true
|
||||
canAttackUnderwaterUnits:false
|
||||
projectile:电磁炮弹2
|
||||
|
||||
|
||||
recoilOffset:-8
|
||||
recoilOutTime:3
|
||||
recoilReturnTime:45
|
||||
|
||||
|
||||
idleDir:0
|
||||
#idleDirReversing:-125
|
||||
|
||||
[projectile_电磁炮弹2]
|
||||
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: 90
|
||||
#color: #aa6284b8
|
||||
#color: #dd99bcf2
|
||||
color: #44aa44
|
||||
teamColorRatio_sourceRatio:0.8
|
||||
teamColorRatio:0.5
|
||||
areaDamage:40
|
||||
areaRadius:50
|
||||
|
||||
[movement]
|
||||
movementType: WATER
|
||||
moveSpeed: 0.35
|
||||
moveAccelerationSpeed: 0.02
|
||||
moveDecelerationSpeed: 0.05
|
||||
|
||||
reverseSpeedPercentage:1
|
||||
|
||||
maxTurnSpeed: 1.0
|
||||
turnAcceleration: 0.05
|
||||
|
||||
#moveSlidingMode :false
|
||||
#moveIgnoringBody:false
|
||||
#moveSlidingDir: 45
|
286
code/oldsungod/巡洋舰/巡洋舰船.ini
Normal file
|
@ -0,0 +1,286 @@
|
|||
|
||||
[core]
|
||||
|
||||
class: CustomUnitMetadata
|
||||
mass: 12000
|
||||
|
||||
name: cruiser
|
||||
|
||||
displayText: Cruiser
|
||||
displayText_zh:巡洋舰
|
||||
displayDescription: -A warship with 3 turrets & anti-air ball launcher \n-Sieges nearby enemy base \n-Good use of killing submarines
|
||||
displayDescription_zh:-带有3个炮塔和防空发射器的军舰\n-攻击附近的敌军基地\n-可以反潜
|
||||
|
||||
price: 10000
|
||||
techLevel: 2
|
||||
|
||||
maxHp: 5000
|
||||
armour: 0
|
||||
|
||||
maxShield: 0
|
||||
shieldRegen: 0
|
||||
|
||||
#softCollisionOnAll: 1
|
||||
|
||||
isBug: false
|
||||
isBuilding: false
|
||||
isBio: false
|
||||
|
||||
#transportSlotsNeeded: #
|
||||
|
||||
radius: 45
|
||||
#displayRadius: 21
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/T2/Cruiser/巡洋舰船.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/T2/Cruiser/巡洋舰船死亡.png
|
||||
image_turret:SHARED:large_turret.png
|
||||
image_shadow: auto
|
||||
|
||||
shadowOffsetX: 5
|
||||
shadowOffsetY: 5
|
||||
|
||||
teamColorsOnTurret: true
|
||||
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackUnderwaterUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackFlyingUnits: true
|
||||
|
||||
turretSize: 18
|
||||
turretTurnSpeed: 4
|
||||
|
||||
maxAttackRange: 300
|
||||
shootDelay: 3.471s
|
||||
|
||||
turretMultiTargeting: true
|
||||
|
||||
[turret_1]
|
||||
#base1
|
||||
x:0
|
||||
y:10
|
||||
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
turnSpeedAcceleration: 0.178
|
||||
|
||||
projectile: bullet1
|
||||
|
||||
shoot_sound: large_gun_fire2
|
||||
shoot_sound_vol: 0.27
|
||||
shoot_flame: large
|
||||
shoot_light:#7AAB86
|
||||
|
||||
#delay: 125
|
||||
|
||||
recoilOffset: -2
|
||||
recoilOutTime: 1
|
||||
recoilReturnTime: 12
|
||||
|
||||
idleDirReversing: -135
|
||||
|
||||
[turret_2]
|
||||
#base2
|
||||
x: 0
|
||||
y: 36
|
||||
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
warmup: 30
|
||||
|
||||
idleDirReversing: 135
|
||||
|
||||
[turret_3]
|
||||
#base3
|
||||
x: 0
|
||||
y: -34
|
||||
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
warmup: 60
|
||||
|
||||
idleDir: 180
|
||||
idleDirReversing: 180
|
||||
|
||||
[turret_4]
|
||||
#torpedo
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
|
||||
invisible: true
|
||||
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: true
|
||||
canAttackNotTouchingWaterUnits: false
|
||||
canAttackCondition: if self.isOverwater()
|
||||
|
||||
projectile: subBot
|
||||
|
||||
size: 1.1
|
||||
|
||||
delay: 100
|
||||
|
||||
turnSpeed: 15
|
||||
|
||||
[turret_5]
|
||||
#aa+
|
||||
x:0
|
||||
y:23
|
||||
|
||||
invisible: true
|
||||
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
projectile: air_attack
|
||||
|
||||
shoot_sound: missile_fire
|
||||
shoot_sound_vol: 0.33
|
||||
shoot_flame: shockwave
|
||||
shoot_light: #ffffff
|
||||
size: 0
|
||||
|
||||
delay: 2.43s
|
||||
|
||||
[turret_6]
|
||||
#
|
||||
x:0
|
||||
y:23
|
||||
|
||||
invisible:true
|
||||
linkDelayWithTurret:5
|
||||
|
||||
copyFrom:5
|
||||
warmup: 15
|
||||
|
||||
[turret_7]
|
||||
#
|
||||
x:0
|
||||
y:23
|
||||
|
||||
invisible:true
|
||||
linkDelayWithTurret:5
|
||||
|
||||
copyFrom:5
|
||||
warmup: 30
|
||||
|
||||
[turret_8]
|
||||
#
|
||||
x:0
|
||||
y:23
|
||||
|
||||
invisible:true
|
||||
linkDelayWithTurret:5
|
||||
|
||||
copyFrom:5
|
||||
warmup: 45
|
||||
|
||||
[turret_9]
|
||||
#
|
||||
x:0
|
||||
y:23
|
||||
|
||||
invisible:true
|
||||
linkDelayWithTurret:5
|
||||
|
||||
copyFrom:5
|
||||
warmup: 60
|
||||
|
||||
[projectile_subBot]
|
||||
#torpedo
|
||||
directDamage: 60
|
||||
life: 500
|
||||
speed: 0.4
|
||||
targetSpeed: 1.3
|
||||
largeHitEffect: true
|
||||
drawSize: 1.3
|
||||
color: #000000
|
||||
|
||||
trailEffect: true
|
||||
deflectionPower:-1
|
||||
|
||||
[projectile_bullet1]
|
||||
#directDamage: 110
|
||||
life: 240
|
||||
speed: 8
|
||||
targetGround: true
|
||||
largeHitEffect: true
|
||||
|
||||
frame: 2
|
||||
drawSize: 1
|
||||
areaDamage: 80
|
||||
areaRadius: 50
|
||||
drawType: 3
|
||||
|
||||
lightColor: #ffff00
|
||||
lightSize: 0.9
|
||||
|
||||
[projectile_air_attack]
|
||||
#aa ball
|
||||
directDamage: 15
|
||||
life: 160
|
||||
speed: 1
|
||||
targetSpeed: 5
|
||||
|
||||
drawSize: 1.8
|
||||
color: #7ff3c8
|
||||
|
||||
trailEffect: true
|
||||
largeHitEffect: true
|
||||
|
||||
ballistic: true
|
||||
ballistic_delaymove_height:25
|
||||
ballistic_height: 25
|
||||
|
||||
lightColor: #f1f1f1
|
||||
lightSize: 0.5
|
||||
|
||||
[movement]
|
||||
|
||||
movementType: WATER
|
||||
|
||||
moveSpeed: 0.5
|
||||
moveAccelerationSpeed: 0.023
|
||||
moveDecelerationSpeed: 0.16
|
||||
|
||||
reverseSpeedPercentage: 1
|
||||
|
||||
maxTurnSpeed: 1.2
|
||||
turnAcceleration: 0.039
|
||||
|
||||
moveSlidingMode: false
|
||||
moveSlidingDir: 0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
171
code/oldsungod/序列火焰坦克/igniter_tank.ini
Normal file
|
@ -0,0 +1,171 @@
|
|||
|
||||
[core]
|
||||
|
||||
class: CustomUnitMetadata
|
||||
mass: 1000
|
||||
|
||||
name: Igniter
|
||||
displayText: Igniter Tank
|
||||
displayText_zh:极火坦克
|
||||
displayDescription: -Large health\n-Self repair\n-Attacks ground only,Cause range damage.
|
||||
displayDescription_zh::-拥有自我修复能力\n只能攻击地面,造成AOE伤害。
|
||||
|
||||
maxHp: 1600
|
||||
selfRegenRate: 0.1
|
||||
|
||||
buildSpeed: 20s
|
||||
techLevel: 1
|
||||
price: 3600
|
||||
|
||||
softCollisionOnAll: 2
|
||||
radius: 18
|
||||
isBio: false
|
||||
|
||||
[graphics]
|
||||
total_frames: 2
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/T2/IgniterTank/igniter_tank2.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/T2/IgniterTank/igniter_dead.png
|
||||
image_turret: ROOT:/assets/oldsungodimg/T2/IgniterTank/turret_flamethrower.png
|
||||
|
||||
image_shadow: AUTO
|
||||
|
||||
shadowOffsetX:2
|
||||
shadowOffsetY:2
|
||||
|
||||
dustEffect: true
|
||||
|
||||
teamColorsOnTurret: true
|
||||
|
||||
animation_moving_start: 0
|
||||
animation_moving_end: 1
|
||||
animation_moving_speed: 2.33
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
turretTurnSpeed: 2
|
||||
turretSize: 21
|
||||
|
||||
maxAttackRange: 175
|
||||
shootDelay: 3s
|
||||
|
||||
aimOffsetSpread: 1.3
|
||||
|
||||
[turret_1]
|
||||
x: 0
|
||||
y: 0
|
||||
turnSpeedAcceleration: 0.1
|
||||
canAttack: true
|
||||
|
||||
projectile: 1
|
||||
|
||||
shoot_sound: tank_firing
|
||||
shoot_sound_vol: 0.5
|
||||
shoot_flame: small
|
||||
shoot_light: #FFEECCCC
|
||||
|
||||
recoilOffset: -1.5
|
||||
recoilOutTime: 3
|
||||
recoilReturnTime: 12
|
||||
|
||||
limitingMinRange: 80
|
||||
|
||||
[turret_2]
|
||||
x: 0
|
||||
y: 0
|
||||
invisible: true
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
attachedTo: 1
|
||||
slave: true
|
||||
|
||||
#warmup: 10
|
||||
|
||||
[turret_3]
|
||||
x: 0
|
||||
y: 0
|
||||
invisible: true
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
attachedTo: 1
|
||||
slave: true
|
||||
|
||||
#warmup: 20
|
||||
|
||||
[turret_4]
|
||||
x: 0
|
||||
y: 0
|
||||
invisible: true
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
attachedTo: 1
|
||||
slave: true
|
||||
|
||||
#warmup: 30
|
||||
|
||||
[turret_5]
|
||||
x: 0
|
||||
y: 0
|
||||
invisible: true
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
attachedTo: 1
|
||||
slave: true
|
||||
|
||||
#warmup: 40
|
||||
|
||||
[turret_6]
|
||||
x: 0
|
||||
y: 0
|
||||
invisible: true
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
attachedTo: 1
|
||||
slave: true
|
||||
|
||||
#warmup: 50
|
||||
|
||||
[turret_7]
|
||||
#minrange guide
|
||||
x: 0
|
||||
y: 0
|
||||
invisible: true
|
||||
showRangeUIGuide: true
|
||||
canAttack: false
|
||||
limitingRange: 60
|
||||
|
||||
[projectile_1]
|
||||
directDamage: 50
|
||||
life: 250
|
||||
speed: 4
|
||||
|
||||
flameWeapon: true
|
||||
|
||||
trailEffect: true
|
||||
|
||||
frame: 3
|
||||
drawType: 3
|
||||
|
||||
lightColor: #f1ff77
|
||||
|
||||
deflectionPower: -1
|
||||
|
||||
targetGroundSpread: 180
|
||||
|
||||
buildingDamageMultiplier: 2
|
||||
|
||||
[movement]
|
||||
movementType: LAND
|
||||
|
||||
moveSpeed: 0.8
|
||||
moveAccelerationSpeed: 0.145
|
||||
moveDecelerationSpeed: 0.234
|
||||
|
||||
reverseSpeedPercentage: 1
|
||||
|
||||
maxTurnSpeed: 1.4
|
||||
turnAcceleration: 0.103
|
|
@ -21,7 +21,7 @@ tags:拉莱耶
|
|||
#price: 2
|
||||
price: 5000
|
||||
maxHp: 2700
|
||||
mass: 1000
|
||||
mass: 100000
|
||||
techLevel: 2
|
||||
experimental: true
|
||||
buildSpeed: 35s
|
||||
|
|
293
code/oldsungod/旧日八星战机/八星.ini
Normal file
|
@ -0,0 +1,293 @@
|
|||
|
||||
[core]
|
||||
name: 八星战斗机
|
||||
class: CustomUnitMetadata
|
||||
price: 4500
|
||||
maxHp: 1600
|
||||
mass: 1000
|
||||
|
||||
techLevel: 2
|
||||
buildSpeed: 35s
|
||||
|
||||
availableInDemo: false
|
||||
|
||||
radius: 25
|
||||
#displayRadius: 11
|
||||
isBio: false
|
||||
#softCollisionOnAll: 3
|
||||
softCollisionOnAll: 24
|
||||
|
||||
|
||||
selfRegenRate:0.2
|
||||
|
||||
displayText: Eight Star Fighter
|
||||
displayText_zh:八星战机
|
||||
displayDescription: -The T2 air force unit of the old Sun is said to have been used by the old ace pilots.
|
||||
displayDescription_zh::-旧日T2强力空军单位,据说它曾经被八星王牌飞行员使用过。
|
||||
|
||||
|
||||
#builtFrom_1_name: AirFactory
|
||||
#builtFrom_1_pos: 6
|
||||
|
||||
|
||||
energyMax: 10
|
||||
energyRegen: 0.0078
|
||||
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/T2/EightStar/body.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/T2/EightStar/body_dead.png
|
||||
image_turret: NONE
|
||||
#scaleImagesTo: 12
|
||||
#scaleTurretImagesTo: 10
|
||||
|
||||
image_shadow: AUTO
|
||||
shadowOffsetX:1
|
||||
shadowOffsetY:1
|
||||
|
||||
lock_body_rotation_with_main_turret: true
|
||||
|
||||
[attack]
|
||||
turretRotateWithBody: false
|
||||
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
turretSize: 10
|
||||
turretTurnSpeed: 4
|
||||
maxAttackRange: 180
|
||||
shootDelay: 2.5s
|
||||
|
||||
|
||||
#isFixedFiring: true
|
||||
|
||||
|
||||
[turret_1]
|
||||
#missile
|
||||
invisible: true
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 2.5s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
|
||||
turnSpeed: 3.9
|
||||
turnSpeedAcceleration: 0.2
|
||||
|
||||
[turret_2]
|
||||
#missile
|
||||
invisible: true
|
||||
x: -10
|
||||
y: 4
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 3s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
|
||||
turnSpeed: 3.9
|
||||
turnSpeedAcceleration: 0.2
|
||||
|
||||
[turret_3]
|
||||
#missile
|
||||
invisible: true
|
||||
x: 10
|
||||
y: 4
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 2.5s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
|
||||
turnSpeed: 3.9
|
||||
turnSpeedAcceleration: 0.2
|
||||
|
||||
[turret_4]
|
||||
#missile
|
||||
invisible: true
|
||||
x: 14
|
||||
y: 4
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 3s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
|
||||
turnSpeed: 3.9
|
||||
turnSpeedAcceleration: 0.2
|
||||
|
||||
[turret_5]
|
||||
#missile
|
||||
invisible: true
|
||||
x: -14
|
||||
y: 4
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 2.5s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
[turret_6]
|
||||
#missile
|
||||
invisible: true
|
||||
x: -18
|
||||
y: 4
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 3s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
turnSpeed: 3.9
|
||||
turnSpeedAcceleration: 0.2
|
||||
|
||||
[turret_7]
|
||||
#missile
|
||||
invisible: true
|
||||
x: 18
|
||||
y: 4
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 2.5s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
[turret_8]
|
||||
#missile
|
||||
invisible: true
|
||||
x: -24
|
||||
y: 4
|
||||
idleDir:0
|
||||
|
||||
shoot_sound:missile_fire
|
||||
shoot_sound_vol:0.1
|
||||
shoot_light:#FFEECCCC
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
projectile: 1
|
||||
size: 17
|
||||
|
||||
delay: 3s
|
||||
|
||||
energyUsage: 0.5
|
||||
|
||||
[projectile_1]
|
||||
#missile
|
||||
directDamage: 45
|
||||
|
||||
life: 240
|
||||
speed: -2
|
||||
targetSpeed: 4
|
||||
trailEffect: true
|
||||
largeHitEffect: true
|
||||
|
||||
#ballistic: true
|
||||
#ballistic_delaymove_height:0
|
||||
#ballistic_height: 10
|
||||
|
||||
frame: 4
|
||||
|
||||
autoTargetingOnDeadTarget: true
|
||||
|
||||
[movement]
|
||||
movementType: AIR
|
||||
moveSpeed: 1.4
|
||||
moveAccelerationSpeed: 0.03
|
||||
moveDecelerationSpeed: 0.03
|
||||
|
||||
landOnGround: false
|
||||
|
||||
reverseSpeedPercentage:0
|
||||
|
||||
|
||||
maxTurnSpeed: 3.6
|
||||
turnAcceleration: 0.2
|
||||
|
||||
moveSlidingMode :true
|
||||
moveIgnoringBody:true
|
||||
moveSlidingDir: 181
|
||||
|
||||
|
||||
slowDeathFall: true
|
|
@ -135,4 +135,3 @@ turnAcceleration: 0.1
|
|||
|
||||
[ai]
|
||||
maxGlobal:1
|
||||
maxGlobal:2
|
||||
|
|
|
@ -13,7 +13,7 @@ tags:海军基地
|
|||
#used for placement, and placement of other buildings
|
||||
constructionFootprint: -2,-2,2,3
|
||||
|
||||
overrideAndReplace: seaFactory
|
||||
#overrideAndReplace: seaFactory
|
||||
|
||||
extraBuildRangeWhenBuildingThis:65
|
||||
techLevel: 1
|
||||
|
@ -90,7 +90,7 @@ turnAcceleration: 0.1
|
|||
buildPriority: 0.25
|
||||
noneInBaseExtraPriority: 0.35
|
||||
noneGlobalExtraPriority: 0.12
|
||||
maxGlobal: 10
|
||||
maxGlobal: 4
|
||||
|
||||
|
||||
[action_升级]
|
||||
|
@ -105,7 +105,7 @@ pos: 0
|
|||
unitShownInUI: seaFactoryT2
|
||||
iconExtraImage: SHARED:icon_upgrade_top.png
|
||||
iconExtraColor: #AAFFFFFF
|
||||
isLocked:true
|
||||
#isLocked:true
|
||||
|
||||
#[action_外包]
|
||||
#autoTrigger: if not self.resource(type='旧日自动计划',lessThan=1)
|
||||
|
|
|
@ -25,16 +25,20 @@ radius: 40
|
|||
isBio: false
|
||||
isBuilding: true
|
||||
|
||||
displayText:海军基地 T-2
|
||||
displayDescription:-制造高级海上单位
|
||||
displayText:Sea Factory_T2
|
||||
displayDescription:-Build T2 Sea units, Which can be upgraded
|
||||
|
||||
displayText_zh:海军基地_T2
|
||||
displayDescription_zh:-制造初级海上单位,可升级
|
||||
|
||||
exit_x:0
|
||||
exit_y:-3
|
||||
exit_moveAwayAmount:120
|
||||
|
||||
|
||||
canBuild_1_name: setRally
|
||||
canBuild_1_pos: -1
|
||||
canBuild_2_name: gunBoat,hovercraft,missileShip,battleShip,卡洛尔重型战舰
|
||||
#canBuild_2_name: builderShip,动员炮艇,gunBoat,lightSub,hovercraft,attackSubmarine,missileShip,battleShip,白露级,无畏级
|
||||
canBuild_2_pos: 1
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
[core]
|
||||
name: laserDefenceT2
|
||||
class: CustomUnitMetadata
|
||||
price: 4000
|
||||
maxHp: 1400
|
||||
price: 6200
|
||||
maxHp: 2000
|
||||
mass: 3000
|
||||
tags:LK
|
||||
|
||||
|
@ -35,6 +35,16 @@ energyRegen: 0.004
|
|||
|
||||
softCollisionOnAll: 3
|
||||
|
||||
|
||||
[action_upgradeT3]
|
||||
convertTo: laserDefenceT3
|
||||
price: 3500
|
||||
text:i:gui.actions.upgradeT2
|
||||
description:i:units.laserDefence.upgrade.description
|
||||
displayType: upgrade
|
||||
buildSpeed: 30s
|
||||
iconImage: SHARED:icon_upgrade.png
|
||||
|
||||
[hiddenAction_0]
|
||||
stopLastAnimation:true
|
||||
autoTrigger:if self.energy(full=true)
|
||||
|
|
87
code/oldsungod/激光拦截/T3.ini
Normal file
|
@ -0,0 +1,87 @@
|
|||
|
||||
[core]
|
||||
name: laserDefenceT3
|
||||
class: CustomUnitMetadata
|
||||
price: 6200
|
||||
maxHp: 3000
|
||||
mass: 3000
|
||||
tags:LK
|
||||
|
||||
displayText: i:units.laserDefence.name
|
||||
displayDescription: i:units.laserDefence.description
|
||||
#overrideAndReplace: laserDefence
|
||||
|
||||
#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
|
||||
|
||||
buildingSelectionOffset:-6
|
||||
|
||||
techLevel: 1
|
||||
buildSpeed: 0.002
|
||||
|
||||
radius: 18
|
||||
|
||||
isBio: false
|
||||
isBuilding: true
|
||||
|
||||
energyMax: 25
|
||||
energyRegen: 0.008
|
||||
|
||||
softCollisionOnAll: 3
|
||||
|
||||
[hiddenAction_0]
|
||||
stopLastAnimation:true
|
||||
autoTrigger:if self.energy(full=true)
|
||||
|
||||
[hiddenAction_1]
|
||||
playAnimation:1
|
||||
autoTrigger:if self.energy(lessThan=0.1)
|
||||
|
||||
[animation_1]
|
||||
blendIn:0
|
||||
blendOut:99s
|
||||
body_0: {frame:1}
|
||||
body_99s: {frame:1}
|
||||
|
||||
[graphics]
|
||||
total_frames: 2
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/laser/laser_defenceT3.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/laser/laser_defenceT3_dead.png
|
||||
|
||||
[movement]
|
||||
movementType: NONE
|
||||
moveSpeed: 0
|
||||
moveAccelerationSpeed: 0.01
|
||||
moveDecelerationSpeed: 0.01
|
||||
|
||||
maxTurnSpeed: 0
|
||||
turnAcceleration: 0.1
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: false
|
||||
maxAttackRange:250
|
||||
|
||||
|
||||
[turret_1]
|
||||
x: 0
|
||||
y: 14
|
||||
canShoot: false
|
||||
laserDefenceEnergyUse: 1.1
|
||||
size:1
|
||||
|
||||
|
||||
|
||||
[ai]
|
||||
|
||||
buildPriority: 0.05
|
||||
noneGlobalExtraPriority: 0.1
|
|
@ -45,12 +45,11 @@ autoTrigger:if self.energy(lessThan=0.1)
|
|||
|
||||
[action_upgradeT2]
|
||||
convertTo: laserDefenceT2
|
||||
price: 20000
|
||||
price: 2700
|
||||
text:i:gui.actions.upgradeT2
|
||||
description:i:units.laserDefence.upgrade.description
|
||||
isLocked:true
|
||||
displayType: upgrade
|
||||
buildSpeed: 55.6s
|
||||
buildSpeed: 20s
|
||||
iconImage: SHARED:icon_upgrade.png
|
||||
|
||||
[animation_1]
|
||||
|
@ -94,4 +93,4 @@ size:1
|
|||
buildPriority: 0.25
|
||||
noneInBaseExtraPriority: 0.35
|
||||
noneGlobalExtraPriority: 0.12
|
||||
maxGlobal: 10
|
||||
maxGlobal: 5
|
213
code/oldsungod/猛犸坦克IV型/mammothmech.ini
Normal file
|
@ -0,0 +1,213 @@
|
|||
[core]
|
||||
name: mammoth_mech_t1
|
||||
class: CustomUnitMetadata
|
||||
mass: 4500
|
||||
displayText: Mammoth Mech IV
|
||||
displayText_zh:猛犸机甲-IV
|
||||
displayDescription: -Like a mammoth tank but better \n-Fires deadlier lighting burst \n-Can walk over cliffs and water \n-Can attack air
|
||||
displayDescription_zh:-旧日联盟猛犸机甲,\n-致命的等离子攻击\n-可以走过悬崖和水\n-可以攻击空军
|
||||
maxHp: 2400
|
||||
#[builtFrom_upgrade]
|
||||
price: 2800
|
||||
techLevel: 2
|
||||
#softCollisionOnAll: 3
|
||||
isBug: false
|
||||
isBio: false
|
||||
isBuilding: false
|
||||
#displayRadius: 9000
|
||||
radius: 25
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
image: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_mech_body.png
|
||||
image_wreak: none
|
||||
image_turret: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_mech_topLayer.png
|
||||
image_shadow: auto
|
||||
shadowOffsetX: 2
|
||||
shadowOffsetY: 2
|
||||
teamColorsOnTurret: true
|
||||
dustEffect: false
|
||||
animation_moving_start: 0
|
||||
animation_moving_end: 0
|
||||
animation_moving_speed: 0
|
||||
lock_body_rotation_with_main_turret: true
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackFlyingUnits: true
|
||||
turretSize: 20
|
||||
turretTurnSpeed: 1.3
|
||||
maxAttackRange: 200
|
||||
shootDelay: 1.5s
|
||||
turretRotateWithBody: false
|
||||
turretMultiTargeting: true
|
||||
[turret_hardBase]
|
||||
#tope layer base (for #cannon burst electric)
|
||||
x: 0
|
||||
y: 0
|
||||
invisible: true
|
||||
canAttackFlyingUnits: false
|
||||
turnSpeedAcceleration: 0.7
|
||||
canShoot: false
|
||||
recoilOffset: -0.25
|
||||
recoilOutTime: 3
|
||||
recoilReturnTime: 10
|
||||
[turret_special]
|
||||
#cannon burst electric
|
||||
x: 0
|
||||
y: 11
|
||||
attachedTo: hardBase
|
||||
slave: true
|
||||
image: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_cannon_coil.png
|
||||
size: 35
|
||||
canAttack: true
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackFlyingUnits: false
|
||||
shoot_sound: lighting_burst
|
||||
shoot_sound_vol: 0.4
|
||||
shoot_flame: CUSTOM:sparks_2*5
|
||||
#shoot_light: none
|
||||
recoilOffset: -3
|
||||
recoilOutTime: 3
|
||||
recoilReturnTime: 27
|
||||
projectile: bursting2
|
||||
warmup: 180
|
||||
chargeEffectImage: SHARED:lighting_charge.png
|
||||
[turret_base]
|
||||
#attachment fixed
|
||||
x: 0
|
||||
y: 0
|
||||
attachedTo: hardBase
|
||||
slave: true
|
||||
turnSpeed: 0
|
||||
turnSpeedAcceleration: 0
|
||||
canAttack: false
|
||||
[turret_coil_barrel]
|
||||
x: 0
|
||||
y: 0
|
||||
canAttack: true
|
||||
image:ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_tank_coil.png
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
shoot_sound: lighting_burst
|
||||
shoot_sound_vol: 0.35
|
||||
shoot_flame: CUSTOM:sparks_2*3
|
||||
delay: 1.5s
|
||||
warmup: 1.5s
|
||||
recoilOffset: -1.5
|
||||
recoilOutTime: 5
|
||||
recoilReturnTime: 10
|
||||
attachedTo: topBase
|
||||
slave: true
|
||||
chargeEffectImage: SHARED:lighting_charge.png
|
||||
projectile: bursting
|
||||
turnSpeed: 10
|
||||
turnSpeedAcceleration: 10
|
||||
[turret_topBase]
|
||||
x: 0
|
||||
y: 0
|
||||
#attachedTo: hardBase
|
||||
#slave: true
|
||||
canAttack: false
|
||||
size: 0
|
||||
image:ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_tank_turret.png
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackFlyingUnits: true
|
||||
turnSpeed: 2
|
||||
turnSpeedAcceleration: 0.6
|
||||
recoilOffset: -0.5
|
||||
recoilOutTime: 0
|
||||
recoilReturnTime: 33
|
||||
idleSpin: 0
|
||||
[projectile_bursting2]
|
||||
#main lighting
|
||||
directDamage: 100
|
||||
instant: true
|
||||
life: 10
|
||||
speed: 0
|
||||
lightingEffect: true
|
||||
#areaDamage: 21
|
||||
#areaRadius: 21
|
||||
explodeEffect: CUSTOM:lightningShock, CUSTOM:sparks*10
|
||||
explodeEffectOnShield:CUSTOM:lightningShock*1
|
||||
[projectile_bursting]
|
||||
#lightning_support
|
||||
directDamage: 100
|
||||
instant: true
|
||||
life: 10
|
||||
speed: 0
|
||||
lightingEffect: true
|
||||
explodeEffect: CUSTOM:lightningShock, CUSTOM:sparks*8
|
||||
explodeEffectOnShield:CUSTOM:lightningShock*1
|
||||
[leg_1]
|
||||
#leg / foot part
|
||||
x: -15
|
||||
y: 0
|
||||
attach_x: -10
|
||||
attach_y: 0
|
||||
moveSpeed: 2
|
||||
rotateSpeed: 8
|
||||
heightSpeed: 0.8
|
||||
resetAngle: 20
|
||||
image_leg: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_leg.png
|
||||
image_foot: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_foot2.png
|
||||
holdDisMin: 22
|
||||
holdDisMax: 38
|
||||
image_end_teamColors: true
|
||||
[leg_2]
|
||||
#leg / foot part
|
||||
x: 15
|
||||
y: 0
|
||||
attach_x: 10
|
||||
attach_y: 0
|
||||
copyFrom: 1
|
||||
image_foot: ROOT:/assets/oldsungodimg/T2/MenMaTank/mammoth_foot.png
|
||||
image_end_teamColors: true
|
||||
[effect_lightningShock]
|
||||
#custom explode effect
|
||||
life: 60
|
||||
hOffset: 0
|
||||
dirOffset: 0
|
||||
fadeInTime: 0
|
||||
fadeOut: false
|
||||
attachedToUnit: true
|
||||
image: SHARED:lightning_shock.png
|
||||
total_frames: 14
|
||||
animateFrameStart: 0
|
||||
animateFrameEnd: 13
|
||||
animateFramePingPong: false
|
||||
animateFrameSpeed: 0.5
|
||||
[effect_sparks]
|
||||
#custom explode effect
|
||||
attachedToUnit: false
|
||||
life: 150
|
||||
physics: true
|
||||
xSpeedRelativeRandom: 1.6
|
||||
ySpeedRelativeRandom: 1.6
|
||||
hSpeed: 2
|
||||
image: SHARED:spark.png
|
||||
priority: verylow
|
||||
[effect_sparks_2]
|
||||
#custom shoot effect
|
||||
attachedToUnit: false
|
||||
life: 150
|
||||
physics: true
|
||||
xSpeedRelativeRandom: 0.5
|
||||
ySpeedRelativeRandom: 0.5
|
||||
hSpeed: 1
|
||||
image: SHARED:spark.png
|
||||
priority: verylow
|
||||
[movement]
|
||||
reverseSpeedPercentage: 1
|
||||
movementType: OVER_CLIFF_WATER
|
||||
targetHeight: 3
|
||||
moveSpeed: 0.5
|
||||
moveAccelerationSpeed: 0.045
|
||||
moveDecelerationSpeed: 0.19
|
||||
maxTurnSpeed: 2
|
||||
turnAcceleration: 0.7
|
||||
moveSlidingMode: false
|
||||
moveIgnoringBody: false
|
|
@ -23,7 +23,7 @@ name: airFactory, seaFactory
|
|||
tech: 1
|
||||
|
||||
[canBuild_3]
|
||||
name: repairBay, turret, antiAirTurret, laserDefence, extractor, fabricator, landFactoryX,TeslaTurret,CannonTurret
|
||||
name: repairBay, turret, antiAirTurret, laserDefence, extractor, fabricator, landFactoryX,TeslaTurret,CannonTurret,LaserTurret
|
||||
tech: 1
|
||||
|
||||
[turret_1]
|
||||
|
|
|
@ -66,7 +66,7 @@ convertTo: airFactoryT2
|
|||
ai_isHighPriority:if self.hasResources(8000)
|
||||
displayType:upgrade
|
||||
unitShownInUI: airFactoryT2
|
||||
isLocked:true
|
||||
#isLocked:true
|
||||
#ai_isDisabled: if not self.hasResources(8000)
|
||||
|
||||
|
||||
|
@ -121,4 +121,4 @@ turnAcceleration: 0.1
|
|||
buildPriority: 0.25
|
||||
noneInBaseExtraPriority: 0.35
|
||||
noneGlobalExtraPriority: 0.12
|
||||
maxGlobal: 10
|
||||
maxGlobal: 4
|
|
@ -16,8 +16,6 @@ buildingToFootprintOffsetY:10
|
|||
|
||||
copyFrom:空军基地.ini
|
||||
|
||||
nanoFactorySpeed:1.15
|
||||
|
||||
constructionFootprint: -1,-1,1,2
|
||||
tags:空军基地,空军基地T2,factory,mainBuidings,airFactory,airFactoryT2
|
||||
|
||||
|
@ -45,16 +43,19 @@ exit_y:0
|
|||
|
||||
canBuild_1_name: setRally
|
||||
canBuild_1_pos: -1
|
||||
canBuild_2_name: lightGunship,c_interceptor,c_helicopter
|
||||
canBuild_2_name: lightGunship,c_interceptor,c_helicopter,Comet,八星战斗机,bomber,Heavyb,heavyInterceptor,multiceptor,heavyDropship
|
||||
canBuild_2_pos: 1
|
||||
|
||||
[graphics]
|
||||
total_frames: 15
|
||||
imageScale: 1
|
||||
image: ROOT:/assets/oldsungodimg/airfactory/空军基地T2.png
|
||||
|
||||
animation_idle_start:0
|
||||
animation_idle_speed:3
|
||||
animation_idle_end:14
|
||||
[ai]
|
||||
upgradedFrom: airFactory
|
||||
ai_upgradePriority:0.45
|
||||
|
||||
#[action_up]
|
||||
[action_up]
|
||||
convertTo: NONE
|
323
code/oldsungod/红珊号/红珊号.ini
Normal file
|
@ -0,0 +1,323 @@
|
|||
[core]
|
||||
class: CustomUnitMetadata
|
||||
mass: 12000
|
||||
|
||||
name: RedCoral
|
||||
|
||||
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.
|
||||
displayDescription_zh:-配有两门火力重炮,两发高射炮,一个攻击范围较小但威力巨大的镭射炮(可以破盾破甲)\n-红珊号正是旧日神教的海军T2强力海上单位。
|
||||
|
||||
price: 14000
|
||||
techLevel: 2
|
||||
|
||||
maxHp: 5000
|
||||
|
||||
#softCollisionOnAll: 1
|
||||
|
||||
isBug: false
|
||||
isBuilding: false
|
||||
isBio: false
|
||||
|
||||
#transportSlotsNeeded: #
|
||||
|
||||
radius: 45
|
||||
#displayRadius: 21
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/T2/Red/redship.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/T2/Red/reddead.png
|
||||
image_turret:ROOT:/assets/oldsungodimg/T2/Red/redhevayturret.png
|
||||
image_shadow: auto
|
||||
scaleImagesTo: 45
|
||||
shadowOffsetX: 5
|
||||
shadowOffsetY: 5
|
||||
scaleTurretImagesTo: 16
|
||||
teamColorsOnTurret: true
|
||||
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackUnderwaterUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackFlyingUnits: true
|
||||
|
||||
turretSize: 18
|
||||
turretTurnSpeed: 4
|
||||
|
||||
maxAttackRange: 280
|
||||
shootDelay: 3s
|
||||
|
||||
turretMultiTargeting: true
|
||||
|
||||
[turret_Main]
|
||||
#base1
|
||||
x:0
|
||||
y:25
|
||||
image:ROOT:/assets/oldsungodimg/T2/Red/redlight.png
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
chargeEffectImage: SHARED:lighting_charge.png
|
||||
turnSpeedAcceleration: 0.4
|
||||
warmup:3s
|
||||
projectile: 电击
|
||||
size:12
|
||||
shoot_sound: large_gun_fire2
|
||||
shoot_sound_vol: 0.27
|
||||
shoot_flame: large
|
||||
shoot_light:#7AAB86
|
||||
limitingRange:200
|
||||
#delay: 125
|
||||
|
||||
recoilReturnTime: 1
|
||||
|
||||
[turret_火炮A]
|
||||
#base2
|
||||
x: 0
|
||||
y: 41.75
|
||||
image:ROOT:/assets/oldsungodimg/T2/Red/redhevayturret.png
|
||||
#attachedTo:Main
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackNotTouchingWaterUnits: false
|
||||
projectile:火炮
|
||||
|
||||
[turret_火炮B]
|
||||
#base3
|
||||
x: 0
|
||||
y: -32.75
|
||||
image:ROOT:/assets/oldsungodimg/T2/Red/redhevayturret.png
|
||||
#attachedTo:Main
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackNotTouchingWaterUnits: false
|
||||
projectile:火炮
|
||||
|
||||
[turret_ANATB]
|
||||
#base3
|
||||
x: -7
|
||||
y: -6
|
||||
image:ROOT:/assets/oldsungodimg/T2/Red/redantiair.png
|
||||
#attachedTo:Main
|
||||
warmup: 1.75s
|
||||
projectile:防空
|
||||
limitingRange:220
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackNotTouchingWaterUnits: false
|
||||
|
||||
[turret_ANATA]
|
||||
#base3
|
||||
x: 7
|
||||
y: -6
|
||||
image:ROOT:/assets/oldsungodimg/T2/Red/redantiair.png
|
||||
#attachedTo:Main
|
||||
warmup: 1.75s
|
||||
projectile:防空
|
||||
limitingRange:220
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackNotTouchingWaterUnits: false
|
||||
|
||||
[turret_4]
|
||||
#反潜
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
|
||||
invisible: true
|
||||
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: true
|
||||
canAttackNotTouchingWaterUnits: false
|
||||
canAttackCondition: if self.isOverwater()
|
||||
|
||||
projectile: subBot
|
||||
|
||||
size: 1.1
|
||||
|
||||
delay: 100
|
||||
|
||||
turnSpeed: 15
|
||||
|
||||
[projectile_火炮]
|
||||
directDamage:125
|
||||
life: 150
|
||||
speed: 7
|
||||
largeHitEffect: true
|
||||
frame: 2
|
||||
trailEffect: true
|
||||
areaDamage: 50
|
||||
areaRadius: 50
|
||||
lightColor: #cccc00
|
||||
lightSize: 0.3
|
||||
|
||||
[projectile_subBot]
|
||||
#torpedo
|
||||
directDamage: 60
|
||||
life: 500
|
||||
speed: 0.4
|
||||
targetSpeed: 1.3
|
||||
largeHitEffect: true
|
||||
drawSize: 1.3
|
||||
color: #000000
|
||||
|
||||
trailEffect: true
|
||||
deflectionPower:-1
|
||||
|
||||
[projectile_电击]
|
||||
#directDamage: 310
|
||||
directDamage: 200
|
||||
life: 30
|
||||
instant: true
|
||||
lightingEffect: true
|
||||
largeHitEffect: true
|
||||
explodeEffect:CUSTOM:lightningShock*1, CUSTOM:sparks*6
|
||||
explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash
|
||||
shieldDamageMultiplier: 1
|
||||
shieldDefectionMultiplier: 0.1
|
||||
|
||||
[effect_hitLightFlash]
|
||||
priority:high
|
||||
|
||||
image: SHARED:light_50.png
|
||||
life: 17
|
||||
fadeOut: true
|
||||
attachedToUnit: false
|
||||
color: #63e6e8
|
||||
|
||||
scaleFrom: 2.3
|
||||
scaleTo: 2.3
|
||||
alpha: 0.6
|
||||
drawUnderUnits:false
|
||||
|
||||
[effect_lightningShock]
|
||||
life: 80
|
||||
|
||||
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.6
|
||||
ySpeedRelativeRandom: 1.6
|
||||
hSpeed: 2
|
||||
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
|
||||
|
||||
|
||||
[projectile_防空]
|
||||
#aa ball
|
||||
directDamage: 90
|
||||
areaDamage: 45
|
||||
areaRadius:80
|
||||
life: 30
|
||||
speed: 2
|
||||
frame:4
|
||||
trailEffect: true
|
||||
largeHitEffect: true
|
||||
wobbleAmplitude: 0.4
|
||||
wobbleFrequency: 0.8s
|
||||
turnSpeed:3
|
||||
lightSize:0.2
|
||||
spawnProjectilesOnEndOfLife:torpedoLocked(offsetDir=90),torpedoLocked(offsetDir=-90),torpedoLocked(offsetDir=30)
|
||||
|
||||
[projectile_torpedoLocked]
|
||||
@copyFromSection: projectile_防空
|
||||
life: 300
|
||||
turnSpeed:6
|
||||
spawnProjectilesOnEndOfLife: NONE
|
||||
|
||||
[movement]
|
||||
|
||||
movementType: WATER
|
||||
|
||||
moveSpeed: 0.5
|
||||
moveAccelerationSpeed: 0.023
|
||||
moveDecelerationSpeed: 0.16
|
||||
|
||||
reverseSpeedPercentage: 1
|
||||
|
||||
maxTurnSpeed: 1.2
|
||||
turnAcceleration: 0.039
|
||||
|
||||
moveSlidingMode: false
|
||||
moveSlidingDir: 0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
249
code/oldsungod/重型坦克-原型/SHTank.ini
Normal file
|
@ -0,0 +1,249 @@
|
|||
|
||||
[core]
|
||||
|
||||
|
||||
name: superHeavyTank
|
||||
displayText: Heavy Tank-Prototype
|
||||
displayText_zh:重型坦克-原型
|
||||
displayDescription: -Fully armed tanks have laid a good fighting foundation for the old T2 era. \n-has a more powerful two barrel cannon, which has a remarkable anti air effect. It can be called the old sun god T2 comprehensive war heavy tank.
|
||||
displayDescription_zh:全副武装的坦克,为旧日的T2时代打下了良好的战斗基础。\n拥有更强大的两管加农炮,对空效果显著,是称得上旧日T2全面化的战争重型坦克。
|
||||
class: CustomUnitMetadata
|
||||
price: 2500
|
||||
maxHp: 1600
|
||||
mass: 5600
|
||||
|
||||
fogOfWarSightRange: 22
|
||||
armour: 3
|
||||
|
||||
transportSlotsNeeded: 2
|
||||
|
||||
techLevel: 2
|
||||
buildSpeed: 15s
|
||||
#availableInDemo: true
|
||||
|
||||
radius: 26
|
||||
displayRadius:26
|
||||
isBio: false
|
||||
softCollisionOnAll: 0
|
||||
|
||||
#builtFrom_2_name: mod=RES=megaFactory
|
||||
#builtFrom_2_pos: 5
|
||||
|
||||
[graphics]
|
||||
total_frames: 3
|
||||
image: ROOT:/assets/oldsungodimg/T2/superTank/super_heavy_tank_body.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/T2/superTank/Dead Sht.png
|
||||
image_turret: ROOT:/assets/oldsungodimg/T2/superTank/super_heavy_turret.png
|
||||
image_shadow: AUTO
|
||||
shadowOffsetX:2
|
||||
shadowOffsetY:3
|
||||
dustEffect: true
|
||||
animation_moving_start: 0
|
||||
animation_moving_end: 2
|
||||
animation_moving_speed: 2.4
|
||||
teamColorsOnTurret: true
|
||||
turretImageScale: 0.9
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
turretSize: 19
|
||||
turretTurnSpeed: 2.3
|
||||
|
||||
maxAttackRange: 265
|
||||
#shootDelay: 1.2s
|
||||
turretMultiTargeting: true
|
||||
|
||||
[turret_1]
|
||||
#large barrel
|
||||
x:5
|
||||
y:3
|
||||
attachedTo: 2
|
||||
slave: true
|
||||
|
||||
shoot_sound:large_gun_fire2
|
||||
shoot_sound_vol:0.35
|
||||
shoot_flame:small
|
||||
|
||||
shoot_light:#FFEECCCC
|
||||
image: ROOT:/assets/oldsungodimg/T2/superTank/sht_barrel.png
|
||||
canShoot: true
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
warmup: 0.11s
|
||||
recoilOffset: -5
|
||||
recoilOutTime: 4
|
||||
recoilReturnTime: 23
|
||||
size: 28
|
||||
delay: 3.22s
|
||||
|
||||
[turret_0]
|
||||
#large Barrel
|
||||
x: 0
|
||||
y: 6
|
||||
attachedTo: 2
|
||||
slave: true
|
||||
copyFrom: 1
|
||||
warmup: 0.73s
|
||||
linkDelayWithTurret: 1
|
||||
|
||||
[turret_3]
|
||||
#Large Barrel
|
||||
x: -5
|
||||
y: 3
|
||||
attachedTo: 2
|
||||
slave: true
|
||||
copyFrom: 1
|
||||
warmup: 0.73s
|
||||
linkDelayWithTurret: 1
|
||||
|
||||
[turret_2]
|
||||
#main turret
|
||||
x:0
|
||||
y:-5
|
||||
canShoot: false
|
||||
turnSpeedAcceleration: 0.075725
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
[turret_4]
|
||||
#tiny turret
|
||||
x: -5
|
||||
y: -1
|
||||
attachedTo: 2
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
image: ROOT:/assets/oldsungodimg/T2/superTank/very_tiny_turret.png
|
||||
|
||||
idleDir: -30
|
||||
size: 5
|
||||
|
||||
delay: 0.73s
|
||||
warmup: 0.71s
|
||||
shoot_sound: firing4
|
||||
shoot_sound_vol: 0.444
|
||||
|
||||
recoilOffset: -0.25
|
||||
recoilOutTime: 1
|
||||
recoilReturnTime: 11
|
||||
turnSpeed: 3
|
||||
turnSpeedAcceleration: 0.5
|
||||
projectile: 2
|
||||
|
||||
[turret_5]
|
||||
#tiny turret
|
||||
x: 5
|
||||
y: -1
|
||||
attachedTo: 2
|
||||
copyFrom: 4
|
||||
warmup: 0.82s
|
||||
linkDelayWithTurret: 4
|
||||
|
||||
idleDir: 30
|
||||
|
||||
[turret_6]
|
||||
#anti-air first attack
|
||||
x: 2
|
||||
y: 7
|
||||
|
||||
attachedTo: 2
|
||||
|
||||
invisible: true
|
||||
|
||||
canShoot: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
projectile: 3
|
||||
|
||||
shoot_sound: missile_fire
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame: NONE
|
||||
shoot_light:#FFCCEEEE
|
||||
|
||||
recoilOffset: -1.5
|
||||
recoilOutTime: 3
|
||||
recoilReturnTime: 10
|
||||
|
||||
size: 0
|
||||
|
||||
delay: 1.5s
|
||||
|
||||
[turret_7]
|
||||
#anti-air second attack
|
||||
x: -2
|
||||
y: 7
|
||||
|
||||
attachedTo: 2
|
||||
|
||||
copyFrom: 6
|
||||
linkDelayWithTurret: 6
|
||||
warmup: 1.5s
|
||||
|
||||
[projectile_1]
|
||||
#projectile type 3 (HEAVY)
|
||||
#directDamage: 60
|
||||
life: 60
|
||||
speed: 8
|
||||
targetGround: true
|
||||
largeHitEffect: true
|
||||
frame: 8
|
||||
drawSize: 1
|
||||
areaDamage: 100
|
||||
areaRadius: 50
|
||||
drawType: 3
|
||||
|
||||
lightColor: #ffff00
|
||||
lightSize: 0.4
|
||||
|
||||
[projectile_2]
|
||||
#projectile type 1 (Bullet Pol)
|
||||
directDamage: 20
|
||||
life: 240
|
||||
speed: 11
|
||||
frame: 7
|
||||
#drawType: 4
|
||||
autoTargetingOnDeadTarget: true
|
||||
|
||||
[projectile_3]
|
||||
#projectile type 23 (AIR)
|
||||
directDamage: 23
|
||||
life: 160
|
||||
speed: 1
|
||||
targetSpeed: 5
|
||||
|
||||
drawSize: 1.8
|
||||
color: #f7ff1d
|
||||
|
||||
trailEffect: true
|
||||
largeHitEffect: true
|
||||
|
||||
ballistic: true
|
||||
ballistic_delaymove_height:25
|
||||
ballistic_height: 25
|
||||
|
||||
lightColor: #f7ff1d
|
||||
lightSize: 0.5
|
||||
|
||||
[movement]
|
||||
movementType: LAND
|
||||
moveSpeed: 0.62
|
||||
moveAccelerationSpeed: 0.04
|
||||
moveDecelerationSpeed: 0.15
|
||||
reverseSpeedPercentage: 1
|
||||
|
||||
maxTurnSpeed: 3
|
||||
turnAcceleration: 0.055
|
||||
|
||||
moveSlidingMode :false
|
||||
moveIgnoringBody:false
|
||||
|
||||
|
||||
|
233
code/oldsungod/重型悬浮坦克-原型/super_heavy_hovertank.ini
Normal file
|
@ -0,0 +1,233 @@
|
|||
|
||||
[core]
|
||||
|
||||
|
||||
class: CustomUnitMetadata
|
||||
mass: 3000
|
||||
|
||||
name: superHeavyHoverTank
|
||||
displayText: Heavy Hovercushion Tank - Prototype
|
||||
displayText_zh:重型气垫坦克-原型
|
||||
displayDescription: -The crystallization of old sun technology can be moved on water, equipped with machine gun muzzle and two plasma laser cannons at close range. \n-It can be used for anti submarine and air defense, but its attack is weak. It can repair itself and has a shield.
|
||||
displayDescription_zh:旧日的科技结晶,可以在水上移动,配有机关枪炮口,近距离还有两门等离子激光炮。\n-可以反潜,防空,但攻击较弱,可以自我修复,拥有护盾。
|
||||
|
||||
maxHp: 1000
|
||||
selfRegenRate: 0.2
|
||||
maxShield: 1100
|
||||
|
||||
#builtFrom_1_name: mod=RES=megaFactory
|
||||
#builtFrom_1_pos: 0
|
||||
buildSpeed: 25s
|
||||
techLevel: 2
|
||||
price: 3200
|
||||
|
||||
availableInDemo: false
|
||||
|
||||
radius: 15
|
||||
#displayRadius: 15
|
||||
isBio: false
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
image: SHARED:blank.png
|
||||
image_wreak: none
|
||||
image_turret: NONE
|
||||
#scaleImagesTo:
|
||||
teamColorsOnTurret: true
|
||||
splastEffect: true
|
||||
lock_body_rotation_with_main_turret: false
|
||||
|
||||
image_shadow: ROOT:/assets/oldsungodimg/T2/SuperHeavyTank/super_heavy_hover_tank_shadow.png
|
||||
shadowOffsetX:2
|
||||
shadowOffsetY:2
|
||||
|
||||
[attack]
|
||||
turretRotateWithBody: true
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: true
|
||||
maxAttackRange: 240
|
||||
shootDelay: 15
|
||||
isFixedFiring: true
|
||||
|
||||
turretMultiTargeting: true
|
||||
|
||||
[turret_1]
|
||||
invisible: true
|
||||
x: -7
|
||||
y: 0
|
||||
idleDir:0
|
||||
projectile: 1
|
||||
size: 12
|
||||
attachedTo: 0
|
||||
|
||||
limitingRange: 120
|
||||
|
||||
shoot_sound:plasma_fire2
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:NONE
|
||||
shoot_light: #ffff0000
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
recoilOffset: -1.5
|
||||
recoilOutTime: 4
|
||||
recoilReturnTime: 10
|
||||
|
||||
[turret_2]
|
||||
invisible: true
|
||||
x: 7
|
||||
y: 0
|
||||
idleDir:0
|
||||
projectile: 1
|
||||
size: 12
|
||||
copyFrom: 1
|
||||
linkDelayWithTurret: 1
|
||||
warmup: 12
|
||||
attachedTo: 0
|
||||
slave: true
|
||||
|
||||
[turret_3]
|
||||
#torpedo
|
||||
invisible: true
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: true
|
||||
canAttackCondition: if self.overwater
|
||||
projectile: 2
|
||||
size: 1
|
||||
turnSpeed: 15
|
||||
delay: 120
|
||||
|
||||
[turret_4]
|
||||
#
|
||||
image: SHARED:experimental_tank_turret3.png
|
||||
x:0
|
||||
y:10
|
||||
|
||||
size: 15
|
||||
|
||||
canAttack: true
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackFlyingUnits: false
|
||||
|
||||
attachedTo: 0
|
||||
slave: true
|
||||
|
||||
recoilOffset: -2.5
|
||||
recoilOutTime: 3
|
||||
recoilReturnTime: 15
|
||||
|
||||
delay: 0.22s
|
||||
turnSpeed: 0
|
||||
|
||||
projectile: 3
|
||||
|
||||
shoot_sound: ROOT:/sound/machine_firing1.wav
|
||||
shoot_sound_vol: 0.3
|
||||
shoot_flame: small
|
||||
shoot_light:#FFCCEEEE
|
||||
|
||||
[turret_0]
|
||||
#turret base body (turret must be on last slot)
|
||||
x:0
|
||||
y:0
|
||||
|
||||
canAttack: false
|
||||
turnSpeed: 4
|
||||
turnSpeedAcceleration:0.2
|
||||
|
||||
#recoilOffset: -1.5
|
||||
#recoilOutTime: 4
|
||||
#recoilReturnTime: 10
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/T2/SuperHeavyTank/super_heavy_hover_tank.png
|
||||
|
||||
[projectile_1]
|
||||
|
||||
#=== for the beam effect ===
|
||||
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: 45
|
||||
|
||||
#color: #aa6284b8
|
||||
#color: #dd99bcf2
|
||||
color: #ff0000
|
||||
|
||||
teamColorRatio_sourceRatio:0.8
|
||||
|
||||
teamColorRatio:0.5
|
||||
|
||||
#laserEffect: true
|
||||
|
||||
[projectile_2]
|
||||
#torpedo
|
||||
directDamage: 50
|
||||
life: 250
|
||||
speed: 0.6
|
||||
targetSpeed: 1.3
|
||||
largeHitEffect: true
|
||||
drawSize: 1
|
||||
color: #1E1E96
|
||||
trailEffect: true
|
||||
|
||||
[projectile_3]
|
||||
#heavy guns
|
||||
directDamage:60
|
||||
life:210
|
||||
speed: 13
|
||||
largeHitEffect: false
|
||||
drawSize: 0.9
|
||||
color: #f1f1f1
|
||||
frame: 8
|
||||
|
||||
[movement]
|
||||
movementType: HOVER
|
||||
moveSpeed: 0.76
|
||||
moveAccelerationSpeed: 0.019
|
||||
moveDecelerationSpeed: 0.028
|
||||
targetHeight: 4
|
||||
targetHeightDrift: 1.5
|
||||
maxTurnSpeed: 2.5
|
||||
turnAcceleration: 0.3
|
||||
moveSlidingMode :true
|
||||
moveIgnoringBody:true
|
||||
moveSlidingDir: 181
|
||||
reverseSpeedPercentage:0
|
||||
|
||||
|
||||
maxTurnSpeed: 3.6
|
||||
turnAcceleration: 0.2
|
||||
|
||||
moveSlidingMode :true
|
||||
moveIgnoringBody:true
|
||||
moveSlidingDir: 181
|
||||
|
||||
|
||||
|
99
code/oldsungod/重型拦截机/高阶拦截机.ini
Normal file
|
@ -0,0 +1,99 @@
|
|||
[core]
|
||||
class: CustomUnitMetadata
|
||||
mass: 2600
|
||||
name: multiceptor
|
||||
displayText: High-Interceptor
|
||||
displayDescription: -Can intercept air units and cause group damage\n\n-Medium movement speed, unable to self repair.
|
||||
|
||||
displayText_zh:高阶拦截机
|
||||
displayDescription_zh:-可以拦截空中单位,造成群体伤害\n\n-移速中等,不能自我修复。
|
||||
|
||||
maxHp: 300
|
||||
price: 1000
|
||||
buildSpeed: 10s
|
||||
techLevel: 2
|
||||
radius: 18
|
||||
#displayRadius: 0
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
image: ROOT:/assets/oldsungodimg/T2/iplcter/高阶拦截机.png
|
||||
image_wreak: none
|
||||
image_turret: none
|
||||
image_shadow: auto
|
||||
shadowOffsetX: 1
|
||||
shadowOffsetY: 1
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
turretSize: 20
|
||||
turretTurnSpeed: 1
|
||||
maxAttackRange: 200
|
||||
shootDelay: 1.5s
|
||||
turretRotateWithBody: false
|
||||
|
||||
[turret_aa1]
|
||||
#aa = anti air
|
||||
x: 10
|
||||
y: 7
|
||||
size: 0
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
canAttackLandUnits: false
|
||||
projectile: aaa
|
||||
shoot_sound: plasma_fire
|
||||
shoot_sound_vol: 0.2
|
||||
shoot_flame: small
|
||||
shoot_light:#FFCCEEEE
|
||||
recoilOffset: -1
|
||||
recoilOutTime: 3
|
||||
recoilReturnTime: 15
|
||||
[turret_aa2]
|
||||
x: -10
|
||||
y: -5
|
||||
copyFrom: aa1
|
||||
linkDelayWithTurret: aa1
|
||||
warmup: 25
|
||||
|
||||
[projectile_aaa]
|
||||
#aaa - anti air attack
|
||||
directDamage: 45
|
||||
areaDamage: 30
|
||||
areaRadius: 60
|
||||
life: 100
|
||||
speed: 7
|
||||
drawSize: 1.8
|
||||
color: #46ebff
|
||||
lightColor: #46ebff
|
||||
lightSize: 0.4
|
||||
[projectile_missile]
|
||||
directDamage: 0
|
||||
life: 290
|
||||
speed: 7
|
||||
drawSize: 0.9
|
||||
drawType: 2
|
||||
frame: 4
|
||||
trailEffect: true
|
||||
largeHitEffect: true
|
||||
[movement]
|
||||
movementType: AIR
|
||||
moveSpeed: 1.6
|
||||
moveAccelerationSpeed: 0.1
|
||||
moveDecelerationSpeed: 0.1
|
||||
|
||||
maxTurnSpeed: 3.7
|
||||
turnAcceleration: 0.5
|
||||
|
||||
reverseSpeedPercentage: 0.75
|
||||
|
||||
targetHeight: 20
|
||||
targetHeightDrift: 1
|
||||
|
||||
moveSlidingMode :true
|
||||
moveIgnoringBody:true
|
||||
moveSlidingDir: 181
|
||||
|
||||
|
||||
slowDeathFall: true
|
122
code/oldsungod/重型激光炮塔/LaserTurret.ini
Normal file
|
@ -0,0 +1,122 @@
|
|||
|
||||
[core]
|
||||
#ek
|
||||
name: LaserTurret
|
||||
displayText: HeavyLaserTurret
|
||||
displayDescription: -It can intercept air units and cause fatal single attack.
|
||||
displayText_zh:重型激光炮塔
|
||||
displayDescription_zh:-可以拦截空中单位,造成致命的单体攻击。
|
||||
class: CustomUnitMetadata
|
||||
price: 2500
|
||||
maxHp: 1600
|
||||
mass: 9000
|
||||
|
||||
selfRegenRate:0.05
|
||||
|
||||
footprint: -1,-1,1,1
|
||||
constructionFootprint:-1,-1,1,1
|
||||
|
||||
#buildingToFootprintOffsetX:20
|
||||
buildingToFootprintOffsetY:10
|
||||
|
||||
techLevel: 1
|
||||
buildSpeed: 83.3s
|
||||
|
||||
radius: 35
|
||||
displayRadius: 35
|
||||
buildingSelectionOffset: -8
|
||||
|
||||
isBuilding: true
|
||||
isBio: false
|
||||
fogOfWarSightRange:24
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
|
||||
image: ROOT:/assets/oldsungodimg/LaserTurret/Base.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/LaserTurret/Dead.png
|
||||
image_turret: ROOT:/assets/oldsungodimg/LaserTurret/Turret.png
|
||||
|
||||
scaleTurretImagesTo: 55
|
||||
teamColorsOnTurret:true
|
||||
#AUTO
|
||||
image_shadow: SHADOW:ROOT:/assets/oldsungodimg/LaserTurret/Shadow.png
|
||||
|
||||
shadowOffsetX:1
|
||||
shadowOffsetY:4
|
||||
|
||||
lock_shadow_rotation_with_main_turret: true
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
shootDelay:24
|
||||
aimOffsetSpread:0.25
|
||||
maxAttackRange: 320
|
||||
|
||||
[turret_2]
|
||||
#右
|
||||
x:12.5
|
||||
y:28
|
||||
image:ROOT:/assets/oldsungodimg/LaserTurret/Barrel.png
|
||||
size: 10
|
||||
attachedTo: 4
|
||||
slave:true
|
||||
recoilOffset: -2
|
||||
recoilOutTime: 2
|
||||
recoilReturnTime: 20
|
||||
canShoot:true
|
||||
projectile:1
|
||||
delay:25
|
||||
#invisible: false
|
||||
|
||||
shoot_sound:ROOT:/sound/shoottwo.ogg
|
||||
shoot_sound_vol:0.6
|
||||
shoot_light:#ff0000
|
||||
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
turnSpeed: 0
|
||||
|
||||
[turret_3]
|
||||
#左
|
||||
x:-12.5
|
||||
y:28
|
||||
copyFrom:2
|
||||
delay: 25
|
||||
warmup:25
|
||||
linkDelayWithTurret:2
|
||||
|
||||
|
||||
[turret_4]
|
||||
image:ROOT:/assets/oldsungodimg/LaserTurret/Turret.png
|
||||
x: 0
|
||||
y: 3
|
||||
invisible:false
|
||||
turnSpeed: 1.5
|
||||
turnSpeedAcceleration: 0.2
|
||||
canShoot:false
|
||||
|
||||
[projectile_1]
|
||||
#激光
|
||||
directDamage: 90
|
||||
drawSize: 1
|
||||
instant:true
|
||||
laserEffect: true
|
||||
life: 8
|
||||
lightColor: #ff0000
|
||||
lightSize: 0.3
|
||||
|
||||
[movement]
|
||||
movementType: NONE
|
||||
moveSpeed: 0
|
||||
moveAccelerationSpeed: 0.01
|
||||
moveDecelerationSpeed: 0.01
|
||||
|
||||
maxTurnSpeed: 0
|
||||
turnAcceleration: 0.1
|
131
code/oldsungod/重型轰炸机/HeavyB.ini
Normal file
|
@ -0,0 +1,131 @@
|
|||
|
||||
[core]
|
||||
|
||||
name: Heavyb
|
||||
altNames: Heavy Bomber
|
||||
displayText: Heavy Bomber
|
||||
displayDescription: -A Bomber, but heavier and faster \n -Expensive \n -Effective Against land units and Buildings \n 1x Drone Turret for Air defense.
|
||||
|
||||
displayText_zh: 重型轰炸机
|
||||
displayDescription_zh:-重型导弹但移速缓慢\n-高范围AOE伤害,对空对地。
|
||||
|
||||
price: 12000
|
||||
mass: 8000
|
||||
class: CustomUnitMetadata
|
||||
techLevel: 2
|
||||
buildSpeed: 65s
|
||||
|
||||
radius: 30
|
||||
displayRadius:30
|
||||
maxHp: 7000
|
||||
softCollisionOnAll: 30
|
||||
|
||||
energyMax: 3
|
||||
energyRegen: 0.00182
|
||||
energyStartingPercentage: 1
|
||||
energyNeedsToRechargeToFull: true
|
||||
|
||||
numBitsOnDeath: 60
|
||||
explodeTypeOnDeath: largeUnit
|
||||
|
||||
[graphics]
|
||||
image: ROOT:/assets/oldsungodimg/T2/HeavyBomber/Heavy_Bomber.png
|
||||
image_shadow: AUTO
|
||||
total_frames: 1
|
||||
image_wreak: ROOT:/assets/oldsungodimg/T2/HeavyBomber/Heavy_is_Dead.png
|
||||
|
||||
[attack]
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: true
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
attackMovement:bomber
|
||||
maxAttackRange: 300
|
||||
|
||||
[turret_1]
|
||||
#bomber
|
||||
invisible: true
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: false
|
||||
limitingRange: 100
|
||||
delay:1.5s
|
||||
warmup:1.5s
|
||||
projectile: 2
|
||||
size: 1.1
|
||||
turnSpeed: 20
|
||||
|
||||
energyUsage: 1
|
||||
|
||||
|
||||
[projectile_2]
|
||||
|
||||
|
||||
life: 250
|
||||
speed: 0.3
|
||||
targetSpeed: 1.7
|
||||
drawSize: 1
|
||||
color: #000000
|
||||
trailEffect: false
|
||||
largeHitEffect: true
|
||||
|
||||
targetGround: true
|
||||
|
||||
areaDamage: 750
|
||||
areaRadius: 120
|
||||
|
||||
|
||||
deflectionPower: 3
|
||||
|
||||
|
||||
[turret_2]
|
||||
x:0
|
||||
y:14
|
||||
canShoot: true
|
||||
image: ROOT:/assets/oldsungodimg/T2/HeavyBomber/Drone_Turret.png
|
||||
shoot_flame: smoke
|
||||
projectile: 1
|
||||
|
||||
canAttackLandUnits: false
|
||||
|
||||
idleDir: 180
|
||||
delay:19
|
||||
limitingMinRange: 80
|
||||
|
||||
shoot_sound: gun_fire
|
||||
shoot_sound_vol: 0.3
|
||||
|
||||
turnSpeed: 6
|
||||
turnSpeedAcceleration: 1
|
||||
|
||||
aimOffsetSpread: 0.5
|
||||
|
||||
|
||||
[projectile_1]
|
||||
|
||||
life: 500
|
||||
directDamage: 20
|
||||
speed: 12
|
||||
image: ROOT:/assets/oldsungodimg/T2/HeavyBomber/Twin_Bullets.png
|
||||
lightColor: #fff200
|
||||
lightSize: 0.3
|
||||
trailEffect: true
|
||||
trailEffectRate: 3
|
||||
|
||||
[movement]
|
||||
movementType: AIR
|
||||
moveSpeed: 0.8
|
||||
moveAccelerationSpeed: 0.005
|
||||
moveDecelerationSpeed: 0.01
|
||||
reverseSpeedPercentage: 0
|
||||
landOnGround: OnlyIdle
|
||||
maxTurnSpeed: 3
|
||||
turnAcceleration: 0.01
|
||||
slowDeathFall: true
|
||||
targetHeight: 35
|
||||
|
||||
[ai]
|
||||
noneInBaseExtraPriority: 0.4
|
|
@ -91,4 +91,4 @@ text_zh: 升级
|
|||
description_zh: 允许制造更多的先进单位
|
||||
buildSpeed: 42s
|
||||
pos:-1
|
||||
isLocked:true
|
||||
#isLocked:true
|
|
@ -10,7 +10,25 @@ displayText: LandFactoryT2
|
|||
displayText_zh:陆军工厂T2
|
||||
|
||||
[canBuild_Rally]
|
||||
name:setRally,scout,tank,c_artillery,hoverTank,目视者,幻光者
|
||||
name:setRally,scout,tank,c_artillery,hoverTank,目视者,幻光者,superHeavyHoverTank,Igniter,superHeavyTank,combatEngineer,c_mammothTank,heavyTank,missileTank,heavyHoverTank,plasmaTank,c_laserTank,hovercraft
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
image: ROOT:/assets/oldsungodimg/landfactory/LFFT2.png
|
||||
image_back: ROOT:/assets/oldsungodimg/landfactory/LFB2.png
|
||||
image_wreak: ROOT:/assets/oldsungodimg/landfactory/LFD.png
|
||||
|
||||
[arm_1]
|
||||
x:0
|
||||
y:0
|
||||
image_end:ROOT:/assets/oldsungodimg/landfactory/LandFactDoor.png
|
||||
drawOverBody:true
|
||||
[arm_2]
|
||||
x:0
|
||||
y:0
|
||||
image_end:ROOT:/assets/oldsungodimg/landfactory/LFFT2.png
|
||||
drawOverBody:true
|
||||
image_end_teamColors:true
|
||||
|
||||
[action_Upgrade]
|
||||
isVisible:false
|
||||
|
|
|
@ -45,7 +45,7 @@ convertTo: mechBunker
|
|||
displayType: action
|
||||
price: 0
|
||||
buildSpeed: 0.010
|
||||
isLocked:true
|
||||
#isLocked:true
|
||||
|
||||
|
||||
canPlayerCancel: false
|
||||
|
|
BIN
code/public/combat_engineer/base.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
code/public/combat_engineer/base_dead.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
305
code/public/combat_engineer/combat_engineer.ini
Normal file
|
@ -0,0 +1,305 @@
|
|||
|
||||
|
||||
[core]
|
||||
name: combatEngineerX
|
||||
class: CustomUnitMetadata
|
||||
price: 3500
|
||||
maxHp: 1000
|
||||
mass: 4000
|
||||
|
||||
overrideAndReplace:combatEngineer
|
||||
displayLocaleKey: combatEngineer
|
||||
|
||||
techLevel: 2
|
||||
|
||||
buildSpeed: 0.0005
|
||||
availableInDemo: false
|
||||
|
||||
selfRegenRate:0.1
|
||||
|
||||
radius: 17
|
||||
displayRadius: 18
|
||||
|
||||
isBio: false
|
||||
isBuilder: true
|
||||
|
||||
|
||||
canRepairBuildings: true
|
||||
canRepairUnits : true
|
||||
|
||||
|
||||
canReclaimResources: true
|
||||
|
||||
|
||||
transportSlotsNeeded: 2
|
||||
|
||||
generation_credits: 1
|
||||
generation_delay: 40
|
||||
|
||||
nanoRange: 95
|
||||
nanoBuildSpeed: 2
|
||||
|
||||
[canBuild_1]
|
||||
name: heavyTank
|
||||
pos: 1
|
||||
forceNano: true
|
||||
|
||||
[canBuild_2]
|
||||
name: AmphibiousJet
|
||||
pos: 2
|
||||
forceNano: true
|
||||
|
||||
[canBuild_3]
|
||||
name: extractorT2
|
||||
pos: 3
|
||||
#tech: 2
|
||||
|
||||
|
||||
[canBuild_4]
|
||||
name: landFactory, airFactory
|
||||
pos: 4
|
||||
tech: 2
|
||||
|
||||
[canBuild_5]
|
||||
name: mechFactoryT2
|
||||
pos: 5
|
||||
|
||||
[canBuild_6]
|
||||
name: seaFactory
|
||||
pos: 6
|
||||
tech: 2
|
||||
|
||||
[canBuild_7]
|
||||
name: fabricator
|
||||
pos: 7
|
||||
|
||||
[canBuild_8]
|
||||
name: repairBay
|
||||
pos: 8
|
||||
|
||||
[canBuild_9]
|
||||
name: 目视者
|
||||
pos: 2.1
|
||||
forceNano: true
|
||||
|
||||
[canBuild_10]
|
||||
name: turretT2, turret, c_turret_t1_lightning
|
||||
pos: 3.1
|
||||
|
||||
[canBuild_11]
|
||||
name: antiAirTurret
|
||||
pos: 3.2
|
||||
|
||||
[canBuild_12]
|
||||
name: laserDefenceT2
|
||||
pos: 12
|
||||
tech:2
|
||||
|
||||
[canBuild_16]
|
||||
name: extractor
|
||||
pos: 2.9
|
||||
tech: 1
|
||||
|
||||
[canBuild_17]
|
||||
name: reclaim
|
||||
pos: -1
|
||||
|
||||
|
||||
|
||||
[graphics]
|
||||
|
||||
total_frames: 1
|
||||
image: base.png
|
||||
image_wreak: base_dead.png
|
||||
image_turret: mammoth_tank_turret.png
|
||||
#scaleImagesTo: 20
|
||||
#scaleTurretImagesTo: 9
|
||||
|
||||
#AUTO
|
||||
image_shadow: AUTO
|
||||
shadowOffsetX:1
|
||||
shadowOffsetY:1
|
||||
|
||||
|
||||
|
||||
|
||||
[attack]
|
||||
|
||||
canAttack: true
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: true
|
||||
canAttackUnderwaterUnits: true
|
||||
|
||||
isFixedFiring: true
|
||||
|
||||
turretSize: 3
|
||||
turretTurnSpeed: 3
|
||||
|
||||
|
||||
maxAttackRange: 170
|
||||
shootDelay: 50
|
||||
|
||||
|
||||
turretRotateWithBody: false
|
||||
|
||||
|
||||
[turret_1]
|
||||
#coil
|
||||
x: 0
|
||||
y: -4
|
||||
attachedTo: 2
|
||||
size:20
|
||||
projectile: 1
|
||||
|
||||
turnSpeed: 0
|
||||
turnSpeedAcceleration: 0
|
||||
|
||||
shoot_sound:lighting_burst
|
||||
shoot_sound_vol:0.3
|
||||
shoot_flame:CUSTOM:sparks2*3
|
||||
shoot_light:#FFcceeee
|
||||
|
||||
canShoot: true
|
||||
|
||||
warmup:30
|
||||
|
||||
image: mammoth_tank_coil.png
|
||||
|
||||
chargeEffectImage: SHARED:lighting_charge.png
|
||||
|
||||
|
||||
[turret_2]
|
||||
#turret
|
||||
x: 0
|
||||
y: -4
|
||||
|
||||
canShoot: false
|
||||
|
||||
[turret_3]
|
||||
#torpedo
|
||||
invisible: true
|
||||
x: 0
|
||||
y: 0
|
||||
idleDir:0
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: true
|
||||
|
||||
canAttackCondition: if self.overwater
|
||||
|
||||
projectile: 2
|
||||
size: 1
|
||||
turnSpeed: 15
|
||||
delay: 150
|
||||
|
||||
|
||||
[projectile_1]
|
||||
#directDamage: 310
|
||||
directDamage: 45
|
||||
|
||||
life: 25
|
||||
instant: true
|
||||
lightingEffect: true
|
||||
largeHitEffect: true
|
||||
|
||||
shieldDamageMultiplier: 1
|
||||
shieldDefectionMultiplier: 0.1
|
||||
|
||||
buildingDamageMultiplier: 0.5
|
||||
|
||||
explodeEffect:CUSTOM:lightningShock, CUSTOM:sparks*8
|
||||
|
||||
explodeEffectOnShield:CUSTOM:lightningShock*1, CUSTOM:hitLightFlash
|
||||
|
||||
[projectile_2]
|
||||
#torpedo
|
||||
directDamage: 45
|
||||
life: 250
|
||||
speed: 0.4
|
||||
targetSpeed: 1.3
|
||||
drawSize: 1
|
||||
color: #1E1E96
|
||||
trailEffect: true
|
||||
largeHitEffect: true
|
||||
|
||||
|
||||
[movement]
|
||||
movementType: HOVER
|
||||
moveSpeed: 1.0
|
||||
moveAccelerationSpeed: 0.03
|
||||
moveDecelerationSpeed: 0.08
|
||||
|
||||
|
||||
targetHeight: 4
|
||||
targetHeightDrift: 1.5
|
||||
|
||||
maxTurnSpeed: 3.5
|
||||
turnAcceleration: 0.05
|
||||
|
||||
moveSlidingMode :true
|
||||
moveIgnoringBody:true
|
||||
moveSlidingDir: 181
|
||||
|
||||
|
||||
[ai]
|
||||
useAsBuilder: 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
|
||||
|
||||
|
||||
hOffset: 0
|
||||
dirOffset: 0
|
||||
|
||||
fadeInTime: 0
|
||||
fadeOut: false
|
||||
|
||||
attachedToUnit: true
|
||||
|
||||
|
||||
image: SHARED:lightning_shock.png
|
||||
total_frames: 14
|
||||
animateFrameStart: 0
|
||||
animateFrameEnd: 13
|
||||
animateFramePingPong: false
|
||||
animateFrameSpeed: 0.5
|
||||
|
||||
|
||||
|
||||
[effect_sparks]
|
||||
attachedToUnit: false
|
||||
life: 150
|
||||
physics: true
|
||||
xSpeedRelativeRandom: 1.6
|
||||
ySpeedRelativeRandom: 1.6
|
||||
hSpeed: 2
|
||||
image: SHARED:spark.png
|
||||
priority: verylow
|
||||
|
||||
[effect_sparks2]
|
||||
attachedToUnit: false
|
||||
life: 150
|
||||
physics: true
|
||||
xSpeedRelativeRandom: 0.5
|
||||
ySpeedRelativeRandom: 0.5
|
||||
hSpeed: 1
|
||||
image: SHARED:spark.png
|
||||
priority: verylow
|
||||
|
||||
|
||||
|
BIN
code/public/combat_engineer/mammoth_tank_coil.png
Normal file
After Width: | Height: | Size: 258 B |
BIN
code/public/combat_engineer/mammoth_tank_turret.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
|
@ -115,8 +115,7 @@ buildPriority: 0.03
|
|||
noneInBaseExtraPriority: 0.04
|
||||
noneGlobalExtraPriority: 0.1
|
||||
|
||||
maxGlobal: 1
|
||||
maxGlobal: 5
|
||||
maxGlobal: 3
|
||||
|
||||
|
||||
|
||||
|
|
77
code/public/heavyli/Heavy Dropship Landed.ini
Normal file
|
@ -0,0 +1,77 @@
|
|||
|
||||
[core]
|
||||
name: heavyDropshipLanded
|
||||
copyFrom: Heavy Dropship.ini
|
||||
class: CustomUnitMetadata
|
||||
|
||||
[graphics]
|
||||
|
||||
|
||||
|
||||
|
||||
[attack]
|
||||
|
||||
|
||||
|
||||
|
||||
[action_convert]
|
||||
|
||||
|
||||
|
||||
autoTrigger: false
|
||||
|
||||
[action_convert1]
|
||||
isVisible: false
|
||||
text: null
|
||||
autoTrigger: if self.isFlying
|
||||
price: 0
|
||||
buildSpeed: 0.001s
|
||||
alsoQueueAction: wingAnimation1
|
||||
|
||||
[action_wingAnimation1]
|
||||
isVisible: false
|
||||
text: null
|
||||
price: 0
|
||||
buildSpeed: 1.5s
|
||||
whenBuilding_playAnimation: takingOff
|
||||
convertTo: heavyDropship
|
||||
|
||||
[animation_takingOffOld]
|
||||
blendIn: 0s
|
||||
|
||||
arm1_0s: {x:0, y:3}
|
||||
arm2_0s: {x:0, y:3}
|
||||
|
||||
arm1_0.5s: {x:-0, y:-3}
|
||||
arm2_0.5s: {x:0, y:-3}
|
||||
|
||||
arm1_1s: {x:-5, y:-3}
|
||||
arm2_1s: {x:-5, y:-3}
|
||||
|
||||
arm1_1.4s: {x:0, y:0}
|
||||
arm2_1.4s: {x:0, y:0}
|
||||
|
||||
[animation_takingOff]
|
||||
blendIn: 0s
|
||||
|
||||
arm1_0.5s: {x:-6, y:0}
|
||||
arm2_0.5s: {x:6, y:0}
|
||||
|
||||
arm1_1.25s: {x:-6, y:6}
|
||||
arm2_1.25s: {x:6, y:6}
|
||||
|
||||
arm1_1.5s: {x:-6, y:6}
|
||||
arm2_1.5s: {x:6, y:6}
|
||||
|
||||
[arm_1]
|
||||
x:-5
|
||||
y:-3
|
||||
|
||||
[arm_2]
|
||||
x:5
|
||||
y:-3
|
||||
|
||||
[movement]
|
||||
|
||||
|
||||
|
115
code/public/heavyli/Heavy Dropship.ini
Normal file
|
@ -0,0 +1,115 @@
|
|||
|
||||
[core]
|
||||
name: heavyDropship
|
||||
displayText: Heavy Dropship
|
||||
displayDescription: -Has 6 transport slots \n-Faster than any other air units
|
||||
displayText_zh: 重型运输机
|
||||
displayDescription_zh: -拥有6个单位运输槽\n-移动速度快,无法攻击。
|
||||
class: CustomUnitMetadata
|
||||
price: 1000
|
||||
maxHp: 800
|
||||
mass: 35000
|
||||
|
||||
techLevel: 2
|
||||
buildSpeed: 16s
|
||||
#availableInDemo: true
|
||||
|
||||
radius: 32
|
||||
isBio: false
|
||||
softCollisionOnAll: 2
|
||||
|
||||
maxTransportingUnits: 6
|
||||
|
||||
[action_convert]
|
||||
isVisible: false
|
||||
text: null
|
||||
autoTrigger: if not self.isFlying
|
||||
price: 0
|
||||
buildSpeed: 0.001s
|
||||
alsoQueueAction: wingAnimation
|
||||
|
||||
[action_wingAnimation]
|
||||
isVisible: false
|
||||
text: null
|
||||
price: 0
|
||||
buildSpeed: 1.5s
|
||||
convertTo: heavyDropshipLanded
|
||||
whenBuilding_playAnimation: landed
|
||||
|
||||
[graphics]
|
||||
total_frames: 1
|
||||
|
||||
image: heavy_dropship.png
|
||||
image_wreak: NONE
|
||||
image_turret: NONE
|
||||
|
||||
image_shadow: AUTO
|
||||
shadowOffsetX:1
|
||||
shadowOffsetY:1
|
||||
|
||||
[attack]
|
||||
canAttack: false
|
||||
canAttackFlyingUnits: false
|
||||
canAttackLandUnits: false
|
||||
canAttackUnderwaterUnits: false
|
||||
|
||||
[arm_1]
|
||||
x:-11
|
||||
y:3
|
||||
image_end: wing_left.png
|
||||
image_end_shadow: wing_left_shadow.png
|
||||
image_end_teamColors: true
|
||||
drawOverBody: true
|
||||
|
||||
[arm_2]
|
||||
x:11
|
||||
y:3
|
||||
image_end: wing_right.png
|
||||
image_end_shadow: wing_right_shadow.png
|
||||
copyFrom:1
|
||||
|
||||
[animation_landedOld]
|
||||
blendIn: 0s
|
||||
|
||||
arm1_0s: {x:0, y:0}
|
||||
arm2_0s: {x:0, y:0}
|
||||
|
||||
arm1_0.5s: {x:0, y:-3}
|
||||
arm2_0.5s: {x:0, y:-3}
|
||||
|
||||
arm1_1s: {x:-5, y:0}
|
||||
arm2_1s: {x:5, y:0}
|
||||
|
||||
arm1_1.4s: {x:0, y:0}
|
||||
arm2_1.4s: {x:0, y:0}
|
||||
|
||||
[animation_landed]
|
||||
blendIn: 0s
|
||||
|
||||
arm1_0.25s: {x:0, y:-6}
|
||||
arm2_0.25s: {x:0, y:-6}
|
||||
|
||||
arm1_1s: {x:6, y:-6}
|
||||
arm2_1s: {x:-6, y:-6}
|
||||
|
||||
arm1_1.5s: {x:6, y:-6}
|
||||
arm2_1.5s: {x:-6, y:-6}
|
||||
|
||||
[movement]
|
||||
movementType: AIR
|
||||
moveSpeed: 2.8
|
||||
moveAccelerationSpeed: 0.04
|
||||
moveDecelerationSpeed: 0.1
|
||||
|
||||
targetHeight:50
|
||||
|
||||
landOnGround: true
|
||||
|
||||
maxTurnSpeed: 1.6
|
||||
turnAcceleration: 0.1
|
||||
|
||||
moveSlidingMode:false
|
||||
moveIgnoringBody:false
|
||||
moveSlidingDir:0
|
||||
|
||||
slowDeathFall: true
|
BIN
code/public/heavyli/heavy_dropship.png
Normal file
After Width: | Height: | Size: 1.9 KiB |