Jump to content
Sign in to follow this  
christian2526

HMMWV Stuck in the ground....not quiet right

Recommended Posts

Heelllooo everyone,

first off: I didn`t ported those Hmmwv`s, those are ported by HAFM. I really only made some small adds and repath them for another mod.

So now lets get to my problem, my HMMWV GPK2 M2 Canvas is always stuck in the ground and i think its might be the geometry lod. I can`t find the exact problem and maybe there is someone who knows this error and a way to fix it :)

Here is an image of how it looks like:

http://i.imgur.com/m6TZ3mu.jpg (466 kB)

And this is a picture of how it should look like (Bulldozer)

eULVqPy.jpg

Chris

Edited by christian2526

Share this post


Link to post
Share on other sites

I think this is due to land Contact or Memory point placement. i would ensure that those are right at the boundaries of your wheels for Land contact. For Memory, check the Wheel boundary values and ensure that they are right at the edge of the tire.

Share this post


Link to post
Share on other sites

Thanks for the help :) It does work now!

---------- Post added at 11:36 ---------- Previous post was at 10:49 ----------

Some new Pics:

http://i.imgur.com/QOW9Sm6.jpg (382 kB)

//Edit

I have a new problem discoverd, i can walk into my hmmwv and i cant get it to move. Basicly the engine starts but i can`t drive??? Help is appreciated.

Edited by christian2526

Share this post


Link to post
Share on other sites

Very good, one last point though, it appears you have either the wrong RVMAT applied to that rear texture, or perhaps the wrong texture?

Richards

Share this post


Link to post
Share on other sites

Thanks again mate :) but...I have a new problem discoverd, i can walk into my hmmwv and i cant get it to move. Basicly the engine starts but i can`t drive??? As well i can fire a single bullet of my 6.5mm weapon against the hmmwv and it explodes. Help is appreciated.

Share this post


Link to post
Share on other sites

have you set a maxspeed and a armor rating in the config chris?

Share this post


Link to post
Share on other sites

should be, i mean the hmmwv gpk2 m2 with the same config is working just fine, armor is ok, speed is great, no error`s.

This my Config for the cgr_hmmwv_base:

class cgr_hmmwv_Base: Car_F
{
	class SpeechVariants
	{
		class Default
		{
			speechSingular[] = {"veh_vehicle_armedcar_s"};
			speechPlural[] = {"veh_vehicle_armedcar_p"};
		};
	};
	textSingular = "$STR_A3_nameSound_veh_vehicle_armedcar_s";
	textPlural = "$STR_A3_nameSound_veh_vehicle_armedcar_p";
	nameSound = "veh_vehicle_armedcar_s";
	author = "$STR_A3_Bohemia_Interactive";
	_generalMacro = "hmmwv";
	scope = 0;
	Model = "\cgr_hmmwv\HMMWV50";
	Picture="\cgr_hmmwv\data\ico\HMMWV50_CA.paa";
	Icon="\cgr_hmmwv\data\ico\icomap_hmwv50_CA.paa";
	mapSize = 6;
	displayName = "HMMWV";
	vehicleClass = "cgr_wheeled";
	crew = "B_Soldier_F";
	typicalCargo[]={"B_Soldier_F", "B_Soldier_F", "B_Soldier_F", "B_Soldier_F"};
	//accuracy=0.3;
	side=2;
	faction="cgr_army";
	wheelCircumference=2.834;
	antiRollbarForceCoef = 12;
	antiRollbarForceLimit = 10;
	antiRollbarSpeedMin = 20;
	antiRollbarSpeedMax = 50;

	crewVulnerable = 1;
	crewCrashProtection = 0.15;

	weapons[] = {"TruckHorn2"};
	magazines[] = {};

	damperSize = 0.2; // max. damper amplitude
	damperForce = 1; // damper reaction force (bigger is more visible)
	damperDamping = 1; // schock absorbers bigger => more tough

	armor = 80;
	damageResistance = 0.00562;

	// Steering values
	turnCoef=2.5;
	steerAheadPlan = 0.2; // steering point
   	steerAheadSimul = 0.4; // steering point
	predictTurnPlan =0.9; // braking point
       predictTurnSimul = 0.5; // braking point
	brakeDistance = 1.0;
	terrainCoef = 1.5;

	wheelDamageThreshold = 0.7;
	wheelDestroyThreshold = 0.99;
	wheelDamageRadiusCoef = 0.95;
	wheelDestroyRadiusCoef = 0.45;

	cost=200000;
	precision = 15;
	armorGlass=0.5;
	armorWheels=0.1;
	soundServo[] = {"A3\sounds_f\dummysound",0.01,1.0,10};
	soundEnviron[] = {, db-5, 1};

	transportMaxBackpacks = 5;

	transportSoldier = 3; //driver, gunner + 3 cargo
	class Library 
	{
		libTextDesc = "Cgr`s Hmmwvs Port and modify";
	};

	castDriverShadow = false;

	driverAction = "HMMWV_Driver";
	cargoAction[] = {"HMMWV_Cargo01","HMMWV_Cargo01","HMMWV_Cargo01"};

	threat[] = {0.8,0.6,0.3};

	driverLeftHandAnimName = "drivewheel";
	driverRightHandAnimName = "";

	class TransportMagazines
	{
		class _xx_30Rnd_mas_556x45_Stanag
		{
			magazine = "30Rnd_556x45_Stanag";
			count = 100;
		};
	};
	class TransportItems
	{
		class _xx_FirstAidKit
		{
			name = "FirstAidKit";
			count = 10;
		};
	};
	class TransportWeapons{};

	idleRpm = 800;
	redRpm = 4500;
	brakeIdleSpeed = 1.78;
	fuelCapacity = 250; 
	/*class complexGearbox
	{
		GearboxRatios[] = {"R1",-3.182,"N",0,"D1",4.182,"D2",2.318,"D3",1.85,"D4",1.65,"D5",1.45};
		TransmissionRatios[] = {"High",5.539};
		gearBoxMode = "auto";
		moveOffGear = 1;
		driveString = "D";
		neutralString = "N";
		reverseString = "R";
	};*/
	class complexGearbox
	{
		GearboxRatios[] = {"R1",-5.75,"N",0,"D1",4.3,"D2",2.3,"D3",1.5,"D4",1.0,"D5",0.73};
		TransmissionRatios[] = {"High",6.759};
		gearBoxMode = "auto";
		moveOffGear = 1;
		driveString = "D";
		neutralString = "N";
		reverseString = "R";
	};
	simulation = "carx";
	dampersBumpCoef = 6.0;
	differentialType = "all_limited";
	frontRearSplit = 0.5;
	frontBias = 1.3;
	rearBias = 1.3;
	centreBias = 1.3;
	clutchStrength = 20.0;
	enginePower = 276;
	maxOmega = 471;
	peakTorque = 1253;
	dampingRateFullThrottle = 0.08;
	dampingRateZeroThrottleClutchEngaged = 2.0;
	dampingRateZeroThrottleClutchDisengaged = 0.35;
	/*torqueCurve[] = {
		{ 0.0,0.0 },
		{ 0.178,0.5 },
		{ 0.25,0.85 },
		{ 0.4,0.9 },
		{ 0.5,1.0 },
		{ 0.725,0.95 },
		{ 0.85,0.6 },
		{ 1.0,0.3 }};
	changeGearMinEffectivity[] = {0.95,0.15,0.95,0.95,0.95,0.95,0.95};*/
	torqueCurve[] = {
		{ 0.0,0.0 },
		{ 0.278,0.5 },
		{ 0.35,0.75 },
		{ 0.461,1.0 },
		{ 0.6,0.95 },
		{ 0.7,0.85 },
		{ 0.8,0.75 },
		{ 1.0,0.5 }};
	changeGearMinEffectivity[] = {0.95,0.15,0.95,0.95,0.95,0.95,0.95};
	switchTime = 0.31;
	latency = 1.0;
	class Wheels
	{
		class LF
		{
			boneName = "wheel_1_1_damper";
			steering = 1;
			side = "left";
			center = "wheel_1_1_axis";
			boundary = "wheel_1_1_bound";
			width = "0.126";
			mass = 30;
			MOI = 12.8;
			dampingRate = 0.1;
			maxBrakeTorque = 10000;
			maxHandBrakeTorque = 0;
			suspTravelDirection[] = {0,-1,0};
			suspForceAppPointOffset = "wheel_1_1_axis";
			tireForceAppPointOffset = "wheel_1_1_axis";
			maxCompression = 0.05;
			mMaxDroop = 0.1;
			sprungMass = 825;
			springStrength = 51625;
			springDamperRate = 8920;
			longitudinalStiffnessPerUnitGravity = 10000;
			latStiffX = 25;
			latStiffY = 180;
			frictionVsSlipGraph[] = {
				{ 0,1 },
				{ 0.5,1 },
				{ 1,1 }};
		};
		class LR: LF
		{
			boneName = "wheel_1_2_damper";
			steering = 0;
			center = "wheel_1_2_axis";
			boundary = "wheel_1_2_bound";
			suspForceAppPointOffset = "wheel_1_2_axis";
			tireForceAppPointOffset = "wheel_1_2_axis";
			maxHandBrakeTorque = 3500;
		};
		class RF: 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 RR: RF
		{
			boneName = "wheel_2_2_damper";
			steering = 0;
			center = "wheel_2_2_axis";
			boundary = "wheel_2_2_bound";
			suspForceAppPointOffset = "wheel_2_2_axis";
			tireForceAppPointOffset = "wheel_2_2_axis";
			maxHandBrakeTorque = 3500;
		};
	};

	attenuationEffectType = "CarAttenuation";
	soundGetIn[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\getin",0.56234133,1};
	soundGetOut[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\getout",0.56234133,1,40};
	soundDammage[] = {"",0.56234133,1};
	soundEngineOnInt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_start",0.35481337,1.0};
	soundEngineOnExt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_start",0.70794576,1.0,200};
	soundEngineOffInt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_stop",0.35481337,1.0};
	soundEngineOffExt[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_stop",0.70794576,1.0,200};
	buildCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_01",1.0,1,200};
	buildCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_02",1.0,1,200};
	buildCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_03",1.0,1,200};
	buildCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_building_04",1.0,1,200};
	soundBuildingCrash[] = {"buildCrash0",0.25,"buildCrash1",0.25,"buildCrash2",0.25,"buildCrash3",0.25};
	WoodCrash0[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_01",1.0,1,200};
	WoodCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_02",1.0,1,200};
	WoodCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_03",1.0,1,200};
	WoodCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_04",1.0,1,200};
	WoodCrash4[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_05",1.0,1,200};
	WoodCrash5[] = {"A3\sounds_f\Vehicles\soft\noises\crash_mix_wood_06",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\soft\noises\crash_vehicle_01",1.0,1,200};
	ArmorCrash1[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_02",1.0,1,200};
	ArmorCrash2[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_03",1.0,1,200};
	ArmorCrash3[] = {"A3\sounds_f\Vehicles\soft\noises\crash_vehicle_04",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\vehicles\soft\MRAP_01\MRAP_01_ext_idle",0.39810717,1,150};
			frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
			volume = "engineOn*camPos*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
		};
		class Engine
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_low1",0.4466836,1,250};
			frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
			volume = "engineOn*camPos*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
		};
		class Engine1_ext
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_low2",0.56234133,1,300};
			frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
			volume = "engineOn*camPos*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
		};
		class Engine2_ext
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_mid",0.70794576,1,350};
			frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
			volume = "engineOn*camPos*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
		};
		class Engine3_ext
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_high",1.0,1,400};
			frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
			volume = "engineOn*camPos*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
		};
		class IdleThrust
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_idle",0.56234133,1,200};
			frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
			volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
		};
		class EngineThrust
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_low1",0.70794576,1,350};
			frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
			volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
		};
		class Engine1_Thrust_ext
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_low2",0.8912509,1,400};
			frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
			volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
		};
		class Engine2_Thrust_ext
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_mid",1.1220185,1,425};
			frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
			volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
		};
		class Engine3_Thrust_ext
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_ext_exhaust_high",1.2589254,1,450};
			frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
			volume = "engineOn*camPos*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
		};
		class Idle_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_idle",0.25118864,1};
			frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
			volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
		};
		class Engine_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_low1",0.31622776,1};
			frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
			volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
		};
		class Engine1_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_low2",0.39810717,1};
			frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
			volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
		};
		class Engine2_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_mid",0.5011872,1};
			frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
			volume = "engineOn*(1-camPos)*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
		};
		class Engine3_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_high",0.63095737,1};
			frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
			volume = "engineOn*(1-camPos)*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
		};
		class IdleThrust_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_idle",0.35481337,1};
			frequency = "0.95	+	((rpm/	4500) factor[(800/	4500),(1400/	4500)])*0.15";
			volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(600/	4500),(1100/	4500)])	*	((rpm/	4500) factor[(1800/	4500),(1300/	4500)]))";
		};
		class EngineThrust_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_low1",0.4466836,1};
			frequency = "0.9	+	((rpm/	4500) factor[(1400/	4500),(2100/	4500)])*0.2";
			volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1400/	4500),(1800/	4500)])	*	((rpm/	4500) factor[(2300/	4500),(2000/	4500)]))";
		};
		class Engine1_Thrust_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_low2",0.56234133,1};
			frequency = "0.9	+		((rpm/	4500) factor[(2100/	4500),(2800/	4500)])*0.2";
			volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(1900/	4500),(2300/	4500)])	*	((rpm/	4500) factor[(3000/	4500),(2500/	4500)]))";
		};
		class Engine2_Thrust_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_mid",0.70794576,1};
			frequency = "0.9	+	((rpm/	4500) factor[(2800/	4500),(3600/	4500)])*0.2";
			volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*(((rpm/	4500) factor[(2500/	4500),(3100/	4500)])	*	((rpm/	4500) factor[(4500/	4500),(3700/	4500)]))";
		};
		class Engine3_Thrust_int
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\MRAP_01\MRAP_01_int_exhaust_high",0.7943282,1};
			frequency = "0.95	+	((rpm/	4500) factor[(3600/	4500),(4500/	4500)])*0.1";
			volume = "engineOn*(1-camPos)*(0.4+(0.6*(thrust factor[0.1,1])))*((rpm/	4500) factor[(3800/	4500),(4500/	4500)])";
		};
		class TiresRockOut
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_1",1.4125376,1.0,60};
			frequency = "1";
			volume = "camPos*rock*(speed factor[2, 20])";
		};
		class TiresSandOut
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-sand1",1.4125376,1.0,60};
			frequency = "1";
			volume = "camPos*sand*(speed factor[2, 20])";
		};
		class TiresGrassOut
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_dirt_soft_2",1.2589254,1.0,60};
			frequency = "1";
			volume = "camPos*grass*(speed factor[2, 20])";
		};
		class TiresMudOut
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext-tires-mud2",1.1220185,1.0,60};
			frequency = "1";
			volume = "camPos*mud*(speed factor[2, 20])";
		};
		class TiresGravelOut
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_gravel_1",1.2589254,1.0,60};
			frequency = "1";
			volume = "camPos*gravel*(speed factor[2, 20])";
		};
		class TiresAsphaltOut
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\ext_tires_asfalt_2",1.1220185,1.0,60};
			frequency = "1";
			volume = "camPos*asphalt*(speed factor[2, 20])";
		};
		class NoiseOut
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_ext_car_3",1.1220185,1.0,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.70794576,1.0};
			frequency = "1";
			volume = "(1-camPos)*rock*(speed factor[2, 20])";
		};
		class TiresSandIn
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-sand2",0.70794576,1.0};
			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.70794576,1.0};
			frequency = "1";
			volume = "(1-camPos)*grass*(speed factor[2, 20])";
		};
		class TiresMudIn
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\int-tires-mud2",0.70794576,1.0};
			frequency = "1";
			volume = "(1-camPos)*mud*(speed factor[2, 20])";
		};
		class TiresGravelIn
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_gravel_1",0.70794576,1.0};
			frequency = "1";
			volume = "(1-camPos)*gravel*(speed factor[2, 20])";
		};
		class TiresAsphaltIn
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\tires\int_tires_asfalt_2",0.70794576,1.0};
			frequency = "1";
			volume = "(1-camPos)*asphalt*(speed factor[2, 20])";
		};
		class NoiseIn
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\noises\noise_int_car_3",0.56234133,1.0};
			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.70794576,1,80};
			frequency = 1;
			volume = "engineOn*camPos*asphalt*(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",0.70794576,1,80};
			frequency = 1;
			volume = "engineOn*camPos*asphalt*(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",0.70794576,1,80};
			frequency = 1;
			volume = "engineOn*camPos*asphalt*(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",0.70794576,1,80};
			frequency = 1;
			volume = "engineOn*camPos*asphalt*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
		};
		class breaking_ext_dirt
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_14_dirt_breaking",0.70794576,1,60};
			frequency = 1;
			volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 10])";
		};
		class acceleration_ext_dirt
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\noises\acceleration_dirt_ext_1",0.70794576,1,60};
			frequency = 1;
			volume = "engineOn*camPos*(1-asphalt)*(LongSlipDrive Factor[0.15, 0.3])*(Speed Factor[10, 0])";
		};
		class turn_left_ext_dirt
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt",0.70794576,1,60};
			frequency = 1;
			volume = "engineOn*camPos*(1-asphalt)*(latSlipDrive Factor[0.15, 0.3])*(Speed Factor[0, 10])";
		};
		class turn_right_ext_dirt
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\noises\slipping_tires_18_dirt",0.70794576,1,60};
			frequency = 1;
			volume = "engineOn*camPos*(1-asphalt)*(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",0.31622776,1};
			frequency = 1;
			volume = "engineOn*asphalt*(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",0.31622776,1};
			frequency = 1;
			volume = "engineOn*asphalt*(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",0.31622776,1};
			frequency = 1;
			volume = "engineOn*asphalt*(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",0.31622776,1};
			frequency = 1;
			volume = "engineOn*asphalt*(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_14_dirt_breaking_int",0.31622776,1};
			frequency = 1;
			volume = "engineOn*(1-asphalt)*(1-camPos)*(LongSlipDrive Factor[-0.15, -0.3])*(Speed Factor[2, 6])";
		};
		class acceleration_int_dirt
		{
			sound[] = {"A3\Sounds_F\vehicles\soft\noises\acceleration_dirt_int_1",0.31622776,1};
			frequency = 1;
			volume = "engineOn*(1-asphalt)*(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_18_dirt_int",0.31622776,1};
			frequency = 1;
			volume = "engineOn*(1-asphalt)*(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_18_dirt_int",0.31622776,1};
			frequency = 1;
			volume = "engineOn*(1-asphalt)*(1-camPos)*(latSlipDrive Factor[-0.15, -0.3])*(Speed Factor[0, 10])";
		};
	};

	class Exhausts {

		class Exhaust1 {
			position = "vyfuk start";
			direction = "vyfuk konec";
			effect = "ExhaustEffectOffroad";
		};
	};

	class Turrets: Turrets
	{
		class MainTurret : MainTurret
		{
			body = "mainTurret";
			gun = "mainGun";
			hasGunner= 1;
			weapons[] = {"HMG_M2"};
			magazines[] = {"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow"};
			soundServo[] = {"A3\sounds_f\dummysound",0.01,1.0,10};
			minElev = -25; maxElev = +60;
			gunnerAction = "HMMWV_Gunner01";
			// used for sound occlusions as well
			viewGunnerInExternal=true;
			castGunnerShadow = 1;
			stabilizedInAxes = StabilizedInAxesNone;
			gunnerRightHandAnimName = "OtocHlaven_shake";
			gunnerLeftHandAnimName = "OtocHlaven_shake";
		};
	};
		class HitPoints: HitPoints
   		{
		class HitGlass1:HitGlass1 {armor=0.1;};
		class HitGlass2:HitGlass2 {armor=0.1;};
		class HitGlass3:HitGlass3 {armor=0.1;};
		class HitGlass4:HitGlass4 {armor=0.1;};
		class HitLFWheel:HitLFWheel {armor=0.38;};
		class HitLBWheel:HitLF2Wheel {armor=0.38;};
		class HitRFWheel:HitRFWheel {armor=0.38;};
		class HitRBWheel:HitRF2Wheel {armor=0.38;};
		class HitFuel {armor=1.4;material=-1;name="palivo";visual="";passThrough=1;};
	};

	class Damage
	{
		tex[]={};
		mat[]={
			"\cgr_hmmwv\data\hmmwv_details.rvmat",
			"\cgr_hmmwv\data\hmmwv_details_damage.rvmat",
			"\cgr_hmmwv\data\hmmwv_details_destruct.rvmat",

			"\cgr_hmmwv\data\hmmwv_body.rvmat",
			"\cgr_hmmwv\data\hmmwv_body_damage.rvmat",
			"\cgr_hmmwv\data\hmmwv_body_destruct.rvmat",

			"\cgr_hmmwv\data\hmmwv_clocks.rvmat",
			"\cgr_hmmwv\data\hmmwv_clocks.rvmat",
			"\cgr_hmmwv\data\hmmwv_clocks_destruct.rvmat",

			"\cgr_hmmwv\data\weapons\m2.rvmat",
			"\cgr_hmmwv\data\weapons\m2.rvmat",
			"\cgr_hmmwv\data\m2_destruct.rvmat",

			"\cgr_hmmwv\data\detailmapy\m1abrams_mg_mount.rvmat",
			"\cgr_hmmwv\data\detailmapy\m1abrams_mg_mount.rvmat",
			"\cgr_hmmwv\data\detailmapy\m1abrams_mg_mount_destruct.rvmat",

			"\cgr_hmmwv\data\hmmwv_glass.rvmat",
			"\cgr_hmmwv\data\hmmwv_glass_Half_D.rvmat",
			"\cgr_hmmwv\data\hmmwv_glass_Half_D.rvmat",

			"\cgr_hmmwv\data\hmmwv_glass_in.rvmat",
			"\cgr_hmmwv\data\hmmwv_glass_in_Half_D.rvmat",
			"\cgr_hmmwv\data\hmmwv_glass_in_Half_D.rvmat",
		};
	};

	class Reflectors
	{
		class Left
		{
			color[] = {1900,1300,950};
			ambient[] = {5,5,5};
			position = "L svetlo";
			direction = "konec L svetla";
			hitpoint = "L svetlo";
			selection = "L svetlo";
			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 = "P svetlo";
			direction = "konec R svetla";
			hitpoint = "P svetlo";
			selection = "P svetlo";
		};
		class Right2: Right
		{
			useFlare = 1;
			position = "P svetlo";
		};
		class Left2: Left
		{
			useFlare = 1;
			position = "L svetlo";
		};
	};
	aggregateReflectors[] = {
		{ "Left","Right","Left2","Right2" }};

	class RenderTargets
	{
		class LeftMirror
		{
			renderTarget = "rendertarget0";
			class CameraView1
			{
				pointPosition = "PIP0_pos";
				pointDirection = "PIP0_dir";
				renderQuality = 2;
				renderVisionMode = 4;
				fov = 0.7;
			};
		};
		class RightMirror
		{
			renderTarget = "rendertarget1";
			class CameraView1
			{
				pointPosition = "PIP1_pos";
				pointDirection = "PIP1_dir";
				renderQuality = 2;
				renderVisionMode = 4;
				fov = 0.7;
			};
		};
	};

};

This is my Config for the HMMWV M1151 with GPK2 and M2 Machinegun which is working fine:

class cgr_hmmwv_m1151_m2: cgr_hmmwv_base
{
	side = 1;
	scope = 2;
	model = "\cgr_hmmwv\m1151_m2_gpk";
	faction = "cgr_army";
	vehicleClass = "cgr_wheeled";
	displayname = "M1151 (M2)";
	threat[] = {1,0.6,0.6};
	driverLeftHandAnimName = "drivewheel";
	driverRightHandAnimName = "";
	transportSoldier = 3;
	armor = 120;
	damageResistance = 0.03099;
	Picture = "\cgr_hmmwv\data\ico\Picture_hmmwv_m2gpk_CA.paa";
	Icon = "\cgr_hmmwv\data\ico\Icon_hmmwv_m2gpk_CA.paa";
	class Library
	{
		libTextDesc = "HMMWV M1151-M2";
	};

	class Turrets: Turrets
	{
		class MainTurret: MainTurret
		{
			body = "mainTurret";
			gun = "mainGun";
			weapons[] = {"HMG_M2"};
			magazines[] = {"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow"};
			soundServo[] = {"A3\sounds_f\dummysound",0.01,1.0,10};
			minElev = -25;
			maxElev = 60;
			gunnerAction = "HMMWV_Gunner_EP1";
			viewGunnerInExternal = 1;
			castGunnerShadow = 1;
			stabilizedInAxes = "StabilizedInAxesBoth";
			class ViewOptics
			{
				initAngleX = 0;
				minAngleX = -30;
				maxAngleX = 30;
				initAngleY = 0;
				minAngleY = -100;
				maxAngleY = 100;
				initFov = 0.455;
				minFov = 0.25;
				maxFov = 0.7;
			};
		};
	};
	class AnimationSources: AnimationSources
	{
		class ReloadAnim
		{
			source = "reload";
			weapon = "HMG_M2";
		};
		class ReloadMagazine
		{
			source = "reloadmagazine";
			weapon = "HMG_M2";
		};
		class Revolving
		{
			source = "revolving";
			weapon = "HMG_M2";
		};
	};
	/*class TransportMagazines
	{
		class _xx_30Rnd_556x45_Stanag
		{
			magazine = "30Rnd_556x45_Stanag";
			count = 15;
		};
		class _xx_HandGrenade_West
		{
			magazine = "HandGrenade_West";
			count = 2;
		};
		class _xx_SmokeShellGreen
		{
			magazine = "SmokeShellGreen";
			count = 2;
		};
		class _xx_SmokeShell
		{
			magazine = "SmokeShell";
			count = 2;
		};
	};*/
	class TransportWeapons{};
	class Damage
	{
		tex[] = {};
		mat[] = {"cgr_hmmmwv\data2\hmmwv_body_1.rvmat","cgr_hmmwv\data2\hmmwv_body_1_damage.rvmat","cgr_hmmwv\data2\hmmwv_body_1_destruct.rvmat","cgr_hmmwv\data2\hmmwv_hood.rvmat","cgr_hmmwv\data2\hmmwv_hood_damage.rvmat","cgr_hmmwv\data2\hmmwv_hood_destruct.rvmat","cgr_hmmwv\data2\hmmwv_parts_1.rvmat","cgr_hmmwv\data2\hmmwv_parts_1_damage.rvmat","cgr_hmmwv\data2\hmmwv_parts_1_destruct.rvmat","cgr_hmmwv\data2\hmmwv_regular_gpk.rvmat","cgr_hmmwv\data2\hmmwv_regular_1_damage.rvmat","cgr_hmmwv\data2\hmmwv_regular_1_destruct.rvmat","cgr_hmmwv\data2\hmmwv_gpk_tower.rvmat","cgr_hmmwv\data2\hmmwv_gpk_tower_damage.rvmat","cgr_hmmwv\data2\hmmwv_gpk_tower_destruct.rvmat","cgr_hmmwv\data2\default.rvmat","cgr_hmmwv\data2\default.rvmat","cgr_hmmwv\data2\default_destruct.rvmat"};
	};
	HiddenSelections[] = {"camo","camo1","camo2","camo3"};
	HiddenSelectionsTextures[] = {"cgr_hmmwv\data2\hmmwv_body_canvas_1_co.paa","cgr_hmmwv\data2\hmmwv_hood_canvas_co.paa","cgr_hmmwv\data2\hmmwv_regular_1_co.paa","cgr_hmmwv\data2\hmmwv_gpk_tower_co.paa"};
};

And this is my Config for the HMMWV m1151 with GPK2 and Canvas

class cgr_hmmwv_m1151_m2_canvas: cgr_hmmwv_base
{
	side = 1;
	scope = 2;
	model = "\cgr_hmmwv\m1151_m2_gpk_canvas";
	faction = "cgr_army";
	vehicleClass = "cgr_wheeled";
	displayname = "M1151 Canvas (M2)";
	threat[] = {1,0.6,0.6};
	driverLeftHandAnimName = "drivewheel";
	driverRightHandAnimName = "";
	transportSoldier = 3;
	armor = 120;
	damageResistance = 0.03099;
	Picture = "\cgr_hmmwv\data\ico\Picture_hmmwv_m2gpk_CA.paa";
	Icon = "\cgr_hmmwv\data\ico\Icon_hmmwv_m2gpk_CA.paa";
	class Library
	{
		libTextDesc = "HMMWV M1151 GPK2 with Canvas";
	};

	class Turrets: Turrets
	{
		class MainTurret: MainTurret
		{
			body = "mainTurret";
			gun = "mainGun";
			weapons[] = {"HMG_M2"};
			magazines[] = {"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow"};
			soundServo[] = {"A3\sounds_f\dummysound",0.01,1.0,10};
			minElev = -25;
			maxElev = 60;
			gunnerAction = "HMMWV_Gunner_EP1";
			viewGunnerInExternal = 1;
			castGunnerShadow = 1;
			stabilizedInAxes = "StabilizedInAxesBoth";
			class ViewOptics
			{
				initAngleX = 0;
				minAngleX = -30;
				maxAngleX = 30;
				initAngleY = 0;
				minAngleY = -100;
				maxAngleY = 100;
				initFov = 0.455;
				minFov = 0.25;
				maxFov = 0.7;
			};
		};
	};
	class AnimationSources: AnimationSources
	{
		class ReloadAnim
		{
			source = "reload";
			weapon = "HMG_M2";
		};
		class ReloadMagazine
		{
			source = "reloadmagazine";
			weapon = "HMG_M2";
		};
		class Revolving
		{
			source = "revolving";
			weapon = "HMG_M2";
		};
	};
	class TransportWeapons{};
	class Damage
	{
		tex[] = {};
		mat[] = {"cgr_hmmmwv\data2\hmmwv_body_1.rvmat","cgr_hmmwv\data2\hmmwv_body_1_damage.rvmat","cgr_hmmwv\data2\hmmwv_body_1_destruct.rvmat","cgr_hmmwv\data2\hmmwv_hood.rvmat","cgr_hmmwv\data2\hmmwv_hood_damage.rvmat","cgr_hmmwv\data2\hmmwv_hood_destruct.rvmat","cgr_hmmwv\data2\hmmwv_parts_1.rvmat","cgr_hmmwv\data2\hmmwv_parts_1_damage.rvmat","cgr_hmmwv\data2\hmmwv_parts_1_destruct.rvmat","cgr_hmmwv\data2\hmmwv_regular_gpk.rvmat","cgr_hmmwv\data2\hmmwv_regular_1_damage.rvmat","cgr_hmmwv\data2\hmmwv_regular_1_destruct.rvmat","cgr_hmmwv\data2\hmmwv_gpk_tower.rvmat","cgr_hmmwv\data2\hmmwv_gpk_tower_damage.rvmat","cgr_hmmwv\data2\hmmwv_gpk_tower_destruct.rvmat","cgr_hmmwv\data2\default.rvmat","cgr_hmmwv\data2\default.rvmat","cgr_hmmwv\data2\default_destruct.rvmat"};
	};
	HiddenSelections[] = {"camo","camo1","camo2","camo3","camo4"};
	HiddenSelectionsTextures[] = {"cgr_hmmwv\data2\hmmwv_body_canvas_1_co.paa","cgr_hmmwv\data2\hmmwv_hood_canvas_co.paa","cgr_hmmwv\data2\hmmwv_regular_1_co.paa","cgr_hmmwv\data2\hmmwv_gpk_tower_co.paa","cgr_hmmwv\data2\hmmwv_canvas_1_co.paa"};
};

Hope that helps

Share this post


Link to post
Share on other sites

Did you add it to the Model.CFG as well?

Also,this can be done a bit cleaner with inheritance from that base class, but I see no reason that won't work in its current form.

Share this post


Link to post
Share on other sites

Yeah i did.

This is my model.cfg

class m1151_m2_gpk_canvas: HMMWV
{
	skeletonName="m1151_m2_gpk_canvas";
	sectionsInherit="car";
	sections[]=
	{
		"camo",
		"camo1",
		"camo2",
		"camo3",
		"camo4"
	};
	class Animations: Animations
	{
		class DrivingWheel: Rotation
		{
			source="drivingWheel";
			selection="drivewheel";
			axis="drivewheel_axis";
			minValue=-1;
			maxValue=1;
			angle0="(rad 80)";
			angle1="(rad -80)";
		};
		class IndicatorSpeed
		{
			animPeriod=0;
			type="rotation";
			source="speed";
			selection="mph";
			axis="mph_axis";
			memory=0;
			minValue=0;
			maxValue=16.67;
			angle0=0;
			angle1=2.8797929;
		};
		class fuel
		{
			type="rotation";
			source="fuel";
			selection="fuel_1";
			axis="fuel_1_axis";
			memory=0;
			minValue=0;
			maxValue=1;
			angle0=-0.087265998;
			angle1=-1.6580631;
		};
		class prop_01
		{
			type="rotation";
			source="rpm";
			selection="prop_01";
			axis="prop_01_axis";
			memory=0;
			minValue=0;
			maxValue=0.36000001;
			angle0=1.396263;
			angle1=0;
		};
		class prop_02
		{
			type="rotation";
			source="rpm";
			selection="prop_02";
			axis="prop_02_axis";
			memory=0;
			minValue=0;
			maxValue=0.63999999;
			angle0=0.34906599;
			angle1=-0.34906599;
		};
		class MainTurret
		{
			type="rotationY";
			source="mainTurret";
			selection="OtocVez";
			axis="OsaVeze";
			animPeriod=0;
			minValue="rad -360";
			maxValue="rad +360";
			angle0="rad -360";
			angle1="rad +360";
		};
		class MainGun: MainTurret
		{
			type="rotationX";
			source="mainGun";
			selection="OtocHlaven";
			axis="OsaHlavne";
		};
		class ammo_belt_rotation
		{
			type="rotationZ";
			source="ReloadAnim";
			selection="ammo_belt";
			axis="ammo_belt_axis";
			memory=1;
			sourceAddress="loop";
			minValue=0;
			maxValue=1;
			angle0=0;
			angle1=-0.20943999;
		};
		class Barrel_recoil: ammo_belt_rotation
		{
			type="translation";
			selection="recoil";
			axis="recoil_axis";
			sourceAddress="mirror";
			minValue=0;
			maxValue=0.5;
			offset0=0;
			offset1=-0.050000001;
		};
		class Bolt_recoil: Barrel_recoil
		{
			selection="bolt";
			offset0=0;
			maxValue=0.5;
			offset1=-0.25;
		};
		class Turret_shake: Barrel_recoil
		{
			selection="OtocHlaven_Shake";
			axis="osaveze";
			offset0=0;
			offset1=-0.0020000001;
			maxValue=0.050000001;
		};
		class Turret_shake_aside: Turret_shake
		{
			axis="osahlavne";
			maxValue="0.05*1.3";
		};
		class Charging_handle_shake: Barrel_recoil
		{
			type="rotation";
			selection="Charging_handle";
			axis="Charging_handle_axis";
			sourceAddress="mirror";
			maxValue=0.0049999999;
			angle0=0;
			angle1=-0.1;
		};
		class Feedtray_cover_up
		{
			type="rotation";
			source="reloadMagazine";
			selection="feedtray_cover";
			axis="feedtray_cover_axis";
			memory=1;
			minValue=0.1;
			maxValue=0.13;
			angle0=0;
			angle1=-1.570796;
		};
		class Feedtray_cover_down: Feedtray_cover_up
		{
			minValue=0.86000001;
			maxValue=0.89999998;
			angle0=0;
			angle1=1.570796;
		};
		class Bolt_reload_begin: Bolt_recoil
		{
			type="translation";
			sourceAddress="clamp";
			source="reloadMagazine";
			minValue=0;
			maxValue=0.02;
		};
		class Bolt_reload_end: Bolt_reload_begin
		{
			minValue=0.050000001;
			maxValue=0.07;
			offset0=0;
			offset1=0.25;
		};
		class Charging_handle_reload_begin: Bolt_reload_begin
		{
			selection="Charging_handle";
		};
		class Charging_handle_reload_end: Bolt_reload_end
		{
			selection="Charging_handle";
		};
		class Magazine_hide
		{
			type="hide";
			source="reloadMagazine";
			sourceAddress="mirror";
			selection="magazine";
			minValue=0;
			maxValue=0.5;
			hideValue=0.56;
		};
	};
};

http://i.imgur.com/3lgu54z.jpg (468 kB)

http://i.imgur.com/nRBl0Pv.jpg (425 kB)

Edited by christian2526

Share this post


Link to post
Share on other sites

Right, so is that the entire model.cfg?

I would suggest instead copying HAFM HMMWVs Model.CFG, and instead, just adding this to the end:


(END OF THE MODEL.CFG)

class modelname of your vehicle: the base class {};

};

Share this post


Link to post
Share on other sites

Done and tested. It doesn`t helps the problem. Still i cannot move it and i have set the armor in the vehicle. I think there is an error in the memory lod, but i dont know where exactly.

//Edit a few hrs later:

I found the error, it was in the geometry lod, but anyways thanks for you help and assitance!

But anyways i got some new small errors which might be fixable, first a shadow error:

https://i.imgur.com/ZnDZCEu.jpg (425 kB)

and i got this error while looking thru the back window:

https://i.imgur.com/5Jvjezi.jpg (324 kB)

I will search and look a round for a solutuion but if anyone one out there knows this problem feel free to help me :)

Something new added to the front:

9VmWGe9.jpg

Edited by christian2526

Share this post


Link to post
Share on other sites

the first one indicates a wrong or missing shadow LOD... shadow LOD has to be closed geometry (and also slightly smaller then visible LOD otherwise it creates shadows on itself)

Share this post


Link to post
Share on other sites

Heya, thanks for the info! I will check that and try it. I also worked out some new design today:

M1151 with Canvas and Slat Armor (M2)

VHzrrDn.jpg

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  

×