135 lines
5.2 KiB
Text
135 lines
5.2 KiB
Text
[gd_scene load_steps=17 format=3 uid="uid://eiaw4xbs3suk"]
|
|
|
|
[ext_resource type="Script" uid="uid://btw2de6g358dt" path="res://server.gd" id="1_5vw27"]
|
|
[ext_resource type="PackedScene" uid="uid://qb8cbljxgnub" path="res://world/killbrick.tscn" id="1_h2yge"]
|
|
[ext_resource type="PackedScene" uid="uid://bcmrj6qkemrll" path="res://world/radiohead_cube.tscn" id="2_0xm2m"]
|
|
[ext_resource type="Texture2D" uid="uid://wdjmyv260he1" path="res://world/textures/grass.jpg" id="2_272bh"]
|
|
[ext_resource type="PackedScene" uid="uid://of6tq8gpjxtu" path="res://gears/gear_pickup.tscn" id="3_lquwl"]
|
|
[ext_resource type="PackedScene" uid="uid://c117buhmmkvkt" path="res://gears/ball.tscn" id="6_5vw27"]
|
|
[ext_resource type="PackedScene" uid="uid://d3k7b6o56ue5k" path="res://gears/geep.tscn" id="7_kek77"]
|
|
[ext_resource type="Texture2D" uid="uid://2ku62tk8r74x" path="res://world/textures/sky.hdr" id="8_5vw27"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_7dm0k"]
|
|
size = Vector3(1000, 2, 1000)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_ig7tw"]
|
|
size = Vector3(1000, 2, 1000)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_272bh"]
|
|
albedo_color = Color(0, 1, 0, 1)
|
|
albedo_texture = ExtResource("2_272bh")
|
|
uv1_scale = Vector3(300, 300, 300)
|
|
|
|
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_272bh"]
|
|
panorama = ExtResource("8_5vw27")
|
|
|
|
[sub_resource type="Sky" id="Sky_7mycd"]
|
|
sky_material = SubResource("PanoramaSkyMaterial_272bh")
|
|
|
|
[sub_resource type="Environment" id="Environment_7mycd"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_7mycd")
|
|
sky_rotation = Vector3(6.2831855, 0, 0)
|
|
glow_enabled = true
|
|
glow_intensity = 0.1
|
|
glow_bloom = 0.02
|
|
glow_blend_mode = 0
|
|
glow_hdr_luminance_cap = 0.0
|
|
|
|
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_272bh"]
|
|
|
|
[sub_resource type="Compositor" id="Compositor_5vw27"]
|
|
|
|
[node name="Main" type="Node3D"]
|
|
script = ExtResource("1_5vw27")
|
|
|
|
[node name="Baseplate" type="StaticBody3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Baseplate"]
|
|
shape = SubResource("BoxShape3D_7dm0k")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Baseplate"]
|
|
mesh = SubResource("BoxMesh_ig7tw")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_272bh")
|
|
|
|
[node name="radiohead cube" parent="." instance=ExtResource("2_0xm2m")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16, 3, 0)
|
|
|
|
[node name="radiohead cube2" parent="." instance=ExtResource("2_0xm2m")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 3, 0)
|
|
|
|
[node name="radiohead cube3" parent="." instance=ExtResource("2_0xm2m")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 3, 4)
|
|
|
|
[node name="radiohead cube4" parent="." instance=ExtResource("2_0xm2m")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 7, 0)
|
|
|
|
[node name="Killbrick" parent="." instance=ExtResource("1_h2yge")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40, 1.5, -40)
|
|
|
|
[node name="BallPickup" parent="." instance=ExtResource("3_lquwl")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 2, -21)
|
|
|
|
[node name="Gear" parent="BallPickup" instance=ExtResource("6_5vw27")]
|
|
|
|
[node name="GeepPickup" parent="." instance=ExtResource("3_lquwl")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 1.75, -30)
|
|
|
|
[node name="Gear" parent="GeepPickup" instance=ExtResource("7_kek77")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.75, 0)
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_7mycd")
|
|
camera_attributes = SubResource("CameraAttributesPractical_272bh")
|
|
compositor = SubResource("Compositor_5vw27")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.70710665, 0.5, -0.5, 0, 0.7071067, 0.7071067, 0.7071069, -0.49999988, 0.49999988, -500, 200, 500)
|
|
light_color = Color(1, 0.87058824, 0.12941177, 1)
|
|
shadow_enabled = true
|
|
|
|
[node name="UI" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Menu" type="Panel" parent="UI"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="UI/Menu"]
|
|
layout_mode = 0
|
|
offset_right = 1149.0
|
|
offset_bottom = 134.0
|
|
theme_override_constants/margin_left = 15
|
|
theme_override_constants/margin_top = 15
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="UI/Menu/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="UI/Menu/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Menu
|
|
"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="ServerButton2" type="Button" parent="UI/Menu/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Host
|
|
"
|
|
|
|
[node name="ClientButton" type="Button" parent="UI/Menu/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Join
|
|
"
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="UI/Menu/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Enter Address"
|
|
|
|
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
|
|
_spawnable_scenes = PackedStringArray("uid://cfceg80unq0pe")
|
|
spawn_path = NodePath("..")
|
|
|
|
[connection signal="pressed" from="UI/Menu/MarginContainer/VBoxContainer/ServerButton2" to="." method="_on_server_button_pressed"]
|
|
[connection signal="pressed" from="UI/Menu/MarginContainer/VBoxContainer/ClientButton" to="." method="_on_client_button_pressed"]
|