找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4333|回复: 4

[求助]单位一死就崩

[复制链接]
发表于 2022-9-5 10:49:43 | 显示全部楼层 |阅读模式
[KO-06AI]
Image=KO-06
Bounty=yes
Bounty.RookieValue=500
Bounty.VeteranValue=750
Bounty.EliteValue=1000
UIName=Name:KO-06
Name=Floating Disk
Prerequisite=GAWEAP,GAPOWRAI
Primary=KO-06G
ElitePrimary=KO-06GE
Strength=2000
ShieldType=KO-06ME
Category=AirPower
CanPassiveAquire=yes
EMP.Threshold=no
Armor=light
IsTilter=yes
TooBigToFitUnderBridge=true
TechLevel=10
Turret=yes
TurretSpins=yes
Sight=9
Speed=8
Crewed=no
CrateGoodie=no
Crusher=no
Owner=Alliance
FactoryOwners=Alliance
Cost=1000
OpportunityFire=yes
OmniFire=yes
Soylent=250
MobileFire=yes
Points=80
ROT=100
AllowedToStartInMultiplayer=no
BuildTime.MultipleFactory=0.9
BuildTime.Speed=2.0
IsSelectableCombatant=yes
VoiceSelect=FloatingDiscSelect
VoiceMove=FloatingDiscMove
VoiceAttack=FloatingDiscAttackCommand
VoiceSecondaryWeaponAttack=FloatingDiscSteal
VoiceFeedback=
CrashingSound=FloatingDiscDie
MoveSound=FloatingDiscMoveLoop
BalloonHover=yes
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}
SpeedType=Hover
MovementZone=Fly
MoveToShroud=yes
ThreatPosed=40
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=16
OpportunityFire=yes
JumpjetSpeed=8
JumpjetClimb=14
JumpjetCrash=18
JumpJetAccel=1
JumpJetTurnRate=100
JumpjetHeight=1200
JumpjetWobbles=.1
JumpjetDeviation=15
JumpjetNoWobbles=yes
Crashable=yes
TiltCrashJumpjet=yes
Explodes=yes
DeathWeapon=FR-01G
SelfHealing=yes
ThreatAvoidanceCoefficient=1.0
EMP.Modifier=10%

这老几一死就崩,不知道为什么  SparkSys,SmallGreySSys,FR-01G均注册

发表于 2022-9-5 10:52:56 来自手机 | 显示全部楼层
这么简单的稳定可复现bug有什么不能自己排除的道理吗
回复

使用道具 举报

发表于 2022-9-5 10:58:04 | 显示全部楼层

[VehicleTypes]
+=KO-06AI

[KO-06AI]
Image=SHAD
Bounty=yes
Bounty.RookieValue=500
Bounty.VeteranValue=750
Bounty.EliteValue=1000
UIName=Name:KO-06
Name=Floating Disk
Prerequisite=GAWEAP ;,GAPOWRAI
Primary=M60
ElitePrimary=M60
Strength=2000
;ShieldType=KO-06ME
Category=AirPower
CanPassiveAquire=yes
EMP.Threshold=no
Armor=light
IsTilter=yes
TooBigToFitUnderBridge=true
TechLevel=10
Turret=yes
TurretSpins=yes
Sight=9
Speed=8
Crewed=no
CrateGoodie=no
Crusher=no
;Owner=Alliance
;FactoryOwners=Alliance
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,ChinaCountry,YuriCountry
Cost=1000
OpportunityFire=yes
OmniFire=yes
Soylent=250
MobileFire=yes
Points=80
ROT=100
AllowedToStartInMultiplayer=no
BuildTime.MultipleFactory=0.9
BuildTime.Speed=2.0
IsSelectableCombatant=yes
VoiceSelect=FloatingDiscSelect
VoiceMove=FloatingDiscMove
VoiceAttack=FloatingDiscAttackCommand
VoiceSecondaryWeaponAttack=FloatingDiscSteal
VoiceFeedback=
CrashingSound=FloatingDiscDie
MoveSound=FloatingDiscMoveLoop
BalloonHover=yes
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}
SpeedType=Hover
MovementZone=Fly
MoveToShroud=yes
ThreatPosed=40
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=15
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=16
OpportunityFire=yes
JumpjetSpeed=8
JumpjetClimb=14
JumpjetCrash=18
JumpJetAccel=1
JumpJetTurnRate=100
JumpjetHeight=1200
JumpjetWobbles=.1
JumpjetDeviation=15
JumpjetNoWobbles=yes
Crashable=yes
TiltCrashJumpjet=yes
Explodes=yes
DeathWeapon=M60
SelfHealing=yes
ThreatAvoidanceCoefficient=1.0
EMP.Modifier=10%

;尝试了 没办法复现你的错误 红色是我不得不更改的语句 你是不是没写死亡武器?

回复

使用道具 举报

 楼主| 发表于 2022-9-5 11:07:15 | 显示全部楼层
ruanhuhu 发表于 2022-9-5 10:58
[VehicleTypes]
+=KO-06AI

写了,一开始好好的,没动过他,测试的时候一点问题没有,不知道为什么,AI写好了之后造这个单位,一死就崩
回复

使用道具 举报

发表于 2022-9-5 12:26:12 来自手机 | 显示全部楼层
染指年华 发表于 2022-9-5 11:07
写了,一开始好好的,没动过他,测试的时候一点问题没有,不知道为什么,AI写好了之后造这个单位,一死就 ...

先用替换法确定问题到底在哪里 然后自己思考这个会关联哪些代码 逐个去检查 这种简单的问题多半是自己写错代码了 或者遗漏了什么东西
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-8-30 07:19 , Processed in 0.062548 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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