红警DIY论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 210|回复: 0

【求助】做了一个阿帕奇然而出现了奇怪的BUG

[复制链接]
发表于 2019-12-6 12:22:43 | 显示全部楼层 |阅读模式
本帖最后由 117286163 于 2019-12-6 12:29 编辑

这个BUG很怪,螺旋藻在移动时候才转,而主武器只攻击身后的敌人,明明有OmniFire=yes,而且攻击了身后才能攻击前面 太怪了。。。这是为什么呢?

https://gss3.baidu.com/6LZ0ej3k1Qd3ote6lo7D0j9wehsv/tieba-smallvideo-transcode-crf/16796175_c05bc7eb97c525ad3294dc369fbd264a_0.mp4


如果视频无法显示,请点击百度贴吧播放地址
;阿帕奇
[COMA2]
UIName=Name:COMA2
Name=Apache Heli
Prerequisite=ALLWEAP,GAMERC
Primary=ApacheMG
ElitePrimary=ApacheMG
Strength=375
Category=AirPower
JumpJet=yes
Armor=f_medium
TechLevel=5
Sight=7
Speed=34
PitchSpeed=1.1
JumpjetSpeed=34
JumpjetClimb=22
JumpjetCrash=30
JumpJetAccel=12
JumpjetTurnRate=4
JumpjetHeight=600
JumpjetWobbles=.01
JumpjetDeviation=1
Owner=UnitedStates,Europeans,Pacific
Cost=2000
Soylent=1000
Bounty.Value=500
Bounty=yes
Bounty.Display=yes
Points=100
ROT=6
Crewed=no
SelfHealing=yes
ConsideredAircraft=yes
Passengers.Allowed=ApachePatiort
InitialPayload.Types=ApachePatiort
InitialPayload.Nums=2
Survivor.RookiePassengerChance=0%
Survivor.VeteranPassengerChance=0%
Survivor.ElitePassengerChance=0%
Experience.PromotePassengers=no
OpenTopped=yes
NoManualUnload=yes
NoManualEnter=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
VoiceSelect=ComancheSelect
VoiceMove=ComancheMove
VoiceAttack=ComancheLaserAttack
VoiceSecondaryWeaponAttack=ComancheMissileAttack
VoiceCrashing=
CrashingSound=ComancheDie
DieSound=
ImpactLandSound=GenAircraftCrash
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
ThreatPosed=15
VeteranAbilities=STRONGER
EliteAbilities=SELF_HEAL,FIREPOWER,FASTER
PipScale=None
Size=2
Passengers=2
SizeLimit=2
AllowedToStartInMultiplayer=no
Crashable=yes
SpeedType=Hover
MoveSound=ComancheMoveLoop
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
PreventAttackMove=no
OpportunityFire=yes
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no
DeployToLand=no
DeployFire=no
HoverAttack=yes
IsSelectableCombatant=yes
Weight=6
BalloonHover=yes
DeathWeapon=BlimpBombEffect
DeathWeaponDamageModifier=.02
IronCurtain.Modifier=0
Chronoshift.Allow=no
CanBeReversed=no

;主武器
[ApacheMG]
Damage=45
AmbientDamage=0
ROF=20
Range=8
Projectile=AresCannonProj
Speed=100
Warhead=30mmWH
Report=ApacheMGReport
Anim=MUZZLEFLASH_N,MUZZLEFLASH_NE,MUZZLEFLASH_E,MUZZLEFLASH_SE,MUZZLEFLASH_S,MUZZLEFLASH_SW,MUZZLEFLASH_W,MUZZLEFLASH_NW
AttachedParticleSystem=RifleBulletSys
UseSparkParticles=yes
OmniFire=yes

;主武器抛物体
[AresCannonProj]
Inviso=yes
Image=none
AA=no
AG=yes
SubjectToElevation=no
SubjectToCliffs=no
SubjectToWalls=no
FlakScatter=yes

;主武器弹头
[30mmWH]
CellSpread=1
PercentAtMax=1
Wall=yes
Wood=yes
Verses=180%,150%,120%,100%,90%,50%,5%,20%,5%,100%,100%
Conventional=yes
InfDeath=1
AnimList=SM_TUMU60
ProneDamage=90%
PenetratesBunker=yes

;彈道粒子系统
[RifleBulletSys]
HoldsWhat=RifleBullet
BehavesLike=Fire
Lifetime=1
ParticleCap=5

;彈道粒子
[RifleBullet]
Image=RBULLET
Deacc=0
Velocity=300
BehavesLike=Fire
MaxEC=3
StartStateAI=1
EndStateAI=2
StateAIAdvance=1
Translucent50State=9999
Translucent25State=999
Translucency=0
DeleteOnStateLimit=no
Normalized=no
FinalDamageState=2


乘员:
[ApachePatiort]
UIName=Name:CTECH
Name=Technician
Category=Civilian
Strength=50
Primary=ApacheMS
Image=CIV3
Armor=none
TechLevel=11
CrushSound=InfantrySquish
Insignificant=no
Sight=4
Speed=4
Owner=Europeans,UnitedStates,Pacific,USSR,Chinese,PsiCorps,Headquaters,ScorpionCell
AllowedToStartInMultiplayer=no
Cost=10
Soylent=50
Bounty.Value=25
Bounty=yes
Bounty.Display=yes
Points=5
Fraidycat=no
Civilian=yes
IFVMode=1
Nominal=yes
Pip=yellow
VoiceSelect=TechnicianYeah
VoiceMove=TechnicianOkay
VoiceAttack=TechnicianOkay
VoiceFeedback=CivAllFear
VoiceSpecialAttack=TechnicianOkay
DieSound=CivFatDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=0
ImmuneToVeins=yes
Size=1
Trainable=no
Insignia.Veteran=dummy
Insignia.Elite=dummy
CanBeReversed=no
GroupAs=Technician
ImmuneToEMP=no
DebrisTypes=BLOOD
DebrisMaximums=3
MaxDebris=2
MinDebris=1

;乘员武器
[ApacheMS]
Damage=60
ROF=100
Range=8
MinimumRange=1
Burst=1
Projectile=AAHeatSeekerC
Speed=40
Warhead=RocketTurretWH
Report=ApacheMSAttack

;乘员武器抛物体
[AAHeatSeekerC]
Arm=1
Shadow=no
Proximity=yes
Ranged=yes
AA=yes
AG=yes
Image=FMISLE
ROT=10
SubjectToCliffs=no
SubjectToElevation=no
SubjectToWalls=no
Acceleration=10

;乘员武器弹头
[RocketTurretWH]
Wall=yes
Wood=yes
Verses=75%,65%,55%,100%,70%,55%,30%,20%,15%,50%,100%
Versus.defense=75%
Versus.tesla=75%
Versus.risen=75%
Versus.lrod=75%
Versus.tbnk=75%
Versus.garrison_b=75%
Versus.defense_b=75%
Versus.bfg=75%
Versus.garrison_c=30%
Versus.f_mothra=75%
Versus.f_rock=50%
Versus.f_hero=50%
Conventional=yes
InfDeath=3
AnimList=EXPLOSML2
ProneDamage=50%
CellSpread=.5
PercentAtMax=.5


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

本版积分规则

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

GMT+8, 2020-2-21 14:36 , Processed in 0.022658 second(s), 14 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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