自己做的步兵飞碟,游戏里代码也都是现成的调用就好,效果还不错,但唯一调整不出来的就是 —— 移动攻击,有哪位大佬可以解决?
UIName=Name ISK
Name=Floating Disk
Image=SROCK
Category=Soldier
JumpJet=yes
Primary=20mm
Prerequisite=NAHAND
Crushable=no
Strength=125
Fearless=yes
OpportunityFire=yes
PreventAttackMove=yes
Trainable=no
Armor=none
TechLevel=3
Sight=20
Pip=white
Speed=10
Owner=Confederation
RequiredHouses=Confederation
AllowedToStartInMultiplayer=yes
Cost=100
Soylent=300
Points=15
Turret=yes
IsSelectableCombatant=yes
VoiceSelect=RobotTankSelect
VoiceMove=RobotTankMove
VoiceAttack=RobotTankAttackCommand
VoiceFeedback=
VoiceSpecialAttack=RobotTankAttackCommand
DieSound=
CrashingSound=
ImpactLandSound=GenAircraftCrash
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5}
PhysicalSize=1
MovementZone=Fly ; This needs to be None, like aircraft
ConsideredAircraft=yes
ThreatPosed=15 ; This value MUST be 0 for all building addons
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER,CLOAKABLE
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF,CLOAKABLE
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top called Jumpjet controls)
JumpjetClimb=20 ;HY increase climb speed; used to be 10
JumpjetCrash=25 ; Climb, but down
JumpJetAccel=10
JumpJetTurnRate=1
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
DetectDisguise=yes
DetectDisguiseRange=35
JumpjetNoWobbles=yes ; the wobbling is in the Hover sequence of the art, instead of being programmer art/ sine wave
Size=1
SpeedType=Hover
HoverAttack=no
Sensors=yes
SensorsSight=35
Crashable=no
NavalTargeting=5
BalloonHover=yes ; ie never land
MoveSound=YuriPrimeMoveLoop
ElitePrimary=20mm
JumpJetTurn=no
|