Difference between revisions of "BIS fnc aircraftCatapultLaunch"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{placeholder}}" to "{{Wiki|placeholder}}")
m (Text replacement - "\{\{RV\|type=function \| *arma ?3 * \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \| <pre>\/\*" to "{{RV|type=function |game1= arma3 |version1= $1 |gr1=$2 |descr= <pre>/*")
Line 1: Line 1:
| arma3
|game1= arma3
|version1= 1.00
|gr1= Aircraft Carrier
|gr1= Aircraft Carrier
| <pre>/*
|descr= <pre>/*
Author: Bravo Zero One development
Author: Bravo Zero One development
- John_Spartan & Jiri Wainar
- John_Spartan & Jiri Wainar

Revision as of 19:38, 9 June 2021

Hover & click on the images for description


	Author: Bravo Zero One development
	- John_Spartan & Jiri Wainar

	- On demand function to invoke acceleration of aircraft (vehicle).

	- Call the function via code/script

		[_plane] call BIS_fnc_AircraftCatapultLaunch;

	- Compatible aircraft must have a config definition for all sub-systems that will be invoked by this function

		example of cfgVehicles subclass definitions;

		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

		_this select 0: mode (Scalar)
		0: plane/object

	Returns: nothing
	Result: Aircraft will be accelerated to required speed

Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Aircraft Carrier


Syntax needed
Return Value:
Return value needed


Example needed

Additional Information

See also:
See also needed


Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note