说先说下问题:我设置主坦克弹头会生成一个子坦克,主坦克有10发子弹,打完自爆;子坦克2秒自动爆炸。主坦克和子坦克武器都是一样的。问题是主坦克在最后一发子弹爆炸的时候会生成一个中立坦克,导致这个中立坦克和我的子坦克一直繁殖打架,猜测是最后一发子弹打出去的时候,由于主坦克自杀了,然后生成的单位就变成中立的了。但是怎么样才能让坦克打完子弹后还延迟一点时间自杀呢?
主坦克码:
[FUZHITANKE];;;复制坦克
UIName=Name:TANKE
Name=Rhino Heavy Tank
Image=HTNK
Prerequisite=
Primary=FUZHI
PipScale=Ammo
Ammo=10
Reload=9999999
Strength=400
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
TargetLaser=no
TooBigToFitUnderBridge=true
TechLevel=10
Sight=8
Speed=6
CrateGoodie=no
Crusher=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=200
Soylent=900
Points=25
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=RhinoTankMoveStart
CrushSound=TankCrush
Maxdebris=3
;origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
SpeedType=Hover
Locomotor={4A582742-9839-11d1-B709-00A024DDAFD1}
MovementZone=Amphibious
ROT=50
ThreatPosed=40; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=FASTER,STRONGER,FIREPOWER,SCATTER,ROF,SIGHT,TIBERIUM_PROOF,VEIN_PROOF,SELF_HEAL,RADAR_INVISIBLE,SENSORS,TIBERIUM_HEAL
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
OpportunityFire=yes
ElitePrimary=FUZHI
BuildTimeMultiplier=1.3;Individual control of build time
AIBuildThis=no
AutoDeath.Behavior=kill
AutoDeath.OnAmmoDepletion=yes
;AutoDeath.AfterDelay=2000
AllowedToStartInMultiplayer=no ;不能为开局部队
子坦克码:
[FUZHITANKE1];;;;复制坦克子机
UIName=Name:TANKE
Name=Rhino Heavy Tank
Image=HTNK
Prerequisite=
Primary=FUZHI
Strength=400
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
TargetLaser=no
TooBigToFitUnderBridge=true
TechLevel=-1
Sight=8
Speed=6
CrateGoodie=no
Crusher=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=200
Soylent=900
Points=25
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=RhinoTankMoveStart
CrushSound=TankCrush
Maxdebris=3
;origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
SpeedType=Hover
Locomotor={4A582742-9839-11d1-B709-00A024DDAFD1}
MovementZone=Amphibious
ROT=50
ThreatPosed=40; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=FASTER,STRONGER,FIREPOWER,SCATTER,ROF,SIGHT,TIBERIUM_PROOF,VEIN_PROOF,SELF_HEAL,RADAR_INVISIBLE,SENSORS,TIBERIUM_HEAL
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
OpportunityFire=yes
ElitePrimary=FUZHI
BuildTimeMultiplier=1.3;Individual control of build time
AIBuildThis=no
AutoDeath.Behavior=kill
AutoDeath.OnAmmoDepletion=no
AutoDeath.AfterDelay=200
AllowedToStartInMultiplayer=no ;不能为开局部队
武器
[FUZHI]
Damage=90
ROF=65
Range=5.75
Projectile=Cannon
Speed=40
Warhead=FUZHIDANTOU
Report=RhinoTankAttack
Anim=GUNFIRE
Bright=yes
Burst=1
Ammo=1
AttackCursorOnFriendlies=no
AffectsAllies=no
弹头:
[FUZHIDANTOU]
CellSpread=.3
PercentAtMax=.5
Wall=yes
Wood=yes
;DB Changed AP shot on 6/6/01 to make plate armor almost immune to attacks by AP weapons.
;Verses=25%,25%,25%,75%,100%,100%,65%,45%,60%,60%,100%
Verses=25%,25%,15%,75%,100%,100%,65%,45%,60%,60%,100%
Conventional=yes
InfDeath=3
;InfDeathAnim=TANKE
;AnimList=S_CLSN16,S_CLSN22
AnimList=TANKE
ProneDamage=50%
AttackCursorOnFriendlies=no
AffectsAllies=no
抛物线:
RhinoTankAttack(没做修改就是坦克炮弹)
弹头生成单位动画:
[TANKE] ; AnimationType
CreateUnit=FUZHITANKE1 ; VehicleType
CreateUnit.Owner=Invoker ; Owner house kind, Invoker/Killer/Victim/Civilian/Special/Neutral/Random
CreateUnit.RemapAnim=false ; boolean
CreateUnit.Mission=Guard ; MissionType
CreateUnit.Facing=0 ; integer, facings in range of 0-255
CreateUnit.RandomFacing=true ; boolean
CreateUnit.InheritFacings=false ; boolean
CreateUnit.InheritTurretFacings=false ; boolean
CreateUnit.ConsiderPathfinding=false ; boolean
CreateUnit.SpawnAnim= ; Animation
Normalized=yes
Translucent=yes
Report=Explosion14
UseNormalLight=yes
Crater=yes
我真的求求求阿
主坦克码:
[FUZHITANKE];;;复制坦克
UIName=Name:TANKE
Name=Rhino Heavy Tank
Image=HTNK
Prerequisite=
Primary=FUZHI
PipScale=Ammo
Ammo=10
Reload=9999999
Strength=400
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
TargetLaser=no
TooBigToFitUnderBridge=true
TechLevel=10
Sight=8
Speed=6
CrateGoodie=no
Crusher=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=200
Soylent=900
Points=25
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=RhinoTankMoveStart
CrushSound=TankCrush
Maxdebris=3
;origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
SpeedType=Hover
Locomotor={4A582742-9839-11d1-B709-00A024DDAFD1}
MovementZone=Amphibious
ROT=50
ThreatPosed=40; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=FASTER,STRONGER,FIREPOWER,SCATTER,ROF,SIGHT,TIBERIUM_PROOF,VEIN_PROOF,SELF_HEAL,RADAR_INVISIBLE,SENSORS,TIBERIUM_HEAL
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
OpportunityFire=yes
ElitePrimary=FUZHI
BuildTimeMultiplier=1.3;Individual control of build time
AIBuildThis=no
AutoDeath.Behavior=kill
AutoDeath.OnAmmoDepletion=yes
;AutoDeath.AfterDelay=2000
AllowedToStartInMultiplayer=no ;不能为开局部队
子坦克码:
[FUZHITANKE1];;;;复制坦克子机
UIName=Name:TANKE
Name=Rhino Heavy Tank
Image=HTNK
Prerequisite=
Primary=FUZHI
Strength=400
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
TargetLaser=no
TooBigToFitUnderBridge=true
TechLevel=-1
Sight=8
Speed=6
CrateGoodie=no
Crusher=yes
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=200
Soylent=900
Points=25
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=RhinoTankMoveStart
CrushSound=TankCrush
Maxdebris=3
;origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
SpeedType=Hover
Locomotor={4A582742-9839-11d1-B709-00A024DDAFD1}
MovementZone=Amphibious
ROT=50
ThreatPosed=40; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=FASTER,STRONGER,FIREPOWER,SCATTER,ROF,SIGHT,TIBERIUM_PROOF,VEIN_PROOF,SELF_HEAL,RADAR_INVISIBLE,SENSORS,TIBERIUM_HEAL
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
OpportunityFire=yes
ElitePrimary=FUZHI
BuildTimeMultiplier=1.3;Individual control of build time
AIBuildThis=no
AutoDeath.Behavior=kill
AutoDeath.OnAmmoDepletion=no
AutoDeath.AfterDelay=200
AllowedToStartInMultiplayer=no ;不能为开局部队
武器
[FUZHI]
Damage=90
ROF=65
Range=5.75
Projectile=Cannon
Speed=40
Warhead=FUZHIDANTOU
Report=RhinoTankAttack
Anim=GUNFIRE
Bright=yes
Burst=1
Ammo=1
AttackCursorOnFriendlies=no
AffectsAllies=no
弹头:
[FUZHIDANTOU]
CellSpread=.3
PercentAtMax=.5
Wall=yes
Wood=yes
;DB Changed AP shot on 6/6/01 to make plate armor almost immune to attacks by AP weapons.
;Verses=25%,25%,25%,75%,100%,100%,65%,45%,60%,60%,100%
Verses=25%,25%,15%,75%,100%,100%,65%,45%,60%,60%,100%
Conventional=yes
InfDeath=3
;InfDeathAnim=TANKE
;AnimList=S_CLSN16,S_CLSN22
AnimList=TANKE
ProneDamage=50%
AttackCursorOnFriendlies=no
AffectsAllies=no
抛物线:
RhinoTankAttack(没做修改就是坦克炮弹)
弹头生成单位动画:
[TANKE] ; AnimationType
CreateUnit=FUZHITANKE1 ; VehicleType
CreateUnit.Owner=Invoker ; Owner house kind, Invoker/Killer/Victim/Civilian/Special/Neutral/Random
CreateUnit.RemapAnim=false ; boolean
CreateUnit.Mission=Guard ; MissionType
CreateUnit.Facing=0 ; integer, facings in range of 0-255
CreateUnit.RandomFacing=true ; boolean
CreateUnit.InheritFacings=false ; boolean
CreateUnit.InheritTurretFacings=false ; boolean
CreateUnit.ConsiderPathfinding=false ; boolean
CreateUnit.SpawnAnim= ; Animation
Normalized=yes
Translucent=yes
Report=Explosion14
UseNormalLight=yes
Crater=yes
我真的求求求阿