first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
[gd_scene format=3 uid="uid://dnxeupvhs25c5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://de0b6l5ylu4oy" path="res://addons/NPC/script/blood_particles.gd" id="1_wa0q6"]
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_7mumk"]
|
||||
lifetime_randomness = 0.34
|
||||
direction = Vector3(0, 1, 0)
|
||||
spread = 180.0
|
||||
initial_velocity_min = 2.0
|
||||
initial_velocity_max = 4.0
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0c2lx"]
|
||||
albedo_color = Color(0.7527466, 0, 0.041491196, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_yn2k5"]
|
||||
material = SubResource("StandardMaterial3D_0c2lx")
|
||||
size = Vector3(0.055, 0.05, 0)
|
||||
|
||||
[node name="BloodParticles" type="GPUParticles3D" unique_id=181301576]
|
||||
emitting = false
|
||||
amount = 15
|
||||
lifetime = 0.4
|
||||
one_shot = true
|
||||
explosiveness = 1.0
|
||||
process_material = SubResource("ParticleProcessMaterial_7mumk")
|
||||
draw_pass_1 = SubResource("BoxMesh_yn2k5")
|
||||
script = ExtResource("1_wa0q6")
|
||||
@@ -0,0 +1,34 @@
|
||||
[gd_scene format=3 uid="uid://dr6aa08wnojoo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bgnhdyrrg72kx" path="res://addons/NPC/script/enemy_mob.gd" id="1_uwf7c"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_se2kl"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_diulm"]
|
||||
size = Vector3(2.6951447, 1.3225784, 5.542081)
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_sngx8"]
|
||||
|
||||
[node name="em" type="StaticBody3D" unique_id=2094693982]
|
||||
collision_layer = 64
|
||||
collision_mask = 121
|
||||
script = ExtResource("1_uwf7c")
|
||||
|
||||
[node name="Hitbox" type="CollisionShape3D" parent="." unique_id=1852865682]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.017934263, 0.009854734, 0.019842744)
|
||||
shape = SubResource("CapsuleShape3D_se2kl")
|
||||
debug_color = Color(0.52798665, 0.57221377, 5.7756904e-07, 0.41960785)
|
||||
|
||||
[node name="DetectArea" type="Area3D" parent="." unique_id=798798411]
|
||||
transform = Transform3D(1.15835, 0, 0, 0, 1.5085664, 0, 0, 0, 0.5336906, 0.4316032, 0.013125002, -0.39214337)
|
||||
collision_layer = 64
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectArea" unique_id=1961649541]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5433707, 0.09678304, 0.42794847)
|
||||
shape = SubResource("BoxShape3D_diulm")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1417626392]
|
||||
mesh = SubResource("CapsuleMesh_sngx8")
|
||||
|
||||
[connection signal="area_entered" from="DetectArea" to="." method="_on_detect_area_area_entered"]
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,34 @@
|
||||
[gd_scene format=3 uid="uid://vo2yhy5ym5ug"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bgnhdyrrg72kx" path="res://addons/NPC/script/enemy_mob.gd" id="1_g34hb"]
|
||||
[ext_resource type="Script" uid="uid://drhhet1lt3f5a" path="res://addons/hp/health_component.gd" id="2_pr0ef"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_jkuv2"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_g34hb"]
|
||||
size = Vector3(9.06456, 2.5653687, 8.218338)
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_pr0ef"]
|
||||
|
||||
[node name="CharacterBody3D" type="CharacterBody3D" unique_id=1156384226]
|
||||
collision_layer = 64
|
||||
collision_mask = 121
|
||||
script = ExtResource("1_g34hb")
|
||||
|
||||
[node name="Hitbox" type="CollisionShape3D" parent="." unique_id=1374343369]
|
||||
shape = SubResource("CapsuleShape3D_jkuv2")
|
||||
|
||||
[node name="DetectArea" type="Area3D" parent="." unique_id=356424442]
|
||||
collision_layer = 64
|
||||
collision_mask = 121
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectArea" unique_id=2072637957]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.16861972, 0.64931965, -0.60822296)
|
||||
shape = SubResource("BoxShape3D_g34hb")
|
||||
debug_color = Color(0.5763886, 0.84150624, 0.017774109, 0.41960785)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=297370616]
|
||||
mesh = SubResource("CapsuleMesh_pr0ef")
|
||||
|
||||
[node name="HealthComponent" type="Node3D" parent="." unique_id=1263552151]
|
||||
script = ExtResource("2_pr0ef")
|
||||
@@ -0,0 +1,52 @@
|
||||
[gd_scene format=3 uid="uid://cdhaqyi31qpjw"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://mlweykxjyekq" path="res://addons/custmode/en.glb" id="1_yy4rf"]
|
||||
[ext_resource type="Texture2D" uid="uid://dyx44n2j1qyuj" path="res://addons/custmode/en_0.png" id="2_f1rwy"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6soc7"]
|
||||
albedo_texture = ExtResource("2_f1rwy")
|
||||
metallic_specular = 0.42
|
||||
|
||||
[sub_resource type="Skin" id="Skin_0dhb3"]
|
||||
bind_count = 8
|
||||
bind/0/name = &""
|
||||
bind/0/bone = -1
|
||||
bind/0/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
bind/1/name = &""
|
||||
bind/1/bone = -1
|
||||
bind/1/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
bind/2/name = &""
|
||||
bind/2/bone = -1
|
||||
bind/2/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
bind/3/name = &""
|
||||
bind/3/bone = -1
|
||||
bind/3/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
bind/4/name = &""
|
||||
bind/4/bone = -1
|
||||
bind/4/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
bind/5/name = &""
|
||||
bind/5/bone = -1
|
||||
bind/5/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
bind/6/name = &""
|
||||
bind/6/bone = -1
|
||||
bind/6/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
bind/7/name = &""
|
||||
bind/7/bone = -1
|
||||
bind/7/pose = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
||||
|
||||
[node name="en" unique_id=1144982072 instance=ExtResource("1_yy4rf")]
|
||||
|
||||
[node name="temp_mesh_ply" parent="world" parent_id_path=PackedInt32Array(1653574111) index="0" unique_id=1619009496]
|
||||
material_override = SubResource("StandardMaterial3D_6soc7")
|
||||
skin = SubResource("Skin_0dhb3")
|
||||
|
||||
[node name="FABRIK3D" type="FABRIK3D" parent="." index="1" unique_id=326317683]
|
||||
setting_count = 1
|
||||
settings/0/target_node = NodePath("../world/temp_mesh_ply")
|
||||
settings/0/root_bone_name = ""
|
||||
settings/0/root_bone = -1
|
||||
settings/0/end_bone_name = ""
|
||||
settings/0/end_bone = -1
|
||||
settings/0/joint_count = 0
|
||||
|
||||
[node name="Skeleton3D" type="Skeleton3D" parent="FABRIK3D" index="0" unique_id=1597347973]
|
||||
Reference in New Issue
Block a user