616 lines
20 KiB
Plaintext
616 lines
20 KiB
Plaintext
[gd_scene load_steps=15 format=2]
|
|
|
|
[ext_resource path="res://terrain/terrain_draw.png" type="Image" id=2]
|
|
[ext_resource path="res://terrain/terrain.png" type="Image" id=3]
|
|
[ext_resource path="res://terrain/terrain_edit.png" type="Image" id=4]
|
|
|
|
[sub_resource type="VoxelGeneratorImgMapper" id=5]
|
|
height_start = -150.0
|
|
height_range = 300.0
|
|
image_bg = ExtResource( 3 )
|
|
image_overlay = ExtResource( 4 )
|
|
image_draw = ExtResource( 2 )
|
|
|
|
[sub_resource type="VoxelMesherTransvoxel" id=6]
|
|
|
|
[sub_resource type="ORMSpatialMaterial" id=7]
|
|
albedo_color = Color( 0.254902, 0.886275, 0.101961, 1 )
|
|
|
|
[sub_resource type="ProceduralSky" id=4]
|
|
|
|
[sub_resource type="Environment" id=8]
|
|
background_mode = 2
|
|
background_sky = SubResource( 4 )
|
|
|
|
[sub_resource type="BoxShape" id=9]
|
|
extents = Vector3( 550, 0.1, 550 )
|
|
|
|
[sub_resource type="CubeMesh" id=10]
|
|
size = Vector3( 5, 120, 5 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=11]
|
|
flags_transparent = true
|
|
albedo_color = Color( 0.698039, 0.192157, 0.101961, 0.427451 )
|
|
emission_enabled = true
|
|
emission = Color( 0.894118, 0.0980392, 0.0980392, 1 )
|
|
emission_energy = 1.0
|
|
emission_operator = 0
|
|
emission_on_uv2 = false
|
|
|
|
[sub_resource type="BoxShape" id=12]
|
|
extents = Vector3( 50, 1, 50 )
|
|
|
|
[sub_resource type="CubeMesh" id=13]
|
|
size = Vector3( 4, 4, 120 )
|
|
|
|
[sub_resource type="CubeMesh" id=14]
|
|
size = Vector3( 3, 60, 3 )
|
|
|
|
[node name="editor" type="Spatial"]
|
|
|
|
[node name="WorldEditor" type="WorldEditor" parent="."]
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -248.0
|
|
|
|
[node name="NavPanel" type="NavPanel" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_right = 248.0
|
|
margin_bottom = 48.0
|
|
rect_min_size = Vector2( 48, 48 )
|
|
focus_mode = 2
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="VBoxContainer"]
|
|
margin_top = 52.0
|
|
margin_right = 248.0
|
|
margin_bottom = 82.0
|
|
rect_min_size = Vector2( 160, 30 )
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 5
|
|
color = Color( 0.25098, 0.25098, 0.25098, 1 )
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/ColorRect"]
|
|
margin_left = 39.0
|
|
margin_top = 8.0
|
|
margin_right = 118.0
|
|
margin_bottom = 22.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 7
|
|
text = "Mode select"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="select_buildings" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 86.0
|
|
margin_right = 248.0
|
|
margin_bottom = 106.0
|
|
text = "Buildings Mode"
|
|
|
|
[node name="select_navigation" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 110.0
|
|
margin_right = 248.0
|
|
margin_bottom = 130.0
|
|
text = "Navigation Mode"
|
|
|
|
[node name="select_poi" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 134.0
|
|
margin_right = 248.0
|
|
margin_bottom = 154.0
|
|
text = "POI Mode"
|
|
|
|
[node name="select_road_lines" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 158.0
|
|
margin_right = 248.0
|
|
margin_bottom = 178.0
|
|
text = "Road Lines Mode"
|
|
|
|
[node name="select_npc" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 182.0
|
|
margin_right = 248.0
|
|
margin_bottom = 202.0
|
|
text = "NPC Mode"
|
|
|
|
[node name="v_buildings" type="VBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 206.0
|
|
margin_right = 248.0
|
|
margin_bottom = 482.0
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_buildings"]
|
|
margin_right = 248.0
|
|
margin_bottom = 4.0
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/v_buildings"]
|
|
margin_top = 8.0
|
|
margin_right = 248.0
|
|
margin_bottom = 22.0
|
|
text = "Buildings mode"
|
|
|
|
[node name="buildings_edit_mode" type="OptionButton" parent="VBoxContainer/v_buildings"]
|
|
unique_name_in_owner = true
|
|
margin_top = 26.0
|
|
margin_right = 248.0
|
|
margin_bottom = 46.0
|
|
text = "Select"
|
|
items = [ "Select", null, false, 0, null, "Move", null, false, 1, null, "Rotate", null, false, 2, null, "Create", null, false, 3, null ]
|
|
selected = 0
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/v_buildings"]
|
|
margin_top = 50.0
|
|
margin_right = 248.0
|
|
margin_bottom = 64.0
|
|
text = "Building type"
|
|
|
|
[node name="building_type" type="OptionButton" parent="VBoxContainer/v_buildings"]
|
|
unique_name_in_owner = true
|
|
margin_top = 68.0
|
|
margin_right = 248.0
|
|
margin_bottom = 88.0
|
|
text = "Building Type"
|
|
|
|
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/v_buildings"]
|
|
margin_top = 92.0
|
|
margin_right = 248.0
|
|
margin_bottom = 96.0
|
|
|
|
[node name="buildings_delete_building" type="Button" parent="VBoxContainer/v_buildings"]
|
|
unique_name_in_owner = true
|
|
margin_top = 100.0
|
|
margin_right = 248.0
|
|
margin_bottom = 120.0
|
|
text = "Delete building"
|
|
|
|
[node name="buildings_create_building" type="Button" parent="VBoxContainer/v_buildings"]
|
|
unique_name_in_owner = true
|
|
margin_top = 124.0
|
|
margin_right = 248.0
|
|
margin_bottom = 144.0
|
|
text = "Create building"
|
|
|
|
[node name="buildings_save" type="Button" parent="VBoxContainer/v_buildings"]
|
|
unique_name_in_owner = true
|
|
margin_top = 148.0
|
|
margin_right = 248.0
|
|
margin_bottom = 168.0
|
|
text = "Save Buildings"
|
|
|
|
[node name="lines_list_building" type="ItemList" parent="VBoxContainer/v_buildings"]
|
|
unique_name_in_owner = true
|
|
margin_top = 172.0
|
|
margin_right = 248.0
|
|
margin_bottom = 252.0
|
|
rect_min_size = Vector2( 0, 80 )
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="buildings_assign_to_line" type="Button" parent="VBoxContainer/v_buildings"]
|
|
unique_name_in_owner = true
|
|
margin_top = 256.0
|
|
margin_right = 248.0
|
|
margin_bottom = 276.0
|
|
text = "Assign To Line"
|
|
|
|
[node name="v_navigation" type="VBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 486.0
|
|
margin_right = 248.0
|
|
margin_bottom = 508.0
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_navigation"]
|
|
margin_right = 248.0
|
|
margin_bottom = 4.0
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/v_navigation"]
|
|
margin_top = 8.0
|
|
margin_right = 248.0
|
|
margin_bottom = 22.0
|
|
text = "Navigation mode"
|
|
|
|
[node name="v_poi" type="VBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 512.0
|
|
margin_right = 248.0
|
|
margin_bottom = 534.0
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_poi"]
|
|
margin_right = 248.0
|
|
margin_bottom = 4.0
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/v_poi"]
|
|
margin_top = 8.0
|
|
margin_right = 248.0
|
|
margin_bottom = 22.0
|
|
text = "POI mode"
|
|
|
|
[node name="v_road_lines" type="VBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 538.0
|
|
margin_right = 248.0
|
|
margin_bottom = 1188.0
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_road_lines"]
|
|
margin_right = 248.0
|
|
margin_bottom = 4.0
|
|
|
|
[node name="road_lines_base" type="PanelContainer" parent="VBoxContainer/v_road_lines"]
|
|
unique_name_in_owner = true
|
|
margin_top = 8.0
|
|
margin_right = 248.0
|
|
margin_bottom = 316.0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base"]
|
|
margin_left = 7.0
|
|
margin_top = 7.0
|
|
margin_right = 241.0
|
|
margin_bottom = 301.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="road_lines_menu_block" type="HBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_right = 234.0
|
|
margin_bottom = 20.0
|
|
|
|
[node name="road_lines_file_menu" type="MenuButton" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_menu_block"]
|
|
unique_name_in_owner = true
|
|
margin_right = 35.0
|
|
margin_bottom = 20.0
|
|
focus_mode = 2
|
|
text = "File"
|
|
items = [ "Save Lines", null, 0, false, false, 101, 0, null, "", false ]
|
|
switch_on_hover = true
|
|
|
|
[node name="road_lines_edit_menu" type="MenuButton" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_menu_block"]
|
|
unique_name_in_owner = true
|
|
margin_left = 39.0
|
|
margin_right = 75.0
|
|
margin_bottom = 20.0
|
|
focus_mode = 2
|
|
text = "Edit"
|
|
items = [ "Undo", null, 0, false, false, 201, 0, null, "", false ]
|
|
switch_on_hover = true
|
|
|
|
[node name="road_lines_point_menu" type="MenuButton" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_menu_block"]
|
|
unique_name_in_owner = true
|
|
margin_left = 79.0
|
|
margin_right = 124.0
|
|
margin_bottom = 20.0
|
|
text = "Point"
|
|
items = [ "", null, 0, false, false, 0, 0, null, "", true, "Create", null, 0, false, false, 11, 0, null, "", false, "Remove", null, 0, false, false, 12, 0, null, "", false, "", null, 0, false, false, 3, 0, null, "", true, "Point To Cursor", null, 0, false, false, 51, 0, null, "", false, "Cursor To Point", null, 0, false, false, 52, 0, null, "", false, "Item 6", null, 0, false, true, 6, 0, null, "", false, "Item 7", null, 0, false, true, 7, 0, null, "", false ]
|
|
switch_on_hover = true
|
|
|
|
[node name="road_lines_line_menu" type="MenuButton" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_menu_block"]
|
|
unique_name_in_owner = true
|
|
margin_left = 128.0
|
|
margin_right = 167.0
|
|
margin_bottom = 20.0
|
|
focus_mode = 2
|
|
text = "Line"
|
|
items = [ "Create", null, 0, false, false, 21, 0, null, "", false, "Delete", null, 0, false, false, 22, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Remove Generated", null, 0, false, false, 30, 0, null, "", false, "Place Generated Objects", null, 0, false, false, 31, 0, null, "", false, "Edit Line Metadata", null, 0, false, false, 23, 0, null, "", false, "Rebuild roads", null, 0, false, false, 32, 0, null, "", false, "Remove road meshes", null, 0, false, false, 33, 0, null, "", false ]
|
|
switch_on_hover = true
|
|
|
|
[node name="road_lines_options_menu" type="MenuButton" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_menu_block"]
|
|
unique_name_in_owner = true
|
|
margin_left = 171.0
|
|
margin_right = 234.0
|
|
margin_bottom = 20.0
|
|
text = "Options"
|
|
items = [ "Update roads", null, 1, false, false, 201, 0, null, "", false, "", null, 0, false, false, 1, 0, null, "", true, "Debug Road Nodes", null, 1, false, false, 210, 0, null, "", false, "Debug Road Edges", null, 1, false, false, 211, 0, null, "", false, "Debug Road Wedges", null, 1, false, false, 212, 0, null, "", false ]
|
|
switch_on_hover = true
|
|
|
|
[node name="HSeparator3" type="HSeparator" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
margin_top = 24.0
|
|
margin_right = 234.0
|
|
margin_bottom = 28.0
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
margin_top = 32.0
|
|
margin_right = 234.0
|
|
margin_bottom = 46.0
|
|
text = "Road Lines mode"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
margin_top = 50.0
|
|
margin_right = 234.0
|
|
margin_bottom = 74.0
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/HBoxContainer"]
|
|
margin_top = 5.0
|
|
margin_right = 41.0
|
|
margin_bottom = 19.0
|
|
text = "Filter: "
|
|
|
|
[node name="road_lines_filter" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_left = 45.0
|
|
margin_right = 234.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="lines_list" type="ItemList" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 78.0
|
|
margin_right = 234.0
|
|
margin_bottom = 158.0
|
|
rect_min_size = Vector2( 0, 80 )
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="line_index" type="SpinBox" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 162.0
|
|
margin_right = 234.0
|
|
margin_bottom = 186.0
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
margin_top = 190.0
|
|
margin_right = 234.0
|
|
margin_bottom = 194.0
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
margin_top = 198.0
|
|
margin_right = 234.0
|
|
margin_bottom = 212.0
|
|
text = "Cursor position"
|
|
|
|
[node name="road_lines_cursor_position" type="VBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 216.0
|
|
margin_right = 234.0
|
|
margin_bottom = 240.0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_cursor_position"]
|
|
margin_right = 234.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="cursor_x" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_cursor_position/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_right = 63.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="cursor_y" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_cursor_position/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_left = 67.0
|
|
margin_right = 130.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="cursor_z" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_cursor_position/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_left = 134.0
|
|
margin_right = 197.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="road_lines_set_cursor_position" type="Button" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_cursor_position/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_left = 201.0
|
|
margin_right = 233.0
|
|
margin_bottom = 24.0
|
|
text = "Set"
|
|
|
|
[node name="HSeparator4" type="HSeparator" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
margin_top = 244.0
|
|
margin_right = 234.0
|
|
margin_bottom = 248.0
|
|
|
|
[node name="Label3" type="Label" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
margin_top = 252.0
|
|
margin_right = 234.0
|
|
margin_bottom = 266.0
|
|
text = "Point position"
|
|
|
|
[node name="road_lines_point_position" type="VBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 270.0
|
|
margin_right = 234.0
|
|
margin_bottom = 294.0
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_point_position"]
|
|
margin_right = 234.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="point_x" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_point_position/HBoxContainer2"]
|
|
unique_name_in_owner = true
|
|
margin_right = 63.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="point_y" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_point_position/HBoxContainer2"]
|
|
unique_name_in_owner = true
|
|
margin_left = 67.0
|
|
margin_right = 130.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="point_z" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_point_position/HBoxContainer2"]
|
|
unique_name_in_owner = true
|
|
margin_left = 134.0
|
|
margin_right = 197.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="road_lines_set_point_position" type="Button" parent="VBoxContainer/v_road_lines/road_lines_base/VBoxContainer/road_lines_point_position/HBoxContainer2"]
|
|
unique_name_in_owner = true
|
|
margin_left = 201.0
|
|
margin_right = 233.0
|
|
margin_bottom = 24.0
|
|
text = "Set"
|
|
|
|
[node name="road_lines_create_new_line_dlg" type="PanelContainer" parent="VBoxContainer/v_road_lines"]
|
|
unique_name_in_owner = true
|
|
margin_top = 320.0
|
|
margin_right = 248.0
|
|
margin_bottom = 382.0
|
|
|
|
[node name="v" type="VBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_create_new_line_dlg"]
|
|
margin_left = 7.0
|
|
margin_top = 7.0
|
|
margin_right = 241.0
|
|
margin_bottom = 55.0
|
|
|
|
[node name="road_lines_create_new_line_name" type="LineEdit" parent="VBoxContainer/v_road_lines/road_lines_create_new_line_dlg/v"]
|
|
unique_name_in_owner = true
|
|
margin_right = 234.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="road_lines_create_new_cancel" type="Button" parent="VBoxContainer/v_road_lines/road_lines_create_new_line_dlg/v"]
|
|
unique_name_in_owner = true
|
|
margin_top = 28.0
|
|
margin_right = 234.0
|
|
margin_bottom = 48.0
|
|
text = "Cancel"
|
|
|
|
[node name="road_lines_edit_metadata_dlg" type="PanelContainer" parent="VBoxContainer/v_road_lines"]
|
|
unique_name_in_owner = true
|
|
margin_top = 386.0
|
|
margin_right = 248.0
|
|
margin_bottom = 650.0
|
|
|
|
[node name="scroll" type="ScrollContainer" parent="VBoxContainer/v_road_lines/road_lines_edit_metadata_dlg"]
|
|
margin_left = 7.0
|
|
margin_top = 7.0
|
|
margin_right = 241.0
|
|
margin_bottom = 257.0
|
|
rect_min_size = Vector2( 0, 250 )
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
scroll_horizontal_enabled = false
|
|
|
|
[node name="v" type="VBoxContainer" parent="VBoxContainer/v_road_lines/road_lines_edit_metadata_dlg/scroll"]
|
|
margin_right = 222.0
|
|
margin_bottom = 418.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="road_lines_metadata_edit" type="TextEdit" parent="VBoxContainer/v_road_lines/road_lines_edit_metadata_dlg/scroll/v"]
|
|
unique_name_in_owner = true
|
|
margin_right = 222.0
|
|
margin_bottom = 160.0
|
|
rect_min_size = Vector2( 0, 160 )
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="road_lines_metadata_update" type="Button" parent="VBoxContainer/v_road_lines/road_lines_edit_metadata_dlg/scroll/v"]
|
|
unique_name_in_owner = true
|
|
margin_top = 164.0
|
|
margin_right = 222.0
|
|
margin_bottom = 184.0
|
|
text = "Update"
|
|
|
|
[node name="road_lines_metadata_cancel" type="Button" parent="VBoxContainer/v_road_lines/road_lines_edit_metadata_dlg/scroll/v"]
|
|
unique_name_in_owner = true
|
|
margin_top = 188.0
|
|
margin_right = 222.0
|
|
margin_bottom = 208.0
|
|
text = "Cancel"
|
|
|
|
[node name="lines_buildings_metadata_edit" type="LineMetadataEditor" parent="VBoxContainer/v_road_lines/road_lines_edit_metadata_dlg/scroll/v"]
|
|
unique_name_in_owner = true
|
|
margin_top = 212.0
|
|
margin_right = 222.0
|
|
margin_bottom = 418.0
|
|
|
|
[node name="v_npc" type="VBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 1192.0
|
|
margin_right = 248.0
|
|
margin_bottom = 1214.0
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_npc"]
|
|
margin_right = 248.0
|
|
margin_bottom = 4.0
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/v_npc"]
|
|
margin_top = 8.0
|
|
margin_right = 248.0
|
|
margin_bottom = 22.0
|
|
text = "NPC mode"
|
|
|
|
[node name="StreamWorld" type="StreamWorld" parent="."]
|
|
|
|
[node name="VoxelLodTerrain" type="VoxelLodTerrain" parent="."]
|
|
unique_name_in_owner = true
|
|
generator = SubResource( 5 )
|
|
mesher = SubResource( 6 )
|
|
voxel_bounds = AABB( -5.36871e+08, -2048, -5.36871e+08, 1.07374e+09, 4096, 1.07374e+09 )
|
|
lod_count = 5
|
|
material = SubResource( 7 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
environment = SubResource( 8 )
|
|
far = 1000.0
|
|
|
|
[node name="VoxelViewer" type="VoxelViewer" parent="Camera"]
|
|
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 2, 0 )
|
|
|
|
[node name="selection_area" type="Area" parent="."]
|
|
unique_name_in_owner = true
|
|
collision_layer = 32768
|
|
collision_mask = 32768
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="selection_area"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.1, 0 )
|
|
shape = SubResource( 9 )
|
|
|
|
[node name="building_cursor" type="MeshInstance" parent="."]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
mesh = SubResource( 10 )
|
|
material/0 = SubResource( 11 )
|
|
|
|
[node name="Area" type="Area" parent="building_cursor"]
|
|
collision_layer = 32768
|
|
collision_mask = 32768
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="building_cursor/Area"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 )
|
|
shape = SubResource( 12 )
|
|
|
|
[node name="building_rot_cursor" type="Spatial" parent="."]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
|
|
[node name="building_rot_cursor" type="MeshInstance" parent="building_rot_cursor"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -60 )
|
|
mesh = SubResource( 13 )
|
|
skeleton = NodePath("../..")
|
|
material/0 = SubResource( 11 )
|
|
|
|
[node name="Area" type="Area" parent="building_rot_cursor/building_rot_cursor"]
|
|
collision_layer = 32768
|
|
collision_mask = 32768
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="building_rot_cursor/building_rot_cursor/Area"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 )
|
|
shape = SubResource( 12 )
|
|
|
|
[node name="line_cursor" type="Spatial" parent="."]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="Area" type="Area" parent="line_cursor"]
|
|
collision_layer = 32768
|
|
collision_mask = 32768
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="line_cursor/Area"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 )
|
|
shape = SubResource( 12 )
|
|
|
|
[node name="mi" type="MeshInstance" parent="line_cursor"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 30, 0 )
|
|
mesh = SubResource( 14 )
|
|
material/0 = SubResource( 11 )
|