This commit is contained in:
Gerard Gascón 2025-04-24 17:23:34 +02:00
commit b99855351d
434 changed files with 50357 additions and 0 deletions

19
prefabs/npcs/npc_1.tscn Normal file
View file

@ -0,0 +1,19 @@
[gd_scene load_steps=5 format=3 uid="uid://jas4bhpuc3id"]
[ext_resource type="Script" path="res://scripts/npc/npc.gd" id="1_we1lh"]
[ext_resource type="Resource" uid="uid://6tqg6urrn6xk" path="res://dialogues/character1.json" id="2_1ur5c"]
[ext_resource type="PackedScene" uid="uid://duxlytjrhvg3d" path="res://models/Myd.glb" id="2_s3trv"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3ol7j"]
[node name="CharacterBody3D" type="CharacterBody3D"]
collision_layer = 3
script = ExtResource("1_we1lh")
text = ExtResource("2_1ur5c")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3ol7j")
[node name="Model" parent="." instance=ExtResource("2_s3trv")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0)

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://hdhmwophhre7"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_t6tnb"]
[ext_resource type="PackedScene" uid="uid://jas4bhpuc3id" path="res://prefabs/npcs/npc_1.tscn" id="2_hocol"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_t6tnb")
character_id = "Character1"
[node name="PathFollow3D" type="PathFollow3D" parent="."]
transform = Transform3D(-0.0148199, 0, 0.999865, 0, 1, 0, -0.999865, 0, -0.0148199, 0, 0, 0)
rotation_mode = 1
use_model_front = true
loop = false
tilt_enabled = false
[node name="CharacterBody3D" parent="PathFollow3D" instance=ExtResource("2_hocol")]
transform = Transform3D(-8.74228e-08, 0, -2, 0, 2, 0, 2, 0, -8.74228e-08, 0, 0, 0)

19
prefabs/npcs/npc_2.tscn Normal file
View file

@ -0,0 +1,19 @@
[gd_scene load_steps=5 format=3 uid="uid://buv6flumanvoe"]
[ext_resource type="Script" path="res://scripts/npc/npc.gd" id="1_wo2y7"]
[ext_resource type="Resource" uid="uid://cwuph50ai780s" path="res://dialogues/character2.json" id="2_wpnkv"]
[ext_resource type="PackedScene" uid="uid://dystsbccdabog" path="res://models/mum.glb" id="3_jxwot"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3ol7j"]
[node name="CharacterBody3D" type="CharacterBody3D"]
collision_layer = 3
script = ExtResource("1_wo2y7")
text = ExtResource("2_wpnkv")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3ol7j")
[node name="Model" parent="." instance=ExtResource("3_jxwot")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0)

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://cx8kuqv4n7tno"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_3b4ne"]
[ext_resource type="PackedScene" uid="uid://buv6flumanvoe" path="res://prefabs/npcs/npc_2.tscn" id="2_mrx4d"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_3b4ne")
character_id = "Character2"
[node name="PathFollow3D" type="PathFollow3D" parent="."]
transform = Transform3D(-0.0148199, 0, 0.999865, 0, 1, 0, -0.999865, 0, -0.0148199, 0, 0, 0)
rotation_mode = 1
use_model_front = true
loop = false
tilt_enabled = false
[node name="CharacterBody3D" parent="PathFollow3D" instance=ExtResource("2_mrx4d")]
transform = Transform3D(-8.74228e-08, 0, -2, 0, 2, 0, 2, 0, -8.74228e-08, 0, 0, 0)

19
prefabs/npcs/npc_3.tscn Normal file
View file

@ -0,0 +1,19 @@
[gd_scene load_steps=5 format=3 uid="uid://5ybtk21ub4s5"]
[ext_resource type="Script" path="res://scripts/npc/npc.gd" id="1_ep0wn"]
[ext_resource type="Resource" uid="uid://cci0kxg58ci6a" path="res://dialogues/character3.json" id="2_vmc2w"]
[ext_resource type="PackedScene" uid="uid://c5j5kw70le1ng" path="res://models/dawg.glb" id="3_bmxdp"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3ol7j"]
[node name="CharacterBody3D" type="CharacterBody3D"]
collision_layer = 3
script = ExtResource("1_ep0wn")
text = ExtResource("2_vmc2w")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3ol7j")
[node name="Model" parent="." instance=ExtResource("3_bmxdp")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0)

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://c4or0bgl5mx8p"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_oe08w"]
[ext_resource type="PackedScene" uid="uid://5ybtk21ub4s5" path="res://prefabs/npcs/npc_3.tscn" id="2_kjbpv"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_oe08w")
character_id = "Character3"
[node name="PathFollow3D" type="PathFollow3D" parent="."]
transform = Transform3D(-0.0148199, 0, 0.999865, 0, 1, 0, -0.999865, 0, -0.0148199, 0, 0, 0)
rotation_mode = 1
use_model_front = true
loop = false
tilt_enabled = false
[node name="CharacterBody3D" parent="PathFollow3D" instance=ExtResource("2_kjbpv")]
transform = Transform3D(-8.74228e-08, 0, -2, 0, 2, 0, 2, 0, -8.74228e-08, 0, 0, 0)

19
prefabs/npcs/npc_4.tscn Normal file
View file

@ -0,0 +1,19 @@
[gd_scene load_steps=5 format=3 uid="uid://w7b5g4cs535r"]
[ext_resource type="Script" path="res://scripts/npc/npc.gd" id="1_vey74"]
[ext_resource type="Resource" uid="uid://cve0godte3dr3" path="res://dialogues/character4.json" id="2_y26dc"]
[ext_resource type="PackedScene" uid="uid://7lpmh02u4vah" path="res://models/Buc.glb" id="3_kut2o"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3ol7j"]
[node name="CharacterBody3D" type="CharacterBody3D"]
collision_layer = 3
script = ExtResource("1_vey74")
text = ExtResource("2_y26dc")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3ol7j")
[node name="Model" parent="." instance=ExtResource("3_kut2o")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0)

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://csksipejvudcq"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_ewvyw"]
[ext_resource type="PackedScene" uid="uid://w7b5g4cs535r" path="res://prefabs/npcs/npc_4.tscn" id="2_8ioua"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_ewvyw")
character_id = "Character4"
[node name="PathFollow3D" type="PathFollow3D" parent="."]
transform = Transform3D(-0.0148199, 0, 0.999865, 0, 1, 0, -0.999865, 0, -0.0148199, 0, 0, 0)
rotation_mode = 1
use_model_front = true
loop = false
tilt_enabled = false
[node name="CharacterBody3D" parent="PathFollow3D" instance=ExtResource("2_8ioua")]
transform = Transform3D(-1.31134e-07, 0, -3, 0, 3, 0, 3, 0, -1.31134e-07, 0, 0, 0)

19
prefabs/npcs/npc_5.tscn Normal file
View file

@ -0,0 +1,19 @@
[gd_scene load_steps=5 format=3 uid="uid://bnc5ymdxydiax"]
[ext_resource type="Script" path="res://scripts/npc/npc.gd" id="1_p8bw1"]
[ext_resource type="Resource" uid="uid://cu0t1i7ys0ye4" path="res://dialogues/character5.json" id="2_iw055"]
[ext_resource type="PackedScene" uid="uid://df3qcpluh0yxr" path="res://models/captain_D._Ed.glb" id="3_m4s6j"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3ol7j"]
[node name="CharacterBody3D" type="CharacterBody3D"]
collision_layer = 3
script = ExtResource("1_p8bw1")
text = ExtResource("2_iw055")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3ol7j")
[node name="Model" parent="." instance=ExtResource("3_m4s6j")]
transform = Transform3D(-2.18557e-08, 0, -0.5, 0, 0.5, 0, 0.5, 0, -2.18557e-08, 0, 0, 0)

View file

@ -0,0 +1,22 @@
[gd_scene load_steps=4 format=3 uid="uid://olm3djwv5v62"]
[ext_resource type="Script" path="res://scripts/npc/npc_path_follow.gd" id="1_bf1wd"]
[ext_resource type="PackedScene" uid="uid://bnc5ymdxydiax" path="res://prefabs/npcs/npc_5.tscn" id="2_k7vlv"]
[sub_resource type="Curve3D" id="Curve3D_khpsd"]
resource_local_to_scene = true
[node name="NpcPath" type="Path3D"]
curve = SubResource("Curve3D_khpsd")
script = ExtResource("1_bf1wd")
character_id = "Character5"
[node name="PathFollow3D" type="PathFollow3D" parent="."]
transform = Transform3D(-0.0148199, 0, 0.999865, 0, 1, 0, -0.999865, 0, -0.0148199, 0, 0, 0)
rotation_mode = 1
use_model_front = true
loop = false
tilt_enabled = false
[node name="CharacterBody3D" parent="PathFollow3D" instance=ExtResource("2_k7vlv")]
transform = Transform3D(-1.31134e-07, 0, -3, 0, 3, 0, 3, 0, -1.31134e-07, 0, 0, 0)