Files
net-gunner/templates/pawn_controller.tscn

100 lines
4.1 KiB
Plaintext

[gd_scene format=3 uid="uid://c8xf3qawk5c6u"]
[ext_resource type="Script" uid="uid://bcs7ygh6s3l35" path="res://scripts/pawn_controller.gd" id="1_h27ep"]
[ext_resource type="Script" uid="uid://6w608y2grdqb" path="res://scripts/pawn_level_data.gd" id="14_ncd3b"]
[ext_resource type="AudioStream" uid="uid://cjrlb4qiy23sj" path="res://audio/sounds/impact_deep_thud_bounce_09.wav" id="15_rsl1q"]
[ext_resource type="AudioStream" uid="uid://blbk74d50ldut" path="res://audio/sounds/sci-fi_forcefield_hum_loop_02.wav" id="16_t8028"]
[ext_resource type="AudioStream" uid="uid://fqnkbcrbpi0s" path="res://audio/sounds/2 BROKEN - CK - BEAM Wood Ceiling Drop On Concrete.wav" id="17_o127k"]
[ext_resource type="AudioStream" uid="uid://cfq0pu0qxgb6u" path="res://audio/sounds/134688__otbtechno__bike-bell.wav" id="18_1x3g1"]
[ext_resource type="Texture2D" uid="uid://dmnwtwu5v4voh" path="res://visuals/images/icons/detect mark.png" id="19_5822g"]
[ext_resource type="AudioStream" uid="uid://cmnibhyxpag0a" path="res://audio/sounds/BeepBeep_high.wav" id="20_v7o58"]
[ext_resource type="Script" uid="uid://cvuoq81ipid2o" path="res://scripts/pawn_input.gd" id="22_pnc3q"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_a5wj7"]
radius = 0.25
height = 0.75
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_h27ep"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
properties/1/path = NodePath(".:state")
properties/1/spawn = true
properties/1/replication_mode = 1
properties/2/path = NodePath(".:pawn_name")
properties/2/spawn = true
properties/2/replication_mode = 1
properties/3/path = NodePath(".:id")
properties/3/spawn = true
properties/3/replication_mode = 1
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_pnc3q"]
properties/0/path = NodePath("PawnInput:dir")
properties/0/spawn = true
properties/0/replication_mode = 1
properties/1/path = NodePath("PawnInput:pressed")
properties/1/spawn = true
properties/1/replication_mode = 1
properties/2/path = NodePath("PawnInput:just_pressed")
properties/2/spawn = true
properties/2/replication_mode = 1
properties/3/path = NodePath("PawnInput:just_released")
properties/3/spawn = true
properties/3/replication_mode = 1
[node name="Player" type="CharacterBody3D" unique_id=1460366812 groups=["combat"]]
physics_interpolation_mode = 1
collision_layer = 2
collision_mask = 5
floor_constant_speed = true
floor_max_angle = 0.93549645
floor_snap_length = 1.0
script = ExtResource("1_h27ep")
pawn_name = null
speed = 2.25
id = null
state = null
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1404919876]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.375, 0)
shape = SubResource("CapsuleShape3D_a5wj7")
[node name="Data" type="Node" parent="." unique_id=100144376]
script = ExtResource("14_ncd3b")
[node name="HackSound" type="AudioStreamPlayer3D" parent="." unique_id=279977047]
stream = ExtResource("15_rsl1q")
[node name="FlingSound" type="AudioStreamPlayer3D" parent="." unique_id=1958421727]
stream = ExtResource("16_t8028")
[node name="CrashSound" type="AudioStreamPlayer3D" parent="." unique_id=2017983312]
stream = ExtResource("17_o127k")
[node name="AudioListener3D" type="AudioListener3D" parent="." unique_id=1962288845]
current = true
[node name="DetectSound" type="AudioStreamPlayer3D" parent="." unique_id=1075142073]
stream = ExtResource("18_1x3g1")
volume_db = -80.0
max_db = -11.464
[node name="DetectIcon" type="Sprite3D" parent="." unique_id=1961581758]
transform = Transform3D(0.75, 0, 0, 0, 0.75, 0, 0, 0, 0.75, 0, 1.2337646, 0)
visible = false
billboard = 1
no_depth_test = true
texture = ExtResource("19_5822g")
[node name="DetonateSound" type="AudioStreamPlayer3D" parent="." unique_id=878760876]
stream = ExtResource("20_v7o58")
max_db = -7.0
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="." unique_id=506081656]
replication_config = SubResource("SceneReplicationConfig_h27ep")
[node name="PawnInput" type="MultiplayerSynchronizer" parent="." unique_id=1577014422]
unique_name_in_owner = true
replication_config = SubResource("SceneReplicationConfig_pnc3q")
script = ExtResource("22_pnc3q")