镭射幽浮的汲取武器是一个功能性很强的武器,但是想用镭射幽浮强行破坏带Drainable=yes的建筑就很麻烦,因此我们需要加强它:通过变形切换武器来实现破坏和汲取自由选择,还能再加点新玩意儿。
镭射幽浮主武器不变,可以破坏它想破坏的一切玩意。副武器为部署武器,部署后会礼盒继承变形成另一个单位,姑且称之为空中监狱,它可以吸入单位(ARES的劫持者逻辑),使载具、建筑瘫痪并破坏它,并因此获得一定的治疗,DiskDrain武器也能按硬编码逻辑生效。两者能自由切换形态并保留乘客,劫持的乘客在本体被打爆后也能有一定几率释放。
需要用到的拓展平台为ARES3.0、Phobos最新的自动构建版本、KratosPP。
[DISK]
Primary=DiskLaser
;Secondary=DiskDrain
Secondary=DiskConvert
DeployFire=yes
DeployFireWeapon=1
AttachEffectTypes=DiskStandOverrideWeapon
[DiskStandOverrideWeapon] ;这个AE是防止镭射幽浮形态能吸入单位,算是一个细节调整
OverrideWeapon.Types=DummyWeapon
OverrideWeapon.EliteTypes=DummyWeapon
OverrideWeapon.AffectWho=STAND
[TDSK] ;变形后的单位,单位数据照抄DISK
MultiWeapon=yes
WeaponCount=3
MultiWeapon.SelectCount=3
Weapon1=DiskEMP
Weapon2=TdskConvert
Weapon3=DiskDrain
TechLevel=-1
DeployFire=yes
DeployFireWeapon=1
AttachEffectTypes=TdskStand,TdskStandOverrideWeapon
[TdskStand]
Stand.Type=ARPS
Stand.SelectToMaster=yes
Stand.SameLoseTarget=yes
Stand.VirtualUnit=no
Stand.Immune=no
DiscardOnTransform=no
[TdskStandOverrideWeapon]
OverrideWeapon.Types=DiskAbductor
OverrideWeapon.EliteTypes=DiskAbductor
OverrideWeapon.AffectWho=STAND
[ARPS] ;一个带乘客舱的替身,可以吸入单位
Primary=DiskAbductor
PipScale=Passengers
Passengers=8
SizeLimit=2
NoManualEnter=yes
NoManualUnload=yes
Survivor.RookiePassengerChance=50
Survivor.VeteranPassengerChance=75
Survivor.ElitePassengerChance=100
PassengerDeletion.UseCostAsRate=true ;一定时间后删除乘客
PassengerDeletion.CostMultiplier=2
PassengerDeletion.ReportSound=InfantrySquish
PassengerDeletion.SoylentAllowedHouses=none
Trainable=no
Insignificant=yes
[DiskEMP] ;兼破坏、emp、治疗自身的武器
Damage=15
Burst=1
ROF=20
Range=1
CellRangefinding=yes
Projectile=InvisibleVertical
Speed=20
Warhead=Anti
Report=FloatingDiscStealLoop
OmniFire=yes
FireWhileMoving=no
Anim=EMPRAY ;照抄的DISKRAY动画,色盘不一样
Feedback.AttachEffects=Vampire
[Vampire]
Vampire.Percent=0.5
Vampire.AffectInfantry=no
[DiskAbductor] ;劫持者武器
Damage=10
Burst=1
ROF=20
Range=1
CellRangefinding=yes
Projectile=InvisibleVertical
Speed=20
Warhead=AntiPerson
Report=FloatingDiscStealLoop
OmniFire=yes
FireWhileMoving=no
Abductor.Anim=WARPIN
Abductor=yes
Anim=EMPRAY
IsLaser=true
LaserThickness=12
IsSingleColor=true
LaserDuration=30
LaserInnerColor=250,250,250
[DiskConvert]
Damage=1
ROF=20
Range=1
Projectile=Invisible
Speed=20
Warhead=DummyWarhead
Report=SeigeChopperDeploy
OmniFire=yes
FireWhileMoving=no
Feedback.AttachEffects=ConvertToTDSK
[TdskConvert]
Damage=1
ROF=20
Range=1
Projectile=Invisible
Speed=20
Warhead=DummyWarhead
Report=SeigeChopperDeploy
OmniFire=yes
FireWhileMoving=no
Feedback.AttachEffects=ConvertToDISK
[ConvertToTDSK]
GiftBox.Types=TDSK
GiftBox.IsTransform=yes
GiftBox.InheritTarget=no
[ConvertToDISK]
GiftBox.Types=DISK
GiftBox.IsTransform=yes
GiftBox.InheritTarget=no
[Anti]
Verses=1%,1%,1%,100%,100%,100%,100%,100%,100%,100%,100%
Bullets=yes
EMP.Duration=30
EMP.Cap=-1
[AntiPerson]
Verses=125%,100%,100%,0%,0%,0%,0%,0%,0%,100%,0%
Bullets=yes
InfDeath=7
AttachEffect.Duration=30
AttachEffect.SpeedMultiplier=0.5
可能有更简洁的方法,能力有限,为了ЗАРАБАТЫВАТЬ取积分,不喜勿喷。
特别感谢艾木魁大佬的指导,mua~
|