You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
196 lines
6.4 KiB
196 lines
6.4 KiB
[gd_scene load_steps=24 format=3 uid="uid://dnuy2pdb7p1gy"] |
|
|
|
[ext_resource type="Theme" uid="uid://4tevy1my8joc" path="res://hud/theme/ui_theme.tres" id="1"] |
|
[ext_resource type="Script" uid="uid://bwlbh0k6pm7hw" path="res://player/movement.gd" id="1_1nsan"] |
|
[ext_resource type="Script" uid="uid://c1llv3kpm51m2" path="res://player/player.gd" id="1_vycj2"] |
|
[ext_resource type="Texture2D" uid="uid://bghhc7sjlstuv" path="res://player/player.png" id="2"] |
|
[ext_resource type="Script" uid="uid://cm1l4kpund5dp" path="res://player/appearance.gd" id="2_uewl2"] |
|
[ext_resource type="Script" uid="uid://lavpkfgmvc82" path="res://player/health.gd" id="3_t8epa"] |
|
[ext_resource type="Script" uid="uid://c3ly8e6oigxab" path="res://player/network.gd" id="4_w24id"] |
|
[ext_resource type="Script" uid="uid://cx5bh024nq4ot" path="res://player/inventory.gd" id="5_0sdk6"] |
|
[ext_resource type="Texture2D" uid="uid://3m3yv5gi6t35" path="res://world/blocks/simple.png" id="6"] |
|
[ext_resource type="Texture2D" uid="uid://dkbjlb3ie6eo7" path="res://item/guns/ColtSingleActionArmy.png" id="7"] |
|
[ext_resource type="Script" uid="uid://dv62vpu4lkr87" path="res://item/creative_building.gd" id="7_x7c3f"] |
|
[ext_resource type="Texture2D" uid="uid://bwk4k706icgq" path="res://item/guns/DoubleBarrel.png" id="9"] |
|
[ext_resource type="Script" uid="uid://vvivkvsnr34j" path="res://item/weapon.gd" id="9_yu5hk"] |
|
[ext_resource type="Texture2D" uid="uid://boka3vpba0msa" path="res://item/guns/SuperSoaker.png" id="10"] |
|
[ext_resource type="Texture2D" uid="uid://cvkgeg6x8yxtw" path="res://item/guns/M1Garand.png" id="11"] |
|
[ext_resource type="Texture2D" uid="uid://dddw8o4powkib" path="res://item/guns/FNScar.png" id="12"] |
|
[ext_resource type="AudioStream" uid="uid://dinsrxi61427g" path="res://item/sounds/shotgun.wav" id="13"] |
|
[ext_resource type="AudioStream" uid="uid://bdsgcbe6my0t3" path="res://item/sounds/revolver.wav" id="14"] |
|
[ext_resource type="AudioStream" uid="uid://dtdtur6706acx" path="res://item/sounds/rifle.wav" id="15"] |
|
[ext_resource type="AudioStream" uid="uid://clj0jr2p5n2fm" path="res://item/sounds/assault_rifle.wav" id="16"] |
|
[ext_resource type="Script" uid="uid://disk1asctm3lb" path="res://player/chunk_loader.gd" id="21_x7c3f"] |
|
|
|
[sub_resource type="CircleShape2D" id="1"] |
|
radius = 7.9 |
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_65viv"] |
|
properties/0/path = NodePath(".:position") |
|
properties/0/spawn = true |
|
properties/0/replication_mode = 1 |
|
properties/1/path = NodePath(".:velocity") |
|
properties/1/spawn = true |
|
properties/1/replication_mode = 1 |
|
|
|
[node name="Player" type="CharacterBody2D"] |
|
z_index = 10 |
|
collision_layer = 2 |
|
script = ExtResource("1_vycj2") |
|
|
|
[node name="Shape" type="CollisionShape2D" parent="."] |
|
shape = SubResource("1") |
|
|
|
[node name="Appearance" type="Node2D" parent="."] |
|
script = ExtResource("2_uewl2") |
|
|
|
[node name="DisplayName" type="Label" parent="Appearance"] |
|
modulate = Color(1, 1, 1, 0.501961) |
|
custom_minimum_size = Vector2(160, 15) |
|
anchors_preset = 5 |
|
anchor_left = 0.5 |
|
anchor_right = 0.5 |
|
offset_left = -720.0 |
|
offset_top = -24.0 |
|
offset_right = -560.0 |
|
offset_bottom = -9.0 |
|
theme = ExtResource("1") |
|
|
|
[node name="Sprite" type="Sprite2D" parent="Appearance"] |
|
z_index = -5 |
|
texture = ExtResource("2") |
|
|
|
[node name="Inventory" type="Node2D" parent="."] |
|
script = ExtResource("5_0sdk6") |
|
|
|
[node name="Creative Building" type="Sprite2D" parent="Inventory"] |
|
visible = false |
|
scale = Vector2(0.5, 0.5) |
|
texture = ExtResource("6") |
|
offset = Vector2(12, 0) |
|
script = ExtResource("7_x7c3f") |
|
|
|
[node name="Revolver" type="Sprite2D" parent="Inventory"] |
|
visible = false |
|
texture = ExtResource("7") |
|
offset = Vector2(8, 0) |
|
script = ExtResource("9_yu5hk") |
|
fire_rate = 400 |
|
capacity = 6 |
|
reload_time = 1.4 |
|
knockback = 50.0 |
|
spread = 1.5 |
|
spread_increase = 1.0 |
|
recoil_min = 3.0 |
|
recoil_max = 5.0 |
|
bullet_velocity = 1200 |
|
damage = 0.22 |
|
|
|
[node name="Tip" type="Node2D" parent="Inventory/Revolver"] |
|
position = Vector2(15, -2.5) |
|
|
|
[node name="Fire" type="AudioStreamPlayer2D" parent="Inventory/Revolver"] |
|
stream = ExtResource("14") |
|
|
|
[node name="Shotgun" type="Sprite2D" parent="Inventory"] |
|
visible = false |
|
texture = ExtResource("9") |
|
offset = Vector2(8, 0) |
|
script = ExtResource("9_yu5hk") |
|
capacity = 2 |
|
reload_time = 2.0 |
|
knockback = 135.0 |
|
spread = 8.0 |
|
spread_increase = 10.0 |
|
recoil_min = 6.0 |
|
recoil_max = 12.0 |
|
effective_range = 240 |
|
maximum_range = 360 |
|
bullet_velocity = 1000 |
|
bullets_per_shot = 6 |
|
damage = 0.6 |
|
bullet_opacity = 0.1 |
|
|
|
[node name="Tip" type="Node2D" parent="Inventory/Shotgun"] |
|
position = Vector2(22, -1.5) |
|
|
|
[node name="Fire" type="AudioStreamPlayer2D" parent="Inventory/Shotgun"] |
|
stream = ExtResource("13") |
|
|
|
[node name="Rifle" type="Sprite2D" parent="Inventory"] |
|
visible = false |
|
texture = ExtResource("11") |
|
offset = Vector2(8, 0) |
|
script = ExtResource("9_yu5hk") |
|
capacity = 1 |
|
reload_time = 1.6 |
|
knockback = 100.0 |
|
spread_increase = 2.0 |
|
recoil_min = 8.0 |
|
recoil_max = 8.0 |
|
effective_range = 480 |
|
maximum_range = 920 |
|
bullet_velocity = 4000 |
|
damage = 0.8 |
|
bullet_opacity = 0.4 |
|
|
|
[node name="Tip" type="Node2D" parent="Inventory/Rifle"] |
|
position = Vector2(24, -1.5) |
|
|
|
[node name="Fire" type="AudioStreamPlayer2D" parent="Inventory/Rifle"] |
|
stream = ExtResource("15") |
|
|
|
[node name="Assault Rifle" type="Sprite2D" parent="Inventory"] |
|
visible = false |
|
texture = ExtResource("12") |
|
offset = Vector2(8, 0) |
|
script = ExtResource("9_yu5hk") |
|
automatic = true |
|
fire_rate = 600 |
|
capacity = 30 |
|
reload_time = 2.4 |
|
knockback = 30.0 |
|
spread = 0.6 |
|
spread_increase = 0.8 |
|
recoil_min = 1.0 |
|
recoil_max = 2.5 |
|
damage = 0.12 |
|
bullet_opacity = 0.15 |
|
|
|
[node name="Tip" type="Node2D" parent="Inventory/Assault Rifle"] |
|
position = Vector2(22, -1.5) |
|
|
|
[node name="Fire" type="AudioStreamPlayer2D" parent="Inventory/Assault Rifle"] |
|
stream = ExtResource("16") |
|
|
|
[node name="Super Soaker" type="Sprite2D" parent="Inventory"] |
|
visible = false |
|
texture = ExtResource("10") |
|
offset = Vector2(8, 0) |
|
script = ExtResource("9_yu5hk") |
|
automatic = true |
|
fire_rate = 120 |
|
capacity = 4 |
|
reload_time = 2.0 |
|
knockback = 60.0 |
|
spread = 3.0 |
|
spread_increase = 10.0 |
|
bullet_velocity = 640 |
|
bullets_per_shot = 16 |
|
bullet_opacity = 0.05 |
|
|
|
[node name="Tip" type="Node2D" parent="Inventory/Super Soaker"] |
|
position = Vector2(17, 0.5) |
|
|
|
[node name="Movement" type="Node" parent="."] |
|
script = ExtResource("1_1nsan") |
|
|
|
[node name="Health" type="Node" parent="."] |
|
script = ExtResource("3_t8epa") |
|
|
|
[node name="Network" type="MultiplayerSynchronizer" parent="."] |
|
replication_config = SubResource("SceneReplicationConfig_65viv") |
|
script = ExtResource("4_w24id") |
|
|
|
[node name="ChunkLoader" type="Node2D" parent="."] |
|
script = ExtResource("21_x7c3f")
|
|
|