Em thử đống code trên nhưng khi cái xe deploy thì cái máy bay nó lại nằm dưới đất & đứng yên. Thế là sao? Em sai chỗ nào vậy?
Code nó đây:
; Flying Mega Fortress
[MEGAFORTA]
UIName=Name:MEGAFORTA
Name=Mega Fortress
TargetLaser=yes
Prerequisite=FUTURETECH3
IsGattling=yes
TurretCount=1
WeaponCount=4
Weapon1=SilverLauncher
EliteWeapon1=SilverLauncher
Weapon2=MFNeutrinoGattAA
EliteWeapon2=MFNeutrinoGattAAE
Weapon3=MFNeutrinoGattAG
EliteWeapon3=MFNeutrinoGattAGE
Weapon4=MFNeutrinoGattAA
EliteWeapon4=MFNeutrinoGattAAE
WeaponStages=2
Stage1=1
Stage2=1
EliteStage1=1
EliteStage2=1
RateUp=1
RateDown=0
Gattling.Cycle=yes
Spawns=SILVERWING
SpawnsNumber=4
SpawnRegenRate=20
SpawnReloadRate=150
NoSpawnAlt=no
ToProtect=yes
Strength=3000
Armor=heavy
Category=AirPower
JumpJet=yes
TechLevel=15
Sight=15
Speed=12
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
CrateGoodie=no
Owner=AaronCountry
RequiredHouses=AaronCountry
AllowedToStartInMultiplayer=no
Cost=5000
Soylent=5000
Turret=no
Points=1000
ROT=6
Crewed=yes
SelfHealing=yes
ConsideredAircraft=yes
Cloakable=yes
CloakingSpeed=2
OmniFire=yes ;GEF moved to weapon
MovingFire=yes
Explodes=yes
DeathWeapon=PlasmaPayload ; NUKE
DeathWeaponDamageModifier=0.5
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=18
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
VoiceCrashing=SeigeChopperVoiceDie
CrashingSound=SeigeChopperDie
DieSound=GenVehicleDie
ImpactLandSound=GenAircraftCrash
;Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1} ;flying
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
ThreatPosed=25 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
GuardRange=25
Size=50
Trainable=yes
OpportunityFire=yes
HoverAttack=yes
Crashable=yes
SpeedType=Hover
MoveSound=SeigeChopperMoveLoop
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
PreventAttackMove=yes
TooBigToFitUnderBridge=true
Trainable=yes
Bunkerable=no; Units default to yes, others default to no
IsSimpleDeployer=yes
UnloadingClass=MEGAFORT,MEGAFORTW
DeployFire=yes
DeployTime=20
Turret=yes
DeployToLand=yes
IsSelectableCombatant=yes
ProtectedDriver=yes
Sensors=yes
SensorsSight=25
GetsBounty=yes
VeteranGetsBounty=yes
EliteGetsBounty=yes
CanBeReversed=no
BuildLimit=0
ImmuneToVeins=yes
ImmuneToPsionics=yes
ImmuneToRadiation=yes
NavalTargeting=7
LandTargeting=2