R3vo/Sandbox – User

From Bohemia Interactive Community
< R3vo
Categories:
mNo edit summary
mNo edit summary
 
(111 intermediate revisions by the same user not shown)
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.
= Mobile To-Do =
''A list of things that would improve mobile compatibility''


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


== CarrierOpsCompatability Sub-Class ==
''Lou thinks just because the list is empty there is nothing left to improve. Only if he knew.''
<syntaxhighlight lang="cpp">
 
class CfgVehicles
= Done =
{
 
class B_Plane_Fighter_01_F
* Creator dlc template needs a noresize.
{
** {{Link|Spearhead_1944}}
tailHook = true; // Allow to land on carrier
* Long command names should wrap
class CarrierOpsCompatability
** {{Link|removeAllUserActionEventHandlers}}
{
 
ArrestHookAnimationList[] = {"tailhook", "tailhook_door_l", "tailhook_door_r"}; // List of animation played to animate tailhook. Defined in model.cfg (type user)
* See also entries on command and function pages are broken
ArrestHookAnimationStates[] = {0,0.53,1}; // Tailhook animation states when down, hooked, up.
** {{Link|parsingNamespace}}
ArrestHookMemoryPoint = "pos_tailhook"; // TailHook memory point in plane model.p3d
 
ArrestMaxAllowedSpeed = 275; // Max speed km/h allowed for successful landing
* Command and function template layout wastes a lot of space due to the two column design
ArrestSlowDownStep = 0.8; // Simulation step for calcualting how smooth plane will be slowed down.
 
ArrestVelocityReduction = -12; // Speed reduced per simulation step
* Tables with fixed widths need to be avoided. If they are too wide use noresize class wrapper
LaunchVelocity = 300; // Speed required for take off
** {{Link|Arma_3:_Visual_Upgrade}}
LaunchVelocityIncrease = 10; // Speed increased per simulation step
 
LaunchAccelerationStep = 0.001; // Simulation step for calcualting how smooth plane will launched from carrier catapult.
* YouTube embeds and images should not have a fixed width
LaunchBarMemoryPoint = "pos_gear_f_hook"; // LaunchBar memory point
** {{Link|Category:DayZ}}
};
** {{Link|Spearhead_1944_Frontline_Function}}
};
** It is because the youtube template has a hardcoded minimum width. This should get removed
};
</syntaxhighlight>

Latest revision as of 18:11, 18 May 2025

Mobile To-Do

A list of things that would improve mobile compatibility


Lou thinks just because the list is empty there is nothing left to improve. Only if he knew.

Done

  • Command and function template layout wastes a lot of space due to the two column design
  • Tables with fixed widths need to be avoided. If they are too wide use noresize class wrapper