A raging quest
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=61 format=3 uid="uid://dchj6g2i8ebph"]
|
||||
[gd_scene load_steps=65 format=3 uid="uid://dchj6g2i8ebph"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://brgmxhhhtakja" path="res://scenes/Levels/level.gd" id="1_a4mo8"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb6hj6l23043x" path="res://assets/models/human.blend" id="1_eg4yq"]
|
||||
@@ -9,6 +9,7 @@
|
||||
[ext_resource type="PackedScene" path="res://scenes/Vehicles/car.tscn" id="5_car"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnqaqbgynoyys" path="res://assets/models/TestCharAnimated.glb" id="5_fi66n"]
|
||||
[ext_resource type="Script" uid="uid://bk53njt7i3kmv" path="res://scenes/Interaction/dialog_trigger_area.gd" id="6_dialog"]
|
||||
[ext_resource type="Script" path="res://scenes/Quests/quest_trigger_area.gd" id="7_qtrigger"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_2q6dc"]
|
||||
bounce = 0.5
|
||||
@@ -200,6 +201,20 @@ material = SubResource("StandardMaterial3D_dialog_zone")
|
||||
radius = 2.5
|
||||
height = 5.0
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_checkpoint"]
|
||||
radius = 3.0
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_checkpoint"]
|
||||
transparency = 1
|
||||
cull_mode = 2
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 0.804, 0.204, 0.2)
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_checkpoint"]
|
||||
material = SubResource("StandardMaterial3D_checkpoint")
|
||||
radius = 3.0
|
||||
height = 6.0
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_2q6dc"]
|
||||
size = Vector3(1080, 2, 1080)
|
||||
|
||||
@@ -287,6 +302,19 @@ shape = SubResource("SphereShape3D_dialog_zone")
|
||||
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
|
||||
mesh = SubResource("SphereMesh_dialog_zone")
|
||||
|
||||
[node name="QuestCheckpoint" type="Area3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9, 0, -10)
|
||||
script = ExtResource("7_qtrigger")
|
||||
event_name = &"reach_checkpoint"
|
||||
target_group = &"vehicle"
|
||||
quest_id_filter = "first_drive"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="QuestCheckpoint"]
|
||||
shape = SubResource("SphereShape3D_checkpoint")
|
||||
|
||||
[node name="Visual" type="MeshInstance3D" parent="QuestCheckpoint"]
|
||||
mesh = SubResource("SphereMesh_checkpoint")
|
||||
|
||||
[node name="Ground" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
|
||||
|
||||
@@ -377,6 +405,24 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.08, 0.08, 0.1, 1)
|
||||
|
||||
[node name="QuestTitle" type="Label" parent="PhoneUI/Control/PhoneFrame"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 18.0
|
||||
offset_right = 150.0
|
||||
offset_bottom = 41.0
|
||||
text = "Quest Log"
|
||||
|
||||
[node name="QuestText" type="RichTextLabel" parent="PhoneUI/Control/PhoneFrame"]
|
||||
layout_mode = 0
|
||||
offset_left = 18.0
|
||||
offset_top = 52.0
|
||||
offset_right = 344.0
|
||||
offset_bottom = 613.0
|
||||
bbcode_enabled = true
|
||||
scroll_active = false
|
||||
text = "No active quest."
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_a4mo8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user