﻿//Config - SecretAgent12
//Model and texture - SecretAgent12 & Mad_Elephant


//---Standard-------------------------------------
// Naming
Name MiG-29
Description American 120mm Mortar
ShortName MiG29
ItemID Your ID


// Visuals
Model mcb.MiG29
ModelScale 20.0
Icon MiG29


// Recipe

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Texture MiG29


//Movement
MaxThrottle 2.5
MaxNegativeThrottle 0.0
TurnLeftSpeed 3.6
TurnRightSpeed 3.6
LookUpSpeed 3.4
LookDownSpeed 3.4
RollLeftSpeed 3.7
RollRightSpeed 3.7
ForwardSpeed 1.75
HeightLimit 700


//Wheels
NumWheels 3
WheelPosition 0 -25 -12 -36
WheelPosition 1 -25 -12 36
WheelPosition 2 45 -13 0
WheelSpringStrength 0.125


//Floating

//Weapons
UseNewWeaponSystem True

AddWeapon GSch-301 30mm Gun
WeaponType SHELL
FireMode FullAuto
ShootDelay 3
Damage 1
AmmoSlots 1
ShootSound Shoot_Jet_Gatling
ShootPoint 52 8 0 core
Ammo GFS_Air30mm

AddWeapon AA Missiles
WeaponType Missile
FireMode FullAuto
ShootDelay 40
Alternate True
AmmoSlots 2
ShootSound sound_rocketSmall
ShootPoint -32 26 -102 leftWing
ShootPoint -32 26 102 rightWing
ShootPoint -50 36 -124 leftWing
ShootPoint -50 36 124 rightWing
Ammo HeatSeeker
Ammo ActiveRadar

AddWeapon Unguided Rockets
WeaponType GUN
FireMode FullAuto
ShootDelay 10
Alternate True
AmmoSlots 2
ShootSound sound_rocketSmall
ShootPoint -10 26 -77 leftWing
ShootPoint -10 26 77 rightWing
ShootPoint -10 26 -54 leftWing
ShootPoint -10 26 54 rightWing
Ammo HydraAmmo

//Driver and Passengers
Pilot 86 27 0
Passengers 0


//Inventory Slots
FlareSlots 6
FuelTankSize 5000

//Recipe
AddRecipeParts 2 GFS_Steel


//Health and Collision
SetupPart core 2700 -77 14 -34 200 38 68
SetupPart tail 1500 -144 20 -80 65 17 160
SetupPart rightWing 1600 -95 32 34 100 4 90
SetupPart leftWing 1600 -95 32 -124 100 4 90
SetupPart nose 500 123 21 -13 45 25 28
CollisionPoint -43 28 -18 leftWing
CollisionPoint -69 28 -112 leftWing
CollisionPoint 87 39 -14 leftWing
CollisionPoint -43 28 18 rightWing
CollisionPoint -69 28 112 rightWing
CollisionPoint 87 39 14 rightWing
CollisionPoint 154 35 0 nose
CollisionPoint -118 27 0 tail
BulletDetection 8
ShootParticlesPrimary explode 0 0 0
ShootParticlesPrimary flansmod.fmflame 0 0 0
AddEmitter flansmod.fmsmoke 1 [-135,27,19] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-135,27,-19] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-135,27,19] [1,1,1] [-3,0,0] 0.5 0.8 0 1 tail

AddEmitter flansmod.fmsmoke 1 [-135,27,-19] [3,1,1] [-3,0,0] 0.5 0.8 0 1 tail
AddEmitter flansmod.fmflame 1 [-135,27,19] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-135,27,-19] [3,3,3] [-3,0,0] 0.75 2 0 1 tail


//Misc
CameraDistance 18.0


//Sounds
StartSound JetIdle
StartSoundLength 140
EngineSound JetEngine1
EngineSoundLength 40

//------------------------------------------------

//---Plane----------------------------------------
//Flying Mode
Mode PLANE


//Misc
RestingPitch 0


//Propeller
Propeller 0 -6 -20 16 core metalPropeller
Propeller 1 -6 -20 -16 core metalPropeller