Jump to content
Sign in to follow this  
superfastblast

Helicopter rotor blade blade rotation help

Recommended Posts

Having trouble getting the blades of my helo to turn. Im new to modding for vehicles in arma. Any help is appreciated

Model.cfg

class CfgSkeletons
{
class kiowa_Skeleton
 {
 isDiscrete = 1;
 skeletonInherit = "";
 skeletonBones[]=
 {
  "main rotor", "",
  "tail rotor", ""

 }; 
};
};

class CfgModels
{
class Default{
skeletonName = "";
sectionsInherit = "";
sections[] = {};
};

class oh58:Default {
 isDiscrete = 1;
 sectionsInherit = "";
 sections[] = 
 {
  "main rotor","",
  "tail rotor",""

 }; 

 skeletonName="kiowa_Skeleton";
 class Animations
 {
  class damageHide
  {
   type = "hide";
   source = "damage";
   selection = "damageHide";
  };
  class HideVblades: damageHide
  {
   selection = "tail rotor";
  };
  class HideHblades: damageHide
  {
   selection = "main rotor";
  };
  class HRotor
  {
   type = "rotationY";
   source = "rotorH";
   selection = "main rotor";
   axis = "velka osa";
   memory = 1;
   sourceAddress = "loop";
   minValue = 0;
   maxValue = 1;
   angle0 = 0;
   angle1 = "rad +360";
  };
  class VRotor
  {
   type = "rotationX";
   source = "rotorV";
   selection = "tail rotor";
   axis = "mala osa";
   memory = 1;
   sourceAddress = "loop";
   minValue = 0;
   maxValue = 1;
   angle0 = 0;
   angle1 = "rad +360";
  };
 }; 
};
};

Config:

class CfgPatches {
class kiowa {
 units[] = {kiowa506};
 weapons[] = {};
 requiredVersion = 0.100000;
 requiredAddons[] = {"A3_Air_F"};
};
};

class CfgSkeletons
{
class kiowa_Skeleton
 {
 isDiscrete = 1;
 skeletonInherit = "";
 skeletonBones[]=
 {
  "main rotor", "",
  "tail rotor", ""

 }; 
};
};

class CfgModels
{
class Default{
skeletonName = "";
sectionsInherit = "";
sections[] = {};
};

class oh58:Default {
 isDiscrete = 1;
 sectionsInherit = "";
 sections[] = 
 {
  "main rotor","",
  "tail rotor",""

 }; 

 skeletonName="kiowa_Skeleton";
 class Animations
 {
  class damageHide
  {
   type = "hide";
   source = "damage";
   selection = "damageHide";
  };
  class HideVblades: damageHide
  {
   selection = "tail rotor";
  };
  class HideHblades: damageHide
  {
   selection = "main rotor";
  };
  class HRotor
  {
   type = "rotationY";
   source = "rotorH";
   selection = "main rotor";
   axis = "velka osa";
   memory = 1;
   sourceAddress = "loop";
   minValue = 0;
   maxValue = 1;
   angle0 = 0;
   angle1 = "rad +360";
  };
  class VRotor
  {
   type = "rotationX";
   source = "rotorV";
   selection = "tail rotor";
   axis = "mala osa";
   memory = 1;
   sourceAddress = "loop";
   minValue = 0;
   maxValue = 1;
   angle0 = 0;
   angle1 = "rad +360";
  };
 }; 
};
};


class CopilotTurret;
class Turrets;
class ViewOptics;
class ViewPilot;
class CfgVehicles {


class B_Heli_Light_01_armed_F;
class Helicopter;
class kiowa506 : B_Heli_Light_01_armed_F {
 scope = 2;
 author = "WO1 Simmering / WO1 Genesi";
 _generalMacro = "kiowa506";
 displayname = "OH-58D Kiowa Warrior";
 model = "\506kiowa\data\kiowa.p3d";
 class Library {
  libTextDesc = "OH-58D Kiowa Warrior";
 };
 class Turrets: Turrets
	{
		class CopilotTurret: CopilotTurret
		{
			isCopilot=1;
			gunnerDoor="door_l1";
			body="obsTurret";
			gun="obsGun";
			gunAxis="OsaHlavne";
			animationSourceBody="obsTurret";
			animationSourceGun="obsGun";
			gunBeg="gun_end";
			gunEnd="gun_begin";
			memoryPointGunnerOptics="commanderview";
			stabilizedInAxes=3;
			primaryGunner=1;
			laser=1;
			usepip=1;
			gunnerCanEject=1;
			gunnerName="$STR_A3_COPILOT";
			gunnerCompartments="Compartment1";
			turretInfoType="RscOptics_UAV_gunner";
			weapons[]=
			{
				"Laserdesignator_mounted"
			};
			magazines[]=
			{
				"Laserbatteries"
			};
			soundServo[]=
			{
				"",
				0.0099999998,
				1,
				30
			};
			precisegetinout=1;
			gunnerAction="pilot_Heli_Light_01_base_F";
			gunnerInAction="pilot_Heli_Light_01_base_F";
			gunnerGetInAction="copilot_Heli_Light_01_base_F";
			gunnerGetOutAction="copilot_Heli_Light_01_base_F";
			gunnerRightHandAnimName="stick_copilot";
			gunnerLeftHandAnimName="lever_copilot";
			gunnerRightLegAnimName="pedalR_copilot";
			gunnerLeftLegAnimName="pedalL_copilot";
			outGunnerMayFire=1;
			inGunnerMayFire=1;
			commanding=-1;
			LODTurnedOut=1100;
			LODTurnedIn=1100;
			minElev=-120;
			maxElev=-20;
			initElev=90;
			minTurn=-360;
			maxTurn=360;
			initTurn=0;
			gunnerOpticsModel="\A3\Weapons_F_Beta\Reticle\Optics_Commander_01_F";
			startEngine=0;
			gunnerHasFlares=0;
			proxyType="CPGunner";
			proxyIndex=2;
			class ViewGunner: ViewPilot
			{
			};
			class ViewOptics: ViewOptics
			{
				visionMode[]=
				{
					"Normal",
					"NVG",
					"Ti"
				};
				thermalMode[]={0,1};
			};
		};
	};
};
};

Share this post


Link to post
Share on other sites

You tried putting this into your cfgvehicle?

mainRotorSpeed = 1.2;

backRotorSpeed = 6.1;

It controls how fast the blade animation plays. main being the main rotor and back being the back (tail)rotor.

Also what up Simmering and/or Genesi :P

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  

×