Advertisement
dziban303

camerasConsumer.xml 5.15.1

Dec 7th, 2016
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 31.23 KB | None | 0 0
  1. <camerasConfig.xml>
  2.     <!-- params junk -->
  3.     <misc>
  4.         <nearPlane>0.1</nearPlane>
  5.         <farPlane>2000</farPlane>
  6.         <!-- inertia -->
  7.         <inertiaRollCoef>0.08</inertiaRollCoef>
  8.         <!-- planes tracking -->
  9.         <planeTrackingRollCoef>0.075</planeTrackingRollCoef>
  10.         <!-- battle end post processing -->
  11.         <battleEndVignetteInnerRadius>0.3</battleEndVignetteInnerRadius>
  12.         <battleEndVignetteOuterRadius>0.5</battleEndVignetteOuterRadius>
  13.         <battleEndVignetteIntensity>0.5</battleEndVignetteIntensity>
  14.         <battleEndVignetteColor__tuple>0, 0, 0, 1</battleEndVignetteColor__tuple> <!-- rgba -->
  15.         <battleEndDesaturation>0.7</battleEndDesaturation>
  16.         <!-- battle end camera animation -->
  17.         <battleEndShipPitch>-0.0628</battleEndShipPitch>
  18.         <battleEndShipLookPointY>1</battleEndShipLookPointY>
  19.         <battleEndTotalAnnihilationFov>0.6</battleEndTotalAnnihilationFov>
  20.         <battleEndBaseCaptureFov>0.74</battleEndBaseCaptureFov>
  21.         <battleEndBaseLead>0.5</battleEndBaseLead>
  22.         <battleEndBaseHeight>5</battleEndBaseHeight>
  23.         <battleEndTimeDistanceCoef>0.35</battleEndTimeDistanceCoef>
  24.         <battleEndMaxTime>0.9</battleEndMaxTime>
  25.         <battleEndMinTime>0.6</battleEndMinTime>
  26.         <battleEndDirectionTimeCoef>1</battleEndDirectionTimeCoef>
  27.         <battleEndEasing__string>ExpoIn</battleEndEasing__string>
  28.         <!-- zooming -->
  29.         <zoomSpeed>100</zoomSpeed> <!-- zoom animation speed -->
  30.         <zoomBorder>1</zoomBorder>
  31.         <!-- state settings for first time switch to aviation/artillery in different modes -->
  32.         <!-- values' range is [0, 100] -->
  33.         <!-- dock params -->
  34.         <dockFlightTime> 10 </dockFlightTime>
  35.         <dockFlightEasing__string> QuadInOut </dockFlightEasing__string>
  36.         <dockInactivityTimeout> 50 </dockInactivityTimeout>
  37.         <dockExcursionTimeout> 10 </dockExcursionTimeout>
  38.         <!-- dock default position params -->
  39.         <dockDefaultYaw> 7.11600000551 </dockDefaultYaw>
  40.         <dockDefaultPitch> -0.142000006745 </dockDefaultPitch>
  41.         <dockOffsetX>0</dockOffsetX>
  42.         <dockOffsetY>0</dockOffsetY>
  43.         <dockDefaultState>100</dockDefaultState>
  44.         <dockMode> 2 </dockMode>
  45.         <!-- flags default position params -->
  46.         <flagDefaultYaw> 1.25 </flagDefaultYaw>
  47.         <flagDefaultPitch> -0.49 </flagDefaultPitch>
  48.         <flagNode__string>HP_flag_4</flagNode__string>
  49.         <flagOffsetX>0</flagOffsetX>
  50.         <flagOffsetY>0</flagOffsetY>
  51.         <flagDefaultState>3</flagDefaultState>
  52.         <flagMode> 19 </flagMode>
  53.         <!-- camou default position params -->
  54.         <camouDefaultYaw> 1.163 </camouDefaultYaw>
  55.         <camouDefaultPitch> 0.037 </camouDefaultPitch>
  56.         <camouOffsetX>0</camouOffsetX>
  57.         <camouOffsetY>0</camouOffsetY>
  58.         <camouDefaultState>100</camouDefaultState>
  59.         <camouMode> 2 </camouMode>
  60.         <!-- ensign default position params -->
  61.         <ensignDefaultYaw> 1.55  </ensignDefaultYaw>
  62.         <ensignDefaultPitch> -0.7 </ensignDefaultPitch>
  63.         <ensignNode__string>HP_flag_house</ensignNode__string>
  64.         <ensignOffsetX>0</ensignOffsetX>
  65.         <ensignOffsetY>0</ensignOffsetY>
  66.         <ensignDefaultState>3</ensignDefaultState>
  67.         <ensignMode> 20 </ensignMode>
  68.         <!-- camou default position params -->
  69.         <lootboxDefaultYaw> 1.163 </lootboxDefaultYaw>
  70.         <lootboxDefaultPitch> 0.037 </lootboxDefaultPitch>
  71.         <lootboxOffsetX>0</lootboxOffsetX>
  72.         <lootboxOffsetY>0</lootboxOffsetY>
  73.         <lootboxDefaultState>-1</lootboxDefaultState>
  74.         <lootboxMode> 21 </lootboxMode>
  75.         <!-- model view params -->
  76.         <modelview_pitch> -0.78539816339 </modelview_pitch>
  77.         <modelview_yaw> -1.57079632679 </modelview_yaw>
  78.         <!-- default pos in upgrade menu -->
  79.         <upgFlightEasing__string> QuadInOut </upgFlightEasing__string>
  80.         <upgFlightTime> 3 </upgFlightTime>
  81.         <upgDefaultYaw> 0.55 </upgDefaultYaw>
  82.         <upgDefaultPitch> 0.05 </upgDefaultPitch>
  83.         <upgDefaultFov> 1.1 </upgDefaultFov>
  84.         <upgDefaultZoom> 0 </upgDefaultZoom> <!-- zoom key -->
  85.         <!-- hull view pos in upgrade menu -->
  86.         <hullFlightEasing__string> QuadInOut </hullFlightEasing__string>
  87.         <hullFlightTime> 3 </hullFlightTime>
  88.         <hullDefaultYaw> 1.47 </hullDefaultYaw>
  89.         <hullDefaultPitch> 0.05  </hullDefaultPitch>
  90.         <hullDefaultFov> 1.0 </hullDefaultFov>
  91.         <hullDefaultZoom> 0.5 </hullDefaultZoom> <!-- zoom key -->
  92.         <!-- modules type configs -->
  93.         <!--
  94.             'Artillery',
  95.         -->
  96.         <modelview_pitch_Artillery> -0.4 </modelview_pitch_Artillery>
  97.         <modelview_yaw_Artillery> 0 </modelview_yaw_Artillery>
  98.         <minDesiredLead_Artillery>0</minDesiredLead_Artillery>
  99.         <maxDesiredLead_Artillery>15</maxDesiredLead_Artillery>
  100.         <lead_ArtilleryDestroyer>0.10</lead_ArtilleryDestroyer>
  101.         <lead_ArtilleryBattleship>0.27</lead_ArtilleryBattleship>
  102.         <lead_ArtilleryCruiser>0.15</lead_ArtilleryCruiser>
  103.         <lead_ArtilleryAuxiliaryShip>0.30</lead_ArtilleryAuxiliaryShip>
  104.         <lead_ArtilleryAirCarrier>0.30</lead_ArtilleryAirCarrier>
  105.         <fov_Artillery>0.4</fov_Artillery>
  106.         <mouseSpeed_Artillery>1.5</mouseSpeed_Artillery>
  107.         <yawFreedom_Artillery>0.78539816339</yawFreedom_Artillery>
  108.         <pitchFreedom_Artillery>0.3</pitchFreedom_Artillery>
  109.         <minPitchFreedom_Artillery>0.5</minPitchFreedom_Artillery> 
  110.         <!--
  111.             'Atba',
  112.         -->    
  113.         <modelview_pitch_Atba> -0.78539816339 </modelview_pitch_Atba>
  114.         <modelview_yaw_Atba> 0 </modelview_yaw_Atba>
  115.         <minDesiredLead_Atba>0</minDesiredLead_Atba>
  116.         <maxDesiredLead_Atba>15</maxDesiredLead_Atba>
  117.         <lead_Atba>0.1</lead_Atba>
  118.         <fov_Atba>0.4</fov_Atba>
  119.         <yawFreedom_Atba>0.78539816339</yawFreedom_Atba>
  120.         <pitchFreedom_Atba>0.78539816339</pitchFreedom_Atba>
  121.         <minPitchFreedom_Atba>0.5</minPitchFreedom_Atba>   
  122.         <!--
  123.             'Engine',
  124.         -->
  125.         <modelview_pitch_Engine> -0.4 </modelview_pitch_Engine>
  126.         <modelview_yaw_Engine> 0 </modelview_yaw_Engine>
  127.         <minDesiredLead_Engine>0</minDesiredLead_Engine>
  128.         <maxDesiredLead_Engine>15</maxDesiredLead_Engine>
  129.         <lead_Engine>0.15</lead_Engine>
  130.         <fov_Engine>0.9</fov_Engine>
  131.         <yawFreedom_Engine>0.9</yawFreedom_Engine>
  132.         <pitchFreedom_Engine>0.25</pitchFreedom_Engine>
  133.         <minPitchFreedom_Engine>0.7</minPitchFreedom_Engine>   
  134.         <!--
  135.             'Hull',
  136.         -->
  137.         <modelview_pitch_Hull> -0.4 </modelview_pitch_Hull>
  138.         <modelview_yaw_Hull> 0 </modelview_yaw_Hull>
  139.         <minDesiredLead_Hull>0</minDesiredLead_Hull>
  140.         <maxDesiredLead_Hull>15</maxDesiredLead_Hull>
  141.         <lead_Hull>0.4</lead_Hull>
  142.         <fov_Hull>0.7</fov_Hull>
  143.         <yawFreedom_Hull>1.0471975512</yawFreedom_Hull>
  144.         <pitchFreedom_Hull>0.706858347</pitchFreedom_Hull>
  145.         <minPitchFreedom_Hull>0.706858347</minPitchFreedom_Hull>   
  146.         <!--
  147.             'Torpedoes',
  148.         -->
  149.         <modelview_pitch_Torpedoes> -0.25 </modelview_pitch_Torpedoes>
  150.         <modelview_yaw_Torpedoes> 0 </modelview_yaw_Torpedoes>
  151.         <minDesiredLead_Torpedoes>0</minDesiredLead_Torpedoes>
  152.         <maxDesiredLead_Torpedoes>15</maxDesiredLead_Torpedoes>
  153.         <lead_Torpedoes>0.1</lead_Torpedoes>
  154.         <fov_Torpedoes>0.5</fov_Torpedoes>
  155.         <yawFreedom_Torpedoes>0.5</yawFreedom_Torpedoes>
  156.         <pitchFreedom_Torpedoes>0.25</pitchFreedom_Torpedoes>
  157.         <minPitchFreedom_Torpedoes>0.4</minPitchFreedom_Torpedoes> 
  158.         <!--
  159.             'Radars',
  160.         -->
  161.         <modelview_pitch_Radars> -0.78539816339 </modelview_pitch_Radars>
  162.         <modelview_yaw_Radars> 0 </modelview_yaw_Radars>
  163.         <minDesiredLead_Radars>0</minDesiredLead_Radars>
  164.         <maxDesiredLead_Radars>15</maxDesiredLead_Radars>
  165.         <lead_Radars>0.1</lead_Radars>
  166.         <fov_Radars>0.5</fov_Radars>
  167.         <yawFreedom_Radars>1.0471975512</yawFreedom_Radars>
  168.         <pitchFreedom_Radars>0.706858347</pitchFreedom_Radars>
  169.         <minPitchFreedom_Radars>0.706858347</minPitchFreedom_Radars>   
  170.         <!--
  171.             'Finders',
  172.         -->
  173.         <modelview_pitch_Finders> -0.78539816339 </modelview_pitch_Finders>
  174.         <modelview_yaw_Finders> 0 </modelview_yaw_Finders>
  175.         <minDesiredLead_Finders>0</minDesiredLead_Finders>
  176.         <maxDesiredLead_Finders>15</maxDesiredLead_Finders>
  177.         <lead_Finders>0.1</lead_Finders>
  178.         <fov_Finders>0.5</fov_Finders>
  179.         <yawFreedom_Finders>1.0471975512</yawFreedom_Finders>
  180.         <pitchFreedom_Finders>0.706858347</pitchFreedom_Finders>
  181.         <minPitchFreedom_Finders>0.706858347</minPitchFreedom_Finders> 
  182.         <!--
  183.             'Directors',
  184.         -->
  185.         <modelview_pitch_Directors> -0.78539816339 </modelview_pitch_Directors>
  186.         <modelview_yaw_Directors> 0 </modelview_yaw_Directors>
  187.         <minDesiredLead_Directors>0</minDesiredLead_Directors>
  188.         <maxDesiredLead_Directors>15</maxDesiredLead_Directors>
  189.         <lead_Directors>0.1</lead_Directors>
  190.         <fov_Directors>0.5</fov_Directors>
  191.         <yawFreedom_Directors>1.0471975512</yawFreedom_Directors>
  192.         <pitchFreedom_Directors>0.706858347</pitchFreedom_Directors>
  193.         <minPitchFreedom_Directors>0.706858347</minPitchFreedom_Directors> 
  194.         <!--
  195.             'AirDefence'
  196.         -->
  197.         <modelview_pitch_AirDefence> -0.78539816339 </modelview_pitch_AirDefence>
  198.         <modelview_yaw_AirDefence> 0 </modelview_yaw_AirDefence>
  199.         <minDesiredLead_AirDefence>0</minDesiredLead_AirDefence>
  200.         <maxDesiredLead_AirDefence>15</maxDesiredLead_AirDefence>
  201.         <lead_AirDefence>0.1</lead_AirDefence>
  202.         <fov_AirDefence>0.4</fov_AirDefence>
  203.         <mouseSpeed_AirDefence>1.5</mouseSpeed_AirDefence>
  204.         <yawFreedom_AirDefence>0.78539816339</yawFreedom_AirDefence>
  205.         <pitchFreedom_AirDefence>0.78539816339</pitchFreedom_AirDefence>
  206.         <minPitchFreedom_AirDefence>0.5</minPitchFreedom_AirDefence>   
  207.         <!--
  208.             '_Suo'
  209.         -->
  210.         <modelview_pitch_Suo> -0.78539816339 </modelview_pitch_Suo>
  211.         <modelview_yaw_Suo> 0 </modelview_yaw_Suo>
  212.         <minDesiredLead_Suo>0</minDesiredLead_Suo>
  213.         <maxDesiredLead_Suo>15</maxDesiredLead_Suo>
  214.         <lead_Suo>0.1</lead_Suo>
  215.         <fov_Suo>0.5</fov_Suo>
  216.         <yawFreedom_Suo>1.0471975512</yawFreedom_Suo>
  217.         <pitchFreedom_Suo>0.706858347</pitchFreedom_Suo>
  218.         <minPitchFreedom_Suo>0.706858347</minPitchFreedom_Suo>
  219.                 <!--
  220.             '_DeskWithPlanes',
  221.         -->
  222.         <modelview_pitch_DeskWithPlanes> -0.4 </modelview_pitch_DeskWithPlanes>
  223.         <modelview_yaw_DeskWithPlanes> 0 </modelview_yaw_DeskWithPlanes>
  224.         <minDesiredLead_DeskWithPlanes>0</minDesiredLead_DeskWithPlanes>
  225.         <maxDesiredLead_DeskWithPlanes>15</maxDesiredLead_DeskWithPlanes>
  226.         <lead_DeskWithPlanes>0.15</lead_DeskWithPlanes>
  227.         <fov_DeskWithPlanes>0.9</fov_DeskWithPlanes>
  228.         <mouseSpeed_DeskWithPlanes>3.5</mouseSpeed_DeskWithPlanes>
  229.         <yawFreedom_DeskWithPlanes>0.9</yawFreedom_DeskWithPlanes>
  230.         <pitchFreedom_DeskWithPlanes>0.25</pitchFreedom_DeskWithPlanes>
  231.         <minPitchFreedom_DeskWithPlanes>0.7</minPitchFreedom_DeskWithPlanes>
  232.         <!--
  233.             '_Fighter',
  234.         -->
  235.         <modelview_pitch_Fighter> -0.4 </modelview_pitch_Fighter>
  236.         <modelview_yaw_Fighter> 0 </modelview_yaw_Fighter>
  237.         <minDesiredLead_Fighter>0</minDesiredLead_Fighter>
  238.         <maxDesiredLead_Fighter>15</maxDesiredLead_Fighter>
  239.         <lead_Fighter>0.15</lead_Fighter>
  240.         <fov_Fighter>0.9</fov_Fighter>
  241.         <mouseSpeed_Fighter>3.5</mouseSpeed_Fighter>
  242.         <yawFreedom_Fighter>0.9</yawFreedom_Fighter>
  243.         <pitchFreedom_Fighter>0.25</pitchFreedom_Fighter>
  244.         <minPitchFreedom_Fighter>0.7</minPitchFreedom_Fighter>
  245.         <!--
  246.             '_Bomber',
  247.         -->
  248.         <modelview_pitch_Bomber> -0.4 </modelview_pitch_Bomber>
  249.         <modelview_yaw_Bomber> 0 </modelview_yaw_Bomber>
  250.         <minDesiredLead_Bomber>0</minDesiredLead_Bomber>
  251.         <maxDesiredLead_Bomber>15</maxDesiredLead_Bomber>
  252.         <lead_Bomber>0.15</lead_Bomber>
  253.         <fov_Bomber>0.9</fov_Bomber>
  254.         <mouseSpeed_Bomber>3.5</mouseSpeed_Bomber>
  255.         <yawFreedom_Bomber>0.9</yawFreedom_Bomber>
  256.         <pitchFreedom_Bomber>0.25</pitchFreedom_Bomber>
  257.         <minPitchFreedom_Bomber>0.7</minPitchFreedom_Bomber>
  258.         <!--
  259.             '_Tbomber',
  260.         -->
  261.         <modelview_pitch_Tbomber> -0.4 </modelview_pitch_Tbomber>
  262.         <modelview_yaw_Tbomber> 0 </modelview_yaw_Tbomber>
  263.         <minDesiredLead_Tbomber>0</minDesiredLead_Tbomber>
  264.         <maxDesiredLead_Tbomber>15</maxDesiredLead_Tbomber>
  265.         <lead_Tbomber>0.15</lead_Tbomber>
  266.         <fov_Tbomber>0.9</fov_Tbomber>
  267.         <mouseSpeed_Tbomber>3.5</mouseSpeed_Tbomber>
  268.         <yawFreedom_Tbomber>0.9</yawFreedom_Tbomber>
  269.         <pitchFreedom_Tbomber>0.25</pitchFreedom_Tbomber>
  270.         <minPitchFreedom_Tbomber>0.7</minPitchFreedom_Tbomber>
  271.     </misc>
  272.     <!-- misc settings overrides by ship (works for HangarCamera) -->
  273.     <overrides>
  274.         <PGSD102_V_25>
  275.             <flagDefaultYaw> 2.33 </flagDefaultYaw>
  276.         </PGSD102_V_25>
  277.     </overrides>
  278.     <animation>
  279.         <list>
  280.             <def>
  281.                 <id> default </id>
  282.                 <StandardAnimator>
  283.                     <time> 0.75 </time>
  284.                     <easing> CubicInOut </easing>
  285.                 </StandardAnimator>
  286.             </def>
  287.             <def>
  288.                 <id> SnakeTail_XS </id>
  289.                 <proc>
  290.                     <id> dynamicLift </id>
  291.                     <liftScale> 0.08 </liftScale>
  292.                     <minLift> 0 </minLift>
  293.                     <maxLift> 30 </maxLift>
  294.                     <controlPointOffset> 0.5 </controlPointOffset>
  295.                     <timeCoef> 15 </timeCoef>
  296.                     <minTime> 0.5 </minTime>
  297.                     <maxTime> 3.0 </maxTime>
  298.                 </proc>
  299.                 <StandardAnimator>
  300.                     <time>
  301.                         <procResult> dynamicLift_time </procResult>
  302.                     </time>
  303.                     <easing> CubicInOut </easing>
  304.                     <positionInterpolation>
  305.                         <QuadBezierInterpolator>
  306.                             <controlPoint>
  307.                                 <procResult> dynamicLift_controlPoint </procResult>
  308.                             </controlPoint>
  309.                         </QuadBezierInterpolator>
  310.                     </positionInterpolation>
  311.                 </StandardAnimator>
  312.             </def>
  313.             <def>
  314.                 <id> SnakeTail_SX </id>
  315.                 <proc>
  316.                     <id> dynamicLift </id>
  317.                     <liftScale> 0.08 </liftScale>
  318.                     <minLift> 0 </minLift>
  319.                     <maxLift> 30 </maxLift>
  320.                     <controlPointOffset> 0.5 </controlPointOffset>
  321.                     <timeCoef> 15 </timeCoef>
  322.                     <minTime> 0.5 </minTime>
  323.                     <maxTime> 3.0 </maxTime>
  324.                 </proc>
  325.                 <StandardAnimator>
  326.                     <time>
  327.                         <procResult> dynamicLift_time </procResult>
  328.                     </time>
  329.                     <easing> CubicInOut </easing>
  330.                     <positionInterpolation>
  331.                         <QuadBezierInterpolator>
  332.                             <controlPoint>
  333.                                 <procResult> dynamicLift_controlPoint </procResult>
  334.                             </controlPoint>
  335.                         </QuadBezierInterpolator>
  336.                     </positionInterpolation>
  337.                 </StandardAnimator>
  338.             </def>
  339.             <def>
  340.                 <id> SnakeTail_XX </id>
  341.                 <StandardAnimator>
  342.                     <time> 0.5 </time>
  343.                     <easing> CubicInOut </easing>
  344.                 </StandardAnimator>
  345.             </def>
  346.             <def>
  347.                 <id> SnakeTail_Xx </id>
  348.                 <StandardAnimator>
  349.                     <time> 0.75</time>
  350.                     <easing> CubicOut </easing>
  351.                 </StandardAnimator>
  352.             </def>
  353.             <def>
  354.                 <id> SnakeTail_xX </id>
  355.                 <StandardAnimator>
  356.                     <time> 0.75 </time>
  357.                     <easing> CubicOut </easing>
  358.                 </StandardAnimator>
  359.             </def>
  360.             <def>
  361.                 <id> SnakeTail_xx </id>
  362.                 <StandardAnimator>
  363.                     <time> 0.75 </time>
  364.                     <easing> CubicInOut </easing>
  365.                 </StandardAnimator>
  366.             </def>
  367.             <def>
  368.                 <id> SnakeTail_zoomin </id>
  369.                 <StandardAnimator>
  370.                     <time> 0.4 </time>
  371.                     <easing> CubicOut </easing>
  372.                 </StandardAnimator>
  373.             </def>
  374.             <def>
  375.                 <id> SnakeTail_zoomout </id>
  376.                 <StandardAnimator>
  377.                     <time> 0.75 </time>
  378.                     <easing> CubicOut </easing>
  379.                 </StandardAnimator>
  380.             </def>
  381.             <def>
  382.                 <id> SnakeTail_zoomraise </id>
  383.                 <enableScroll>1</enableScroll>
  384.                 <StandardAnimator>
  385.                     <time> 1.0 </time>
  386.                     <easing> Linear </easing>
  387.                 </StandardAnimator>
  388.             </def>
  389.             <def>
  390.                 <id> gotoShipModule </id>
  391.                 <DockModuleAnimator>
  392.                     <time> 2.0 </time>
  393.                     <easing> CubicInOut </easing>
  394.                     <easingBoardChange> QuadInOut </easingBoardChange>
  395.                 </DockModuleAnimator>
  396.             </def>
  397.             <def>
  398.                 <id> openLootBox </id>
  399.                 <OpenLootBoxAnimator>
  400.                     <time> 0.7 </time>
  401.                     <easing> CubicInOut </easing>
  402.                 </OpenLootBoxAnimator>
  403.             </def>
  404.             <def>
  405.                 <id> returnFromTrackingShell </id>
  406.                 <proc>
  407.                     <id> timeAccordingToDistance </id>
  408.                     <distCoef> 0.004 </distCoef>
  409.                     <minTime> 0.5 </minTime>
  410.                     <maxTime> 2.0 </maxTime>
  411.                 </proc>
  412.                 <proc>
  413.                     <id> timeAccordingToYawPitchDiff </id>
  414.                     <diffCoef> 0.75 </diffCoef>
  415.                     <minTime> 0.5 </minTime>
  416.                     <maxTime> 1 </maxTime>
  417.                 </proc>
  418.                 <!--
  419.                 <proc>
  420.                     <id> interimPoint </id>
  421.                     <tyaw> 1 </tyaw>
  422.                     <tpitch> 1 </tpitch>
  423.                     <tx> 0 </tx>
  424.                     <ty> 0 </ty>
  425.                     <tz> 0 </tz>
  426.                 </proc>
  427.                 <WaypointsAnimator>
  428.                     <waypoints>
  429.                         <procResult> interimPoint_waypoints </procResult>
  430.                     </waypoints>
  431.                     <easing> CubicInOut </easing>
  432.                     <animators>
  433.                         <StandardAnimator>
  434.                             <time> <procResult> timeAccordingToYawPitchDiff_time </procResult> </time>
  435.                             <easing> Linear </easing>
  436.                             <rotationInterpolation>
  437.                                 <YawPitchInterpolator></YawPitchInterpolator>
  438.                             </rotationInterpolation>
  439.                         </StandardAnimator>
  440.                         <StandardAnimator>
  441.                             <time> <procResult> timeAccordingToDistance_time </procResult> </time>
  442.                             <easing> Linear </easing>
  443.                             <rotationInterpolation>
  444.                                 <YawPitchInterpolator></YawPitchInterpolator>
  445.                             </rotationInterpolation>
  446.                         </StandardAnimator>
  447.                     </animators>
  448.                 </WaypointsAnimator>-->
  449.                 <CombineAnimator>
  450.                     <first>
  451.                         <StandardAnimator>
  452.                             <time> <procResult> timeAccordingToYawPitchDiff_time </procResult> </time>
  453.                             <easing> CubicInOut </easing>
  454.                             <rotationInterpolation>
  455.                                 <YawPitchInterpolator/>
  456.                             </rotationInterpolation>
  457.                         </StandardAnimator>
  458.                     </first>
  459.                     <second>
  460.                         <StandardAnimator>
  461.                             <time> <procResult> timeAccordingToDistance_time </procResult> </time>
  462.                             <easing> CubicInOut </easing>
  463.                             <rotationInterpolation>
  464.                                 <YawPitchInterpolator/>
  465.                             </rotationInterpolation>
  466.                         </StandardAnimator>
  467.                     </second>
  468.                     <positionByFirst> false </positionByFirst>
  469.                     <rotationByFirst> true </rotationByFirst>
  470.                     <fovByFirst> true </fovByFirst>    
  471.                     <delay> 0.5 </delay>   
  472.                 </CombineAnimator>
  473.             </def>
  474.             <def>
  475.                 <id> gotoTrackPlane </id>
  476.                 <StandardAnimator>
  477.                     <time> 2.0 </time>
  478.                     <easing> CubicOut </easing>
  479.                     <rotationInterpolation>
  480.                         <YawPitchInterpolator/>
  481.                     </rotationInterpolation>
  482.                 </StandardAnimator>
  483.             </def>
  484.             <def>
  485.                 <id> gotoTacticalMap </id>
  486.                 <proc>
  487.                     <id> interimPoint </id>
  488.                     <tyaw> 0.3 </tyaw>
  489.                     <tpitch> 1 </tpitch>
  490.                     <tx> 1 </tx>
  491.                     <ty> 1 </ty>
  492.                     <tz> 0.5 </tz>
  493.                 </proc>
  494.                 <WaypointsAnimator>
  495.                     <waypoints>
  496.                         <procResult> interimPoint_waypoints </procResult>
  497.                     </waypoints>
  498.                     <easing> QuadInOut </easing>
  499.                     <animators>
  500.                         <StandardAnimator>
  501.                             <time> 0.3 </time>
  502.                             <easing> Linear </easing>
  503.                             <rotationInterpolation>
  504.                                 <YawPitchInterpolator/>
  505.                             </rotationInterpolation>
  506.                         </StandardAnimator>
  507.                         <StandardAnimator>
  508.                             <time> 0.9 </time>
  509.                             <easing> QuadOut </easing>
  510.                             <rotationInterpolation>
  511.                                 <YawPitchInterpolator/>
  512.                             </rotationInterpolation>
  513.                         </StandardAnimator>
  514.                     </animators>
  515.                 </WaypointsAnimator>
  516.             </def>
  517.             <def>
  518.                 <id> switchBetweenShipsInDeathMode </id>
  519.                 <proc>
  520.                     <id> dynamicLift </id>
  521.                     <liftScale> 0.08 </liftScale>
  522.                     <minLift> 0 </minLift>
  523.                     <maxLift> 30 </maxLift>
  524.                     <controlPointOffset> 0.5 </controlPointOffset>
  525.                     <timeCoef> 15 </timeCoef>
  526.                     <minTime> 0.5 </minTime>
  527.                     <maxTime> 2.0 </maxTime>
  528.                 </proc>
  529.                 <StandardAnimator>
  530.                     <time>
  531.                         <procResult> dynamicLift_time </procResult>
  532.                     </time>
  533.                     <easing> CubicInOut </easing>
  534.                     <positionInterpolation>
  535.                         <QuadBezierInterpolator>
  536.                             <controlPoint>
  537.                                 <procResult> dynamicLift_controlPoint </procResult>
  538.                             </controlPoint>
  539.                         </QuadBezierInterpolator>
  540.                     </positionInterpolation>
  541.                 </StandardAnimator>
  542.             </def>
  543.         </list>
  544.         <modeSwitches>
  545.             <switch>
  546.                 <from> * </from>
  547.                 <to> * </to>
  548.                 <animation> default </animation>
  549.             </switch>
  550.             <switch>
  551.                 <from> * </from>
  552.                 <to> map </to>
  553.                 <animation> gotoTacticalMap </animation>
  554.             </switch>
  555.             <switch>
  556.                 <from> shell </from>
  557.                 <to> * </to>
  558.                 <animation> returnFromTrackingShell </animation>
  559.             </switch>
  560.             <switch>
  561.                 <from> shell </from>
  562.                 <to> shell </to>
  563.                 <animation> default </animation>
  564.             </switch>
  565.             <switch>
  566.                 <from> * </from>
  567.                 <to> plane </to>
  568.                 <animation> gotoTrackPlane </animation>
  569.             </switch>
  570.             <switch>
  571.                 <from> dock </from>
  572.                 <to> dockModule </to>
  573.                 <animation> gotoShipModule </animation>
  574.             </switch>
  575.         </modeSwitches>
  576.     </animation>
  577.     <modes>
  578.         <airplane> <!-- came 2.2 -->
  579.             <controller>mc07b0270:AirplaneController</controller>
  580.             <defaultKey>30</defaultKey>
  581.             <defaults>
  582.                 <ignoreTerrain> 0 </ignoreTerrain>
  583.                 <pitchOverflowDecayRate> 0.95 </pitchOverflowDecayRate>
  584.                 <maxPitchCoef> 0.5 </maxPitchCoef>
  585.                 <sensY>0.5</sensY>
  586.                 <airplaneRTPC> 1 </airplaneRTPC>           
  587.             </defaults>
  588.             <barrierKey>30</barrierKey>
  589.             <barrierKey>70</barrierKey>
  590.             <barrierKey>100</barrierKey>
  591.             <barrierKey>150</barrierKey>
  592.             <states>
  593.                 <state>
  594.                     <key>0</key>
  595.                     <pitch> -45 </pitch>
  596.                     <sensitivity> 45 </sensitivity>
  597.                     <cursorSensitivityCoef> 1.0 </cursorSensitivityCoef>
  598.                     <keysSensitivityCoef> 1.0 </keysSensitivityCoef>
  599.                     <lead> 60 </lead>
  600.                     <forwardResistance>5</forwardResistance>
  601.                     <nearPlane>10</nearPlane>
  602.                 </state>
  603.                 <state>
  604.                     <key>30</key>
  605.                     <pitch> -60 </pitch>
  606.                     <sensitivity> 60 </sensitivity>
  607.                     <cursorSensitivityCoef> 1.75 </cursorSensitivityCoef>
  608.                     <keysSensitivityCoef> 1.75 </keysSensitivityCoef>
  609.                     <lead> 102 </lead>
  610.                     <nearPlane>10</nearPlane>
  611.                 </state>
  612.                 <state>
  613.                     <key>70</key>
  614.                     <pitch> -80 </pitch>
  615.                     <sensitivity> 90 </sensitivity>
  616.                     <cursorSensitivityCoef> 1.75 </cursorSensitivityCoef>
  617.                     <keysSensitivityCoef> 1.75 </keysSensitivityCoef>
  618.                     <lead> 158 </lead>
  619.                     <nearPlane>10</nearPlane>
  620.                 </state>
  621.                 <state>
  622.                     <key>100</key>
  623.                     <pitch> -89 </pitch>
  624.                     <sensitivity> 100 </sensitivity>                        <!-- базовая чувствительность -->
  625.                     <cursorSensitivityCoef> 3.5 </cursorSensitivityCoef>    <!-- скорость вращения при помощи курсора -->
  626.                     <keysSensitivityCoef> 4.5 </keysSensitivityCoef>            <!-- скорость вращения при помощи клавиш -->
  627.                     <lead> 200 </lead>
  628.                     <backwardResistance>8</backwardResistance>
  629.                     <nearPlane>10</nearPlane>
  630.                     <ignoreTerrain>0</ignoreTerrain>
  631.                 </state>
  632.                 <state>
  633.                     <key>150</key>
  634.                     <pitch> -89 </pitch>
  635.                     <sensitivity> 100 </sensitivity>
  636.                     <cursorSensitivityCoef> 7.0 </cursorSensitivityCoef>
  637.                     <keysSensitivityCoef> 9.0 </keysSensitivityCoef>
  638.                     <lead> 400 </lead>
  639.                     <backwardResistance>8</backwardResistance>
  640.                     <nearPlane>10</nearPlane>
  641.                     <ignoreTerrain>1</ignoreTerrain>
  642.                 </state>
  643.                 <state>
  644.                     <key>200</key>
  645.                     <pitch> -89 </pitch>
  646.                     <sensitivity> 100 </sensitivity>
  647.                     <cursorSensitivityCoef> 10.0 </cursorSensitivityCoef>
  648.                     <keysSensitivityCoef> 12.0 </keysSensitivityCoef>
  649.                     <lead> 600 </lead>
  650.                     <backwardResistance>8</backwardResistance>
  651.                     <nearPlane>10</nearPlane>
  652.                     <ignoreTerrain>1</ignoreTerrain>
  653.                 </state>
  654.             </states>
  655.         </airplane>
  656.         <map> <!-- came 2.2 -->
  657.             <controller>m1eb663a9:TacticalMapController</controller>
  658.             <defaultKey>0</defaultKey>
  659.             <states>
  660.                 <state>
  661.                     <fov> 2 </fov>
  662.                     <sizeInPixels> 0 </sizeInPixels> <!-- set to zero if relatively sized map is desirable -->
  663.                     <sizeInScreenPercents> 0.9 </sizeInScreenPercents>
  664.                     <mapViewZ> 0.03 </mapViewZ>
  665.                     <offsetZ> -0.03 </offsetZ>
  666.                     <nearPlane>50</nearPlane>
  667.                     <farPlane>5000</farPlane>
  668.                 </state>
  669.             </states>
  670.         </map>
  671.         <shell> <!-- came 2.2 -->
  672.             <controller>mf12e274e:TrackingController</controller>
  673.             <defaultKey>0</defaultKey>
  674.             <defaults>
  675.                 <minDesiredLead>3.1</minDesiredLead>
  676.                 <maxDesiredLead>14</maxDesiredLead>
  677.                 <fov>0.74</fov>
  678.                 <nearPlane>0.45</nearPlane>
  679.                 <yawFreedom>0.6</yawFreedom>
  680.                 <pitchFreedom>0.4</pitchFreedom>
  681.                 <minPitchFreedom>0.6</minPitchFreedom>
  682.                 <collideOwnVehicle>1</collideOwnVehicle>
  683.             </defaults>
  684.             <states>
  685.                 <state>
  686.                     <key>0</key>
  687.                     <lead>0</lead>
  688.                 </state>
  689.                 <state>
  690.                     <key>100</key>
  691.                     <lead>1</lead>
  692.                 </state>
  693.                 <state>
  694.                     <key>200</key>
  695.                     <lead>4</lead>
  696.                 </state>
  697.             </states>
  698.         </shell>
  699.         <plane> <!-- came 2.2 -->
  700.             <controller>mf12e274e:TrackingController</controller>
  701.             <defaultKey>0</defaultKey>
  702.             <defaults>
  703.                 <minDesiredLead>3</minDesiredLead>
  704.                 <maxDesiredLead>45</maxDesiredLead>
  705.                 <sensZ>1.2</sensZ>
  706.                 <fov>0.74</fov>
  707.                 <nearPlane>1.0</nearPlane>
  708.                 <minPitchFreedom>1.4</minPitchFreedom>
  709.                 <freeYaw>1</freeYaw>
  710.                 <freePitch>0</freePitch>
  711.                 <dontTrackDirection>0</dontTrackDirection>
  712.                 <minHeight>2.0</minHeight>
  713.             </defaults>
  714.             <states>
  715.                 <state>
  716.                     <forwardResistance>0.5</forwardResistance> 
  717.                     <key>0</key>
  718.                     <lead>0</lead>
  719.                 </state>
  720.                 <state>
  721.                     <key>50</key>
  722.                     <lead>0.4</lead>
  723.                 </state>
  724.                 <state>
  725.                     <key>100</key>
  726.                     <lead>1.0</lead>
  727.                     <backwardResistance>0.5</backwardResistance>
  728.                 </state>
  729.                 <state>
  730.                     <key>200</key>
  731.                     <lead>2.0</lead>
  732.                     <backwardResistance>0.5</backwardResistance>
  733.                 </state>
  734.             </states>
  735.         </plane>
  736.         <dockFlags>
  737.             <controller>m44d2622c:DockEllipseController</controller>
  738.             <defaultKey>0</defaultKey>
  739.             <defaults>
  740.                 <pitchInfluenceOnHeight>2</pitchInfluenceOnHeight>
  741.                 <sensitivityXKeys>5</sensitivityXKeys>
  742.                 <moveSmoothing>0.87</moveSmoothing>
  743.                 <bowSternElongation>0.4</bowSternElongation>
  744.                 <minPitch>-55</minPitch>
  745.                 <maxPitch>15</maxPitch>
  746.                 <lead>1</lead>
  747.             </defaults>
  748.             <states>
  749.                 <state>
  750.                     <key>0</key>
  751.                     <lead>1</lead>
  752.                     <maxPitch>40</maxPitch>
  753.                     <forwardResistance>0.3</forwardResistance>
  754.                 </state>
  755.                 <state>
  756.                     <key>100</key>
  757.                     <lead>3</lead>
  758.                     <maxPitch>33</maxPitch>
  759.                     <backwardResistance>0.25</backwardResistance>
  760.                 </state>
  761.             </states>
  762.         </dockFlags>
  763.         <dockEnsign>
  764.                 <controller>m44d2622c:DockEllipseController</controller>
  765.             <defaultKey>0</defaultKey>
  766.             <defaults>
  767.                 <pitchInfluenceOnHeight>2</pitchInfluenceOnHeight>
  768.                 <sensitivityXKeys>5</sensitivityXKeys>
  769.                 <moveSmoothing>0.87</moveSmoothing>
  770.                 <bowSternElongation>0.4</bowSternElongation>
  771.                 <minPitch>-55</minPitch>
  772.                 <maxPitch>15</maxPitch>
  773.                 <lead>1</lead>
  774.             </defaults>
  775.             <states>
  776.                 <state>
  777.                     <key>0</key>
  778.                     <lead>1</lead>
  779.                     <maxPitch>40</maxPitch>
  780.                     <forwardResistance>0.3</forwardResistance>
  781.                 </state>
  782.                 <state>
  783.                     <key>100</key>
  784.                     <lead>3</lead>
  785.                     <maxPitch>33</maxPitch>
  786.                     <backwardResistance>0.25</backwardResistance>
  787.                 </state>
  788.             </states>
  789.         </dockEnsign>
  790.         <dock>
  791.             <controller>m44d2622c:DockEllipseController</controller>
  792.             <defaultKey>0</defaultKey>
  793.             <defaults>
  794.                 <minPitch>-55</minPitch>
  795.                 <maxPitch>5</maxPitch>
  796.                 <pitchInfluenceOnHeight>2</pitchInfluenceOnHeight>
  797.                 <sensitivityXKeys>5</sensitivityXKeys>
  798.                 <moveSmoothing>0.87</moveSmoothing>
  799.                 <bowSternElongation>0.4</bowSternElongation>
  800.             </defaults>
  801.             <states>
  802.                 <state>
  803.                     <key>0</key>
  804.                     <lead>1</lead>
  805.                     <forwardResistance>0.3</forwardResistance>
  806.                 </state>
  807.                 <state>
  808.                     <key>100</key>
  809.                     <lead>5</lead>
  810.                     <backwardResistance>0.3</backwardResistance>
  811.                 </state>
  812.             </states>
  813.         </dock>
  814.         <dockModule> <!-- came 2.2 -->
  815.             <controller>mf12e274e:TrackingController</controller>
  816.             <defaultKey>0</defaultKey>
  817.             <states>
  818.                 <state>
  819.                     <key>0</key>
  820.                     <minDesiredLead>0</minDesiredLead>
  821.                     <maxDesiredLead>15</maxDesiredLead>
  822.                     <lead>0.1</lead>
  823.                     <fov>0.5</fov>
  824.                     <yawFreedom>1.0471975512</yawFreedom>
  825.                     <pitchFreedom>0.706858347</pitchFreedom>
  826.                     <minPitchFreedom>0.706858347</minPitchFreedom>
  827.                     <forwardResistance>0.3</forwardResistance>
  828.                     <backwardResistance>0.3</backwardResistance>
  829.                 </state>
  830.             </states>
  831.         </dockModule>
  832.         <dockLootBox>
  833.             <controller>LootBox</controller>
  834.             <defaultKey>0</defaultKey>
  835.             <states>
  836.                 <state>
  837.                     <key>0</key>
  838.                     <minDesiredLead>4</minDesiredLead>
  839.                     <maxDesiredLead>4</maxDesiredLead>
  840.                     <lead>4</lead>
  841.                     <yawFreedom>0.0</yawFreedom>
  842.                     <pitchFreedom>0.0</pitchFreedom>
  843.                     <minPitchFreedom>0.0</minPitchFreedom>
  844.                 </state>
  845.             </states>
  846.         </dockLootBox>
  847.         <free> <!-- free Camera -->
  848.             <controller>m1aac2018:FreeController</controller>
  849.             <externConfig>freeCamera</externConfig>
  850.         </free>
  851.         <snake_tail>
  852.             <controller>m3e82813f:SnakeTailController</controller>
  853.             <defaultKey>180</defaultKey>
  854.             <defaults>
  855.                 <fovBase>50</fovBase>
  856.             </defaults>
  857.             <barrierKey>180</barrierKey>
  858.             <barrierKey>120</barrierKey>
  859.             <barrierKey>100</barrierKey>
  860.             <barrierKey>65</barrierKey>
  861.             <barrierKey>25</barrierKey>
  862.             <barrierKey>12</barrierKey>
  863.             <barrierKey>0</barrierKey>
  864.             <flyThrough> <minKey>0</minKey> <maxKey>12</maxKey> </flyThrough>
  865.             <flyThrough> <minKey>12</minKey> <maxKey>25</maxKey> </flyThrough>
  866.             <flyThrough> <minKey>25</minKey> <maxKey>65</maxKey> </flyThrough>
  867.             <flyThrough> <minKey>65</minKey> <maxKey>100</maxKey> </flyThrough>
  868.             <flyThrough> <minKey>100</minKey> <maxKey>120</maxKey> </flyThrough>
  869.             <flyThrough> <minKey>120</minKey> <maxKey>180</maxKey> </flyThrough>
  870.             <states>
  871.                 <state>
  872.                     <key>0</key>
  873.                     <zoom>12</zoom>
  874.                     <smartZoomAngle> 1.0 </smartZoomAngle>
  875.                     <smartZoomAngleMax> 8.0 </smartZoomAngleMax>
  876.                     <nearPlane>0.1</nearPlane>
  877.                     <minPitch>-2</minPitch>
  878.                     <maxPitch>20</maxPitch>
  879.                     <forwardResistance>4</forwardResistance>
  880.                 </state>
  881.                 <state>
  882.                     <key>25</key>
  883.                     <zoom>6</zoom>
  884.                     <smartZoomAngle> 0.7 </smartZoomAngle>
  885.                     <smartZoomAngleMax> 2.0 </smartZoomAngleMax>
  886.                     <nearPlane>0.1</nearPlane>
  887.                     <minPitch>-2</minPitch>
  888.                     <maxPitch>20</maxPitch>
  889.                 </state>
  890.                 <state>
  891.                     <key>65</key>
  892.                     <zoom>3.5</zoom>
  893.                     <nearPlane>0.1</nearPlane>
  894.                     <minPitch>-10</minPitch>
  895.                     <maxPitch>20</maxPitch>
  896.                 </state>
  897.                 <state>
  898.                     <key>100</key>
  899.                     <zoom>2</zoom>
  900.                     <nearPlane>0.1</nearPlane>
  901.                     <minPitch>-10</minPitch>
  902.                     <maxPitch>20</maxPitch>
  903.                     <forwardResistance>0.2</forwardResistance>
  904.                 </state>
  905.                 <state>
  906.                     <key>120</key>
  907.                     <zoom>1.0</zoom>
  908.                     <minPitch>-20</minPitch>
  909.                     <maxPitch>30</maxPitch>
  910.                     <nearPlane>0.1</nearPlane>
  911.                     <coeffRocking>1.0</coeffRocking>
  912.                     <forwardResistance>0.1</forwardResistance>
  913.                     <backwardResistance>0.1</backwardResistance>
  914.                 </state>
  915.                 <state>
  916.                     <key>180</key>
  917.                     <zoom>1.0</zoom>
  918.                     <nearPlane>0.1</nearPlane>
  919.                     <minPitch>-45</minPitch>
  920.                     <maxPitch>35</maxPitch>
  921.                     <coeffRocking>-3</coeffRocking>
  922.                     <backwardResistance>0.5</backwardResistance>
  923.                 </state>
  924.                 <state>
  925.                     <key>240</key>
  926.                     <zoom>0.6</zoom>
  927.                     <fov>0.6</fov>
  928.                     <nearPlane>0.1</nearPlane>
  929.                     <minPitch>-45</minPitch>
  930.                     <maxPitch>35</maxPitch>
  931.                     <coeffRocking>-5</coeffRocking>
  932.                     <backwardResistance>0.5</backwardResistance>
  933.                 </state>
  934.             </states>
  935.         </snake_tail>
  936.         <spectator> <!-- came 2.2 -->
  937.             <controller>m71bd226e:SpectatorController</controller>
  938.             <defaultKey>30</defaultKey>
  939.             <defaults>
  940.                 <fovBase>50</fovBase>
  941.             </defaults>
  942.             <states>
  943.                 <state>
  944.                     <key>0</key>
  945.                     <height> 4 </height>
  946.                     <radius> 4 </radius>
  947.                     <nearPlane>1</nearPlane>
  948.                     <forwardResistance>0.5</forwardResistance>
  949.                     <keysSensitivityCoeff> 0.5 </keysSensitivityCoeff>
  950.                     <pitchMin>-35</pitchMin>
  951.                     <pitchMax>35</pitchMax>
  952.                 </state>
  953.                 <state>
  954.                     <key>50</key>
  955.                     <height> 20 </height>
  956.                     <radius> 20 </radius>
  957.                     <nearPlane>1</nearPlane>
  958.                     <keysSensitivityCoeff> 0.8 </keysSensitivityCoeff>
  959.                     <pitchMin>-35</pitchMin>
  960.                     <pitchMax>35</pitchMax>
  961.                 </state>
  962.                 <state>
  963.                     <key>200</key>
  964.                     <height> 200 </height>
  965.                     <radius> 100 </radius>
  966.                     <nearPlane>10</nearPlane>
  967.                     <backwardResistance>5</backwardResistance>
  968.                     <keysSensitivityCoeff> 2.0 </keysSensitivityCoeff>
  969.                     <pitchMin>-60</pitchMin>
  970.                     <pitchMax>-10</pitchMax>
  971.                 </state>
  972.             </states>
  973.         </spectator>
  974.     </modes>
  975. </camerasConfig.xml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement