Jump to content
Sign in to follow this  
R3vo

Can't overwrite item names in CfgVehicles (BLUFOR only)

Recommended Posts

I'm currently working on a small mod which changes the display names of certain items to make them easier to distinguishable.

 

Example:

    //AGMGs
    class B_GMG_01_A_weapon_F
    {
    displayName = "Dism. AGMG [Blufor]";
    };
    class O_GMG_01_A_weapon_F
    {
        displayName = "Dism. AGMG [Opfor]";
    };
    class I_GMG_01_A_weapon_F
    {
        displayName = "Dism. AGMG [Indep.]";
    };

These are the autonomous GMGs for all three different sides, currently it's hard to tell which GMG belongs to which side.

 

Now to the problem itself. I had no trouble to overwrite the display names of the OPFOR and INDEPENENT variants, however I can't manage to change the BLUFOR ones. I double checked the classnames etc. without success.

 

Any ideas?

 

 

Edit: I'm right now pretty sure that it has something to do with the requiredAddons[] = {} property in the config.cpp. It's currently empty and I'm not quite sure what I should add there.

 

Edit2: Renaming the UAV Terminal Items from Cfg_Weapons works fine, even for the blufor one. I'm completely idealess right now.

Share this post


Link to post
Share on other sites

You will need to find the CfgPatches classname that contains the original units, then by adding that classname to requiredAddons. (It is basically inheriting the original config file, thus allowing changes. Think of it as a security clearance allowing you to go through)

To find the proper classname, without visiting the config viewer, unpbo characters_f or characters_beta_f, and open the config that contains the original units. If it does contain the original units, copy the classname in CfgPatches to your requiredAddons.

Share this post


Link to post
Share on other sites

The characters and items are need are in A3_static_F and A3_drones_F so far I know. I tried to add both classes to the required addons but that caused the game to show an error message. (Addons needs A3_static_F) Something along those lines.

Share this post


Link to post
Share on other sites

The characters and items are need are in A3_static_F and A3_drones_F so far I know. I tried to add both classes to the required addons but that caused the game to show an error message. (Addons needs A3_static_F) Something along those lines.

 

It could be best to mention the Cfg's required addons as well.

Share this post


Link to post
Share on other sites

So, still nothing, I wrote different config.cpp s now for the static guns of each side.

Afterwards I checked which class contains the classnames of those statics -> A3_Static_F

After adding the class to required addons I get the following error:

 

2015100700003uk4pm91o7.jpg

 

 

When I started this addon I thought it's going to be done in 1 hour...

Share this post


Link to post
Share on other sites

I have quiet another problem so.... I started at Monday to start searching for the issue, but i dont find it. I tried to modify a mod from Shouka ^^

Every time when i want to add something like below the error comeup... 

 

My Error is all the Time: some input after end of file 

 

 

here's my config file:

 

 

 
class CfgVehicleClasses {


class SHOUNKA_vehicule_civil {
displayName = "[Mrshounka AltisLife] Voiture civil";
};
};
/*extern*/ class DefaultEventhandlers;


class CfgPatches {


class shounka_a3_peugeot508 {
units = {"shounka_a3_peugeot508"};
weapons = {};
requiredVersion = 0.100000;
requiredAddons = {"shounka_a3_base"};
};
};
/*extern*/ class WeaponFireGun;
/*extern*/ class WeaponCloudsGun;
/*extern*/ class WeaponFireMGun;
/*extern*/ class WeaponCloudsMGun;


class CfgVehicles {
/*extern*/ class Car;


class Car_F: Car {


class HitPoints {
/*extern*/ class HitLFWheel;
/*extern*/ class HitLF2Wheel;
/*extern*/ class HitRFWheel;
/*extern*/ class HitRF2Wheel;
/*extern*/ class HitBody;
/*extern*/ class HitGlass1;
/*extern*/ class HitGlass2;
/*extern*/ class HitGlass3;
/*extern*/ class HitGlass4;
};
/*extern*/ class EventHandlers;
/*extern*/ class AnimationSources;
};


class shounka_a3_peugeot508_base: Car_F {
mapSize = 5.330000;
author = "Quiet";
_generalMacro = "shounka_a3_peugeot508_base";
model = "\shounka_a3_peugeot508\shounka_a3_peugeot508";
picture = "\A3\soft_f_gamma\Hatchback_01\Data\UI\portrait_car_CA.paa";
Icon = "\A3\soft_f_gamma\Hatchback_01\Data\UI\map_car_CA.paa";
displayName = "shounka_a3_peugeot508";


class Library {
};
htMin = 600;
htMax = 1800;
afMax = 100;
mfMax = 20;
mFact = 0;
tBody = 0;
hiddenSelections = {"camo1"};
terrainCoef = 6.500000;
turnCoef = 2.500000;
precision = 10;
brakeDistance = 3;
acceleration = 15;
fireResistance = 5;
armor = 32;
armorLights = 0.010000;
cost = 50000;
transportMaxBackpacks = 0;
transportSoldier = 3;


class TransportItems {


class _xx_FirstAidKit {
name = "FirstAidKit";
count = 4;
};
};
/*extern*/ class AnimationSources;


class Turrets {
};


class HitPoints: HitPoints {


class HitLFWheel: HitLFWheel {
armor = 0.900000;
passThrough = 1;
};


class HitLF2Wheel: HitLF2Wheel {
armor = 0.900000;
passThrough = 1;
};


class HitRFWheel: HitRFWheel {
armor = 0.900000;
passThrough = 1;
};


class HitRF2Wheel: HitRF2Wheel {
armor = 0.900000;
passThrough = 1;
};


class HitFuel {
armor = 0.500000;
material = -1;
name = "palivo";
visual = "";
passThrough = 1.200000;
};


class HitEngine {
armor = 0.500000;
material = -1;
name = "engine";
visual = "";
passThrough = 1.200000;
};


class HitBody: HitBody {
name = "body";
visual = "camo1";
passThrough = 1;
};


class HitGlass1: HitGlass1 {
armor = 0.250000;
};


class HitGlass2: HitGlass2 {
armor = 0.250000;
};


class HitGlass3: HitGlass3 {
armor = 0.250000;
};


class HitGlass4: HitGlass4 {
armor = 0.250000;
};
};
driverAction = "driver_offroad01";
cargoAction = {"passenger_low01", "passenger_generic01_leanleft", "passenger_generic01_foldhands"};
getInAction = "GetInLow";
getOutAction = "GetOutLow";
cargoGetInAction = {"GetInLow"};
cargoGetOutAction = {"GetOutLow"};
attenuationEffectType = "CarAttenuation";
soundGetIn = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door", 0.562341, 1};
soundGetOut = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_door", 0.562341, 1, 40};
soundDammage = {"", 0.562341, 1};
soundEngineOnInt = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_start", 0.398107, 1};
soundEngineOnExt = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_start", 0.446684, 1, 200};
soundEngineOffInt = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_stop", 0.398107, 1};
soundEngineOffExt = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_stop", 0.446684, 1, 200};
buildCrash0 = {"A3\Sounds_F\vehicles\soft\noises\crash_building_01", 0.707946, 1, 200};
buildCrash1 = {"A3\Sounds_F\vehicles\soft\noises\crash_building_02", 0.707946, 1, 200};
buildCrash2 = {"A3\Sounds_F\vehicles\soft\noises\crash_building_03", 0.707946, 1, 200};
buildCrash3 = {"A3\Sounds_F\vehicles\soft\noises\crash_building_04", 0.707946, 1, 200};
soundBuildingCrash = {"buildCrash0", 0.250000, "buildCrash1", 0.250000, "buildCrash2", 0.250000, "buildCrash3", 0.250000};
WoodCrash0 = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_01", 0.707946, 1, 200};
WoodCrash1 = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_02", 0.707946, 1, 200};
WoodCrash2 = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_03", 0.707946, 1, 200};
WoodCrash3 = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_04", 0.707946, 1, 200};
WoodCrash4 = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_05", 0.707946, 1, 200};
WoodCrash5 = {"A3\Sounds_F\vehicles\soft\noises\crash_mix_wood_06", 0.707946, 1, 200};
soundWoodCrash = {"woodCrash0", 0.166000, "woodCrash1", 0.166000, "woodCrash2", 0.166000, "woodCrash3", 0.166000, "woodCrash4", 0.166000, "woodCrash5", 0.166000};
ArmorCrash0 = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_01", 0.707946, 1, 200};
ArmorCrash1 = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_02", 0.707946, 1, 200};
ArmorCrash2 = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_03", 0.707946, 1, 200};
ArmorCrash3 = {"A3\Sounds_F\vehicles\soft\noises\crash_vehicle_04", 0.707946, 1, 200};
soundArmorCrash = {"ArmorCrash0", 0.250000, "ArmorCrash1", 0.250000, "ArmorCrash2", 0.250000, "ArmorCrash3", 0.250000};


class Sounds {


class Idle_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_idle", 0.223872, 1, 150};
frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
volume = "engineOn*camPos*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
};


class Engine {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_1400rpm", 0.281838, 1, 200};
frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
volume = "engineOn*camPos*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
};


class Engine1_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2000rpm", 0.354813, 1, 240};
frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
volume = "engineOn*camPos*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
};


class Engine2_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2600rpm", 0.398107, 1, 280};
frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
volume = "engineOn*camPos*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
};


class Engine3_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3200rpm", 0.446684, 1, 320};
frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
volume = "engineOn*camPos*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
};


class Engine4_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3600rpm", 0.501187, 1, 360};
frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
volume = "engineOn*camPos*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
};


class Engine5_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_4000rpm", 0.562341, 1, 420};
frequency = "0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
volume = "engineOn*camPos*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
};


class IdleThrust {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_idle_exhaust", 0.501187, 1, 200};
frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
};


class EngineThrust {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_1400rpm_exhaust", 0.562341, 1, 250};
frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
};


class Engine1_Thrust_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2000rpm_exhaust", 0.630957, 1, 280};
frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
};


class Engine2_Thrust_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_2600rpm_exhaust", 0.707946, 1, 320};
frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
};


class Engine3_Thrust_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3200rpm_exhaust", 0.794328, 1, 360};
frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
};


class Engine4_Thrust_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_3600rpm_exhaust", 1, 1, 400};
frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
};


class Engine5_Thrust_ext {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_ext_4000rpm_exhaust", 1.258925, 1, 450};
frequency = "0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
};


class Idle_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_idle", 0.177828, 1};
frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
};


class Engine_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_1000rpm", 0.199526, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
};


class Engine1_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2000rpm", 0.251189, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
};


class Engine2_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2600rpm", 0.281838, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
};


class Engine3_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_3200rpm", 0.316228, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
};


class Engine4_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_4000rpm", 0.354813, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
};


class Engine5_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_5000rpm", 0.501187, 1};
frequency = "0.95 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.15";
volume = "engineOn*(1-camPos)*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
};


class IdleThrust_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_idle_exhaust", 0.316228, 1};
frequency = "0.9 + ((rpm/ 6900) factor[(400/ 6900),(1150/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(400/ 6900),(700/ 6900)]) * ((rpm/ 6900) factor[(1100/ 6900),(900/ 6900)]))";
};


class EngineThrust_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_1000rpm_exhaust", 0.354813, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(900/ 6900),(2100/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(870/ 6900),(1100/ 6900)]) * ((rpm/ 6900) factor[(2100/ 6900),(1300/ 6900)]))";
};


class Engine1_Thrust_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2000rpm_exhaust", 0.398107, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(1300/ 6900),(3100/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(1250/ 6900),(2050/ 6900)]) * ((rpm/ 6900) factor[(3100/ 6900),(2300/ 6900)]))";
};


class Engine2_Thrust_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_2600rpm_exhaust", 0.446684, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(2200/ 6900),(4100/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(2250/ 6900),(3050/ 6900)]) * ((rpm/ 6900) factor[(4100/ 6900),(3300/ 6900)]))";
};


class Engine3_Thrust_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_3200rpm_exhaust", 0.501187, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(3300/ 6900),(4900/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(3250/ 6900),(4050/ 6900)]) * ((rpm/ 6900) factor[(4870/ 6900),(4200/ 6900)]))";
};


class Engine4_Thrust_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_4000rpm_exhaust", 0.562341, 1};
frequency = "0.8 + ((rpm/ 6900) factor[(4200/ 6900),(6200/ 6900)])*0.3";
volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/ 6900) factor[(4150/ 6900),(4800/ 6900)]) * ((rpm/ 6900) factor[(6150/ 6900),(5150/ 6900)]))";
};


class Engine5_Thrust_int {
sound = {"A3\Sounds_F\vehicles\soft\Hatchback_01\Hatchback_01_int_5000rpm_exhaust", 0.630957, 1};
frequency = "0.9 + ((rpm/ 6900) factor[(5100/ 6900),(6900/ 6900)])*0.2";
volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/ 6900) factor[(5100/ 6900),(6100/ 6900)])";
};


class Movement {
sound = "soundEnviron";
frequency = "1";
volume = "0";
};


class TiresRockOut {
sound = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_1", 0.501187, 1, 60};
frequency = "1";
volume = "camPos*rock*(speed factor[2, 20])";
};


class TiresSandOut {
sound = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1", 0.501187, 1, 60};
frequency = "1";
volume = "camPos*sand*(speed factor[2, 20])";
};


class TiresGrassOut {
sound = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_2", 0.501187, 1, 60};
frequency = "1";
volume = "camPos*grass*(speed factor[2, 20])";
};


class TiresMudOut {
sound = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2", 0.501187, 1, 60};
frequency = "1";
volume = "camPos*mud*(speed factor[2, 20])";
};


class TiresGravelOut {
sound = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_gravel_1", 0.501187, 1, 60};
frequency = "1";
volume = "camPos*gravel*(speed factor[2, 20])";
};


class TiresAsphaltOut {
sound = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_asfalt_2", 0.501187, 1, 60};
frequency = "1";
volume = "camPos*asphalt*(speed factor[2, 20])";
};


class NoiseOut {
sound = {"A3\Sounds_F\vehicles\soft\noises\noise_ext_car_3", 0.398107, 1, 90};
frequency = "1";
volume = "camPos*(damper0 max 0.02)*(speed factor[0, 8])";
};


class TiresRockIn {
sound = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_1", 0.501187, 1};
frequency = "1";
volume = "(1-camPos)*rock*(speed factor[2, 20])";
};


class TiresSandIn {
sound = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2", 0.501187, 1};
frequency = "1";
volume = "(1-camPos)*sand*(speed factor[2, 20])";
};


class TiresGrassIn {
sound = {"A3\Sounds_F\vehicles\soft\tires\int_tires_dirt_soft_2", 0.501187, 1};
frequency = "1";
volume = "(1-camPos)*grass*(speed factor[2, 20])";
};


class TiresMudIn {
sound = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2", 0.501187, 1};
frequency = "1";
volume = "(1-camPos)*mud*(speed factor[2, 20])";
};


class TiresGravelIn {
sound = {"A3\Sounds_F\vehicles\soft\tires\int_tires_gravel_1", 0.501187, 1};
frequency = "1";
volume = "(1-camPos)*gravel*(speed factor[2, 20])";
};


class TiresAsphaltIn {
sound = {"A3\Sounds_F\vehicles\soft\tires\int_tires_asfalt_2", 0.501187, 1};
frequency = "1";
volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
};


class NoiseIn {
sound = {"A3\Sounds_F\vehicles\soft\noises\noise_int_car_3", 0.251189, 1};
frequency = "1";
volume = "(damper0 max 0.1)*(speed factor[0, 8])*(1-camPos)";
};


class breaking_ext_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04", 0.707946, 1, 80};
frequency = 1;
volume = "engineOn*camPos*asphalt*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
};


class acceleration_ext_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", 0.707946, 1, 80};
frequency = 1;
volume = "engineOn*camPos*asphalt*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
};


class turn_left_ext_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", 0.707946, 1, 80};
frequency = 1;
volume = "engineOn*camPos*asphalt*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
};


class turn_right_ext_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02", 0.707946, 1, 80};
frequency = 1;
volume = "engineOn*camPos*asphalt*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
};


class breaking_ext_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking", 0.707946, 1, 60};
frequency = 1;
volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15])";
};


class acceleration_ext_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration", 0.707946, 1, 60};
frequency = 1;
volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 1])";
};


class turn_left_ext_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", 0.707946, 1, 60};
frequency = 1;
volume = "engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[1, 15])";
};


class turn_right_ext_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt", 0.707946, 1, 60};
frequency = 1;
volume = "engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[1, 15])";
};


class breaking_int_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_04_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
};


class acceleration_int_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*asphalt*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
};


class turn_left_int_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
};


class turn_right_int_road {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_loop_02_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*asphalt*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
};


class breaking_int_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[-01, -0.4])*(Speed Factor[2, 15])";
};


class acceleration_int_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_16_dirt_acceleration_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[0.1, 0.4])*(Speed Factor[15, 2])";
};


class turn_left_int_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[0.1, 0.4])*(Speed Factor[2, 15])";
};


class turn_right_int_dirt {
sound = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt_int", 0.316228, 1};
frequency = 1;
volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[-0.1, -0.4])*(Speed Factor[2, 15])";
};
};


class RenderTargets {


class LeftMirror {
renderTarget = "rendertarget0";


class CameraView1 {
pointPosition = "PIP0_pos";
pointDirection = "PIP0_dir";
renderQuality = 2;
renderVisionMode = 0;
fov = 0.700000;
};
};


class RearCam {
renderTarget = "rendertarget1";


class CameraView1 {
pointPosition = "PIP1_pos";
pointDirection = "PIP1_dir";
renderQuality = 2;
renderVisionMode = 0;
fov = 0.700000;
};
};


class FrontCam {
renderTarget = "rendertarget2";


class CameraView1 {
pointPosition = "PIP2_pos";
pointDirection = "PIP2_dir";
renderQuality = 2;
renderVisionMode = 0;
fov = 0.700000;
};
};
};
thrustDelay = 0.100000;
brakeIdleSpeed = 1.780000;
maxSpeed = 220;
fuelCapacity = 45;
wheelCircumference = 2.277000;
antiRollbarForceCoef = 0;
antiRollbarForceLimit = 0;
antiRollbarSpeedMin = 0;
antiRollbarSpeedMax = 0;
idleRpm = 900;
redRpm = 6900;


class complexGearbox {
GearboxRatios = {"R1", -3.231000, "N", 0, "D1", 4.462000, "D2", 3.570000, "D3", 2.571000, "D4", 1.970000, "D5", 1.601000, "D6", 0.900000, "D7", 0.650000};
TransmissionRatios = {"High", 4.111000};
gearBoxMode = "auto";
moveOffGear = 1;
driveString = "D";
neutralString = "N";
reverseString = "R";
transmissionDelay = 0.010000;
};
simulation = "carx";
dampersBumpCoef = 0.010000;
differentialType = "all_limited";
frontRearSplit = 0.300000;
frontBias = 1.500000;
rearBias = 1.500000;
centreBias = 2.500000;
clutchStrength = 55;
enginePower = 350;
maxOmega = 720;
peakTorque = 800;
dampingRateFullThrottle = 0.030000;
dampingRateZeroThrottleClutchEngaged = 0.350000;
dampingRateZeroThrottleClutchDisengaged = 0.050000;
torqueCurve = {{0, 0}, {0.200000, 0.650000}, {0.300000, 0.800000}, {0.400000, 0.950000}, {0.600000, 1}, {0.700000, 0.950000}, {0.900000, 0.900000}, {1, 0.500000}};
changeGearMinEffectivity = {0.950000, 0.150000, 0.980000, 0.980000, 0.980000, 0.980000, 0.970000, 0.950000, 0.950000};
switchTime = 0.110000;
latency = 1;


class Wheels {


class LF {
boneName = "wheel_1_1_damper";
steering = 1;
side = "left";
center = "wheel_1_1_axis";
boundary = "wheel_1_1_bound";
mass = 20;
MOI = 12.300000;
maxBrakeTorque = 15000;
maxHandBrakeTorque = 12000;
suspTravelDirection = {0, -1, 0};
suspForceAppPointOffset = "wheel_1_1_axis";
tireForceAppPointOffset = "wheel_1_1_axis";
maxCompression = 0.150000;
mMaxDroop = 0.150000;
sprungMass = 431;
springStrength = 48781;
springDamperRate = 12724;
longitudinalStiffnessPerUnitGravity = 4800;
latStiffX = 25;
latStiffY = 220;
frictionVsSlipGraph = {{0.170000, 0.950000}, {0.400000, 0.850000}, {1, 0.750000}};
};


class LR: LF {
boneName = "wheel_2_1_damper";
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 RF: LF {
boneName = "wheel_1_2_damper";
center = "wheel_1_2_axis";
boundary = "wheel_1_2_bound";
suspForceAppPointOffset = "wheel_1_2_axis";
tireForceAppPointOffset = "wheel_1_2_axis";
steering = 0;
side = "left";
};


class RR: RF {
boneName = "wheel_2_2_damper";
center = "wheel_2_2_axis";
boundary = "wheel_2_2_bound";
suspForceAppPointOffset = "wheel_2_2_axis";
tireForceAppPointOffset = "wheel_2_2_axis";
steering = 0;
side = "right";
};
};


class Damage {
tex = {};
mat = {"A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_lod1.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_intbase_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_LOD1.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_INTboard_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_wheel_rim.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_wheel_rubber.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_paint_destruct.rvmat", "A3\data_f\glass_veh_int.rvmat", "A3\data_f\Glass_veh_damage.rvmat", "A3\data_f\Glass_veh_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_glass_window_mlod.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_glass_window_damage.rvmat", "A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_glass_window_damage.rvmat", "A3\data_f\glass_veh.rvmat", "A3\data_f\Glass_veh_damage.rvmat", "A3\data_f\Glass_veh_damage.rvmat"};
};


class Exhausts {


class Exhaust1 {
position = "exhaust";
direction = "exhaust_dir";
effect = "ExhaustsEffect";
};


class Exhaust2 {
position = "exhaust2_pos";
direction = "exhaust2_dir";
effect = "ExhaustsEffect";
};
};


class Reflectors {


class LightCarHeadL01 {
color = {1900, 1800, 1700};
ambient = {5, 5, 5};
position = "LightCarHeadL01";
direction = "LightCarHeadL01_end";
hitpoint = "Light_L";
selection = "Light_L";
size = 1;
innerAngle = 100;
outerAngle = 179;
coneFadeCoef = 10;
intensity = 1;
useFlare = 0;
dayLight = 0;
flareSize = 1;


class Attenuation {
start = 1;
constant = 0;
linear = 0;
quadratic = 0.250000;
hardLimitStart = 30;
hardLimitEnd = 60;
};
};


class LightCarHeadL02: LightCarHeadL01 {
position = "LightCarHeadL02";
direction = "LightCarHeadL02_end";
FlareSize = 0.500000;
};


class LightCarHeadR01: LightCarHeadL01 {
position = "LightCarHeadR01";
direction = "LightCarHeadR01_end";
hitpoint = "Light_R";
selection = "Light_R";
};


class LightCarHeadR02: LightCarHeadR01 {
position = "LightCarHeadR02";
direction = "LightCarHeadR02_end";
FlareSize = 0.500000;
};
};
aggregateReflectors = {{"LightCarHeadL01", "LightCarHeadL02"}, {"LightCarHeadR01", "LightCarHeadR02"}};
};


class shounka_a3_peugeot508_civ: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508 ";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\rouge.paa"};
};


class shounka_a3_peugeot508_civ_noir: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Noir";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\noir.paa"};
};


class shounka_a3_peugeot508_civ_bleufonce: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Bleu fonce";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\bleufonce.paa"};
};


class shounka_a3_peugeot508_civ_rouge: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Rouge";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\rouge.paa"};
};


class shounka_a3_peugeot508_civ_jaune: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Jaune";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\jaune.paa"};
};


class shounka_a3_peugeot508_civ_rose: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Rose";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\rose.paa"};
};


class shounka_a3_peugeot508_civ_grise: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Grise";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\gris.paa"};
};


class shounka_a3_peugeot508_civ_violet: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Violette";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\violet.paa"};
};


class shounka_a3_peugeot508_civ_orange: shounka_a3_peugeot508_base {
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508  Orange";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "MrShounka";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\orange.paa"};
};


class shounka_a3_peugeot508_civ_digicamo: shounka_a3_peugeot508_base {                      // I added these (which is red)
scope = 2;
crew = "C_man_1";
side = 3;
faction = "CIV_F";
displayName = "Peugeot 508 Einsatzleiter";
vehicleClass = "SHOUNKA_vehicule_civil";
author = "Luigi";
hiddenSelectionsTextures = {"shounka_a3_base\couleurs\digicamo.paa"};
};
};


class cfgMods {
author = "76561198017049090";
timepacked = "1436316429";
};

Share this post


Link to post
Share on other sites
class Library {
};
htMin = 600;
htMax = 1800;
afMax = 100;
mfMax = 20;
mFact = 0;
tBody = 0;
hiddenSelections = {"camo1"};
terrainCoef = 6.500000;
turnCoef = 2.500000;
precision = 10;
brakeDistance = 3;
acceleration = 15;
fireResistance = 5;
armor = 32;
armorLights = 0.010000;
cost = 50000;
transportMaxBackpacks = 0;
transportSoldier = 3;

Check out the first 2 lines of this.

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  

×