i download a su 29 addon
in TV like red bull air racing that su29 is powerful,agility.in game she is too weak slow so i want modify her, i find there is only a .cpp file useful. i open it up & editer but i cant find out how to modify. check this :
#define private 0
#define protected 1
#define public 2
#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
class CfgPatches {
class su29 {
units[] = {};
weapons[] = {};
};
};
class CfgSkeletons {
class Plane; // External class reference
class su29Bones : Plane {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {"rudder", "", "wheels", "", "aileronT_right", "", "aileronT_left", "", "elevator left", "", "elevator right", "", "vrtule 0", ""};
};
};
class cfgModels {
class Plane; // External class reference
class su29 : Plane {
skeletonName = "su29Bones";
sectionsInherit = "";
sections[] = {"vrtule staticka", "vrtule blur"};
class Animations {
class RightProp {
type = "rotation";
source = "rotor";
selection = "vrtule 0";
axis = "osa_vrtule 0";
angle0 = 0;
angle1 = 2 * 3.1415;
};
class RC_rotate_Wheels {
type = "rotationX";
source = "wheel";
selection = "wheels";
axis = "";
memory = 1;
sourceAddress = "loop";
minValue = 0;
maxValue = 1;
angle0 = 0;
angle1 = "rad -360";
};
class RC_Rudder {
type = "rotation";
source = "rudder";
selection = "rudder";
axis = "osa_rudder";
memory = 1;
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad 25";
angle1 = "rad -25";
};
class RC_ElevLeft {
type = "rotation";
source = "elevator";
selection = "elevator right";
axis = "osa_elevator right";
memory = 1;
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad 35";
angle1 = "rad -35";
};
class RC_ElevRight {
type = "rotation";
source = "elevator";
selection = "elevator left";
axis = "osa_elevator left";
memory = 1;
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad -35";
angle1 = "rad 35";
};
class RC_aileronTleft {
type = "rotation";
source = "aileron";
selection = "aileronT_left";
axis = "osa_aileronT_left";
memory = 1;
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad 75";
angle1 = "rad -75";
};
class RC_aileronTRight {
type = "rotation";
source = "aileron";
selection = "aileronT_right";
axis = "osa_aileronT_right";
memory = 1;
sourceAddress = "clamp";
minValue = -1;
maxValue = 1;
angle0 = "rad 75";
angle1 = "rad -75";
};
};
};
};
class CfgVehicles {
class All {};
class AllVehicles : All {};
class Air : AllVehicles {};
class Plane : Air {};
class su29 : Plane {
scope = public;
model = "\su29\su29";
displayName = "Sukhoi SU-29";
side = TCivilian;
transportSoldier = 1;
crew = "Civilian10";
driverAction = "Mi17_Pilot";
cargoAction[] = {"Mi17_Pilot", "MH6_Cargo01", "MH6_Cargo02", "MH6_Cargo01", "MH6_Cargo02", "MH6_Cargo01", "MH6_Cargo02", "MH6_Cargo01", "MH6_Cargo02"};
Icon = "\su29\Icon.paa";
picture = "\su29\Icon.paa";
accuracy = 0.3; // accuracy needed to recognize type of this target
gearRetracting = false;
nameSound = "plane";
soundEngine[] = {"\su29\Engine.wav", 4, 1.2};
soundEnviron[] = {"Objects\noise", db-60, 1.0};
soundServo[] = {"Vehicles\gun_elevate", db-40, 0.4};
maneuvrability = 9.0;
maxSpeed = 90; // max speed on level road, km/h
armor = 100;
ejectSpeed[] = {0, 0, 0};
flapsFrictionCoef = 0.1;
cost = 1000;
type = "VAir";
// threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
threat[] = {0.1, 1, 0.7};
aileronSensitivity = 1.0; // relative aileron sensitivity
elevatorSensitivity = 0.8; // relative elevator sensitivity
noseDownCoef = 1.00; // how much goes nose down during turns
landingAoa = 7*3.1415/180;
brakeDistance = 400; // vehicle movement precision
steerAheadSimul = 1.0;
steerAheadPlan = 2.0;
extCameraPosition[] = {0, 3, -12};
weapons[] = {};
magazines[] = {};
};
};
i try to modify maxspeed = 1000 but it not in evidence
help me i wanna modify it
is it relate to plane class or engine? help