2023-05-04 13:35:20 -06:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://dp1q51kvd8uow"]
|
2023-01-24 12:43:19 -07:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://characters/teddy/Teddy.gd" id="1_ywxo5"]
|
2023-05-04 13:35:20 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dabv0m7iiccid" path="res://objects/gun/Gun.glb" id="2_gh1pb"]
|
2023-03-17 12:46:53 -06:00
|
|
|
[ext_resource type="Script" path="res://scripts/nameLabel.gd" id="3_1v4js"]
|
2023-04-13 13:24:38 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b4eo3c2ux18r1" path="res://characters/teddy/teddy_model.tscn" id="4_q0pxc"]
|
2023-04-11 13:31:11 -06:00
|
|
|
[ext_resource type="ArrayMesh" uid="uid://b26a54y2fd5n8" path="res://characters/teddy/cotton/cotton.obj" id="4_qbair"]
|
2023-01-24 12:43:19 -07:00
|
|
|
|
2023-05-04 11:29:32 -06:00
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_nrd0x"]
|
|
|
|
radius = 0.452747
|
|
|
|
height = 2.18444
|
2023-01-24 12:43:19 -07:00
|
|
|
|
2023-02-07 13:22:31 -07:00
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_qq44a"]
|
2023-01-24 12:43:19 -07:00
|
|
|
|
2023-02-07 13:22:31 -07:00
|
|
|
[node name="Teddy" type="CharacterBody3D" groups=["human"]]
|
2023-03-18 01:11:03 -06:00
|
|
|
safe_margin = 0.01
|
2023-02-07 13:22:31 -07:00
|
|
|
script = ExtResource("1_ywxo5")
|
2023-01-24 12:43:19 -07:00
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
2023-05-04 11:29:32 -06:00
|
|
|
shape = SubResource("CapsuleShape3D_nrd0x")
|
2023-01-24 12:43:19 -07:00
|
|
|
|
2023-02-07 13:22:31 -07:00
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D"]
|
2023-03-09 13:26:09 -07:00
|
|
|
visible = false
|
2023-02-07 13:22:31 -07:00
|
|
|
mesh = SubResource("CapsuleMesh_qq44a")
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
|
|
[node name="Neck" type="Node3D" parent="CollisionShape3D"]
|
2023-01-24 12:43:19 -07:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.859224, 0)
|
|
|
|
|
2023-02-07 13:22:31 -07:00
|
|
|
[node name="Camera3D" type="Camera3D" parent="CollisionShape3D/Neck"]
|
2023-01-27 12:47:13 -07:00
|
|
|
|
2023-02-14 11:40:02 -07:00
|
|
|
[node name="BulletGenerator" type="Marker3D" parent="CollisionShape3D/Neck/Camera3D"]
|
2023-01-27 12:47:13 -07:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.104801, -0.858231)
|
2023-02-22 21:31:22 -07:00
|
|
|
|
2023-05-04 13:35:20 -06:00
|
|
|
[node name="Gun" parent="CollisionShape3D/Neck/Camera3D" instance=ExtResource("2_gh1pb")]
|
|
|
|
transform = Transform3D(-0.0344415, 0, 0.422806, 0, 0.424206, 0, -0.422806, 0, -0.0344415, 0.892882, -1.09288, -1.20165)
|
|
|
|
visible = false
|
|
|
|
|
2023-04-15 13:02:34 -06:00
|
|
|
[node name="Teddy" parent="CollisionShape3D/Neck" instance=ExtResource("4_q0pxc")]
|
2023-04-13 13:24:38 -06:00
|
|
|
transform = Transform3D(-0.328533, 1.14588e-16, -2.87213e-08, 1.14588e-16, 0.328533, -1.14588e-16, 2.87213e-08, -1.14588e-16, -0.328533, 2.08165e-12, -1.87888, 2.08165e-12)
|
2023-03-09 13:26:09 -07:00
|
|
|
|
2023-02-22 21:31:22 -07:00
|
|
|
[node name="sound" type="AudioStreamPlayer3D" parent="."]
|
2023-02-25 15:21:18 -07:00
|
|
|
|
|
|
|
[node name="nameLabel" type="Label3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.60152, 0)
|
|
|
|
text = "Un-named Player"
|
2023-03-17 12:46:53 -06:00
|
|
|
script = ExtResource("3_1v4js")
|
2023-04-06 13:27:41 -06:00
|
|
|
|
|
|
|
[node name="CPUParticles3D" type="CPUParticles3D" parent="."]
|
|
|
|
emitting = false
|
|
|
|
amount = 3
|
2023-04-11 13:31:11 -06:00
|
|
|
mesh = ExtResource("4_qbair")
|
2023-04-06 13:27:41 -06:00
|
|
|
emission_shape = 1
|
|
|
|
emission_sphere_radius = 1.0
|
|
|
|
particle_flag_rotate_y = true
|
|
|
|
spread = 4.55
|
|
|
|
gravity = Vector3(2.08165e-12, -6, 2.08165e-12)
|
|
|
|
initial_velocity_max = 4.76
|
|
|
|
angular_velocity_max = 54.86
|
|
|
|
linear_accel_max = 2.02
|
|
|
|
radial_accel_max = 4.04
|
|
|
|
tangential_accel_max = 3.06
|
|
|
|
damping_max = 3.27
|
|
|
|
angle_min = 7.3
|
|
|
|
angle_max = 29.1
|
|
|
|
scale_amount_min = 0.05
|
2023-04-07 13:07:46 -06:00
|
|
|
scale_amount_max = 0.1
|