UIComponentGameViewJoypad.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- *********************************************************************** -->
  3. <!-- * Moves the Tactical View based on joypad input * -->
  4. <!-- *********************************************************************** -->
  5. <!--
  6. * RightStickMultiplier
  7. This affects the speed of camera rotation.
  8. * KindOfExemptFromAttraction
  9. List the kind of types that we don't want the cursor "magnetically" attracted to.
  10. * MinAttractDistance
  11. The distance in screen pixels where we start feeling the force of attraction when fully zoomed out.
  12. This value is multiplied by the MagnetismTuning_XXX_Distance value (where XX is either LOW, MEDIUM, or HIGH).
  13. * MinAttractDistanceZoomed
  14. The distance in screen pixels where we start feeling the force of attraction when fully zoomed in.
  15. This value is multiplied by the MagnetismTuning_XXX_Distance value (where XX is either LOW, MEDIUM, or HIGH).
  16. * MaxAttractiveForce - unknown units
  17. The maximum strength of the "magnetic" attraction between the reticle and its nearest on-screen unit.
  18. This value is multiplied by the MagnetismTuning_XXX_Strength value (where XX is either LOW, MEDIUM, or HIGH).
  19. * ScrollSpeedMin - Unknown units
  20. This affects the minimum scrolling speed of the camera/reticle when the right trigger is NOT pulled.
  21. * ScrollSpeedMax - Unknown units
  22. This affects the maximum scrolling speed of the camera/reticle when the right trigger is NOT pulled.
  23. * ScrollSpeedMinCutoff
  24. Minimum stick deflection required to initiate scrolling at ScrollSpeedMin.
  25. 0.0 = no deflection; 1.0 = full deflection
  26. * ScrollSpeedMaxCutoff
  27. Maximum stick deflection before the scrolling speed is clamped at ScrollSpeedMax.
  28. 0.0 = no deflection; 1.0 = full deflection
  29. * MagnetismTuning_LOW_Strength
  30. When the player's preferences are set to use "Low" magnetism, this value is multiplied
  31. by the computed force between the reticle and the nearest unit. MEDIUM is equal to 1.0.
  32. * MagnetismTuning_HIGH_Strength
  33. When the player's preferences are set to use "High" magnetism, this value is multiplied
  34. by the computed force between the reticle and the nearest unit. MEDIUM is equal to 1.0.
  35. * MagnetismTuning_LOW_Distance
  36. When the player's preferences are set to use "Low" magnetism, this value is multiplied
  37. by the attraction distance. MEDIUM is equal to 1.0, so this value should be less than one.
  38. * MagnetismTuning_HIGH_Distance
  39. When the player's preferences are set to use "High" magnetism, this value is multiplied
  40. by the attraction distance. MEDIUM is equal to 1.0, so this value should be greater than one.
  41. -->
  42. <UIComponentGameViewJoypad xmlns="uri:ea.com:eala:asset"
  43. Priority="220"
  44. RightStickMultiplier="0.15"
  45. KindOfExemptFromAttraction="STRUCTURE BASE_FOUNDATION"
  46. MinAttractDistance="75.0"
  47. MinAttractDistanceZoomed="90.0"
  48. MaxAttractiveForce="80.0"
  49. ScrollSpeedMin="0.1"
  50. ScrollSpeedMax="25.0"
  51. ScrollSpeedMinCutoff="0.05"
  52. ScrollSpeedMaxCutoff="0.99"
  53. InternalZoomInValue="0.625"
  54. InternalZoomOutValue="1.2"
  55. MagnetismTuning_LOW_Strength="0.5"
  56. MagnetismTuning_LOW_Distance="0.5"
  57. MagnetismTuning_HIGH_Strength="1.8"
  58. MagnetismTuning_HIGH_Distance="1.5"
  59. RapidScrollMultiplier="2.0">
  60. <MagnetismObjectFilter
  61. Rule="ALL"
  62. Relationship="ENEMIES SAME_PLAYER"
  63. Include="CRATE FS_BASE_DEFENSE"
  64. Exclude="STRUCTURE BASE_FOUNDATION">
  65. <!-- Add GameObject names here if you want magnetism to latch onto these things like below. -->
  66. <!-- Base Defenses -->
  67. <IncludeThing>SovietBaseDefenseGround</IncludeThing>
  68. <IncludeThing>SovietBaseDefenseAdvanced</IncludeThing>
  69. <IncludeThing>SovietBaseDefenseAir</IncludeThing>
  70. <IncludeThing>SovietBunker</IncludeThing>
  71. <IncludeThing>JapanBaseDefense</IncludeThing>
  72. <IncludeThing>JapanBaseDefenseAdvanced</IncludeThing>
  73. <IncludeThing>AlliedBaseDefense</IncludeThing>
  74. <IncludeThing>AlliedBaseDefenseAdvanced</IncludeThing>
  75. </MagnetismObjectFilter>
  76. </UIComponentGameViewJoypad>