Jump to content
Sign in to follow this  
Airwolf

Use of driveOnComponent for Helicopters

Recommended Posts

I'm trying to fix a Helicopter so that it rolls on the ground, it's an arma 2 blackhawk port much like the others out there but it stops dead when it hits the ground and won't roll.

 

The wheels are defined in the config with

		driveOnComponent[]=
		{
			"gear_1",
			"gear_2",
			"gear_3"
		};

Is there anything else that needs to be defined to make the wheels roll, or atleast act like a low friction component?

 

Share this post


Link to post
Share on other sites

Creating proper inheritance from a BIS heli that have wheels and not skids may help. I've done it for CH46 like this:

class CfgNonAIVehicles{};
class CfgVehicles
{
	class AllVehicles;
	class Air;
	class Helicopter: Air
	{
		class Turrets;
		class HitPoints
		{
			class HitGlass1;
			class HitGlass2;
			class HitGlass3;
			class HitGlass4;
			class HitGlass5;
			class HitGlass6;
			class HitHull;
			class HitEngine;
			class HitAvionics;
		};
	};
	class Helicopter_Base_F: Helicopter
	{
		class Turrets: Turrets
		{
			class MainTurret;
		};
		class HitPoints: HitPoints
		{
			class HitHull;
			class HitEngine;
			class HitAvionics;
			class HitVRotor;
			class HitHRotor;
			class HitMissiles;
			class HitRGlass;
			class HitLGlass;
			class HitWinch;
			class HitTransmission;
			class HitGlass1;
			class HitLight;
			class HitHydraulics;
			class HitGear;
			class HitFuel;
			class HitHStabilizerL1;
			class HitHStabilizerR1;
			class HitVStabilizer1;
			class HitTail;
			class HitBatteries;
			class HitPitotTube;
			class HitStaticPort;
			class HitStarter1;
			class HitStarter2;
			class HitStarter3;
		};
		class AnimationSources;
		class Eventhandlers;
		class ViewOptics;
		class ViewPilot;
		class CargoTurret;
		class RotorLibHelicopterProperties;
		class MFD;
	};
	class Helicopter_Base_H: Helicopter_Base_F
	{
		class Turrets: Turrets
		{
			class CopilotTurret;
		};
		class AnimationSources;
		class Eventhandlers;
		class Viewoptics;
		class Reflectors
		{
			class Right;
		};
		class RotorLibHelicopterProperties;
	};
	class Heli_Transport_02_base_F: Helicopter_Base_H{};
	class Heli_Light_02_base_F: Helicopter_Base_H
	{
		class Turrets: Turrets
		{
			class CopilotTurret;
			class MainTurret;
		};
	};
	class HelicopterWreck;
	class int73_ch46: Heli_Light_02_base_F

Share this post


Link to post
Share on other sites

Thanks Night. Yeah, it references Helicopter_Base_F just like you posted, but it's still not working. So frustrating! Any other ideas?

Share this post


Link to post
Share on other sites

Wheels won't visually rotate when the standard flight model is used. Only in Advanced flight (rtd__.xml).

 

Check you have defined the gear_n components in the Geometry/Geometry Phys LOD's, and as memory points in the LandContact LOD at the base of the wheels where they touch the ground.

Check your Geometry LOD is closed, convex and has mass.

 

Check the inheritance to see if you have retracting gear and have configured it appropriately (gearRetracting=0/1).

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  

×