R3vo/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Blanked the page)
Tag: Blanking
mNo edit summary
Line 1: Line 1:
Since Arma 3 Jets DLC (v1.68) it is possible to catapult Jets off an aircraft carrier. For this system to work properly a few new definitions need to be made inside the plane's config. This page will show an overview over the definitions and explain what they do.


== CarrierOpsCompatability Sub-Class ==
<syntaxhighlight lang="cpp">
class CfgVehicles
{
class B_Plane_Fighter_01_F
{
tailHook = true; // Allow to land on carrier
class CarrierOpsCompatability
{
ArrestHookAnimationList[] = {"tailhook", "tailhook_door_l", "tailhook_door_r"}; // List of animation played to animate tailhook. Defined in model.cfg (type user)
ArrestHookAnimationStates[] = {0,0.53,1}; // Tailhook animation states when down, hooked, up.
ArrestHookMemoryPoint = "pos_tailhook"; // TailHook memory point in plane model.p3d
ArrestMaxAllowedSpeed = 275; // Max speed km/h allowed for successful landing
ArrestSlowDownStep = 0.8; // Simulation step for calcualting how smooth plane will be slowed down.
ArrestVelocityReduction = -12; // Speed reduced per simulation step
LaunchVelocity = 300; // Speed required for take off
LaunchVelocityIncrease = 10; // Speed increased per simulation step
LaunchAccelerationStep = 0.001; // Simulation step for calcualting how smooth plane will launched from carrier catapult.
LaunchBarMemoryPoint = "pos_gear_f_hook"; // LaunchBar memory point
};
};
};
</syntaxhighlight>

Revision as of 09:56, 13 August 2021

Since Arma 3 Jets DLC (v1.68) it is possible to catapult Jets off an aircraft carrier. For this system to work properly a few new definitions need to be made inside the plane's config. This page will show an overview over the definitions and explain what they do.

CarrierOpsCompatability Sub-Class

class CfgVehicles
{
	class B_Plane_Fighter_01_F
	{
		tailHook = true;																		// Allow to land on carrier
		class CarrierOpsCompatability
		{
			ArrestHookAnimationList[] = {"tailhook", "tailhook_door_l", "tailhook_door_r"};		// List of animation played to animate tailhook. Defined in model.cfg (type user)
			ArrestHookAnimationStates[] = {0,0.53,1};											// Tailhook animation states when down, hooked, up.
			ArrestHookMemoryPoint = "pos_tailhook";												// TailHook memory point in plane model.p3d
			ArrestMaxAllowedSpeed = 275;														// Max speed km/h allowed for successful landing
			ArrestSlowDownStep = 0.8;															// Simulation step for calcualting how smooth plane will be slowed down.
			ArrestVelocityReduction = -12;														// Speed reduced per simulation step
			LaunchVelocity = 300;																// Speed required for take off
			LaunchVelocityIncrease = 10;														// Speed increased per simulation step
			LaunchAccelerationStep = 0.001;														// Simulation step for calcualting how smooth plane will launched from carrier catapult.
			LaunchBarMemoryPoint = "pos_gear_f_hook";											// LaunchBar memory point
		};
	};
};