293 lines
7.6 KiB
Text
293 lines
7.6 KiB
Text
[gd_scene load_steps=23 format=2]
|
|
|
|
[ext_resource path="res://Graphics/deepspace_mat.tres" type="Material" id=1]
|
|
[ext_resource path="res://Scenes/InEditorMap.gd" type="Script" id=2]
|
|
[ext_resource path="res://Graphics/tgstation/walls.tres" type="TileSet" id=3]
|
|
[ext_resource path="res://Graphics/tgstation/1x1.tres" type="TileSet" id=4]
|
|
[ext_resource path="res://Graphics/tgstation/base.tres" type="TileSet" id=5]
|
|
[ext_resource path="res://Graphics/tgstation/floor.tres" type="TileSet" id=6]
|
|
[ext_resource path="res://Graphics/tgstation/cables.tres" type="TileSet" id=7]
|
|
[ext_resource path="res://Scenes/Rendering/MapTiles.gd" type="Script" id=8]
|
|
[ext_resource path="res://Graphics/UI/uifont.tres" type="DynamicFont" id=9]
|
|
[ext_resource path="res://Scenes/MapEditor.gd" type="Script" id=10]
|
|
[ext_resource path="res://Graphics/UI/grid.png" type="Texture" id=11]
|
|
[ext_resource path="res://Graphics/tgstation/floors.png" type="Texture" id=12]
|
|
[ext_resource path="res://Graphics/tgstation/wires-l2.png" type="Texture" id=13]
|
|
[ext_resource path="res://Graphics/tgstation/wall.png" type="Texture" id=14]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
content_margin_left = 15.0
|
|
content_margin_right = 15.0
|
|
content_margin_top = 5.0
|
|
content_margin_bottom = 5.0
|
|
bg_color = Color( 0.0588235, 0.0627451, 0.105882, 0.784314 )
|
|
corner_radius_top_left = 10
|
|
corner_radius_top_right = 10
|
|
corner_radius_bottom_right = 10
|
|
corner_radius_bottom_left = 10
|
|
|
|
[sub_resource type="StyleBoxFlat" id=2]
|
|
content_margin_left = 10.0
|
|
content_margin_right = 10.0
|
|
bg_color = Color( 0.364706, 0.45098, 0.607843, 0.392157 )
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_right = 3
|
|
corner_radius_bottom_left = 3
|
|
|
|
[sub_resource type="StyleBoxFlat" id=3]
|
|
content_margin_left = 10.0
|
|
content_margin_right = 10.0
|
|
bg_color = Color( 0.305882, 0.368627, 0.576471, 0.784314 )
|
|
corner_radius_top_left = 3
|
|
corner_radius_top_right = 3
|
|
corner_radius_bottom_right = 3
|
|
corner_radius_bottom_left = 3
|
|
|
|
[sub_resource type="StyleBoxEmpty" id=4]
|
|
content_margin_left = 10.0
|
|
content_margin_right = 10.0
|
|
|
|
[sub_resource type="ButtonGroup" id=6]
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
atlas = ExtResource( 12 )
|
|
region = Rect2( 32, 192, 32, 32 )
|
|
|
|
[sub_resource type="AtlasTexture" id=7]
|
|
atlas = ExtResource( 13 )
|
|
region = Rect2( 64, 224, 32, 32 )
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
atlas = ExtResource( 12 )
|
|
region = Rect2( 96, 160, 32, 32 )
|
|
|
|
[node name="Control" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 10 )
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="background" type="ColorRect" parent="."]
|
|
material = ExtResource( 1 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color( 0, 0, 0, 1 )
|
|
__meta__ = {
|
|
"_edit_lock_": true,
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="map" type="Node2D" parent="."]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="cursor" type="Node2D" parent="map"]
|
|
|
|
[node name="Sprite" type="Sprite" parent="map/cursor"]
|
|
texture = ExtResource( 14 )
|
|
centered = false
|
|
|
|
[node name="grid" type="Sprite" parent="map"]
|
|
position = Vector2( -2560, -2800 )
|
|
texture = ExtResource( 11 )
|
|
centered = false
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 6400, 6400 )
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="tiles" type="Node2D" parent="map"]
|
|
|
|
[node name="base" type="TileMap" parent="map/tiles"]
|
|
z_index = 1
|
|
z_as_relative = false
|
|
tile_set = ExtResource( 5 )
|
|
cell_size = Vector2( 32, 32 )
|
|
cell_quadrant_size = 32
|
|
occluder_light_mask = -2147483647
|
|
format = 1
|
|
|
|
[node name="cables" type="TileMap" parent="map/tiles"]
|
|
z_index = 2
|
|
z_as_relative = false
|
|
tile_set = ExtResource( 7 )
|
|
cell_size = Vector2( 32, 32 )
|
|
cell_quadrant_size = 32
|
|
occluder_light_mask = -2147483647
|
|
format = 1
|
|
|
|
[node name="floor" type="TileMap" parent="map/tiles"]
|
|
z_index = 3
|
|
z_as_relative = false
|
|
tile_set = ExtResource( 6 )
|
|
cell_size = Vector2( 32, 32 )
|
|
cell_quadrant_size = 32
|
|
occluder_light_mask = -2147483647
|
|
format = 1
|
|
|
|
[node name="walls" type="TileMap" parent="map/tiles"]
|
|
z_index = 4
|
|
z_as_relative = false
|
|
tile_set = ExtResource( 3 )
|
|
cell_size = Vector2( 32, 32 )
|
|
cell_quadrant_size = 32
|
|
occluder_light_mask = -2147483647
|
|
format = 1
|
|
script = ExtResource( 8 )
|
|
extended_tilemap_node = NodePath("../../../VBoxContainer/map/tiles/1x1")
|
|
|
|
[node name="1x1" type="TileMap" parent="map/tiles"]
|
|
z_index = 5
|
|
z_as_relative = false
|
|
tile_set = ExtResource( 4 )
|
|
cell_size = Vector2( 16, 16 )
|
|
format = 1
|
|
|
|
[node name="engines" type="Node2D" parent="map"]
|
|
modulate = Color( 0.980392, 0.980392, 0.980392, 1 )
|
|
__meta__ = {
|
|
"_edit_group_": true,
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="objects" type="Node2D" parent="map"]
|
|
z_index = 10
|
|
__meta__ = {
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="sockets" type="Node2D" parent="map"]
|
|
z_index = 2
|
|
z_as_relative = false
|
|
|
|
[node name="lights" type="Node2D" parent="map"]
|
|
modulate = Color( 0.980392, 0.980392, 0.980392, 1 )
|
|
z_index = 11
|
|
__meta__ = {
|
|
"_edit_group_": true,
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="pois" type="Node2D" parent="map"]
|
|
z_index = 999
|
|
|
|
[node name="areas" type="Node2D" parent="map"]
|
|
|
|
[node name="menu" type="PanelContainer" parent="."]
|
|
margin_left = 5.0
|
|
margin_top = 5.0
|
|
margin_right = 1275.0
|
|
margin_bottom = 43.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="menu"]
|
|
margin_left = 526.0
|
|
margin_top = 5.0
|
|
margin_right = 744.0
|
|
margin_bottom = 33.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 6
|
|
custom_styles/normal = SubResource( 1 )
|
|
custom_fonts/font = ExtResource( 9 )
|
|
text = "- Untitled (untitled.omd) -"
|
|
align = 1
|
|
|
|
[node name="menubar" type="HBoxContainer" parent="menu"]
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = 1266.0
|
|
margin_bottom = 34.0
|
|
rect_min_size = Vector2( 0, 30 )
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="MapMenu" type="MenuButton" parent="menu/menubar"]
|
|
margin_right = 46.0
|
|
margin_bottom = 30.0
|
|
custom_styles/hover = SubResource( 2 )
|
|
custom_styles/pressed = SubResource( 3 )
|
|
custom_styles/normal = SubResource( 4 )
|
|
custom_fonts/font = ExtResource( 9 )
|
|
text = "Map"
|
|
flat = false
|
|
switch_on_hover = true
|
|
|
|
[node name="PlayMenu" type="MenuButton" parent="menu/menubar"]
|
|
visible = false
|
|
margin_left = 50.0
|
|
margin_right = 98.0
|
|
margin_bottom = 30.0
|
|
custom_styles/hover = SubResource( 2 )
|
|
custom_styles/pressed = SubResource( 3 )
|
|
custom_styles/normal = SubResource( 4 )
|
|
custom_fonts/font = ExtResource( 9 )
|
|
text = "Play"
|
|
flat = false
|
|
|
|
[node name="layers" type="PanelContainer" parent="."]
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 5.0
|
|
margin_top = -177.0
|
|
margin_right = 57.0
|
|
margin_bottom = -5.0
|
|
size_flags_vertical = 13
|
|
|
|
[node name="buttons" type="VBoxContainer" parent="layers"]
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = 48.0
|
|
margin_bottom = 168.0
|
|
alignment = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="walls" type="Button" parent="layers/buttons"]
|
|
margin_right = 44.0
|
|
margin_bottom = 38.0
|
|
rect_min_size = Vector2( 32, 32 )
|
|
size_flags_horizontal = 13
|
|
size_flags_vertical = 13
|
|
toggle_mode = true
|
|
group = SubResource( 6 )
|
|
icon = ExtResource( 14 )
|
|
|
|
[node name="floor" type="Button" parent="layers/buttons"]
|
|
margin_top = 42.0
|
|
margin_right = 44.0
|
|
margin_bottom = 80.0
|
|
rect_min_size = Vector2( 32, 32 )
|
|
size_flags_horizontal = 13
|
|
size_flags_vertical = 13
|
|
toggle_mode = true
|
|
group = SubResource( 6 )
|
|
icon = SubResource( 5 )
|
|
|
|
[node name="cables" type="Button" parent="layers/buttons"]
|
|
margin_top = 84.0
|
|
margin_right = 44.0
|
|
margin_bottom = 122.0
|
|
rect_min_size = Vector2( 32, 32 )
|
|
size_flags_horizontal = 13
|
|
size_flags_vertical = 13
|
|
toggle_mode = true
|
|
group = SubResource( 6 )
|
|
icon = SubResource( 7 )
|
|
|
|
[node name="base" type="Button" parent="layers/buttons"]
|
|
margin_top = 126.0
|
|
margin_right = 44.0
|
|
margin_bottom = 164.0
|
|
rect_min_size = Vector2( 32, 32 )
|
|
size_flags_horizontal = 13
|
|
size_flags_vertical = 13
|
|
toggle_mode = true
|
|
group = SubResource( 6 )
|
|
icon = SubResource( 8 )
|