找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3|回复: 0

[我解决不了自己的问题] 航母攻击地面建筑,舰载机发射的导弹抛射体在空中提前爆炸导致无法造成伤害

[复制链接]
发表于 2 小时前 | 显示全部楼层 |阅读模式
本帖最后由 CFZG 于 2026-4-22 18:12 编辑

航母攻击敌方地面建筑,但是舰载机发射的导弹抛射体在半空中提前爆炸导致无法造成伤害

使用的平台版本为RA2DIY整合包的ARES+P+K,INI代码如下

舰载机

[HORNET]
UIName=Name:HORNET
Name=Hornet
Primary=HornetBomb
Secondary=HornetCollision
Strength=75
Category=AirPower
Armor=light
Spawned=yes
TechLevel=-1
Sight=2
RadarInvisible=no
Landable=yes
MoveToShroud=yes
;Dock=NAHPAD,GAHPAD
;Dock=GAAIRC,AMRADR
PipScale=Ammo
Speed=12
PitchSpeed=.9
PitchAngle=0
Owner=British,French,Germans,Americans,Alliance
Cost=50
Points=20
ROT=3
Ammo=1
Crewed=no
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=2
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
DieSound=
CrashingSound=HornetDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
MovementRestrictedTo=Water ; See if this will affect landing only
ThreatPosed=10        ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=HornetTakeoff ;Taking off
AuxSound2=HornetLanding ;Landing
ImmuneToPsionics=yes
VeteranAbilities=STRONGER,FIREPOWER
EliteAbilities=STRONGER,FIREPOWER
;Selectable=no        ; SJM: this should be here but is commented out because bug prevents aircraft from landing
ElitePrimary=HornetBombE

舰载机武器

[HornetBomb]
Damage=40
ROF=3
Range=5
Projectile=NormalBomb
Speed=30
Warhead=ORCAAP
Report=HornetAttack


抛射体类型

[NormalBomb]
Arm=2
Shadow=no
Proximity=yes
Ranged=yes
Image=DRAGON
ROT=1
IgnoresFirestorm=yes



尝试过在弹射体下添加SubjectToBuildings=no代码来无视实体建筑,但是无效,请问怎么解决这个问题?


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

本版积分规则

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

GMT+8, 2026-4-22 20:51 , Processed in 0.295784 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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