MultiplayerFighter
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.

153 lines
8.4 KiB

2 weeks ago
[gd_scene load_steps=9 format=3 uid="uid://db06e8q8f8bdq"]
3 weeks ago
[ext_resource type="Script" uid="uid://c2si8gkbnde0c" path="res://level/scripts/player.gd" id="1_player"]
2 weeks ago
[ext_resource type="PackedScene" uid="uid://b22ou40sbkavj" path="res://assets/characters/player/LilguyRigged.glb" id="2_lilguy"]
[ext_resource type="Script" uid="uid://cf7jky1bcs560" path="res://level/scripts/lilguy_body.gd" id="3_body"]
3 weeks ago
[ext_resource type="Script" uid="uid://bj7yrijm7bppq" path="res://level/scripts/spring_arm_offset.gd" id="4_spring"]
1 week ago
[ext_resource type="Script" uid="uid://bj3uepduxvgju" path="res://level/scripts/hurt_box.gd" id="5_hurtbox"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_yxyay"]
radius = 0.35796
height = 1.73092
2 weeks ago
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_hurtbox"]
radius = 0.4
height = 1.8
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_xbohm"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
3 weeks ago
properties/1/path = NodePath("LilguyRigged/AnimationPlayer:current_animation")
properties/1/spawn = true
properties/1/replication_mode = 1
properties/2/path = NodePath("PlayerNick/Nickname:text")
properties/2/spawn = true
properties/2/replication_mode = 1
3 weeks ago
properties/3/path = NodePath("LilguyRigged/Armature:rotation")
properties/3/spawn = true
properties/3/replication_mode = 1
3 weeks ago
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("_body", "_spring_arm_offset", "_weapon_attachment", "_weapon_container", "_offhand_attachment", "_offhand_container")]
collision_mask = 3
2 weeks ago
script = ExtResource("1_player")
3 weeks ago
_body = NodePath("LilguyRigged/Armature")
_spring_arm_offset = NodePath("SpringArmOffset")
_weapon_attachment = NodePath("LilguyRigged/Armature/Skeleton3D/WeaponPoint")
_weapon_container = NodePath("LilguyRigged/Armature/Skeleton3D/WeaponPoint/WeaponContainer")
_offhand_attachment = NodePath("LilguyRigged/Armature/Skeleton3D/OffhandPoint")
_offhand_container = NodePath("LilguyRigged/Armature/Skeleton3D/OffhandPoint/OffhandContainer")
3 weeks ago
[node name="LilguyRigged" parent="." instance=ExtResource("2_lilguy")]
[node name="Armature" parent="LilguyRigged" index="0" node_paths=PackedStringArray("_character", "animation_player")]
transform = Transform3D(0.003, 0, 0, 0, -1.3113416e-10, -0.003, 0, 0.003, -1.3113416e-10, 0, 0, 0)
script = ExtResource("3_body")
3 weeks ago
_character = NodePath("../..")
animation_player = NodePath("../AnimationPlayer")
3 weeks ago
[node name="Skeleton3D" parent="LilguyRigged/Armature" index="0"]
bones/0/position = Vector3(-0.32859802, 2.9141626, -546.76843)
bones/0/rotation = Quaternion(-0.6608289, 0.28933656, -0.19178493, 0.66543835)
bones/1/position = Vector3(0.054167695, 63.219894, -3.33786e-06)
bones/1/rotation = Quaternion(0.015321612, 0.025352655, 0.0947179, 0.99506336)
bones/2/position = Vector3(-1.8112361e-05, 73.7566, -1.621247e-05)
bones/2/rotation = Quaternion(0.034659874, 0.050472155, 0.051301125, 0.99680465)
bones/3/position = Vector3(-3.0510128e-05, 84.29319, 9.059899e-06)
bones/3/rotation = Quaternion(0.029244598, 0.05379088, -0.051849354, 0.99677634)
bones/4/position = Vector3(3.8038404e-05, 94.83001, 1.9073414e-06)
bones/4/rotation = Quaternion(0.0006217413, 0.08164966, 0.020404326, 0.9964521)
bones/5/position = Vector3(-0.25257444, 72.84532, -7.644296e-06)
bones/5/rotation = Quaternion(0.037355006, 0.19943582, -0.04159446, 0.9783148)
bones/6/position = Vector3(-0.606337, 174.89494, 7.152558e-06)
bones/7/position = Vector3(-0.19949026, 76.75483, 52.286175)
bones/7/rotation = Quaternion(0.80360717, -0.09628771, 0.10672592, 0.57754105)
bones/8/position = Vector3(4.5403274e-05, 110.91907, 9.404198e-05)
bones/8/rotation = Quaternion(0.25522023, -0.08967148, 0.029356971, 0.9622681)
bones/9/position = Vector3(2.3064584e-05, 173.66367, 5.063071e-05)
bones/9/rotation = Quaternion(0.08784258, -0.16096693, 0.24338366, 0.95243776)
bones/10/position = Vector3(-2.2947788e-05, 166.48767, -1.2734416e-05)
bones/11/position = Vector3(0.23053212, 76.75536, -52.28617)
bones/11/rotation = Quaternion(0.14271267, -0.5852636, 0.7822879, 0.15851)
bones/12/position = Vector3(1.532285e-05, 110.91911, 4.0430357e-05)
bones/12/rotation = Quaternion(0.32197043, 0.13412262, 0.2711233, 0.89712787)
bones/13/position = Vector3(1.5523525e-05, 173.6661, 0.00010698747)
bones/13/rotation = Quaternion(0.090376236, 0.10155637, -0.39819276, 0.90717196)
bones/14/position = Vector3(-2.0682812e-05, 166.48976, 3.939679e-05)
bones/15/position = Vector3(0.6496186, -35.1185, 49.84838)
bones/15/rotation = Quaternion(0.38543156, 0.16380574, 0.82174975, 0.38644233)
bones/16/position = Vector3(8.771768e-06, 312.91962, 7.4840264e-06)
bones/16/rotation = Quaternion(-0.053004134, 0.17209636, 0.39056766, 0.90279037)
bones/17/position = Vector3(-1.8137518e-05, 301.05597, -2.1670077e-05)
bones/17/rotation = Quaternion(0.2498236, 0.64725155, -0.67117685, 0.26110402)
bones/18/position = Vector3(-3.026353e-05, 14.185886, -1.4917823e-06)
bones/18/rotation = Quaternion(0.11539694, 0.017187497, -0.010002339, 0.9931204)
bones/19/position = Vector3(-4.351055e-06, 11.391233, -2.5032205e-06)
bones/20/position = Vector3(0.014209064, -35.118507, -49.848385)
bones/20/rotation = Quaternion(-0.07370261, -0.18747209, 0.94122386, 0.27114522)
bones/21/position = Vector3(2.8756085e-05, 312.91974, 5.14377e-06)
bones/21/rotation = Quaternion(-0.037353504, -0.04220154, 0.46134973, 0.88542664)
bones/22/position = Vector3(2.2092872e-05, 301.0575, 1.8114511e-05)
bones/22/rotation = Quaternion(0.79332, 0.1285891, -0.36227074, 0.47208923)
bones/23/position = Vector3(1.3624241e-05, 15.034077, 9.790485e-06)
bones/23/rotation = Quaternion(0.11885707, 0.009522018, -0.0077985795, 0.9928351)
bones/24/position = Vector3(-2.4847686e-06, 11.913359, -6.198885e-06)
3 weeks ago
[node name="WeaponPoint" type="BoneAttachment3D" parent="LilguyRigged/Armature/Skeleton3D" index="1"]
transform = Transform3D(-0.4329258, -0.61284786, 0.6610537, 0.7782944, 0.11585927, 0.6171174, -0.45478824, 0.78166056, 0.42681772, -352.385, -73.56995, -531.9614)
bone_name = "mixamorig_RightHand"
bone_idx = 14
2 weeks ago
[node name="WeaponContainer" type="Node3D" parent="LilguyRigged/Armature/Skeleton3D/WeaponPoint"]
transform = Transform3D(36.6912, 297.2667, 16.921356, 46.72698, 11.0892515, -296.13126, -294.05847, 38.85366, -44.94499, 24.08223, -7.4241333, 7.098694)
3 weeks ago
[node name="OffhandPoint" type="BoneAttachment3D" parent="LilguyRigged/Armature/Skeleton3D" index="2"]
transform = Transform3D(0.62123704, -0.004605159, -0.7836091, -0.62031674, 0.6081372, -0.49535444, 0.4788229, 0.79381835, 0.3749406, 135.65929, 334.35745, -511.27094)
bone_name = "mixamorig_LeftHand"
bone_idx = 10
2 weeks ago
[node name="OffhandContainer" type="Node3D" parent="LilguyRigged/Armature/Skeleton3D/OffhandPoint"]
transform = Transform3D(-17.74905, -295.46814, -48.82108, 21.019196, -50.01525, 295.05362, -298.73593, 14.035805, 23.660797, 0.005859375, 0.39337158, 0.06616211)
[node name="AnimationPlayer" parent="LilguyRigged" index="1"]
speed_scale = 2.0
3 weeks ago
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
1 week ago
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -0.066, 1.647685, 0.01)
shape = SubResource("CapsuleShape3D_yxyay")
2 weeks ago
[node name="HurtBox" type="Area3D" parent="." node_paths=PackedStringArray("owner_entity")]
collision_layer = 16
collision_mask = 0
script = ExtResource("5_hurtbox")
owner_entity = NodePath("..")
[node name="HurtBoxShape" type="CollisionShape3D" parent="HurtBox"]
1 week ago
transform = Transform3D(1.9228287, 0, 0, 0, 1.4454772, 0, 0, 0, 1.4906956, -0.066, 2.0836046, 0.01)
2 weeks ago
shape = SubResource("CapsuleShape3D_hurtbox")
3 weeks ago
[node name="SpringArmOffset" type="Node3D" parent="." node_paths=PackedStringArray("_spring_arm")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
3 weeks ago
script = ExtResource("4_spring")
_spring_arm = NodePath("SpringArm3D")
3 weeks ago
[node name="SpringArm3D" type="SpringArm3D" parent="SpringArmOffset"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
spring_length = 5.0
3 weeks ago
[node name="Camera3D" type="Camera3D" parent="SpringArmOffset/SpringArm3D"]
current = true
3 weeks ago
[node name="PlayerNick" type="Node3D" parent="."]
3 weeks ago
[node name="Nickname" type="Label3D" parent="PlayerNick"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.97037, 0)
billboard = 1
outline_modulate = Color(0, 0, 0, 0.301961)
text = "player name test"
3 weeks ago
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_xbohm")
2 weeks ago
[editable path="LilguyRigged"]