Public repository for MUR pre alpha
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.2 KiB

  1. [gd_scene load_steps=14 format=2]
  2. [ext_resource path="res://scripts/player/human_controls.gd" type="Script" id=1]
  3. [ext_resource path="res://scripts/screen_capture.gd" type="Script" id=2]
  4. [ext_resource path="res://assets/icons/save.png" type="Texture" id=3]
  5. [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=4]
  6. [ext_resource path="res://assets/fonts/Kenney Future Narrow.ttf" type="DynamicFontData" id=5]
  7. [ext_resource path="res://scenes/menus/IngameMenu.tscn" type="PackedScene" id=6]
  8. [ext_resource path="res://scripts/player/human_inventory.gd" type="Script" id=7]
  9. [ext_resource path="res://scenes/road/roadStraightLong.tscn" type="PackedScene" id=8]
  10. [ext_resource path="res://scripts/player/inventory_preview.gd" type="Script" id=9]
  11. [sub_resource type="StyleBoxFlat" id=4]
  12. bg_color = Color( 1, 0, 0, 1 )
  13. [sub_resource type="ViewportTexture" id=1]
  14. viewport_path = NodePath("inventory/viewport")
  15. [sub_resource type="DynamicFont" id=2]
  16. size = 14
  17. font_data = ExtResource( 5 )
  18. [sub_resource type="DynamicFont" id=3]
  19. size = 85
  20. font_data = ExtResource( 5 )
  21. [node name="HumanPlayer" type="Spatial"]
  22. script = ExtResource( 1 )
  23. [node name="hud" type="CanvasLayer" parent="."]
  24. [node name="screen_capture" type="Control" parent="hud"]
  25. anchor_right = 1.0
  26. anchor_bottom = 1.0
  27. script = ExtResource( 2 )
  28. [node name="recording" type="ColorRect" parent="hud/screen_capture"]
  29. visible = false
  30. anchor_left = 1.0
  31. anchor_right = 1.0
  32. margin_left = -50.0
  33. margin_bottom = 50.0
  34. color = Color( 1, 0, 0, 1 )
  35. [node name="saving" type="Button" parent="hud/screen_capture"]
  36. visible = false
  37. anchor_left = 1.0
  38. anchor_right = 1.0
  39. margin_left = -50.0
  40. margin_bottom = 50.0
  41. custom_styles/normal = SubResource( 4 )
  42. disabled = true
  43. shortcut_in_tooltip = false
  44. icon = ExtResource( 3 )
  45. flat = true
  46. [node name="inventory" type="Control" parent="hud"]
  47. editor/display_folded = true
  48. anchor_right = 1.0
  49. anchor_bottom = 1.0
  50. theme = ExtResource( 4 )
  51. [node name="track_container" type="Panel" parent="hud/inventory"]
  52. anchor_left = 0.5
  53. anchor_right = 0.5
  54. margin_left = -75.0
  55. margin_right = 75.0
  56. margin_bottom = 150.0
  57. [node name="track" type="TextureRect" parent="hud/inventory/track_container"]
  58. anchor_left = 0.5
  59. anchor_right = 0.5
  60. margin_left = -75.0
  61. margin_right = 75.0
  62. margin_bottom = 150.0
  63. texture = SubResource( 1 )
  64. [node name="type" type="Label" parent="hud/inventory/track_container"]
  65. anchor_left = 0.5
  66. anchor_right = 0.5
  67. margin_left = -74.0
  68. margin_right = 75.0
  69. margin_bottom = 58.0
  70. grow_horizontal = 2
  71. grow_vertical = 2
  72. custom_fonts/font = SubResource( 2 )
  73. align = 1
  74. valign = 1
  75. [node name="speed_slider" type="VSlider" parent="hud"]
  76. anchor_bottom = 1.0
  77. margin_right = 16.0
  78. max_value = 250.0
  79. step = 0.5
  80. [node name="speed" type="Label" parent="hud"]
  81. anchor_left = 0.5
  82. anchor_top = 1.0
  83. anchor_right = 0.5
  84. anchor_bottom = 1.0
  85. margin_left = -77.0
  86. margin_top = -39.0
  87. margin_right = 77.0
  88. grow_horizontal = 2
  89. grow_vertical = 2
  90. theme = ExtResource( 4 )
  91. align = 1
  92. valign = 1
  93. [node name="reset" type="Label" parent="hud"]
  94. anchor_left = 0.5
  95. anchor_top = 0.5
  96. anchor_right = 0.5
  97. anchor_bottom = 0.5
  98. margin_left = -20.0
  99. margin_top = -56.5
  100. margin_right = 20.0
  101. margin_bottom = 56.5
  102. grow_horizontal = 2
  103. grow_vertical = 2
  104. custom_fonts/font = SubResource( 3 )
  105. align = 1
  106. valign = 1
  107. uppercase = true
  108. [node name="ingame_menu" parent="hud" instance=ExtResource( 6 )]
  109. visible = false
  110. [node name="inventory" type="Spatial" parent="."]
  111. editor/display_folded = true
  112. script = ExtResource( 7 )
  113. [node name="viewport" type="Viewport" parent="inventory"]
  114. size = Vector2( 150, 150 )
  115. transparent_bg = true
  116. hdr = false
  117. render_target_v_flip = true
  118. [node name="camera" type="Camera" parent="inventory/viewport"]
  119. transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -50.616, -999.296, 0 )
  120. current = true
  121. fov = 100.0
  122. near = 0.5
  123. far = 20.0
  124. [node name="view" type="Spatial" parent="inventory"]
  125. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -50, -1000, 0 )
  126. [node name="roadStraightLong" parent="inventory/view" instance=ExtResource( 8 )]
  127. transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0 )
  128. [node name="preview" type="Spatial" parent="inventory"]
  129. script = ExtResource( 9 )
  130. [node name="camera" type="InterpolatedCamera" parent="."]
  131. fov = 100.0
  132. far = 250.0