init commit

This commit is contained in:
2025-05-12 18:07:43 -07:00
commit b410345c18
1023 changed files with 57521 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
[gd_scene load_steps=6 format=3 uid="uid://bjmc27ndhma8q"]
[ext_resource type="Script" path="res://Scripts/Game/Pickup.cs" id="1_0i5j3"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_njxef"]
[sub_resource type="SphereShape3D" id="SphereShape3D_6ne7j"]
[sub_resource type="SphereMesh" id="SphereMesh_tycpf"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_1v1sx"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
properties/1/path = NodePath(".:rotation")
properties/1/spawn = true
properties/1/replication_mode = 1
[node name="Pickup Item" type="RigidBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18.4119, 9.14194, -12.0754)
physics_material_override = SubResource("PhysicsMaterial_njxef")
freeze_mode = 1
script = ExtResource("1_0i5j3")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0)
shape = SubResource("SphereShape3D_6ne7j")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0)
mesh = SubResource("SphereMesh_tycpf")
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_1v1sx")
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
+35
View File
@@ -0,0 +1,35 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://cwjc5dlxvrb6e"
valid=false
[deps]
source_file="res://Prefab/Players/TestRig.glb"
[params]
nodes/root_type=""
nodes/root_name=""
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
_subresources={}
gltf/naming_version=1
gltf/embedded_image_handling=1
+119
View File
@@ -0,0 +1,119 @@
[gd_scene load_steps=6 format=3 uid="uid://bdiyyfiwtdsoy"]
[ext_resource type="Script" path="res://Scripts/Game/Inventory.cs" id="1_7ku6o"]
[ext_resource type="PackedScene" uid="uid://dma8pi16kq0w2" path="res://Prefab/UI/split_item_frame.tscn" id="2_qttk4"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ouugc"]
bg_color = Color(0.14902, 0.14902, 0.14902, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ho80h"]
draw_center = false
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.878431, 0.0862745, 0.105882, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wgu6p"]
bg_color = Color(0.6, 0.6, 0.6, 0)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.87451, 0.0862745, 0.105882, 1)
[node name="Inventory" type="Panel"]
visible = false
anchors_preset = 11
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -700.0
offset_bottom = -4.0
grow_horizontal = 0
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_ouugc")
script = ExtResource("1_7ku6o")
SplitFrame = ExtResource("2_qttk4")
[node name="InventoryGrid" type="ScrollContainer" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -325.0
offset_top = 295.0
offset_right = 325.0
offset_bottom = -21.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_ho80h")
horizontal_scroll_mode = 0
[node name="Control" type="Control" parent="InventoryGrid"]
layout_mode = 2
size_flags_horizontal = 3
[node name="WeightBar" type="ProgressBar" parent="."]
layout_mode = 1
offset_left = 175.0
offset_top = 250.0
offset_right = 675.0
offset_bottom = 270.0
show_percentage = false
[node name="Label" type="Label" parent="WeightBar"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -30.5
offset_top = -11.5
offset_right = 30.5
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
text = "0 / 100"
horizontal_alignment = 1
[node name="WeightLabel" type="Label" parent="."]
layout_mode = 1
offset_left = 50.0
offset_top = 248.0
offset_right = 150.0
offset_bottom = 271.0
text = "Weight"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Backpack" type="Panel" parent="."]
layout_mode = 1
offset_left = 475.0
offset_top = 25.0
offset_right = 675.0
offset_bottom = 225.0
theme_override_styles/panel = SubResource("StyleBoxFlat_wgu6p")
[node name="Button" type="MenuButton" parent="Backpack"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -100.0
offset_right = 100.0
offset_bottom = 200.0
grow_horizontal = 2
button_mask = 2
text = "Backpack"
[node name="Stats" type="Panel" parent="."]
layout_mode = 1
offset_left = 25.0
offset_top = 25.0
offset_right = 450.0
offset_bottom = 225.0
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=3 uid="uid://u05rhajgvdf0"]
[ext_resource type="Script" path="res://Scripts/Game/Tools/Sniper.cs" id="1_fyler"]
[node name="SingleFireGun" type="Label"]
text = "2. Sniper Rifle"
horizontal_alignment = 2
[node name="Script" type="Node3D" parent="."]
script = ExtResource("1_fyler")
+60
View File
@@ -0,0 +1,60 @@
[gd_scene format=3 uid="uid://beh0wq5p0c1rk"]
[node name="SelectToolFrame" type="Panel"]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 20.0
offset_top = -88.0
offset_right = 160.0
offset_bottom = 5.0
grow_horizontal = 2
grow_vertical = 2
[node name="ItemName" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 23.0
grow_horizontal = 2
text = "Item Name"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ItemSlot" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_top = 23.0
offset_bottom = 46.0
grow_horizontal = 2
text = "Slot Size : 4x4"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ItemWeight" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_top = 46.0
offset_right = 1.0
offset_bottom = 69.0
grow_horizontal = 2
text = "Item Weight : 50"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Capacity" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_top = 70.0
offset_right = 1.0
offset_bottom = 93.0
grow_horizontal = 2
text = "Capacity : 50 / 40"
horizontal_alignment = 1
vertical_alignment = 1
+74
View File
@@ -0,0 +1,74 @@
[gd_scene format=3 uid="uid://dma8pi16kq0w2"]
[node name="split_item_frame" type="Panel"]
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -1530.0
offset_top = -150.0
offset_right = -1030.0
offset_bottom = 50.0
grow_horizontal = 0
grow_vertical = 2
[node name="Title" type="Label" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_right = -250.0
offset_bottom = 40.0
grow_horizontal = 2
scale = Vector2(2, 2)
text = "Split Item"
horizontal_alignment = 1
vertical_alignment = 1
[node name="SplitQuantity" type="LineEdit" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -33.531
offset_top = -120.0
offset_right = 46.469
offset_bottom = -80.0
grow_horizontal = 2
grow_vertical = 0
placeholder_text = "50"
alignment = 1
virtual_keyboard_type = 2
[node name="Split" type="Button" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -210.0
offset_top = -60.0
offset_right = -30.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0
text = "Split
"
[node name="Cancel" type="Button" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = 40.0
offset_top = -60.0
offset_right = 220.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0
text = "Cancel"
+28
View File
@@ -0,0 +1,28 @@
[gd_scene load_steps=4 format=3 uid="uid://ck3xxdbmcedjx"]
[ext_resource type="Script" path="res://Scripts/Game/Bullet.cs" id="1_03ucf"]
[sub_resource type="SphereShape3D" id="SphereShape3D_ny6id"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_lhbkk"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
[node name="Bullet" type="RigidBody3D"]
continuous_cd = true
contact_monitor = true
max_contacts_reported = 1
script = ExtResource("1_03ucf")
[node name="Collider" type="CollisionShape3D" parent="."]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
shape = SubResource("SphereShape3D_ny6id")
[node name="Mesh" type="CSGSphere3D" parent="."]
radius = 0.25
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_lhbkk")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
+15
View File
@@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://cqmet58p8q5w"]
[ext_resource type="Script" path="res://Scripts/Game/DayCycle.cs" id="1_gishy"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_v57te"]
properties/0/path = NodePath(".:rotation")
properties/0/spawn = true
properties/0/replication_mode = 2
[node name="Sun" type="DirectionalLight3D"]
transform = Transform3D(0.965926, -0.258819, 0, 0.00587192, 0.0219143, 0.999743, -0.258752, -0.965677, 0.0226874, 0, 101.532, 0)
script = ExtResource("1_gishy")
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_v57te")