jeep_prompts.tscn 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. [gd_scene load_steps=22 format=3 uid="uid://sogwc56hcxlr"]
  2. [ext_resource type="Script" path="res://component/ui/input_prompts/prompt_container.gd" id="1_vo7iq"]
  3. [ext_resource type="Texture2D" uid="uid://b1e23gj3k1klg" path="res://addons/input_prompts/icons/xbox/a.png" id="2_xdg6b"]
  4. [ext_resource type="Script" path="res://addons/input_prompts/action_prompt/action_prompt.gd" id="3_ql8fw"]
  5. [ext_resource type="Texture2D" uid="uid://c6cv5phl3gvvn" path="res://addons/input_prompts/icons/xbox/right_trigger.png" id="4_akj72"]
  6. [ext_resource type="Texture2D" uid="uid://dx1u47qkx4in8" path="res://addons/input_prompts/icons/xbox/left_trigger.png" id="5_c14bx"]
  7. [ext_resource type="Texture2D" uid="uid://dv0r0pf7dwijj" path="res://addons/input_prompts/icons/xbox/b.png" id="6_04hns"]
  8. [ext_resource type="Texture2D" uid="uid://cah6r1q5x2lte" path="res://addons/input_prompts/icons/generic/left_stick_left.png" id="7_w11vb"]
  9. [ext_resource type="Texture2D" uid="uid://c03r3n0nfrjck" path="res://addons/input_prompts/icons/generic/left_stick_right.png" id="8_m6wya"]
  10. [sub_resource type="InputEventKey" id="InputEventKey_jm5e5"]
  11. device = -1
  12. physical_keycode = 32
  13. unicode = 32
  14. [sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_wj4uo"]
  15. device = -1
  16. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_8t453"]
  17. device = -1
  18. axis = 5
  19. axis_value = 1.0
  20. [sub_resource type="InputEventKey" id="InputEventKey_07cvw"]
  21. device = -1
  22. physical_keycode = 4194320
  23. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_pn7hm"]
  24. device = -1
  25. axis = 4
  26. axis_value = 1.0
  27. [sub_resource type="InputEventKey" id="InputEventKey_7j6ii"]
  28. device = -1
  29. physical_keycode = 4194322
  30. [sub_resource type="InputEventMouseButton" id="InputEventMouseButton_5tuqs"]
  31. device = -1
  32. button_mask = 1
  33. position = Vector2(95, 20)
  34. global_position = Vector2(99, 63)
  35. button_index = 1
  36. pressed = true
  37. [sub_resource type="InputEventKey" id="InputEventKey_y1gwo"]
  38. device = -1
  39. physical_keycode = 69
  40. unicode = 46
  41. [sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_n7ufn"]
  42. device = -1
  43. button_index = 1
  44. [sub_resource type="InputEventKey" id="InputEventKey_q4jus"]
  45. device = -1
  46. physical_keycode = 65
  47. unicode = 97
  48. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_oji7s"]
  49. device = -1
  50. axis_value = -1.0
  51. [sub_resource type="InputEventKey" id="InputEventKey_fi2er"]
  52. device = -1
  53. physical_keycode = 68
  54. unicode = 101
  55. [sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_j1j4m"]
  56. device = -1
  57. axis_value = 1.0
  58. [node name="JeepPrompts" type="VBoxContainer"]
  59. offset_left = 193.0
  60. offset_right = 193.0
  61. offset_bottom = 100.0
  62. script = ExtResource("1_vo7iq")
  63. [node name="AcceleratePrompt" type="HBoxContainer" parent="."]
  64. layout_mode = 2
  65. script = ExtResource("1_vo7iq")
  66. [node name="AccelerateLabel" type="Label" parent="AcceleratePrompt"]
  67. layout_mode = 2
  68. theme_override_font_sizes/font_size = 34
  69. text = "Accelerate"
  70. [node name="AccelerateMaxActionPrompt" type="TextureRect" parent="AcceleratePrompt"]
  71. custom_minimum_size = Vector2(100, 100)
  72. layout_mode = 2
  73. texture = ExtResource("2_xdg6b")
  74. stretch_mode = 5
  75. script = ExtResource("3_ql8fw")
  76. action = "main"
  77. icon = 0
  78. events = Array[InputEvent]([SubResource("InputEventKey_jm5e5"), SubResource("InputEventJoypadButton_wj4uo")])
  79. [node name="AccelerateAnalogActionPrompt" type="TextureRect" parent="AcceleratePrompt"]
  80. custom_minimum_size = Vector2(100, 100)
  81. layout_mode = 2
  82. texture = ExtResource("4_akj72")
  83. stretch_mode = 5
  84. script = ExtResource("3_ql8fw")
  85. action = "analog_main"
  86. icon = 0
  87. events = Array[InputEvent]([SubResource("InputEventJoypadMotion_8t453"), SubResource("InputEventKey_07cvw")])
  88. [node name="ReversePrompt" type="HBoxContainer" parent="."]
  89. layout_mode = 2
  90. script = ExtResource("1_vo7iq")
  91. [node name="ReverseLabel" type="Label" parent="ReversePrompt"]
  92. layout_mode = 2
  93. theme_override_font_sizes/font_size = 34
  94. text = "Reverse
  95. "
  96. [node name="ReverseActionPrompt" type="TextureRect" parent="ReversePrompt"]
  97. custom_minimum_size = Vector2(100, 100)
  98. layout_mode = 2
  99. texture = ExtResource("5_c14bx")
  100. stretch_mode = 5
  101. script = ExtResource("3_ql8fw")
  102. action = "analog_secondary"
  103. icon = 0
  104. events = Array[InputEvent]([SubResource("InputEventJoypadMotion_pn7hm"), SubResource("InputEventKey_7j6ii")])
  105. [node name="BreakPrompt" type="HBoxContainer" parent="."]
  106. layout_mode = 2
  107. script = ExtResource("1_vo7iq")
  108. [node name="BreakLabel" type="Label" parent="BreakPrompt"]
  109. layout_mode = 2
  110. theme_override_font_sizes/font_size = 34
  111. text = "Break
  112. "
  113. [node name="BreakActionPrompt" type="TextureRect" parent="BreakPrompt"]
  114. custom_minimum_size = Vector2(100, 100)
  115. layout_mode = 2
  116. texture = ExtResource("6_04hns")
  117. stretch_mode = 5
  118. script = ExtResource("3_ql8fw")
  119. action = "stop"
  120. icon = 0
  121. events = Array[InputEvent]([SubResource("InputEventMouseButton_5tuqs"), SubResource("InputEventKey_y1gwo"), SubResource("InputEventJoypadButton_n7ufn")])
  122. [node name="SteerPrompt" type="HBoxContainer" parent="."]
  123. layout_mode = 2
  124. script = ExtResource("1_vo7iq")
  125. [node name="SteerLabel" type="Label" parent="SteerPrompt"]
  126. layout_mode = 2
  127. theme_override_font_sizes/font_size = 34
  128. text = "Steer"
  129. [node name="SteerLeftActionPrompt" type="TextureRect" parent="SteerPrompt"]
  130. custom_minimum_size = Vector2(100, 100)
  131. layout_mode = 2
  132. texture = ExtResource("7_w11vb")
  133. stretch_mode = 5
  134. script = ExtResource("3_ql8fw")
  135. action = "move_left"
  136. icon = 0
  137. events = Array[InputEvent]([SubResource("InputEventKey_q4jus"), SubResource("InputEventJoypadMotion_oji7s")])
  138. [node name="SteerRightActionPrompt" type="TextureRect" parent="SteerPrompt"]
  139. custom_minimum_size = Vector2(100, 100)
  140. layout_mode = 2
  141. texture = ExtResource("8_m6wya")
  142. stretch_mode = 5
  143. script = ExtResource("3_ql8fw")
  144. action = "move_right"
  145. icon = 0
  146. events = Array[InputEvent]([SubResource("InputEventKey_fi2er"), SubResource("InputEventJoypadMotion_j1j4m")])