deutscher_Adler

Untitled

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