Main_TestMap2.tscn 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. [gd_scene load_steps=9 format=2]
  2. [ext_resource path="res://Scenes/Objects/Portal.tscn" type="PackedScene" id=1]
  3. [ext_resource path="res://Scripts/Portal.gd" type="Script" id=2]
  4. [ext_resource path="res://Scenes/Objects/Spawner.tscn" type="PackedScene" id=3]
  5. [sub_resource type="ProceduralSky" id=1]
  6. radiance_size = 4
  7. sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
  8. sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
  9. sky_curve = 0.25
  10. sky_energy = 1.0
  11. ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
  12. ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
  13. ground_curve = 0.01
  14. ground_energy = 1.0
  15. sun_color = Color( 1, 1, 1, 1 )
  16. sun_latitude = 35.0
  17. sun_longitude = 0.0
  18. sun_angle_min = 1.0
  19. sun_angle_max = 100.0
  20. sun_curve = 0.05
  21. sun_energy = 16.0
  22. texture_size = 2
  23. [sub_resource type="Environment" id=2]
  24. background_mode = 2
  25. background_sky = SubResource( 1 )
  26. background_sky_custom_fov = 0.0
  27. background_color = Color( 0, 0, 0, 1 )
  28. background_energy = 1.0
  29. background_canvas_max_layer = 0
  30. ambient_light_color = Color( 0, 0, 0, 1 )
  31. ambient_light_energy = 1.0
  32. ambient_light_sky_contribution = 1.0
  33. fog_enabled = false
  34. fog_color = Color( 0.5, 0.6, 0.7, 1 )
  35. fog_sun_color = Color( 1, 0.9, 0.7, 1 )
  36. fog_sun_amount = 0.0
  37. fog_depth_enabled = true
  38. fog_depth_begin = 10.0
  39. fog_depth_curve = 1.0
  40. fog_transmit_enabled = false
  41. fog_transmit_curve = 1.0
  42. fog_height_enabled = false
  43. fog_height_min = 0.0
  44. fog_height_max = 100.0
  45. fog_height_curve = 1.0
  46. tonemap_mode = 0
  47. tonemap_exposure = 1.0
  48. tonemap_white = 1.0
  49. auto_exposure_enabled = false
  50. auto_exposure_scale = 0.4
  51. auto_exposure_min_luma = 0.05
  52. auto_exposure_max_luma = 8.0
  53. auto_exposure_speed = 0.5
  54. ss_reflections_enabled = false
  55. ss_reflections_max_steps = 64
  56. ss_reflections_fade_in = 0.15
  57. ss_reflections_fade_out = 2.0
  58. ss_reflections_depth_tolerance = 0.2
  59. ss_reflections_roughness = true
  60. ssao_enabled = false
  61. ssao_radius = 1.0
  62. ssao_intensity = 1.0
  63. ssao_radius2 = 0.0
  64. ssao_intensity2 = 1.0
  65. ssao_bias = 0.01
  66. ssao_light_affect = 0.0
  67. ssao_color = Color( 0, 0, 0, 1 )
  68. ssao_quality = 0
  69. ssao_blur = 3
  70. ssao_edge_sharpness = 4.0
  71. dof_blur_far_enabled = false
  72. dof_blur_far_distance = 10.0
  73. dof_blur_far_transition = 5.0
  74. dof_blur_far_amount = 0.1
  75. dof_blur_far_quality = 1
  76. dof_blur_near_enabled = false
  77. dof_blur_near_distance = 2.0
  78. dof_blur_near_transition = 1.0
  79. dof_blur_near_amount = 0.1
  80. dof_blur_near_quality = 1
  81. glow_enabled = false
  82. glow_levels/1 = false
  83. glow_levels/2 = false
  84. glow_levels/3 = true
  85. glow_levels/4 = false
  86. glow_levels/5 = true
  87. glow_levels/6 = false
  88. glow_levels/7 = false
  89. glow_intensity = 0.8
  90. glow_strength = 1.0
  91. glow_bloom = 0.0
  92. glow_blend_mode = 2
  93. glow_hdr_threshold = 1.0
  94. glow_hdr_scale = 2.0
  95. glow_bicubic_upscale = false
  96. adjustment_enabled = false
  97. adjustment_brightness = 1.0
  98. adjustment_contrast = 1.0
  99. adjustment_saturation = 1.0
  100. _sections_unfolded = [ "Ambient Light", "Background" ]
  101. [sub_resource type="SpatialMaterial" id=3]
  102. render_priority = 0
  103. flags_transparent = false
  104. flags_unshaded = false
  105. flags_vertex_lighting = false
  106. flags_no_depth_test = false
  107. flags_use_point_size = false
  108. flags_world_triplanar = false
  109. flags_fixed_size = false
  110. flags_albedo_tex_force_srgb = false
  111. vertex_color_use_as_albedo = false
  112. vertex_color_is_srgb = false
  113. params_diffuse_mode = 0
  114. params_specular_mode = 0
  115. params_blend_mode = 0
  116. params_cull_mode = 0
  117. params_depth_draw_mode = 0
  118. params_line_width = 1.0
  119. params_point_size = 1.0
  120. params_billboard_mode = 0
  121. params_grow = false
  122. params_use_alpha_scissor = false
  123. albedo_color = Color( 0.219666, 0.953125, 0.317078, 1 )
  124. metallic = 0.0
  125. metallic_specular = 0.5
  126. metallic_texture_channel = 0
  127. roughness = 0.0
  128. roughness_texture_channel = 0
  129. emission_enabled = false
  130. normal_enabled = false
  131. rim_enabled = false
  132. clearcoat_enabled = false
  133. anisotropy_enabled = false
  134. ao_enabled = false
  135. depth_enabled = false
  136. subsurf_scatter_enabled = false
  137. transmission_enabled = false
  138. refraction_enabled = false
  139. detail_enabled = false
  140. uv1_scale = Vector3( 1, 1, 1 )
  141. uv1_offset = Vector3( 0, 0, 0 )
  142. uv1_triplanar = false
  143. uv1_triplanar_sharpness = 1.0
  144. uv2_scale = Vector3( 1, 1, 1 )
  145. uv2_offset = Vector3( 0, 0, 0 )
  146. uv2_triplanar = false
  147. uv2_triplanar_sharpness = 1.0
  148. proximity_fade_enable = false
  149. distance_fade_enable = false
  150. _sections_unfolded = [ "Albedo" ]
  151. [sub_resource type="CubeMesh" id=4]
  152. material = SubResource( 3 )
  153. custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
  154. size = Vector3( 2, 2, 2 )
  155. subdivide_width = 0
  156. subdivide_height = 0
  157. subdivide_depth = 0
  158. [sub_resource type="ConvexPolygonShape" id=5]
  159. points = PoolVector3Array( -1, 1, 1, 1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1 )
  160. [node name="Main_TestMap2" type="Spatial" index="0"]
  161. [node name="WorldEnvironment" type="WorldEnvironment" parent="." index="0"]
  162. environment = SubResource( 2 )
  163. [node name="Camera" type="Camera" parent="." index="1"]
  164. keep_aspect = 1
  165. cull_mask = 1048575
  166. environment = null
  167. h_offset = 0.0
  168. v_offset = 0.0
  169. doppler_tracking = 0
  170. projection = 0
  171. current = false
  172. fov = 70.0
  173. size = 1.0
  174. near = 0.05
  175. far = 100.0
  176. [node name="DirectionalLight" type="DirectionalLight" parent="." index="2"]
  177. transform = Transform( 1, 0, 0, 0, 0.794161, 0.607708, 0, -0.607708, 0.794161, 0, 0, 0 )
  178. layers = 1
  179. light_color = Color( 1, 1, 1, 1 )
  180. light_energy = 1.3
  181. light_indirect_energy = 1.0
  182. light_negative = false
  183. light_specular = 0.5
  184. light_bake_mode = 1
  185. light_cull_mask = -1
  186. shadow_enabled = true
  187. shadow_color = Color( 0, 0, 0, 1 )
  188. shadow_bias = 0.1
  189. shadow_contact = 0.0
  190. shadow_reverse_cull_face = false
  191. editor_only = false
  192. directional_shadow_mode = 2
  193. directional_shadow_split_1 = 0.1
  194. directional_shadow_split_2 = 0.2
  195. directional_shadow_split_3 = 0.5
  196. directional_shadow_blend_splits = false
  197. directional_shadow_normal_bias = 0.8
  198. directional_shadow_bias_split_scale = 0.25
  199. directional_shadow_depth_range = 0
  200. directional_shadow_max_distance = 200.0
  201. _sections_unfolded = [ "Light", "Shadow" ]
  202. [node name="Spawn_01" type="Spatial" parent="." index="3"]
  203. transform = Transform( -0.896298, 0, -0.443451, 0, 1, 0, 0.443451, 0, -0.896299, 0, -0.666564, 0 )
  204. _sections_unfolded = [ "Transform" ]
  205. [node name="Spawn_02" type="Spatial" parent="." index="4"]
  206. transform = Transform( -0.896298, 0, -0.443451, 0, 1, 0, 0.443451, 0, -0.896299, 10.7593, -0.742624, 0 )
  207. _sections_unfolded = [ "Transform" ]
  208. [node name="Ground" type="MeshInstance" parent="." index="5"]
  209. editor/display_folded = true
  210. transform = Transform( 20, 0, 0, 0, 1, 0, 0, 0, 20, 0, -2.08073, 0 )
  211. layers = 1
  212. material_override = null
  213. cast_shadow = 1
  214. extra_cull_margin = 0.0
  215. use_in_baked_light = false
  216. lod_min_distance = 0.0
  217. lod_min_hysteresis = 0.0
  218. lod_max_distance = 0.0
  219. lod_max_hysteresis = 0.0
  220. mesh = SubResource( 4 )
  221. skeleton = NodePath("..")
  222. material/0 = null
  223. _sections_unfolded = [ "Transform" ]
  224. [node name="StaticBody" type="StaticBody" parent="Ground" index="0"]
  225. input_ray_pickable = true
  226. input_capture_on_drag = false
  227. collision_layer = 1
  228. collision_mask = 1
  229. friction = 1.0
  230. bounce = 0.0
  231. constant_linear_velocity = Vector3( 0, 0, 0 )
  232. constant_angular_velocity = Vector3( 0, 0, 0 )
  233. [node name="CollisionShape" type="CollisionShape" parent="Ground/StaticBody" index="0"]
  234. shape = SubResource( 5 )
  235. disabled = false
  236. [node name="Portals" type="Spatial" parent="." index="6"]
  237. editor/display_folded = true
  238. [node name="Portal" parent="Portals" index="0" instance=ExtResource( 1 )]
  239. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.653388, 10.9154 )
  240. script = ExtResource( 2 )
  241. level = "res://Scenes/Maps/LSTestMap/Main_LSTestMap.tscn"
  242. spawn = "Spawn_01"
  243. [node name="Portal2" parent="Portals" index="1" instance=ExtResource( 1 )]
  244. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 11.0447, 0.653388, 10.9154 )
  245. script = ExtResource( 2 )
  246. level = "res://Scenes/Maps/LSTestMap/Main_LSTestMap.tscn"
  247. spawn = "Spawn_02"
  248. [node name="ItemSpawners" type="Node" parent="." index="7"]
  249. [node name="Spawner" parent="ItemSpawners" index="0" instance=ExtResource( 3 )]
  250. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.51831, 0, 3.25923 )
  251. game_item_id = 2