Jump to content
Sign in to follow this  
Jonzie

Car whees not turning

Recommended Posts

I don't know what i am doing wrong but i can't get my car wheels to turn on rotationX (backwards and forwards) ,but the front wheels turn on rotationY (left to right) but not rotationX they work fine in buldozer but not in arma 3. I think it might be something to do with my model.cfg because i get this (arma3.rpt Error: Wheel reference not initialized, Unexpected control type)

here is my config.cpp and model.cfg

config.cpp

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;
class CfgPatches
{
class Subaru_Wrx
{
 units[] = {"Subaru_Wrx"};
 weapons[] = {};
 requiredVersion = 0.1;
 requiredAddons[] = {"A3_Soft_F"};
};
};
class WeaponFireGun;
class WeaponCloudsGun;
class WeaponFireMGun;
class WeaponCloudsMGun;
class CfgVehicles
{
class LandVehicle;
class Car: LandVehicle
{
 class HitPoints;
 class NewTurret;
};
class Car_F: Car
{
 class Turrets
 {
  class MainTurret: NewTurret
  {
   class ViewOptics;
  };
 };
 class HitPoints
 {
  class HitLFWheel;
  class HitLBWheel;
  class HitRFWheel;
  class HitRBWheel;
  class HitBody;
  class HitGlass1{};
  class HitGlass2;
 };
 class EventHandlers;
 class AnimationSources;
};
class Rallycars_Base: Car_F
{
 mapSize = 6.12;
 _generalMacro = "Rallycars_Base";
 displayName = "$STR_A3_CfgVehicles_Offroad_Base0";
 nameSound = "veh_car";
 class Library
 {
  libTextDesc = "$STR_A3_CfgVehicles_Offroad_Base_Library0";
 };
 model = "Jonzie_Rally_Cars\Subaru_Wrx\Subaru_Wrx.p3d";
 picture = "\A3\soft_f\offroad\Data\UI\offroad_base_CA.paa";
 Icon = "\A3\soft_f\offroad\Data\UI\map_offroad_CA.paa";
 accuracy = 0.25;
 transportSoldier = 1;
 transportMaxBackpacks = 0;
 armor = 32;
 cost = 50000;
 class TransportItems
 {
  class _xx_FirstAidKit
  {
   name = "FirstAidKit";
   count = 6;
  };
 };
 hiddenSelections[] = {};
 hiddenSelectionsTextures[] = {};
 class HitPoints: HitPoints
 {
  class HitLFWheel: HitLFWheel
  {
   armor = 0.125;
   passThrough = 0;
  };
  class HitLF2Wheel: HitLBWheel
  {
   armor = 0.125;
   passThrough = 0;
  };
  class HitRFWheel: HitRFWheel
  {
   armor = 0.125;
   passThrough = 0;
  };
  class HitRF2Wheel: HitRBWheel
  {
   armor = 0.125;
   passThrough = 0;
  };
  class HitFuel
  {
   armor = 0.5;
   material = -1;
   name = "palivo";
   visual = "";
   passThrough = 0.2;
  };
  class HitEngine
  {
   armor = 0.5;
   material = -1;
   name = "motor";
   visual = "";
   passThrough = 0.2;
  };
  class HitBody: HitBody
  {
   visual = "camo";
   passThrough = 1;
  };
  class HitGlass1: HitGlass1
  {
   armor = 0.25;
  };
  class HitGlass2: HitGlass2
  {
   armor = 0.25;
  };
 };
 steerAheadSimul = 0.5;
 steerAheadPlan = 0.35;
 predictTurnPlan = 0.8;
 predictTurnSimul = 0.6;
 precision = 10;
 brakeDistance = 50;
 turnCoef = 3.5;
 driverAction = "driver_offroad01";
 cargoAction[] = {"passenger_low01"};
 getInAction = "GetInLow";
 getOutAction = "GetOutLow";
 cargoGetInAction[] = {"GetInLow"};
 cargoGetOutAction[] = {"GetOutLow"};
 fireResistance = 5;
 wheelDestroyRadiusCoef = 0.75;
 wheelComponentSteerL[] = {"wheel_1_1_damper"};
 wheelComponentSteerR[] = {"wheel_1_2_damper"};
 wheelComponentFixedL[] = {"wheel_2_1_damper"};
 wheelComponentFixedR[] = {"wheel_2_2_damper"};
 soundGetIn[] = {"A3\Sounds_F\vehicles\soft\offroad\offroad-int-openclose.wav",1.0,1};
 soundGetOut[] = {"A3\Sounds_F\vehicles\soft\offroad\offroad-int-openclose.wav",1.0,1,40};
 soundDammage[] = {"",0.56234133,1};
 soundEngineOnInt[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_start.wav",1.0,1.0};
 soundEngineOnExt[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_start.wav",1.0,1.0,200};
 soundEngineOffInt[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_stop.wav",1.0,1.0};
 soundEngineOffExt[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_stop.wav",1.0,1.0,200};
 class Sounds
 {
  class Idle_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_idle.wav",1.0,1,100};
   frequency = "0.95	+	((rpm/	3500) factor[(100/	3500),(600/	3500)])*0.15";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(100/	3500),(200/	3500)])	*	((rpm/	3500) factor[(530/	3500),(380/	3500)]))";
  };
  class Engine
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_2.wav",1.0,1,200};
   frequency = "0.9	+	((rpm/	3500) factor[(380/	3500),(840/	3500)])*0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(380/	3500),(530/	3500)])	*	((rpm/	3500) factor[(850/	3500),(650/	3500)]))";
  };
  class Engine1_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_3.wav",1.0,1,225};
   frequency = "0.9	+	((rpm/	3500) factor[(660/	3500),(1130/	3500)])*0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(650/	3500),(840/	3500)])	*	((rpm/	3500) factor[(1130/	3500),(940/	3500)]))";
  };
  class Engine2_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_4.wav",1.0,1,250};
   frequency = "0.9	+	((rpm/	3500) factor[(930/	3500),(1340/	3500)])*0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(1000/	3500),(1130/	3500)])	*	((rpm/	3500) factor[(1340/	3500),(1200/	3500)]))";
  };
  class Engine3_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_6.wav",1.0,1,275};
   frequency = "0.95	+	((rpm/	3500) factor[(1200/	3500),(1620/	3500)])*0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(1100/	3500),(1300/	3500)])	*	((rpm/	3500) factor[(1600/	3500),(1400/	3500)]))";
  };
  class Engine4_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_8.wav",1.0,1,300};
   frequency = "0.95	+	((rpm/	3500) factor[(1400/	3500),(2000/	3500)]) *0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(1300/	3500),(1600/	3500)])	*	((rpm/	3500) factor[(2000/	3500),(1700/	3500)]))";
  };
  class Engine5_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_9.wav",1.0,1,325};
   frequency = "0.95	+	((rpm/	3500) factor[(1700/	3500),(2250/	3500)])*0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(1600/	3500),(2000/	3500)])	*	((rpm/	3500) factor[(2250/	3500),(2050/	3500)]))";
  };
  class Engine6_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_11.wav",1.0,1,350};
   frequency = "0.95	+	((rpm/	3500) factor[(2050/	3500),(2600/	3500)])*0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(1900/	3500),(2250/	3500)])	*	((rpm/	3500) factor[(2600/	3500),(2400/	3500)]))";
  };
  class Engine7_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_12.wav",1.0,1,375};
   frequency = "0.95	+	((rpm/	3500) factor[(2400/	3500),(3050/	3500)])*0.2";
   volume = "engineOn*camPos*(((rpm/	3500) factor[(2300/	3500),(2600/	3500)])	*	((rpm/	3500) factor[(3050/	3500),(2650/	3500)]))";
  };
  class Engine8_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_14.wav",1.0,1,400};
   frequency = "0.95	+	((rpm/	3500) factor[(2650/	3500),(3500/	3500)])*0.2";
   volume = "engineOn*camPos*((rpm/	3500) factor[(2400/	3500),(3200/	3500)])";
  };
  class IdleThrust
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_idle_exhaust.wav",1.0,1,200};
   frequency = "0.95	+	((rpm/	3500) factor[(100/	3500),(600/	3500)])*0.15";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(100/	3500),(200/	3500)])	*	((rpm/	3500) factor[(530/	3500),(380/	3500)]))";
  };
  class EngineThrust
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_2_exhaust.wav",1.0,1,250};
   frequency = "0.9	+	((rpm/	3500) factor[(380/	3500),(840/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(380/	3500),(530/	3500)])	*	((rpm/	3500) factor[(850/	3500),(650/	3500)]))";
  };
  class Engine1_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_3_exhaust.wav",1.0,1,275};
   frequency = "0.9	+	((rpm/	3500) factor[(660/	3500),(1130/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(650/	3500),(840/	3500)])	*	((rpm/	3500) factor[(1130/	3500),(940/	3500)]))";
  };
  class Engine2_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_4_exhaust.wav",1.0,1,300};
   frequency = "0.9	+	((rpm/	3500) factor[(930/	3500),(1340/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1000/	3500),(1130/	3500)])	*	((rpm/	3500) factor[(1340/	3500),(1200/	3500)]))";
  };
  class Engine3_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_6_exhaust.wav",1.0,1,325};
   frequency = "0.95	+	((rpm/	3500) factor[(1200/	3500),(1620/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1100/	3500),(1300/	3500)])	*	((rpm/	3500) factor[(1600/	3500),(1400/	3500)]))";
  };
  class Engine4_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_8_exhaust.wav",1.0,1,350};
   frequency = "0.95	+	((rpm/	3500) factor[(1400/	3500),(2000/	3500)]) *0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1300/	3500),(1600/	3500)])	*	((rpm/	3500) factor[(2000/	3500),(1700/	3500)]))";
  };
  class Engine5_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_9_exhaust.wav",1.0,1,375};
   frequency = "0.95	+	((rpm/	3500) factor[(1700/	3500),(2250/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1600/	3500),(2000/	3500)])	*	((rpm/	3500) factor[(2250/	3500),(2050/	3500)]))";
  };
  class Engine6_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_11_exhaust.wav",1.0,1,400};
   frequency = "0.95	+	((rpm/	3500) factor[(2050/	3500),(2600/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1900/	3500),(2250/	3500)])	*	((rpm/	3500) factor[(2600/	3500),(2400/	3500)]))";
  };
  class Engine7_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_12_exhaust.wav",1.0,1,425};
   frequency = "0.95	+	((rpm/	3500) factor[(2400/	3500),(3050/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(2300/	3500),(2600/	3500)])	*	((rpm/	3500) factor[(3050/	3500),(2650/	3500)]))";
  };
  class Engine8_Thrust_ext
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_ext_rpm_14_exhaust.wav",1.0,1,450};
   frequency = "0.95	+	((rpm/	3500) factor[(2650/	3500),(3500/	3500)])*0.2";
   volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	3500) factor[(2400/	3500),(3200/	3500)])";
  };
  class Idle_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_idle.wav",0.31622776,1};
   frequency = "0.95	+	((rpm/	3500) factor[(100/	3500),(600/	3500)])*0.15";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(100/	3500),(200/	3500)])	*	((rpm/	3500) factor[(530/	3500),(380/	3500)]))";
  };
  class Engine_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_2.wav",0.1,1};
   frequency = "0.9	+	((rpm/	3500) factor[(380/	3500),(840/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(380/	3500),(530/	3500)])	*	((rpm/	3500) factor[(850/	3500),(650/	3500)]))";
  };
  class Engine1_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_3.wav",0.1,1};
   frequency = "0.9	+	((rpm/	3500) factor[(660/	3500),(1130/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(650/	3500),(840/	3500)])	*	((rpm/	3500) factor[(1130/	3500),(940/	3500)]))";
  };
  class Engine2_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_4.wav",0.1,1};
   frequency = "0.9	+	((rpm/	3500) factor[(930/	3500),(1340/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(1000/	3500),(1130/	3500)])	*	((rpm/	3500) factor[(1340/	3500),(1200/	3500)]))";
  };
  class Engine3_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_6.wav",0.1,1};
   frequency = "0.95	+	((rpm/	3500) factor[(1200/	3500),(1620/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(1100/	3500),(1300/	3500)])	*	((rpm/	3500) factor[(1600/	3500),(1400/	3500)]))";
  };
  class Engine4_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_8.wav",0.1,1};
   frequency = "0.95	+	((rpm/	3500) factor[(1400/	3500),(2000/	3500)]) *0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(1300/	3500),(1600/	3500)])	*	((rpm/	3500) factor[(2000/	3500),(1700/	3500)]))";
  };
  class Engine5_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_9.wav",0.1,1};
   frequency = "0.95	+	((rpm/	3500) factor[(1700/	3500),(2250/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(1600/	3500),(2000/	3500)])	*	((rpm/	3500) factor[(2250/	3500),(2050/	3500)]))";
  };
  class Engine6_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_11.wav",0.1,1};
   frequency = "0.95	+	((rpm/	3500) factor[(2050/	3500),(2600/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(1900/	3500),(2250/	3500)])	*	((rpm/	3500) factor[(2600/	3500),(2400/	3500)]))";
  };
  class Engine7_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_12.wav",0.1,1};
   frequency = "0.95	+	((rpm/	3500) factor[(2400/	3500),(3050/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(((rpm/	3500) factor[(2300/	3500),(2600/	3500)])	*	((rpm/	3500) factor[(3050/	3500),(2650/	3500)]))";
  };
  class Engine8_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_14.wav",0.1,1};
   frequency = "0.95	+	((rpm/	3500) factor[(2650/	3500),(3500/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*((rpm/	3500) factor[(2400/	3500),(3200/	3500)])";
  };
  class IdleThrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_idle_exhaust.wav",1.0,1};
   frequency = "0.95	+	((rpm/	3500) factor[(100/	3500),(600/	3500)])*0.15";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(100/	3500),(200/	3500)])	*	((rpm/	3500) factor[(530/	3500),(380/	3500)]))";
  };
  class EngineThrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_2_exhaust.wav",1.0,1};
   frequency = "0.9	+	((rpm/	3500) factor[(380/	3500),(840/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(380/	3500),(530/	3500)])	*	((rpm/	3500) factor[(850/	3500),(650/	3500)]))";
  };
  class Engine1_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_3_exhaust.wav",1.0,1};
   frequency = "0.9	+	((rpm/	3500) factor[(660/	3500),(1130/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(650/	3500),(840/	3500)])	*	((rpm/	3500) factor[(1130/	3500),(940/	3500)]))";
  };
  class Engine2_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_4_exhaust.wav",1.0,1};
   frequency = "0.9	+	((rpm/	3500) factor[(930/	3500),(1340/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1000/	3500),(1130/	3500)])	*	((rpm/	3500) factor[(1340/	3500),(1200/	3500)]))";
  };
  class Engine3_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_6_exhaust.wav",1.0,1};
   frequency = "0.95	+	((rpm/	3500) factor[(1200/	3500),(1620/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1100/	3500),(1300/	3500)])	*	((rpm/	3500) factor[(1600/	3500),(1400/	3500)]))";
  };
  class Engine4_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_8_exhaust.wav",1.0,1};
   frequency = "0.95	+	((rpm/	3500) factor[(1400/	3500),(2000/	3500)]) *0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1300/	3500),(1600/	3500)])	*	((rpm/	3500) factor[(2000/	3500),(1700/	3500)]))";
  };
  class Engine5_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_9_exhaust.wav",1.0,1};
   frequency = "0.95	+	((rpm/	3500) factor[(1700/	3500),(2250/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1600/	3500),(2000/	3500)])	*	((rpm/	3500) factor[(2250/	3500),(2050/	3500)]))";
  };
  class Engine6_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_11_exhaust.wav",1.0,1};
   frequency = "0.95	+	((rpm/	3500) factor[(2050/	3500),(2600/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(1900/	3500),(2250/	3500)])	*	((rpm/	3500) factor[(2600/	3500),(2400/	3500)]))";
  };
  class Engine7_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_12_exhaust.wav",1.0,1};
   frequency = "0.95	+	((rpm/	3500) factor[(2400/	3500),(3050/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	3500) factor[(2300/	3500),(2600/	3500)])	*	((rpm/	3500) factor[(3050/	3500),(2650/	3500)]))";
  };
  class Engine8_Thrust_int
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\offroad\landrover_int_rpm_14_exhaust.wav",1.0,1};
   frequency = "0.95	+	((rpm/	3500) factor[(2650/	3500),(3500/	3500)])*0.2";
   volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	3500) factor[(2400/	3500),(3200/	3500)])";
  };
  class Movement
  {
   sound = "soundEnviron";
   frequency = "1";
   volume = "0";
  };
  class TiresRockOut
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_rock_final_2.wav",0.1,1.0,120};
   frequency = "1";
   volume = "camPos*rock*(speed factor[2, 20])";
  };
  class TiresSandOut
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1.wav",0.1,1.0,120};
   frequency = "1";
   volume = "camPos*sand*(speed factor[2, 20])";
  };
  class TiresGrassOut
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_road_final_1.wav",0.1,1.0,120};
   frequency = "1";
   volume = "camPos*grass*(speed factor[2, 20])";
  };
  class TiresMudOut
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2.wav",0.1,1.0,120};
   frequency = "1";
   volume = "camPos*mud*(speed factor[2, 20])";
  };
  class TiresGravelOut
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_rock_final_2.wav",0.31622776,1.0,120};
   frequency = "1";
   volume = "camPos*gravel*(speed factor[2, 20])";
  };
  class TiresAsphaltOut
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_road_final_1.wav",0.2818383,1.0,120};
   frequency = "1";
   volume = "camPos*asphalt*(speed factor[2, 20])";
  };
  class NoiseOut
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_soft_ext_1.wav",0.1,1.0,120};
   frequency = "1";
   volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
  };
  class TiresRockIn
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_rock_final_2.wav",0.017782794,1.0};
   frequency = "1";
   volume = "(1-camPos)*rock*(speed factor[2, 20])";
  };
  class TiresSandIn
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2.wav",0.017782794,1.0};
   frequency = "1";
   volume = "(1-camPos)*sand*(speed factor[2, 20])";
  };
  class TiresGrassIn
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_road_final_1.wav",0.017782794,1.0};
   frequency = "1";
   volume = "(1-camPos)*grass*(speed factor[2, 20])";
  };
  class TiresMudIn
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2.wav",0.017782794,1.0};
   frequency = "1";
   volume = "(1-camPos)*mud*(speed factor[2, 20])";
  };
  class TiresGravelIn
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_rock_final_2.wav",0.014125375,1.0};
   frequency = "1";
   volume = "(1-camPos)*gravel*(speed factor[2, 20])";
  };
  class TiresAsphaltIn
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_road_final_1.wav",0.017782794,1.0};
   frequency = "1";
   volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
  };
  class NoiseIn
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_soft_int_1.wav",0.017782794,1.0};
   frequency = "1";
   volume = "(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
  };
  class breaking_ext_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
  };
  class acceleration_ext_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  };
  class turn_left_ext_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  };
  class turn_right_ext_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  };
  class breaking_ext_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
  };
  class acceleration_ext_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  };
  class turn_left_ext_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  };
  class turn_right_ext_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02.wav",1.0,1,100};
   frequency = 1;
   volume = "engineOn*camPos*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  };
  class breaking_int_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
  };
  class acceleration_int_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  };
  class turn_left_int_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  };
  class turn_right_int_road
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  };
  class breaking_int_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
  };
  class acceleration_int_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
  };
  class turn_left_int_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
  };
  class turn_right_int_dirt
  {
   sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int.wav",1.0,1};
   frequency = 1;
   volume = "engineOn*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
  };
 };
 class RenderTargets
 {
  class LeftMirror
  {
   renderTarget = "rendertarget0";
   class CameraView1
   {
    pointPosition = "PIP0_pos";
    pointDirection = "PIP0_dir";
    renderQuality = 2;
    renderVisionMode = 0;
    fov = 0.7;
   };
  };
  class IntMirror
  {
   renderTarget = "rendertarget1";
   class CameraView1
   {
    pointPosition = "PIP1_pos";
    pointDirection = "PIP1_dir";
    renderQuality = 2;
    renderVisionMode = 0;
    fov = 0.7;
   };
  };
 };
 driverLeftHandAnimName = "volant";
 driverRightHandAnimName = "volant";
 thrustDelay = 0.2;
 brakeIdleSpeed = 1.78;
 maxSpeed = 165;
 fuelCapacity = 45;
 wheelCircumference = 1.805;
 antiRollbarForceCoef = 0;
 antiRollbarForceLimit = 10;
 antiRollbarSpeedMin = 3;
 antiRollbarSpeedMax = 100;
 idleRpm = 400;
 redRpm = 3500;
 class complexGearbox
 {
  GearboxRatios[] = {"R1",-6.575,"N",0,"D1",2.367,"D2",1.67,"D3",1.238,"D4",0.99,"D5",0.802,"D6",0.601};
  TransmissionRatios[] = {"High",6.0};
  gearBoxMode = "auto";
  moveOffGear = 1;
  driveString = "D";
  neutralString = "N";
  reverseString = "R";
  gearUpMaxCoef = 0.8;
  gearDownMaxCoef = 0.5;
  gearUpMinCoef = 0.45;
  gearDownMinCoef = 0.15;
  transmissionDelay = 2;
 };
 simulation = "carx";
 dampersBumpCoef = 3.0;
 differentialType = "all_limited";
 frontRearSplit = 0.5;
 frontBias = 1.5;
 rearBias = 1.5;
 centreBias = 1.3;
 clutchStrength = 15.0;
 enginePower = 200;
 maxOmega = 370;
 peakTorque = 320;
 dampingRateFullThrottle = 0.08;
 dampingRateZeroThrottleClutchEngaged = 0.35;
 dampingRateZeroThrottleClutchDisengaged = 0.35;
 torqueCurve[] = {
  { 0.0,0.0 },
  { 0.25,0.65 },
  { 0.3,0.8 },
  { 0.5,0.95 },
  { 0.7,1.0 },
  { 0.8,0.9 },
  { 0.9,0.8 },
  { 1.0,0.5 }};
 changeGearMinEffectivity[] = {0.95,0.15,0.95,0.95,0.95,0.95,0.95,0.95};
 switchTime = 0.31;
 latency = 1.5;
 class Wheels
 {
  class LF
  {
   boneName = "wheel_1_1_damper_land";
   steering = 1;
   side = "left";
   center = "wheel_1_1_axis";
   boundary = "wheel_1_1_bound";
   width = "0.2";
   mass = 30;
   MOI = 2.8;
   dampingRate = 0.5;
   maxBrakeTorque = 2000;
   maxHandBrakeTorque = 0;
   suspTravelDirection[] = {0,-1,0};
   suspForceAppPointOffset = "wheel_1_1_axis";
   tireForceAppPointOffset = "wheel_1_1_axis";
   maxCompression = 0.05;
   mMaxDroop = 0.1;
   sprungMass = 400;
   springStrength = 14400;
   springDamperRate = 1920;
   longitudinalStiffnessPerUnitGravity = 10000;
   latStiffX = 25;
   latStiffY = 180;
   frictionVsSlipGraph[] = {
    { 0,1 },
    { 0.5,1 },
    { 1,1 }};
  };
  class LR: LF
  {
   boneName = "wheel_1_2_damper_land";
   steering = 0;
   center = "wheel_1_2_axis";
   boundary = "wheel_1_2_bound";
   suspForceAppPointOffset = "wheel_1_2_axis";
   tireForceAppPointOffset = "wheel_1_2_axis";
   maxHandBrakeTorque = 3000;
  };
  class RF: LF
  {
   boneName = "wheel_2_1_damper_land";
   center = "wheel_2_1_axis";
   boundary = "wheel_2_1_bound";
   suspForceAppPointOffset = "wheel_2_1_axis";
   tireForceAppPointOffset = "wheel_2_1_axis";
   steering = 1;
   side = "right";
  };
  class RR: RF
  {
   boneName = "wheel_2_2_damper_land";
   steering = 0;
   center = "wheel_2_2_axis";
   boundary = "wheel_2_2_bound";
   suspForceAppPointOffset = "wheel_2_2_axis";
   tireForceAppPointOffset = "wheel_2_2_axis";
   maxHandBrakeTorque = 3000;
  };
 };
 class Exhausts
 {
  class Exhaust1
  {
   position = "exhaust1_pos";
   direction = "exhaust1_dir";
   effect = "ExhaustEffectOffroad";
  };
  class Exhaust2
  {
   position = "exhaust2_pos";
   direction = "exhaust2_dir";
   effect = "ExhaustEffectOffroad";
  };
 };
 class Damage
 {
  tex[] = {};
  mat[] = {"A3\soft_F\Offroad\Data\offroad_ext.rvmat","A3\soft_F\Offroad\Data\offroad_ext_damage.rvmat","A3\soft_F\Offroad\Data\offroad_ext_destruct.rvmat","A3\soft_F\Offroad\Data\Offroad_int_base.rvmat","A3\soft_F\Offroad\Data\Offroad_int_base_damage.rvmat","A3\soft_F\Offroad\Data\Offroad_int_base_destruct.rvmat","A3\soft_F\Offroad\Data\Offroad_int_board.rvmat","A3\soft_F\Offroad\Data\Offroad_int_board_damage.rvmat","A3\soft_F\Offroad\Data\Offroad_int_board_destruct.rvmat","A3\soft_F\Offroad\Data\Offroad_ext_plastic.rvmat","A3\soft_F\Offroad\Data\Offroad_ext_damage.rvmat","A3\soft_F\Offroad\Data\Offroad_ext_destruct.rvmat","A3\data_f\glass_veh.rvmat","A3\data_f\Glass_veh_damage.rvmat","A3\data_f\Glass_veh_damage.rvmat","A3\data_f\glass_veh_int.rvmat","A3\data_f\Glass_veh_damage.rvmat","A3\data_f\Glass_veh_damage.rvmat"};
 };
 class Reflectors
 {
  class Left
  {
   color[] = {0.75,0.75,0.85};
   ambient[] = {0.0005,0.0005,0.0005};
   position = "L svetlo";
   direction = "konec L svetla";
   hitpoint = "L svetlo";
   selection = "L svetlo";
   size = 1;
   innerAngle = 35;
   outerAngle = 180;
   coneFadeCoef = 40;
   intensity = 400;
   useFlare = 0;
   dayLight = 0;
   flareSize = 0.75;
   class Attenuation
   {
    start = 1;
    constant = 2.0;
    linear = 0.0;
    quadratic = 15.0;
   };
  };
  class Right: Left
  {
   position = "P svetlo";
   direction = "konec P svetla";
   hitpoint = "P svetlo";
   selection = "P svetlo";
  };
  class Right2: Right
  {
   position = "R_light_flare";
   useFlare = 1;
  };
  class Left2: Left
  {
   position = "L_light_flare";
   useFlare = 1;
  };
 };
 aggregateReflectors[] = {
  { "Left","Right","Left2","Right2" }};
};
class Subaru_Wrx: Rallycars_Base
{
 _generalMacro = "Subaru_Wrx";
 model = "Jonzie_Rally_Cars\Subaru_Wrx\Subaru_Wrx.p3d";
 displayName = "Subaru Wrx";
 scope = 2;
 crew = "C_man_1";
 side = 3;
 faction = "CIV_F";
 accuracy = 1.25;
 class Turrets{};
};
};

model.cfg

class Rotation;
class CfgSkeletons
{
class Vehicle
{
	isDiscrete=1;
	skeletonInherit="";
	skeletonBones[]={};
};
class Subaru_Wrx: Vehicle
{
	skeletonBones[]=
	{
		"volant",
		"",
		"wheel_1_1 tlumic",
		"",
		"wheel_2_1 tlumic",
		"",
		"levy dalsi tlumic",
		"",
		"pravy dalsi tlumic",
		"",
		"wheel_1_1 zatoc",
		"wheel_1_1 tlumic",
		"wheel_2_1 zatoc",
		"wheel_2_1 tlumic",
		"levy dalsi zatoc",
		"levy dalsi tlumic",
		"pravy dalsi zatoc",
		"pravy dalsi tlumic",
		"levy prostredni tlumic",
		"",
		"pravy prostredni tlumic",
		"",
		"wheel_1_2 tlumic",
		"",
		"wheel_2_2 tlumic",
		"",
		"wheel_1_1",
		"wheel_1_1 zatoc",
		"wheel_2_1",
		"wheel_2_1 zatoc",
		"levy dalsi",
		"levy dalsi zatoc",
		"pravy dalsi",
		"pravy dalsi zatoc",
		"levy prostredni",
		"levy prostredni tlumic",
		"pravy prostredni",
		"pravy prostredni tlumic",
		"wheel_1_2",
		"wheel_1_2 tlumic",
		"wheel_2_2",
		"wheel_2_2 tlumic",
		"ukaz_rychlo",
		"",
		"ukaz_rychlo2",
		"",
		"ukaz_rpm",
		"",
		"OtocVez",
		"",
		"OtocHlaven",
		"OtocVez",
		"fuel_01",
		"",
		"fuel_1",
		"",
		"prop_01",
		"",
		"prop_02",
		"",
		"prop_2",
		"",
		"prop_1",
		"",
		"damageHide",
		"",
		"damageVez",
		"OtocVez",
		"damageHlaven",
		"OtocHlaven"
	};
};
};
class CfgModels
{
class Vehicle
{
	sections[]={};
	sectionsInherit="";
	skeletonName="";
};
class Subaru_Wrx: Vehicle
{
       isDiscrete = 1;
	sectionsInherit="";
	sections[]=
	{
		"Body",
		"Lett_1",
		"Lett_2",
		"Lett_3",
		"num_1",
		"num_2",
		"num_3",			
		"sklo predni p",
		"sklo predni l",
		"zadni svetlo",
		"brzdove svetlo",
		"spz",
		"karoserie",
		"motor",
		"zbran",
		"vez",
		"zbytek",
		"wheel_1_1",
		"levy prostredni",
		"wheel_1_2",
		"wheel_2_1",
		"pravy prostredni",
		"wheel_2_2",
		"clan",
		"clan_sign",
		"zasleh",
		"P svetlo",
		"L svetlo",
		"palivo"
	};
       skeletonName="Subaru_Wrx";
	class Animations
	{
		class damageHide
		{
			type="hide";
			source="damage";
			selection="damageHide";
		};
		class IndicatorSpeed
		{
			animPeriod=0;
			type="rotation";
			source="speed";
			selection="ukaz_rychlo";
			axis="osa_rychlo";
			memory=0;
			minValue=0;
			maxValue=16.67;
			angle0=0;
			angle1=2.8797929;
		};
		class IndicatorSpeed2
		{
			type="rotation";
			source="speed";
			selection="ukaz_rychlo2";
			axis="osa_rychlo2";
			memory="false";
			animPeriod=0;
			minValue=0;
			maxValue=16.67;
			angle0=0;
			angle1="rad -240";
		};
		class IndicatorRPM
		{
			animPeriod=0;
			type="rotation";
			source="rpm";
			selection="ukaz_rpm";
			axis="osa_rpm";
			memory=0;
			minValue=0;
			maxValue=1;
			angle0=0;
			angle1=2.9670601;
		};
		class wheel_1_1_destruct
		{
			type="hide";
			source="HitLFWheel";
			selection="wheel_1_1";
			minValue = 0;
			maxValue = 1;
			minPhase = 0;
			maxPhase = 1;
			hideValue = 0.990000;
		};
		class wheel_1_2_destruct
		{
			type="hide";
			source="HitLBWheel";
			selection="wheel_1_2";
			minValue = 0;
			maxValue = 1;
			minPhase = 0;
			maxPhase = 1;
			hideValue = 0.990000;
		};
		class wheel_2_1_destruct
		{
			type="hide";
			source="HitRFWheel";
			selection="wheel_2_1";
			minValue = 0;
			maxValue = 1;
			minPhase = 0;
			maxPhase = 1;
			hideValue = 0.990000;
		};
		class wheel_2_2_destruct
		{
			type="hide";
			source="HitRBWheel";
			selection="wheel_2_2";
			minValue = 0;
			maxValue = 1;
			minPhase = 0;
			maxPhase = 1;
			hideValue = 0.990000;
		};
		class wheel_1_1_destruct_unhide
		{
			type="hide";
			source="HitLFWheel";
			SourceAddress = "mirror";
			selection="wheel_1_1_unhide";
			minValue = -1;
			maxValue = 0;
			minPhase = -1;
			maxPhase = 0;
			hideValue = 0.010000;
		};
		class wheel_1_2_destruct_unhide
		{
			type="hide";
			source="HitLBWheel";
			selection="wheel_1_2_unhide";
			minValue = -1;
			maxValue = 0;
			SourceAddress = "mirror";
			hideValue = 0.010000;
		};
		class wheel_2_1_destruct_unhide
		{
			type="hide";
			source="HitRFWheel";
			selection="wheel_2_1_unhide";
			minValue = -1;
			maxValue = 0;
			SourceAddress = "mirror";
			hideValue = 0.010000;
		};
		class wheel_2_2_destruct_unhide
		{
			type="hide";
			source="HitRBWheel";
			selection="wheel_2_2_unhide";
			minValue = -1;
			maxValue = 0;
			SourceAddress = "mirror";
			hideValue = 0.010000;
		};
		class Wheel
		{
			type="rotationX";
			source="wheel";
			selection="pravy predni";
			axis="";
			memory="true";
			animPeriod=0;
			sourceAddress="loop";
			minValue=0;
			maxValue=1;
			angle0=0;
			angle1="rad -360";
		};
		class DrivingWheel
		{
			type="rotation";
			source="drivingWheel";
			selection="volant";
			begin="osaVolantZac";
			end="osaVolantKon";
			memory="false";
			animPeriod=0;
			minValue=-1;
			maxValue=1;
			angle0=-8;
			angle1=8;
		};
		class TurnFrontWheelR
		{
			type="rotationY";
			source="drivingWheel";
			selection="wheel_2_1 zatoc";
			axis="wheel_2_1";
			memory="false";
			animPeriod=0;
			sourceAddress="loop";
			minValue="rad -180";
			maxValue="rad +180";
			angle0="rad +90";
			angle1="rad -90";
		};
		class TurnFrontWheelL: TurnFrontWheelR
		{
			selection="wheel_1_1 zatoc";
			axis="wheel_1_1";
		};
		class TurnFrontWheelR2: TurnFrontWheelR
		{
			selection="pravy dalsi zatoc ";
			axis="pravy dalsi";
		};
		class TurnFrontWheelL2: TurnFrontWheelR
		{
			selection="levy dalsi zatoc ";
			axis="levy dalsi";
		};
		class FrontWheelR
		{
			type="rotationX";
			source="wheel";
			selection="wheel_2_1";
			axis="";
			memory="true";
			animPeriod=0;
			sourceAddress="loop";
			minValue=0;
			maxValue=1;
			angle0=0;
			angle1="rad -360";
		};
		class FrontWheel2R: FrontWheelR
		{
			selection="pravy dalsi";
		};
		class BackWheelR: FrontWheelR
		{
			selection="wheel_2_2";
		};
		class BackWheel2R: FrontWheelR
		{
			selection="pravy prostredni";
		};
		class FrontWheelL: FrontWheelR
		{
			selection="wheel_1_1";
		};
		class FrontWheel2L: FrontWheelR
		{
			selection="levy dalsi";
		};
		class BackWheelL: FrontWheelR
		{
			selection="wheel_1_2";
		};
		class BackWheel2L: FrontWheelR
		{
			selection="levy prostredni";
		};
		class FrontWheelDamperR
		{
			type="translationY";
			source="damper";
			selection="wheel_2_1 tlumic";
			axis="";
			animPeriod=0;
			minValue=-1000;
			maxValue=1000;
		};
		class FrontWheelDamper2R: FrontWheelDamperR
		{
			selection="pravy dalsi tlumic";
		};
		class BackWheelDamperR: FrontWheelDamperR
		{
			selection="wheel_2_2 tlumic";
		};
		class BackWheelDamper2R: FrontWheelDamperR
		{
			selection="pravy prostredni tlumic";
		};
		class FrontWheelDamperL: FrontWheelDamperR
		{
			selection="wheel_1_1 tlumic";
		};
		class FrontWheelDamper2L: FrontWheelDamperR
		{
			selection="levy dalsi tlumic";
		};
		class BackWheelDamperL: FrontWheelDamperR
		{
			selection="wheel_1_2 tlumic";
		};
		class BackWheelDamper2L: FrontWheelDamperR
		{
			selection="levy prostredni tlumic";
		};
		class damageVez: damageHide
		{
			selection="damageVez";
		};
		class damageHlaven: damageHide
		{
			selection="damageHlaven";
		};
	};
};
};

Share this post


Link to post
Share on other sites

1. You really need to use inheritance when writing a config.cfg - about 99% of your config is worthless in that you're simply redefing stuff that's already defined. Inherit from a vehicle already in game and then change only what you need to change, such as the model path, the name shown in the editor, speed, etc.

2. As the config is so long and labourious to read, I scanned through to find what I suspected - You're simulating CarX, which requires physX to be rigged on your model. Unless you've gotten hold of the latest tools, then you can't use PhysX simulations yet, as they require a new LOD that can only be added using the new oxygen. Therefore your wheels cannot be simulated properly, and won't turn in game. Use a simplified config, with proper inheritance, and simulating Car instead, and you'll be able to get it working, or wait for the new tools and rig the model appropriately.

(or that is how I understand it at present)

Hope that helps.

Share this post


Link to post
Share on other sites

Thanks for the help mate, i did start with a small config but when i could not get the wheels to turn i thought i might had missed something new so i just you the whole offroad config to see if it would work, so looks like i'm waiting for the new/updated Oxygen i hope it's will be released soon

Share this post


Link to post
Share on other sites

my first car, using carx have rotating wheels but not the second one. So have nothing to do with the tools..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×