|
本帖最后由 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
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|