Ok, I have found a plane that does not automatically raise the gear when it's off the ground. Problem is, I can find nothing different in it's config from my config that controls the gear.
My Config:
//Commercial Airplanes
//Defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
//CfgPatches//////////
class CfgPatches
{
class Boeing757
{
units[] = {Boeing757};
weapons[] = {};
requiredVersion = 1.85
};
};
//CfgModels//////////
class CfgModels
{
class default{};
class Vehicle: default{};
class Boeing757: Vehicle
{
sectionsInherit = "Vehicle";
sections[] = {"vrtule staticka", "vrtule blur"};
};
};
//CfgVehicles//////////
class CfgVehicles
{
class All {};
class AllVehicles: All {};
class Air: AllVehicles {};
class Plane: Air {};
class Boeing757: Plane
{
type=VAir;
vehicleClass="Air";
icon="a10";
picture=\Boeing757\picture.jpg;
displayName="Boeing 757";
scope=public;
nameSound="plane";
side=TCivilian
model="\Boeing757\Boeing757.p3d";
hasgunner=1;
driveriscommander=1;
cost=150000
gearRetracting = true;
ejectSpeed[]={0,0,0};
soundEngine[]={"\Boeing757\757engine.wav",db20,1.0};
maxspeed=800;
armor=120;
fov=0.7;
precision=1;
aileronsensitivity=2.0;
elevatorsensitivity=9.0;
nosedowncoef=9;
brakedistance=400;
landingSpeed = 210;
landingAoa = 10*3.1415/180;
transportsoldier=1;
crew = "Civilian";
driverAction=ManActCessnaPilot;
cargoAction[]={"ManActCessnaCargo","ManActCessnaCargo"};
gunnerAction = ManActCessnaPilot;
irtarget=true;
irscanrange=2000
irscanground=false
weapons[]={};
magazines[]={};
audible = 10;
wheelSteeringSensitivity=15.0;
threat[]={0.0, 0.5, 1.0};
class Reflectors
{
class Left
{
color[] = {1.0, 1.0, 1.0, 1.0};
ambient[] = {0.1, 0.1, 0.1, 1.0};
position = "L svetlo";
direction = "konec L svetla";
hitpoint = "L svetlo";
selection = "L svetlo";
size = 0.8;
brightness = 0.9;
};
class Right
{
color[] = {1.0, 1.0, 1.0, 1.0};
ambient[] = {0.1, 0.1, 0.1, 1.0};
position = "P svetlo";
direction = "konec P svetla";
hitpoint = "P svetlo";
selection = "P svetlo";
size = 0.8;
brightness = 0.9;
};
};
animated=1;
class Animations
{
class LeftGear
{
type="rotation";
animPeriod=5;
selection="left gear";
axis="axis gear left";
angle0=0
angle1=-1.55;
};
class RightGear
{
type="rotation";
animPeriod=5;
selection="right gear";
axis="axis gear right";
angle0=0
angle1=1.55;
};
class NoseGear
{
type="rotation";
animPeriod=5;
selection="nose gear";
axis="axis nose gear";
angle0=0
angle1=2.2;
};
class LeftStrut
{
type="rotation";
animPeriod=5;
selection="left strut";
axis="axis left strut";
angle0=0
angle1=-0.09;
};
class RightStrut
{
type="rotation";
animPeriod=5;
selection="right strut";
axis="axis right strut";
angle0=0
angle1=0.09;
};
};
class EventHandlers
{
init = "[_this select 0] exec ""\Boeing757\checkgear.sqs"" ";
gear="if (_this select 1) then {[_this select 0] exec""\Boeing757\geardown.sqs""} else {[_this select 0] exec ""\Boeing757\gearup.sqs""}";
};
};
};
The Beriev Be-32K config:
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
class CfgPatches
{
class FWA_Be32K
{
units[] = {FWA_Be32K, FWA_BE32KRus};
weapons[] = {};
requiredVersion = 1.9;
};
};
class CfgModels
{
class Default {};
class vehicle: default {};
class FWA_Be32K: vehicle
{
sectionsInherit="Vehicle";
sections[]={"vrtule staticka","vrtule blur","light"};
};
class FWA_Be32K2:FWA_Be32K{};
};
class CfgTextureToMaterial
{
class FWA_Be32K
{
textures[]=
{
"FWA_Be32K\wheel.pac",
"FWA_Be32K\eng2.pac",
"FWA_Be32K\fuse2.pac",
"FWA_Be32K\fuse2m.pac",
"FWA_Be32K\wingb2.pac",
"FWA_Be32K\wingt2.pac",
"FWA_Be32K\tailb2.pac",
"FWA_Be32K\tailt2.pac",
"FWA_Be32K\Rustailb.pac",
"FWA_Be32K\ruswingb.pac",
"FWA_Be32K\Rustailt.pac",
"FWA_Be32K\ruswingt.pac",
"FWA_Be32K\Ruseng.pac",
"FWA_Be32K\Rus.pac",
};
material="#FWA_Be32K";
};
};
class CfgMaterials
{
class FWA_Be32K
{
ambient[]={.8,.8,.9,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
specular[]={0.720000,0.700000,0.80000,0};
specularPower=17;
emmisive[]={0,0,0,0};
};
};
class CfgVehicles
{
class All {};
class AllVehicles: All {};
class Air: AllVehicles {};
class Plane: Air {};
class FWA_Be32K: Plane
{
scope=public;
side=TCivilian;
displayName="Beriev Be-32K (Nogova)";
model="\FWA_Be32K\FWA_Be32K";
accuracy=0.30;
gearRetracting = true;
nameSound="plane";
soundEngine[]={"\FWA_Be32K\engine.wav",4,1.2};
soundEnviron[]={"Objects\noise",db-60,1.0}; // Cessna sound
soundServo[]={"Vehicles\gun_elevate",db-40,0.4}; // Cessna sound
maneuvrability=30.0;
maxSpeed=450;
armor=50;
ejectSpeed[]={0,0,0};
flapsFrictionCoef = 0.5;
cost=20000;
type=VAir;
threat[]={0.1, 1, 0.7};
aileronSensitivity = 0.5; // relative aileron sensitivity
elevatorSensitivity = 0.5; // relative elevator sensitivity
noseDownCoef = 0.2; // how much goes nose down during turns
landingAoa = 7*3.1415/180;
brakeDistance=500; // vehicle movement precision
steerAheadSimul=1.0;
steerAheadPlan=2.0;
hiddenSelections[]={"light"};
transportSoldier = 16;
crew = "Civilian2";
driverAction=ManActCessnaPilot;
cargoAction[]={ManActCessnaCoPilot,ManActCessnaCargo};
extCameraPosition[]={0,3,-20}; // 0,5,-30 is standard Air class
// Radar stuff
irTarget=true;
irScanRange = 2000;
irScanGround = true;
// Weapon and ammo
weapons[]={}; // none
magazines[]={}; // none
animated =1;
class Animations
{
class door
{
type ="rotation";
animPeriod =3;
selection ="Door";
axis ="osa Door";
angle0 =0;
angle1 =-1.574387;
};
class gear
{
type ="rotation";
animPeriod =3;
selection ="gear";
axis ="osa gear";
angle0 =0;
angle1 =1.574387;
};
class ngear
{
type ="rotation";
animPeriod =3;
selection ="ngear";
axis ="osa ngear";
angle0 =0;
angle1 =1.574387;
};
};
class EventHandlers
{
init = "[_this select 0] exec ""\FWA_Be32K\checkgear.sqs""";
gear="if (_this select 1) then {[_this select 0] exec""\FWA_Be32K\geardown.sqs""} else {[_this select 0] exec ""\FWA_Be32K\gearup.sqs""}";
};
class UserActions
{
class opendoor
{
displayName="Open Door";
position="osa Door";
radius=4;
condition= "this animationphase ""Door"" < 0.5";
statement = "[this] exec ""\FWA_Be32K\Rampdown.sqs""";
};
class closedoor
{
displayName="Close Door";
position="doorarea";
radius=5;
condition= "this animationphase ""Door"" > 0.5";
statement = "[this] exec ""\FWA_Be32K\Rampclose.sqs""";
};
};
};
class FWA_Be32KRus: FWA_Be32K
{
model="\FWA_Be32K\FWA_Be32K2";
displayName="Russian Beriev Be-32K";
side=TEast;
transportSoldier = 25;
crew = "SoldierEPilot";
driverAction=ManActCessnaPilot;
cargoAction[]={ManActCessnaCoPilot, ManActCargo};
};
};
(Sorry for the long post)
Can anyone find anything that will fix my problem?