BIS fnc aircraftTailhook: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Aircraft Carrier | |gr1= Aircraft Carrier | ||
| <pre>/* | | <pre>/* | ||
Line 49: | Line 49: | ||
#define EXIT_CODE {_plane animate [_x,_planeHookUpAnimState];} forEach _planeHookAnimList;_plane SetUserMFDvalue [0,0]; | #define EXIT_CODE {_plane animate [_x,_planeHookUpAnimState];} forEach _planeHookAnimList;_plane SetUserMFDvalue [0,0]; | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | ||
| <!-- [] call [[BIS_fnc_AircraftTailhook]]; --> | | <!-- [] call [[BIS_fnc_AircraftTailhook]]; --> | ||
|p1 | |p1= | ||
| | | | ||
|x1= <code></code> | |x1= <code></code> | ||
| | | | ||
}} | }} |
Revision as of 22:06, 17 January 2021
Description
- Description:
/* Author: Bravo Zero One development - John_Spartan Description: Aircrfat carrier arrest/recovery function for USS Freedom aircraft carrier Exucution: Call the function via user-action or script for any compatible fixed wing aircrfat [this] spawn bis_fnc_aircraftTailhook; Requirments: - Compatible aircrfat must have an animation for arrest/tail hook selection defined in CfgCehicles and modeled in 3D model (model.cfg) - Compatible aircrfat must have a memory point for cable attach position 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 }; Parameter(s): _this select 0: mode (Scalar) 0: plane/object Returns: nothing Result: Aircrfat after touch down on carrier deck will be dynamicly slowed down. If speed willbe above 275 km/h (suggested and configured on vanilla assets) wire snap will be simulated. Aircrfat will come to full stop in 155-175 m */ #define EXIT_CODE {_plane animate [_x,_planeHookUpAnimState];} forEach _planeHookAnimList;_plane SetUserMFDvalue [0,0];
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Aircraft Carrier
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
Additional Information
- See also:
- See also needed
Notes
-
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