Almost separated the buildings editor
This commit is contained in:
@@ -116,7 +116,7 @@ text = "NPC Mode"
|
||||
unique_name_in_owner = true
|
||||
margin_top = 154.0
|
||||
margin_right = 232.0
|
||||
margin_bottom = 298.0
|
||||
margin_bottom = 322.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_buildings"]
|
||||
margin_right = 232.0
|
||||
@@ -134,7 +134,7 @@ margin_top = 26.0
|
||||
margin_right = 232.0
|
||||
margin_bottom = 46.0
|
||||
text = "Select"
|
||||
items = [ "Select", null, false, 0, null, "Move", null, false, 1, null, "Rotate", null, false, 2, null ]
|
||||
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"]
|
||||
@@ -162,18 +162,25 @@ margin_right = 232.0
|
||||
margin_bottom = 120.0
|
||||
text = "Delete building"
|
||||
|
||||
[node name="buildings_save" type="Button" parent="VBoxContainer/v_buildings"]
|
||||
[node name="buildings_create_building" type="Button" parent="VBoxContainer/v_buildings"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 124.0
|
||||
margin_right = 232.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 = 232.0
|
||||
margin_bottom = 168.0
|
||||
text = "Save Buildings"
|
||||
|
||||
[node name="v_navigation" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 302.0
|
||||
margin_top = 326.0
|
||||
margin_right = 232.0
|
||||
margin_bottom = 324.0
|
||||
margin_bottom = 348.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_navigation"]
|
||||
margin_right = 232.0
|
||||
@@ -187,9 +194,9 @@ text = "Navigation mode"
|
||||
|
||||
[node name="v_poi" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 328.0
|
||||
margin_top = 352.0
|
||||
margin_right = 232.0
|
||||
margin_bottom = 350.0
|
||||
margin_bottom = 374.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_poi"]
|
||||
margin_right = 232.0
|
||||
@@ -203,9 +210,9 @@ text = "POI mode"
|
||||
|
||||
[node name="v_road_lines" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 354.0
|
||||
margin_top = 378.0
|
||||
margin_right = 232.0
|
||||
margin_bottom = 962.0
|
||||
margin_bottom = 986.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_road_lines"]
|
||||
margin_right = 232.0
|
||||
@@ -462,9 +469,9 @@ text = "Cancel"
|
||||
|
||||
[node name="v_npc" type="VBoxContainer" parent="VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
margin_top = 966.0
|
||||
margin_top = 990.0
|
||||
margin_right = 232.0
|
||||
margin_bottom = 988.0
|
||||
margin_bottom = 1012.0
|
||||
|
||||
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/v_npc"]
|
||||
margin_right = 232.0
|
||||
@@ -479,6 +486,7 @@ 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 )
|
||||
@@ -505,6 +513,8 @@ 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 )
|
||||
|
||||
@@ -518,6 +528,8 @@ 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 )
|
||||
|
||||
Reference in New Issue
Block a user