红警DIY论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 95|回复: 3

直升机被摧毁后会随机的给出一个苏军步兵或平民,代码上哪里有问题,请给检查指导下

[复制链接]
发表于 2019-8-26 18:57:28 | 显示全部楼层 |阅读模式
直升机被摧毁后会随机的给出一个苏军步兵或平民,代码上哪里有问题,请给检查指导下,用的是红警2原版中的雌鹿直升机修改的,代码如下
; Hind Transport
[HIND]
UIName=Name:HIND
Name=Hind Transport
NoShadow=yes
Prerequisite=NAWEAP
Primary=BlackHawkCannon2
Secondary=MissileLauncher2
Strength=225
Category=AirPower
JumpJet=yes
Armor=light
TechLevel=7
Sight=7
Speed=15
PitchSpeed=1.1
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
JumpjetClimb=10
JumpjetCrash=40 ; Climb, but down
JumpJetAccel=12
JumpJetTurnRate=6
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
Owner=Russians,Confederation,Africans,Arabs
Cost=1200
Points=15
ROT=10
RadarInvisible=yes
WalkRate=3
IdleRate=3
BalloonHover=yes
Crewed=yes
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=3
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
DieSound=CrashingSound=GenVehicleDie
ImpactLandSound=GenAircraftCrash
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=Dummy        ;Taking off
AuxSound2=Dummy        ;Landing
ThreatPosed=0
SpecialThreatValue=1
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=15
HoverAttack=yes
AllowedToStartInMultiplayer=no
ElitePrimary=BlackHawkCannon2E
EliteSecondary=MissileLauncher2E
TooBigToFitUnderBridge=true
Fighter=yes
Crashable=yes
SpeedType=Hover
PreventAttackMove=yes
发表于 2019-8-26 19:02:48 | 显示全部楼层
解决后达到的效果是不跳出来吗
发表于 2019-8-26 19:33:15 这篇帖子是使用手机发表的! | 显示全部楼层
Crewed=yes
发表于 2019-8-27 13:39:25 | 显示全部楼层
有Crewed=yes了的话全局的CrewEscape=是逃出残兵的几率,除此以外似乎还要看残兵的MovementZone=
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2019-9-18 19:32 , Processed in 0.017964 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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