swtx 42 Posted July 28, 2014 Trying to port the T90 from A2. keep getting a config error at line 940 area which is the last 5 or so lines of code in the config. cant figure out how to fix. any help is appreciated. Error: enum { DESTRUCTENGINE = 2, DESTRUCTDEFAULT = 6, DESTRUCTWRECK = 7, DESTRUCTTREE = 3, DESTRUCTTENT = 4, STABILIZEDINAXISX = 1, STABILIZEDINAXESXYZ = 4, STABILIZEDINAXISY = 2, STABILIZEDINAXESBOTH = 3, DESTRUCTNO = 0, STABILIZEDINAXESNONE = 0, DESTRUCTMAN = 5, DESTRUCTBUILDING = 1, }; class DefaultEventhandlers; // External class reference class CfgPatches { class T90 { units[] = {"I_MBT_03_cannon_F"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Armor_F"}; }; }; class WeaponFireGun; // External class reference class WeaponCloudsGun; // External class reference class WeaponFireMGun; // External class reference class WeaponCloudsMGun; // External class reference class RCWSOptics; // External class reference class Optics_Armored; // External class reference class Optics_Commander_03 : Optics_Armored { class Wide; // External class reference class Medium; // External class reference class Narrow; // External class reference }; class Optics_Gunner_MBT_03 : Optics_Armored { class Wide; // External class reference class Medium; // External class reference class Narrow; // External class reference }; class CfgVehicles { class LandVehicle; // External class reference class Tank : LandVehicle { class NewTurret; // External class reference class Sounds; // External class reference class HitPoints; // External class reference }; class T90 : Tank { class Turrets { class MainTurret : NewTurret { class Turrets { class CommanderOptics; // External class reference }; }; }; class AnimationSources; // External class reference class ViewPilot; // External class reference class ViewOptics; // External class reference class ViewCargo; // External class reference class HeadLimits; // External class reference class HitPoints : HitPoints { class HitHull; // External class reference class HitEngine; // External class reference class HitLTrack; // External class reference class HitRTrack; // External class reference }; class Sounds : Sounds { class Engine; // External class reference class Movement; // External class reference }; class EventHandlers; // External class reference }; class T90 : Tank { simulation = "tankX"; enginePower = 1325; maxOmega = 272; peakTorque = 5770; torqueCurve[] = {{(700/2640), 0}, {(1600/2640), (2650/2850)}, {(1800/2640), (2800/2850)}, {(1900/2640), (2850/2850)}, {(2000/2640), (2800/2850)}, {(2200/2640), (2750/2850)}, {(2400/2640), (2600/2850)}, {(4900/2640), (0/2850)}}; thrustDelay = 0.2; clutchStrength = 90.0; fuelCapacity = 1885; brakeIdleSpeed = 1.78; latency = 0.1; tankTurnForce = 1700000; normalSpeedForwardCoef = 0.78; idleRpm = 700; redRpm = 2600; engineLosses = 25; transmissionLosses = 15; changeGearMinEffectivity[] = {0.5, 0.15, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.95, 0.9, 0.9, 0.9, 0.9, 0.9}; class complexGearbox { GearboxRatios[] = {"R1", -2.235, "N", 0, CD0, 2*(0.75^(-10)), CD1, 2*(0.75^(-9)), CD2, 2*(0.75^(-8)), CD3, 2*(0.75^(-7)), CD4, 2*(0.75^(-6)), CD5, 2*(0.75^(-5)), CD6, 2*(0.75^(-4)), CD7, 2*(0.75^(-3)), CD8, 2*(0.75^(-2)), CD9, 2*(0.75^(-1)), "D1", 2*(0.75^0), "D2", 2*(0.75^1), "D3", 2*(0.75^2), "D4", 2*(0.75^3)}; TransmissionRatios[] = {"High", 8}; gearBoxMode = "auto"; moveOffGear = 1; driveString = "D"; neutralString = "N"; reverseString = "R"; transmissionDelay = 0; }; class Wheels { class L2 { boneName = "wheel_podkoloL1"; center = "wheel_1_2_axis"; boundary = "wheel_1_2_bound"; damping = 75.0; steering = 0; side = "left"; weight = 150; mass = 150; MOI = 30; latStiffX = 25; latStiffY = 280; longitudinalStiffnessPerUnitGravity = 100000; maxBrakeTorque = 10000; sprungMass = 4642.0; springStrength = 324000; springDamperRate = 36000; dampingRate = 1.0; dampingRateInAir = 5990.0; dampingRateDamaged = 10.0; dampingRateDestroyed = 10000.0; maxDroop = 0.18; maxCompression = 0.18; frictionVsSlipGraph[] = {{0, 5}, {0.5, 5}, {1, 5}}; }; class L3 : L2 { boneName = "wheel_podkolol2"; center = "wheel_1_3_axis"; boundary = "wheel_1_3_bound"; }; class L4 : L2 { boneName = "wheel_podkolol3"; center = "wheel_1_4_axis"; boundary = "wheel_1_4_bound"; }; class L5 : L2 { boneName = "wheel_podkolol4"; center = "wheel_1_5_axis"; boundary = "wheel_1_5_bound"; }; class L6 : L2 { boneName = "wheel_podkolol5"; center = "wheel_1_6_axis"; boundary = "wheel_1_6_bound"; }; class L7 : L2 { boneName = "wheel_podkolol6"; center = "wheel_1_7_axis"; boundary = "wheel_1_7_bound"; }; class L8 : L2 { boneName = "wheel_podkolol7"; center = "wheel_1_8_axis"; boundary = "wheel_1_8_bound"; }; class L9 : L2 { boneName = "wheel_podkolol9"; center = "wheel_1_9_axis"; boundary = "wheel_1_9_bound"; sprungMass = 1500.0; springStrength = 37500; springDamperRate = 7500; maxDroop = 0; maxCompression = 0; }; class L1 : L2 { boneName = ""; center = "wheel_1_1_axis"; boundary = "wheel_1_1_bound"; sprungMass = 1500.0; springStrength = 37500; springDamperRate = 7500; maxDroop = 0; maxCompression = 0; }; class R2 : L2 { boneName = "wheel_podkolop1"; center = "wheel_2_2_axis"; boundary = "wheel_2_2_bound"; side = "right"; }; class R3 : R2 { boneName = "wheel_podkolop2"; center = "wheel_2_3_axis"; boundary = "wheel_2_3_bound"; }; class R4 : R2 { boneName = "wheel_podkolop3"; center = "wheel_2_4_axis"; boundary = "wheel_2_4_bound"; }; class R5 : R2 { boneName = "wheel_podkolop4"; center = "wheel_2_5_axis"; boundary = "wheel_2_5_bound"; }; class R6 : R2 { boneName = "wheel_podkolop5"; center = "wheel_2_6_axis"; boundary = "wheel_2_6_bound"; }; class R7 : R2 { boneName = "wheel_podkolop6"; center = "wheel_2_7_axis"; boundary = "wheel_2_7_bound"; }; class R8 : R2 { boneName = "wheel_podkolop7"; center = "wheel_2_8_axis"; boundary = "wheel_2_8_bound"; }; class R9 : R2 { boneName = "wheel_podkolop9"; center = "wheel_2_9_axis"; boundary = "wheel_2_9_bound"; sprungMass = 1500.0; springStrength = 37500; springDamperRate = 7500; maxDroop = 0; maxCompression = 0; }; class R1 : R2 { boneName = ""; center = "wheel_2_1_axis"; boundary = "wheel_2_1_bound"; sprungMass = 1500.0; springStrength = 37500; springDamperRate = 7500; maxDroop = 0; maxCompression = 0; }; }; scope = 0; maxSpeed = 60; steerAheadSimul = 0.5; steerAheadPlan = 0.35; predictTurnPlan = 2.8; predictTurnSimul = 2.6; brakeDistance = 15; precision = 5; transportSoldier = 0; getInAction = "GetInLow"; getOutAction = "GetOutLow"; cargoGetInAction[] = {"GetInLow"}; cargoGetOutAction[] = {"GetOutLow"}; cargoAction[] = {"passenger_flatground_leanleft", "passenger_flatground_generic01", "passenger_flatground_generic02", "passenger_flatground_generic03", "passenger_flatground_generic04", "passenger_flatground_generic05"}; waterResistance = 3; waterDamageEngine = 0.1; wheelCircumference = 2.25; tracksSpeed = -1; driverAction = "driver_apctracked3_out"; driverInAction = "driver_apctracked3_in"; extCameraPosition[] = {0, 2.25, -9}; forceHideDriver = 1; class CrewViewOptics; // External class reference class ViewOptics : CrewViewOptics { visionMode[] = { "Normal", "NVG", "TI" }; }; armor = 800; armorStructural = 6; damageResistance = 0.00547; cost = 2500000; crewVulnerable = 0; epeImpulseDamageCoef = 18; model = "\ca\tracked2\T90\T90"; picture = ""; Icon = "\ca\tracked2\t90\data\icomap_t90_ca.paa"; class Exhausts { class Exhaust1 { position = "exhaust"; direction = "exhaust_dir"; effect = "ExhaustEffectTankSide"; }; class Exhaust2 { position = "exhaust2"; direction = "exhaust_dir2"; effect = "ExhaustEffectTankSide"; }; }; insideSoundCoef = 0.9; threat[] = {1, 1, 0.3}; attenuationEffectType = "TankAttenuation"; soundGetIn[] = {"A3\Sounds_F_EPB\Tracked\noises\get_in_out", 0.562341, 1}; soundGetOut[] = {"A3\Sounds_F_EPB\Tracked\noises\get_in_out", 0.562341, 1, 20}; soundDammage[] = {"", 0.562341, 1}; soundEngineOnInt[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\epb_2_int_start", 0.630957, 1.0}; soundEngineOnExt[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\epb_2_ext_start", 0.794328, 1.0, 200}; soundEngineOffInt[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\epb_2_int_stop", 0.630957, 1.0}; soundEngineOffExt[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\epb_2_ext_stop", 0.794328, 1.0, 200}; buildCrash0[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.0, 1, 200}; buildCrash1[] = {"A3\sounds_f\Vehicles\crashes\crash_09", 1.0, 1, 200}; buildCrash2[] = {"A3\sounds_f\Vehicles\crashes\crash_10", 1.0, 1, 200}; buildCrash3[] = {"A3\sounds_f\Vehicles\crashes\crash_11", 1.0, 1, 200}; soundBuildingCrash[] = {"buildCrash0", 0.25, "buildCrash1", 0.25, "buildCrash2", 0.25, "buildCrash3", 0.25}; WoodCrash0[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.0, 1, 200}; WoodCrash1[] = {"A3\sounds_f\Vehicles\crashes\crash_09", 1.0, 1, 200}; WoodCrash2[] = {"A3\sounds_f\Vehicles\crashes\crash_10", 1.0, 1, 200}; WoodCrash3[] = {"A3\sounds_f\Vehicles\crashes\crash_11", 1.0, 1, 200}; WoodCrash4[] = {"A3\sounds_f\Vehicles\crashes\crash_01", 1.0, 1, 200}; WoodCrash5[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.0, 1, 200}; soundWoodCrash[] = {"woodCrash0", 0.166, "woodCrash1", 0.166, "woodCrash2", 0.166, "woodCrash3", 0.166, "woodCrash4", 0.166, "woodCrash5", 0.166}; ArmorCrash0[] = {"A3\sounds_f\Vehicles\crashes\crash_08", 1.0, 1, 200}; ArmorCrash1[] = {"A3\sounds_f\Vehicles\crashes\crash_09", 1.0, 1, 200}; ArmorCrash2[] = {"A3\sounds_f\Vehicles\crashes\crash_10", 1.0, 1, 200}; ArmorCrash3[] = {"A3\sounds_f\Vehicles\crashes\crash_11", 1.0, 1, 200}; soundArmorCrash[] = {"ArmorCrash0", 0.25, "ArmorCrash1", 0.25, "ArmorCrash2", 0.25, "ArmorCrash3", 0.25}; class Sounds { class Idle_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_ext_1", 0.794328, 1, 200}; frequency = "0.95 + ((rpm/ 2600) factor[(400/ 2600),(750/ 2600)])*0.15"; volume = "engineOn*camPos*(((rpm/ 2600) factor[(100/ 2600),(200/ 2600)]) * ((rpm/ 2600) factor[(850/ 2600),(700/ 2600)]))"; }; class Engine { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_ext_2", 0.891251, 1, 240}; frequency = "0.8 + ((rpm/ 2600) factor[(620/ 2600),(910/ 2600)])*0.2"; volume = "engineOn*camPos*(((rpm/ 2600) factor[(720/ 2600),(790/ 2600)]) * ((rpm/ 2600) factor[(950/ 2600),(850/ 2600)]))"; }; class Engine1_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_ext_3", 1.12202, 1, 280}; frequency = "0.8 + ((rpm/ 2600) factor[(800/ 2600),(1150/ 2600)])*0.2"; volume = "engineOn*camPos*(((rpm/ 2600) factor[(830/ 2600),(940/ 2600)]) * ((rpm/ 2600) factor[(1200/ 2600),(1000/ 2600)]))"; }; class Engine2_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_ext_4", 1.25893, 1, 320}; frequency = "0.8 + ((rpm/ 2600) factor[(960/ 2600),(1500/ 2600)])*0.2"; volume = "engineOn*camPos*(((rpm/ 2600) factor[(950/ 2600),(1100/ 2600)]) * ((rpm/ 2600) factor[(1500/ 2600),(1250/ 2600)]))"; }; class Engine3_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_ext_5", 1.41254, 1, 360}; frequency = "0.8 + ((rpm/ 2600) factor[(1200/ 2600),(1700/ 2600)])*0.1"; volume = "engineOn*camPos*(((rpm/ 2600) factor[(1250/ 2600),(1450/ 2600)]) * ((rpm/ 2600) factor[(1700/ 2600),(1560/ 2600)]))"; }; class Engine4_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_ext_6", 1.58489, 1, 400}; frequency = "0.8 + ((rpm/ 2600) factor[(1520/ 2600),(2000/ 2600)])*0.1"; volume = "engineOn*camPos*(((rpm/ 2600) factor[(1570/ 2600),(1670/ 2600)]) * ((rpm/ 2600) factor[(2200/ 2600),(1900/ 2600)]))"; }; class Engine5_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_ext_7", 1.77828, 1, 440}; frequency = "0.8 + ((rpm/ 2600) factor[(1800/ 2600),(2300/ 2600)])*0.1"; volume = "engineOn*camPos*((rpm/ 2600) factor[(1950/ 2600),(2170/ 2600)])"; }; class IdleThrust { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_ext_1", 1.12202, 1, 200}; frequency = "0.8 + ((rpm/ 2600) factor[(400/ 2600),(750/ 2600)])*0.15"; volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(100/ 2600),(200/ 2600)]) * ((rpm/ 2600) factor[(850/ 2600),(700/ 2600)]))"; }; class EngineThrust { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_ext_2", 1.41254, 1, 200}; frequency = "0.8 + ((rpm/ 2600) factor[(620/ 2600),(910/ 2600)])*0.2"; volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(720/ 2600),(790/ 2600)]) * ((rpm/ 2600) factor[(950/ 2600),(850/ 2600)]))"; }; class Engine1_Thrust_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_ext_3", 1.77828, 1, 230}; frequency = "0.8 + ((rpm/ 2600) factor[(800/ 2600),(1150/ 2600)])*0.2"; volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(830/ 2600),(940/ 2600)]) * ((rpm/ 2600) factor[(1200/ 2600),(1000/ 2600)]))"; }; class Engine2_Thrust_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_ext_4", 1.99526, 1, 290}; frequency = "0.8 + ((rpm/ 2600) factor[(960/ 2600),(1500/ 2600)])*0.2"; volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(950/ 2600),(1100/ 2600)]) * ((rpm/ 2600) factor[(1500/ 2600),(1250/ 2600)]))"; }; class Engine3_Thrust_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_ext_5", 1.77828, 1, 350}; frequency = "0.8 + ((rpm/ 2600) factor[(1200/ 2600),(1700/ 2600)])*0.1"; volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(1250/ 2600),(1450/ 2600)]) * ((rpm/ 2600) factor[(1700/ 2600),(1560/ 2600)]))"; }; class Engine4_Thrust_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_ext_6", 2.23872, 1, 400}; frequency = "0.8 + ((rpm/ 2600) factor[(1520/ 2600),(2000/ 2600)])*0.1"; volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(1570/ 2600),(1670/ 2600)]) * ((rpm/ 2600) factor[(2200/ 2600),(1900/ 2600)]))"; }; class Engine5_Thrust_ext { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_ext_7", 2.51189, 1, 450}; frequency = "0.8 + ((rpm/ 2600) factor[(1800/ 2600),(2300/ 2600)])*0.1"; volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 2600) factor[(1950/ 2600),(2170/ 2600)])"; }; class Idle_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_int_1", 0.501187, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(400/ 2600),(750/ 2600)])*0.15"; volume = "engineOn*(1-camPos)*(((rpm/ 2600) factor[(100/ 2600),(200/ 2600)]) * ((rpm/ 2600) factor[(850/ 2600),(700/ 2600)]))"; }; class Engine_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_int_2", 0.354813, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(620/ 2600),(910/ 2600)])*0.2"; volume = "engineOn*(1-camPos)*(((rpm/ 2600) factor[(720/ 2600),(790/ 2600)]) * ((rpm/ 2600) factor[(950/ 2600),(850/ 2600)]))"; }; class Engine1_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_int_3", 0.398107, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(800/ 2600),(1150/ 2600)])*0.2"; volume = "engineOn*(1-camPos)*(((rpm/ 2600) factor[(830/ 2600),(940/ 2600)]) * ((rpm/ 2600) factor[(1200/ 2600),(1000/ 2600)]))"; }; class Engine2_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_int_4", 0.446684, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(960/ 2600),(1500/ 2600)])*0.2"; volume = "engineOn*(1-camPos)*(((rpm/ 2600) factor[(950/ 2600),(1100/ 2600)]) * ((rpm/ 2600) factor[(1500/ 2600),(1250/ 2600)]))"; }; class Engine3_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_int_5", 0.501187, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(1200/ 2600),(1700/ 2600)])*0.1"; volume = "engineOn*(1-camPos)*(((rpm/ 2600) factor[(1250/ 2600),(1450/ 2600)]) * ((rpm/ 2600) factor[(1700/ 2600),(1560/ 2600)]))"; }; class Engine4_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_int_6", 0.562341, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(1520/ 2600),(2000/ 2600)])*0.1"; volume = "engineOn*(1-camPos)*(((rpm/ 2600) factor[(1570/ 2600),(1670/ 2600)]) * ((rpm/ 2600) factor[(2200/ 2600),(1900/ 2600)]))"; }; class Engine5_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\engine_epb_2_int_7", 0.630957, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(1800/ 2600),(2300/ 2600)])*0.1"; volume = "engineOn*(1-camPos)*((rpm/ 2600) factor[(1950/ 2600),(2170/ 2600)])"; }; class IdleThrust_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_int_1", 0.630957, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(400/ 2600),(750/ 2600)])*0.15"; volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(100/ 2600),(200/ 2600)]) * ((rpm/ 2600) factor[(850/ 2600),(700/ 2600)]))"; }; class EngineThrust_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_int_2", 0.398107, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(620/ 2600),(910/ 2600)])*0.2"; volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(720/ 2600),(790/ 2600)]) * ((rpm/ 2600) factor[(950/ 2600),(850/ 2600)]))"; }; class Engine1_Thrust_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_int_3", 0.446684, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(800/ 2600),(1150/ 2600)])*0.2"; volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(830/ 2600),(940/ 2600)]) * ((rpm/ 2600) factor[(1200/ 2600),(1000/ 2600)]))"; }; class Engine2_Thrust_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_int_4", 0.446684, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(960/ 2600),(1500/ 2600)])*0.2"; volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(950/ 2600),(1100/ 2600)]) * ((rpm/ 2600) factor[(1500/ 2600),(1250/ 2600)]))"; }; class Engine3_Thrust_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_int_5", 0.501187, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(1200/ 2600),(1700/ 2600)])*0.1"; volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(1250/ 2600),(1450/ 2600)]) * ((rpm/ 2600) factor[(1700/ 2600),(1560/ 2600)]))"; }; class Engine4_Thrust_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_int_6", 0.562341, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(1520/ 2600),(2000/ 2600)])*0.1"; volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 2600) factor[(1570/ 2600),(1670/ 2600)]) * ((rpm/ 2600) factor[(2200/ 2600),(1900/ 2600)]))"; }; class Engine5_Thrust_int { sound[] = {"A3\Sounds_F_EPB\Tracked\engines\engine2\exhaust_epb_2_int_7", 0.630957, 1}; frequency = "0.8 + ((rpm/ 2600) factor[(1800/ 2600),(2300/ 2600)])*0.1"; volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 2600) factor[(1950/ 2600),(2170/ 2600)])"; }; class NoiseInt { sound[] = {"A3\Sounds_F_EPB\Tracked\noises\noise_tank_int_1", 0.501187, 1.0}; frequency = "1"; volume = "(1-camPos)*(angVelocity max 0.04)*(speed factor[4, 15])"; }; class NoiseExt { sound[] = {"A3\Sounds_F_EPB\Tracked\noises\noise_tank_ext_1", 0.891251, 1.0, 50}; frequency = "1"; volume = "camPos*(angVelocity max 0.04)*(speed factor[4, 15])"; }; class ThreadsOutH0 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_1", 0.398107, 1.0, 140}; frequency = "1"; volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-0) max 0)/ 65),(((-5) max 5)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-15) max 15)/ 65),(((-10) max 10)/ 65)]))"; }; class ThreadsOutH1 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_2", 0.446684, 1.0, 160}; frequency = "1"; volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-11) max 11)/ 65),(((-15) max 15)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-25) max 25)/ 65),(((-20) max 20)/ 65)]))"; }; class ThreadsOutH2 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_3", 0.501187, 1.0, 180}; frequency = "1"; volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-21) max 21)/ 65),(((-25) max 25)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-35) max 35)/ 65),(((-30) max 30)/ 65)]))"; }; class ThreadsOutH3 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_4", 0.562341, 1.0, 200}; frequency = "1"; volume = "engineOn*camPos*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-31) max 31)/ 65),(((-35) max 35)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-45) max 45)/ 65),(((-40) max 40)/ 65)]))"; }; class ThreadsOutH4 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_5", 0.562341, 1.0, 220}; frequency = "1"; volume = "engineOn*camPos*(1-grass)*((((-speed*3.6) max speed*3.6)/ 65) factor[(((-41) max 41)/ 65),(((-50) max 50)/ 65)])"; }; class ThreadsOutS0 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_1", 0.316228, 1.0, 120}; frequency = "1"; volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-0) max 0)/ 65),(((-5) max 5)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-15) max 15)/ 65),(((-10) max 10)/ 65)]))"; }; class ThreadsOutS1 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_2", 0.354813, 1.0, 140}; frequency = "1"; volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-11) max 11)/ 65),(((-15) max 15)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-25) max 25)/ 65),(((-20) max 20)/ 65)]))"; }; class ThreadsOutS2 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_3", 0.398107, 1.0, 160}; frequency = "1"; volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-21) max 21)/ 65),(((-25) max 25)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-35) max 35)/ 65),(((-30) max 30)/ 65)]))"; }; class ThreadsOutS3 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_4", 0.446684, 1.0, 180}; frequency = "1"; volume = "engineOn*(camPos)*(grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-31) max 31)/ 65),(((-35) max 35)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-45) max 45)/ 65),(((-40) max 40)/ 65)]))"; }; class ThreadsOutS4 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_ext_5", 0.501187, 1.0, 200}; frequency = "1"; volume = "engineOn*(camPos)*(grass)*((((-speed*3.6) max speed*3.6)/ 65) factor[(((-41) max 41)/ 65),(((-50) max 50)/ 65)])"; }; class ThreadsInH0 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_1", 0.251189, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-0) max 0)/ 65),(((-5) max 5)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-15) max 15)/ 65),(((-10) max 10)/ 65)]))"; }; class ThreadsInH1 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_2", 0.281838, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-11) max 11)/ 65),(((-15) max 15)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-25) max 25)/ 65),(((-20) max 20)/ 65)]))"; }; class ThreadsInH2 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_3", 0.316228, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-21) max 21)/ 65),(((-25) max 25)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-35) max 35)/ 65),(((-30) max 30)/ 65)]))"; }; class ThreadsInH3 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_4", 0.354813, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*(1-grass)*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-31) max 31)/ 65),(((-35) max 35)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-45) max 45)/ 65),(((-40) max 40)/ 65)]))"; }; class ThreadsInH4 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_5", 0.398107, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*(1-grass)*((((-speed*3.6) max speed*3.6)/ 65) factor[(((-41) max 41)/ 65),(((-50) max 50)/ 65)])"; }; class ThreadsInS0 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_1", 0.316228, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-0) max 0)/ 65),(((-5) max 5)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-15) max 15)/ 65),(((-10) max 10)/ 65)]))"; }; class ThreadsInS1 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_2", 0.316228, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-11) max 11)/ 65),(((-15) max 15)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-25) max 25)/ 65),(((-20) max 20)/ 65)]))"; }; class ThreadsInS2 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_3", 0.354813, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-21) max 21)/ 65),(((-25) max 25)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-35) max 35)/ 65),(((-30) max 30)/ 65)]))"; }; class ThreadsInS3 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_4", 0.354813, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*grass*(((((-speed*3.6) max speed*3.6)/ 65) factor[(((-31) max 31)/ 65),(((-35) max 35)/ 65)]) * ((((-speed*3.6) max speed*3.6)/ 65) factor[(((-45) max 45)/ 65),(((-40) max 40)/ 65)]))"; }; class ThreadsInS4 { sound[] = {"A3\Sounds_F_EPB\Tracked\treads\treads_EPB_v1_int_5", 0.398107, 1.0}; frequency = "1"; volume = "engineOn*(1-camPos)*grass*((((-speed*3.6) max speed*3.6)/ 65) factor[(((-41) max 41)/ 65),(((-50) max 50)/ 65)])"; }; }; class Reflectors { class Left { color[] = {1900, 1800, 1700}; ambient[] = {5, 5, 5}; position = "Light_L"; direction = "Light_L_end"; hitpoint = "Light_L"; selection = "Light_L"; size = 1; innerAngle = 100; outerAngle = 179; coneFadeCoef = 10; intensity = 1; useFlare = 0; dayLight = 0; flareSize = 1.0; class Attenuation { start = 1.0; constant = 0; linear = 0; quadratic = 0.25; hardLimitStart = 30; hardLimitEnd = 60; }; }; class Right : Left { position = "Light_R"; direction = "Light_R_end"; hitpoint = "Light_R"; selection = "Light_R"; }; }; aggregateReflectors[] = {{"Left", "Right"}}; smokeLauncherGrenadeCount = 16; smokeLauncherVelocity = 14; smokeLauncherOnTurret = 1; smokeLauncherAngle = 360; class Turrets; // External class reference class MainTurret; // External class reference class CommanderOptics; // External class reference class Turrets : Turrets { class MainTurret : MainTurret { class Turrets : Turrets { class CommanderOptics : CommanderOptics { memoryPointGunnerOutOptics = "commanderview"; memoryPointGunnerOptics = "commanderview"; gunBeg = "Usti hlavne2"; gunEnd = "Konec hlavne2"; memoryPointGun = "usti hlavne2"; minElev = -25; maxElev = 60; initElev = 0; minTurn = -360; maxTurn = 360; initTurn = 0; weapons[] = { HMG_127_APC, "SmokeLauncher" }; magazines[] = { "500Rnd_127x99_mag_Tracer_Yellow", "500Rnd_127x99_mag_Tracer_Yellow", "SmokeLauncherMag" }; dispersion = 0.0300; soundServo[] = { "A3\sounds_f\dummysound", 0.01, 1.0, 30 }; outGunnerMayFire = 0; inGunnerMayFire = 1; gunnerAction = "commander_mbt3_out"; gunnerInAction = "commander_mbt3_in"; gunnerGetInAction = "GetInLow"; gunnerGetOutAction = "GetOutLow"; discreteDistance[] = { 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500 }; discreteDistanceInitIndex = 2; gunnerOpticsModel = "\A3\weapons_f\reticle\Optics_Commander_02_F"; gunnerOutOpticsModel = ""; gunnerOpticsEffect[] = {}; class ViewCargo; // External class reference class CommanderViewOptics; // External class reference class ViewGunner : ViewCargo {}; class ViewOptics : CommanderViewOptics { initAngleX = 0; minAngleX = -30; maxAngleX = 30; initAngleY = 0; minAngleY = -100; maxAngleY = 100; initFov = 0.31; minFov = 0.034; maxFov = 0.31; visionMode[] = { "Normal", "TI" }; thermalMode[] = { 2, 3 }; }; class OpticsIn : Optics_Commander_03 { class Wide : Wide {}; class Medium : Medium {}; class Narrow : Narrow {}; }; turretInfoType = "RscOptics_APC_Wheeled_03_commander"; startEngine = 0; gunnerHasFlares = 1; stabilizedInAxes = 3; maxHorizontalRotSpeed = 1.8; maxVerticalRotSpeed = 1.8; viewGunnerInExternal = 1; class HitPoints { class HitTurret { armor = 0.1; material = -1; name = "vezVelitele"; visual = "vezVelitele"; passThrough = 0; minimalHit = 0.1; explosionShielding = 1; radius = 0.25; }; class HitGun { armor = 0.1; material = -1; name = "zbranVelitele"; visual = "zbranVelitele"; passThrough = 0; minimalHit = 0.1; explosionShielding = 1; radius = 0.25; }; }; }; }; gunBeg = "Usti hlavne"; gunEnd = "Konec hlavne"; gunnerAction = "gunner_mbt3_out"; gunnerInAction = "gunner_mbt3_in"; gunnerGetInAction = "GetInLow"; gunnerGetOutAction = "GetOutLow"; weapons[] = { "cannon_120mm_long", "LMG_coax" }; soundServo[] = { "A3\sounds_f\dummysound", 0.0316228, 1.0, 30 }; magazines[] = { "28Rnd_120mm_APFSDS_shells_Tracer_Yellow", "14Rnd_120mm_HE_shells_Tracer_Yellow", "2000Rnd_762x51_Belt_Yellow", "2000Rnd_762x51_Belt_Yellow" }; dispersion = 0.0300; forceHideGunner = 0; discreteDistance[] = { 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900, 2000, 2100, 2200, 2300, 2400 }; discreteDistanceInitIndex = 5; memoryPointGunnerOptics = "gunnerview"; memoryPointGun = "usti hlavne3"; minElev = -9; maxElev = 20; initElev = 10; gunnerOutOpticsModel = ""; gunnerOutOpticsEffect[] = {}; gunnerOpticsEffect[] = {}; gunnerForceOptics = 1; inGunnerMayFire = 1; viewGunnerInExternal = 1; class OpticsIn : Optics_Gunner_MBT_03 { class Wide : Wide {}; class Medium : Medium {}; class Narrow : Narrow {}; }; turretInfoType = "RscOptics_MBT_03_gunner"; class HitPoints { class HitTurret { armor = 0.8; material = -1; name = "vez"; visual = "vez"; passThrough = 0; minimalHit = 0.1; explosionShielding = 0.2; radius = 0.25; }; class HitGun { armor = 0.6; material = -1; name = "zbran"; visual = "zbran"; passThrough = 0; minimalHit = 0.1; explosionShielding = 0.4; radius = 0.25; }; }; }; class Damage { tex[] = {}; mat[] = { "ca\tracked2\T90\data\body1.rvmat", "ca\tracked2\T90\data\body1_damage.rvmat", "ca\tracked2\T90\data\body1_destruct.rvmat", "ca\tracked2\T90\data\body2.rvmat", "ca\tracked2\T90\data\body2_damage.rvmat", "ca\tracked2\T90\data\body2_destruct.rvmat", "ca\tracked2\T90\data\body3.rvmat", "ca\tracked2\T90\data\body3_damage.rvmat", "ca\tracked2\T90\data\body3_destruct.rvmat" }; }; class Arma3AnimationSources; // External Class Referance class AnimationSources : Arma3AnimationSources { class muzzle_rot_cannon { source = "ammorandom"; weapon = "cannon_120mm_long"; }; class muzzle_rot_coax { source = "ammorandom"; weapon = "LMG_coax"; }; class muzzle_hide_coax { source = "reload"; weapon = "LMG_coax"; }; class recoil_source { source = "reload"; weapon = "cannon_120mm_long"; }; class HideHull { source = "user"; initPhase = 0; animPeriod = 0.01; }; class HideTurret { source = "user"; initPhase = 0; animPeriod = 0.01; }; class LockMuzzle { source = "user"; initPhase = 0; animPeriod = 0.3; }; }; class Library { libTextDesc = "$STR_A3_CfgVehicles_MBT_03_base_F_Library0"; }; hiddenSelections[] = { "Camo1", "Camo2", "Camo3" }; hiddenSelectionsTextures[] = { "\ca\tracked2\t90\data\body1_co.paa", "\ca\tracked2\t90\data\body2_co.paa", "\ca\tracked2\t90\data\body3_co.paa" }; class TransportMagazines { class _xx_SmokeShell { magazine = "SmokeShell"; count = 2; }; class _xx_SmokeShellGreen { magazine = "SmokeShellGreen"; count = 2; }; class _xx_30Rnd_556x45_Stanag { magazine = "30Rnd_556x45_Stanag"; count = 4; }; }; class TransportWeapons { class _xx_arifle_Mk20C_F { weapon = "arifle_Mk20C_F"; count = 2; }; }; class TransportItems { class _xx_FirstAidKit { name = "FirstAidKit"; count = 10; }; }; class I_MBT_03_base_F : T90 { crew = "I_crew_F"; typicalCargo[] = { "I_Soldier_F" }; side = 2; faction = IND_F; }; class I_MBT_03_cannon_F : I_MBT_03_base_F { author = "$STR_A3_Bohemia_Interactive"; _generalMacro = "I_MBT_03_cannon_F"; scope = 2; displayName = "$STR_DN_T90"; }; }; Share this post Link to post Share on other sites
dezkit 28 Posted July 30, 2014 remove class Turrets; // External class reference Share this post Link to post Share on other sites