找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2001|回复: 3

一個無聊的Kratos小活

[复制链接]
发表于 2023-1-13 20:44:10 | 显示全部楼层 |阅读模式
本帖最后由 DennisAlex 于 2023-1-14 15:04 编辑

有興趣可以嘗試,建議用較新版Kratos Lite

原理:用自傷和Giftbox功能實現可對建築有效的「寄生」功能

示範圖:


代碼:

[DRON_0]
UIName=Name:DRON
Name=Terror Drone
Image=DRON
Category=AFV
Prerequisite=;NAWEAPS
Primary=DroneJumpS
;Secondary=VirtualScanner
NavalTargeting=6
Strength=500;100
SuppressionThreshold=5; damage below this amount won't suppress the parasite
ReselectIfLimboed=yes ; If selected when limbo on attack of infantry, reselect when unlimbo
DefaultToGuardArea=yes ; the much awaited terror drone default to move and attack when resting
Armor=medium;special_1
TechLevel=1;4
Turret=no
IsTilter=no
CrateGoodie=no
Sight=10;4
Speed=10 ; gs Don't go higher than 20, or he gets stuck running in circles
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=500
Soylent=500
Points=20
ROT=40
AllowedToStartInMultiplayer=no
Crusher=no
Crewed=no
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=TerrorDroneSelect
VoiceAttack=TerrorDroneAttackCommand
VoiceMove=TerrorDroneMove
VoiceFeedback=
DieSound=TerrorDroneDie
MoveSound=TerrorDroneMoveLoop
MaxDebris=2
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1};<-drive   mech->{55D141B8-DB94-11d1-AC98-006008055BB5}
MovementZone=Normal ;gs FLAW needs to be changed to this when The Flaw is fixed
;MovementZone=Destroyer
ThreatPosed=25        ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100,100,125
Weight=.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ImmuneToPsionics=yes
ImmuneToRadiation=yes
Parasiteable=no
Trainable=no
Explodes=no
AccelerationFactor=5 ; really fast
DeaccelerationFactor=5 ; This is TS's mizspelingg knot min
ZFudgeColumn=8
ZFudgeTunnel=13
;Bombable=no
Size=2
Accelerates=false
Bunkerable=no; Units default to yes, others default to no
Bounty.RookieValue=250
Bounty.VeteranValue=500
Bounty.EliteValue=1000
DontScore=yes
;kratos
GiftBox.Types=DRON_01
GiftBox.Nums=5
GiftBox.Chances=1.0
GiftBox.Delay=90
GiftBox.EliteTypes=DRON_01
GiftBox.EliteNums=5
GiftBox.EliteChances=1.0
GiftBox.EliteDelay=90
GiftBox.Remove=yes

[DRON_01]
UIName=Name:DRON
Name=Terror Drone
Image=DRON
Category=AFV
Prerequisite=;NAWEAPS
Primary=DroneJumpS
;Secondary=VirtualScanner
NavalTargeting=6
Strength=500;100
SuppressionThreshold=5; damage below this amount won't suppress the parasite
ReselectIfLimboed=yes ; If selected when limbo on attack of infantry, reselect when unlimbo
DefaultToGuardArea=yes ; the much awaited terror drone default to move and attack when resting
Armor=medium;special_1
TechLevel=-1;4
Turret=no
IsTilter=no
CrateGoodie=no
Sight=10;4
Speed=10 ; gs Don't go higher than 20, or he gets stuck running in circles
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=500
Soylent=500
Points=20
ROT=40
AllowedToStartInMultiplayer=no
Crusher=no
Crewed=no
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=TerrorDroneSelect
VoiceAttack=TerrorDroneAttackCommand
VoiceMove=TerrorDroneMove
VoiceFeedback=
DieSound=TerrorDroneDie
MoveSound=TerrorDroneMoveLoop
MaxDebris=2
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1};<-drive   mech->{55D141B8-DB94-11d1-AC98-006008055BB5}
MovementZone=Normal ;gs FLAW needs to be changed to this when The Flaw is fixed
;MovementZone=Destroyer
ThreatPosed=25        ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100,100,125
Weight=.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ImmuneToPsionics=yes
ImmuneToRadiation=yes
Parasiteable=no
Trainable=no
Explodes=no
AccelerationFactor=5 ; really fast
DeaccelerationFactor=5 ; This is TS's mizspelingg knot min
ZFudgeColumn=8
ZFudgeTunnel=13
Size=2
Accelerates=false
Bunkerable=no; Units default to yes, others default to no
Bounty.RookieValue=250
Bounty.VeteranValue=500
Bounty.EliteValue=1000
DontScore=yes
DetectDisguise=yes
DetectDisguiseRange=10
Sensors=yes
SensorsSight=10
SelfHealing=yes
SelfHealing.Rate=.01

[DRON_1]
UIName=Name:DRON
Name=Terror Drone
Image=DRON
Category=Soldier;AFV
Prerequisite=;NAWEAPS
Primary=DroneJumpS
;Secondary=DroneJumpS;2;VirtualScanner
NavalTargeting=5;6
Strength=500;100
SuppressionThreshold=5; damage below this amount won't suppress the parasite
ReselectIfLimboed=yes ; If selected when limbo on attack of infantry, reselect when unlimbo
DefaultToGuardArea=yes ; the much awaited terror drone default to move and attack when resting
Armor=medium;special_1
TechLevel=1;4
Turret=no
IsTilter=no
CrateGoodie=no
Sight=10;4
Speed=10 ; gs Don't go higher than 20, or he gets stuck running in circles
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=500
Soylent=500
Points=20
ROT=40
AllowedToStartInMultiplayer=no
Crusher=no
Crewed=no
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=TerrorDroneSelect
VoiceAttack=TerrorDroneAttackCommand
VoiceMove=TerrorDroneMove
VoiceFeedback=
DieSound=TerrorDroneDie
MoveSound=TerrorDroneMoveLoop
MaxDebris=2
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1};<-drive   mech->{55D141B8-DB94-11d1-AC98-006008055BB5}
MovementZone=AmphibiousDestroyer;Normal ;gs FLAW needs to be changed to this when The Flaw is fixed
;MovementZone=Destroyer
SpeedType=Amphibious
ThreatPosed=25        ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100,100,125
Weight=.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ImmuneToPsionics=yes
ImmuneToRadiation=yes
Parasiteable=no
Trainable=yes;no
Explodes=no
AccelerationFactor=5 ; really fast
DeaccelerationFactor=5 ; This is TS's mizspelingg knot min
ZFudgeColumn=8
ZFudgeTunnel=13
;Bombable=no
Size=2
Accelerates=false
Bunkerable=no; Units default to yes, others default to no
Bounty.RookieValue=250
Bounty.VeteranValue=500
Bounty.EliteValue=1000
;kratos
GiftBox.Types=DRON_01
GiftBox.Nums=5
GiftBox.Chances=1.0
GiftBox.Delay=0;90
GiftBox.EliteTypes=DRON_01
GiftBox.EliteNums=5
GiftBox.EliteChances=1.0;1.0,1.0,1.0,1.0
GiftBox.EliteDelay=0;90
GiftBox.Remove=yes

[DroneJumpS]
Damage=1;50
ROF=60
Range=10;1.83
Projectile=JUMPS
Speed=100;30
Warhead=ParasiteS;2;Parasite
LimboLaunch=yes ; Limbo shooter at launch (one shot or become the bullet)
Report=TerrorDroneAttack
PenetratesBunker=yes;If shot at a bunkered tank, no means the bunker gets the damage, yes means the unit does
;In Terror Drone case, it just handles the bad case where a TD'd guy makes it into a bunker.
FireInTransport=no;can't fire out of the BattleFortress

[JUMPS]
Image=DRONP ;Hmm...Requires an Image entry to get at Rotates=.  Violates the same name default rule
AA=yes;no
;Arm=2
ROT=8 ;requires to use Rotates
Shadow=no
Proximity=no;yes
Ranged=no;yes
FirersPalette=yes ; Borrows the convertClass from the firing unit - gets house color too
;SubjectToCliffs=no
;SubjectToElevation=no
;SubjectToWalls=yes

[ParasiteS]; Terror Drone
CellSpread=6
Verses=100%,100%,100%,100%,100%,100%,100%,100%,100%,100%,100%
;Parasite=yes
InfDeath=1
;Rocker=yes
AffectsAllies=no
AffectsOwner=no
RelativeDamage=yes
RelativeDamage.Infantry=-100%
;kratos
AttachEffectTypes=ParasiteAttack

[ParasiteAttack]
;Stand.Type=Terror
;Stand.SameHouse=no;yes
;Stand.ForceAttackMaster=yes
;Stand.VirtualUnit=yes
;Stand.IsOnTurret=yes
;Stand.Explodes=yes
DamageSelf.Damage=200;50
DamageSelf.ROF=60
GiftBox.Types=DRON_01
GiftBox.Nums=1
GiftBox.Chances=1.0
GiftBox.Delay=0;90
GiftBox.EliteTypes=DRON_01
GiftBox.EliteNums=1
GiftBox.EliteChances=1.0;1.0,1.0,1.0,1.0
GiftBox.EliteDelay=0;90
GiftBox.OpenWhenDestroyed=yes

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2023-1-13 22:00:23 | 显示全部楼层
寄生后能否用工程师瞬间修复?
回复

使用道具 举报

 楼主| 发表于 2023-1-14 05:36:11 | 显示全部楼层
本帖最后由 DennisAlex 于 2023-1-14 13:32 编辑
荒木唯雨 发表于 2023-1-13 22:00
寄生后能否用工程师瞬间修复?

未測試,但應該不能夠解除AE

已知破解方法是賣掉
回复

使用道具 举报

 楼主| 发表于 2023-1-14 14:50:33 | 显示全部楼层
發現昨天上傳的代碼有點錯誤,現在修正(
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|管理员邮箱|红警DIY论坛

GMT+8, 2025-2-16 06:52 , Processed in 0.054888 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表