[gd_scene format=3 uid="uid://ct70bpbca8one"] [ext_resource type="PackedScene" uid="uid://d3yjdufcbjtxc" path="res://scenes/player/telefrag_area.tscn" id="1_0yoer"] [ext_resource type="PackedScene" uid="uid://bod6b3befmyt5" path="res://scenes/player/soldier_m.tscn" id="1_jd651"] [ext_resource type="PackedScene" uid="uid://cl66unms2gim0" path="res://scenes/player/effects.tscn" id="2_ywmwa"] [ext_resource type="Shader" uid="uid://datt1r440base" path="res://shaders/vignette.tres" id="3_7awel"] [ext_resource type="PackedScene" uid="uid://c1gs6cqek1qlq" path="res://scenes/ui/hud.tscn" id="5_cv68x"] [ext_resource type="Texture2D" uid="uid://bdfqu6p74pfwe" path="res://raw_assets/crosshair/Crosshair 1.png" id="6_7awel"] [ext_resource type="AudioStream" uid="uid://upjuu3vc7tcs" path="res://raw_assets/sfx/zapsplat_glass/zapsplat_household_wine_glasses_full_wine_and_ice_clink_together_cheers_celebrate_006_111350.mp3" id="6_dguuj"] [ext_resource type="AudioStream" uid="uid://jktwx7dyak2f" path="res://raw_assets/sfx/zapsplat_glass/zapsplat_household_drinking_glasses_champagne_flutes_full_champagne_clink_together_cheers_celebrate_004_111316.mp3" id="7_3nqsm"] [ext_resource type="AudioStream" uid="uid://bfg31e3s4jv8c" path="res://raw_assets/sfx/Hit.mp3" id="7_dguuj"] [ext_resource type="AudioStream" uid="uid://cl416orgv11vj" path="res://raw_assets/sfx/ball/little_robot_sound_factory_fantasy_Inventory_Open_00.mp3" id="8_cmcit"] [ext_resource type="AudioStream" uid="uid://uq0o8gkpqhfa" path="res://raw_assets/sfx/ball/zapsplat_foley_stick_swing_air_whoosh_very_fast_hard_003_110413.mp3" id="9_qpw6d"] [ext_resource type="PackedScene" uid="uid://uvwg721hwp71" path="res://scenes/ui/cooldown_icon.tscn" id="10_h6dt6"] [ext_resource type="Theme" uid="uid://drydbnrcdv4pk" path="res://default_theme.tres" id="11_0yoer"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_oh8vq"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_dguuj"] shader = ExtResource("3_7awel") shader_parameter/Color = Color(1, 0, 0, 1) shader_parameter/RimDistance = 0.7 shader_parameter/FloatParameter = 3.0 [node name="player" type="LocalPlayer" unique_id=863055906 node_paths=PackedStringArray("camera", "vignette", "soldier_mesh", "collider", "effects", "dead_cam_target", "respawn_label", "camera_origin", "weapon_node", "hud", "hit_sound", "goal_sound_good", "goal_sound_bad", "pickup_ball_sfx", "throw_ball_sfx", "telegrenade_cooldown")] look_sensitivity = 1.5 camera = NodePath("camera_3d") vignette = NodePath("vignette") move_speed = 7.0 soldier_mesh = NodePath("soldier_m") collider = NodePath("collision_shape_3d2") effects = NodePath("effects") dead_cam_target = NodePath("dead_camera_target") respawn_label = NodePath("respawn_label") camera_origin = NodePath("camera_3d") weapon_node = NodePath("camera_3d/weapon_node") hud = NodePath("hud") hit_sound = NodePath("hit_sound") goal_sound_good = NodePath("goal_good") goal_sound_bad = NodePath("goal_bad") pickup_ball_sfx = NodePath("ball_pickup_sfx") throw_ball_sfx = NodePath("ball_throw_sfx") health = 100 punch_cooldown = 1.0 telegrenade_cooldown = NodePath("cooldown_icon") telefrag_area_prefab = ExtResource("1_0yoer") telegrenade_cd = 10.0 collision_mask = 4 slide_on_ceiling = false floor_constant_speed = true [node name="camera_3d" type="Camera3D" parent="." unique_id=1773137418] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.872, 0) current = true fov = 90.0 [node name="weapon_node" type="Node3D" parent="camera_3d" unique_id=919330414] transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0.09660053, -0.122348905, -0.048912734) [node name="soldier_m" parent="." unique_id=281995630 instance=ExtResource("1_jd651")] transform = Transform3D(-0.5, 0, -4.371139e-08, 0, 0.5, 0, 4.371139e-08, 0, -0.5, 0, 0, 0.2667923) [node name="collision_shape_3d2" type="CollisionShape3D" parent="." unique_id=442150782] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CapsuleShape3D_oh8vq") [node name="effects" parent="." unique_id=986677517 instance=ExtResource("2_ywmwa")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.16157162, 1.4223524, 0) [node name="dead_camera_target" type="Node3D" parent="." unique_id=559969559] transform = Transform3D(1, 0, 0, 0, 0.9069022, 0.4213412, 0, -0.4213412, 0.9069022, 0, 2.3258846, 1.5254744) [node name="vignette" type="ColorRect" parent="." unique_id=1797767615] material = SubResource("ShaderMaterial_dguuj") anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="crosshair" type="TextureRect" parent="." unique_id=1329977849] modulate = Color(1, 1, 1, 0.5058824) anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -14.25 offset_top = -14.25 offset_right = 14.25 offset_bottom = 14.25 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("6_7awel") expand_mode = 3 [node name="respawn_label" type="Label" parent="." unique_id=595642200] 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 = -11.5 offset_right = 20.0 offset_bottom = 11.5 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("11_0yoer") horizontal_alignment = 1 [node name="hit_sound" type="AudioStreamPlayer" parent="." unique_id=1224745673] stream = ExtResource("7_dguuj") bus = &"SFX" [node name="goal_good" type="AudioStreamPlayer" parent="." unique_id=798263606] stream = ExtResource("6_dguuj") bus = &"SFX" [node name="goal_bad" type="AudioStreamPlayer" parent="." unique_id=1673136668] stream = ExtResource("7_3nqsm") bus = &"SFX" [node name="ball_pickup_sfx" type="AudioStreamPlayer" parent="." unique_id=1503656313] stream = ExtResource("8_cmcit") bus = &"SFX" [node name="ball_throw_sfx" type="AudioStreamPlayer" parent="." unique_id=1577850877] stream = ExtResource("9_qpw6d") bus = &"SFX" [node name="cooldown_icon" parent="." unique_id=1635472390 instance=ExtResource("10_h6dt6")] [node name="hud" parent="." unique_id=2049159590 instance=ExtResource("5_cv68x")] [connection signal="on_exit" from="hud" to="." method="exit"] [connection signal="on_exit_to_lobby" from="hud" to="." method="exit_to_lobby"]