Basic events system started.
This commit is contained in:
74
scenes/Maps/TestMap/TestMap.tscn
Normal file
74
scenes/Maps/TestMap/TestMap.tscn
Normal file
@@ -0,0 +1,74 @@
|
||||
[gd_scene load_steps=11 format=3 uid="uid://dx6fv8n4jl5ku"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://yhtpoum3eek7" path="res://scenes/Entities/Rosa.tscn" id="1_7b7hx"]
|
||||
[ext_resource type="PackedScene" uid="uid://dr4b2pmsknuhc" path="res://scenes/Entities/TestNPC.tscn" id="2_cg1ph"]
|
||||
[ext_resource type="PackedScene" uid="uid://lh713g04d3bg" path="res://scenes/Maps/TestMap/TestMapGround.tscn" id="3_gxq5o"]
|
||||
[ext_resource type="PackedScene" uid="uid://boj5o4fx41rv8" path="res://scenes/Maps/TestMap/TestMapBuilding.tscn" id="4_brp0k"]
|
||||
[ext_resource type="Script" path="res://scripts/Events/EventTextbox.gd" id="5_cg1ph"]
|
||||
[ext_resource type="Script" uid="uid://sqi2ehu4sqa1" path="res://scripts/Events/EventGroup.gd" id="5_gxq5o"]
|
||||
[ext_resource type="Script" uid="uid://bv36suxm08vqe" path="res://scripts/Events/EventPause.gd" id="6_brp0k"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_e1h75"]
|
||||
sky_horizon_color = Color(0.59625, 0.6135, 0.6375, 1)
|
||||
sky_energy_multiplier = 0.0
|
||||
ground_bottom_color = Color(0, 0, 0, 1)
|
||||
ground_horizon_color = Color(0.59625, 0.6135, 0.6375, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_weucl"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_e1h75")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_nyivo"]
|
||||
sky = SubResource("Sky_weucl")
|
||||
ambient_light_source = 1
|
||||
|
||||
[node name="Some-map" type="Node3D"]
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_nyivo")
|
||||
|
||||
[node name="Rosa" parent="." instance=ExtResource("1_7b7hx")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.19857, 0.684572, 0.968477)
|
||||
|
||||
[node name="Green" parent="." node_paths=PackedStringArray("interactEvent") instance=ExtResource("2_cg1ph")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.68747, 0.459578, -0.399262)
|
||||
interactEvent = NodePath("../Events/TestGroup")
|
||||
moveType = 1
|
||||
direction = 1
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7.20244, 3.80554)
|
||||
light_energy = 3.375
|
||||
shadow_bias = 0.0
|
||||
shadow_normal_bias = 0.9
|
||||
omni_range = 281.646
|
||||
|
||||
[node name="Map" type="Node3D" parent="."]
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="Ground" parent="Map" instance=ExtResource("3_gxq5o")]
|
||||
|
||||
[node name="Building2" parent="Map" instance=ExtResource("4_brp0k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.13514, 2.62692, -0.0984068)
|
||||
|
||||
[node name="Building" parent="Map" instance=ExtResource("4_brp0k")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.92766, 2.37929, -4.38178)
|
||||
|
||||
[node name="Events" type="Node" parent="."]
|
||||
|
||||
[node name="TestGroup" type="Node" parent="Events"]
|
||||
script = ExtResource("5_gxq5o")
|
||||
|
||||
[node name="Pause" type="Node" parent="Events/TestGroup"]
|
||||
script = ExtResource("6_brp0k")
|
||||
|
||||
[node name="Text 0" type="Node" parent="Events/TestGroup"]
|
||||
script = ExtResource("5_cg1ph")
|
||||
text = "Text 0"
|
||||
|
||||
[node name="Text 1" type="Node" parent="Events/TestGroup"]
|
||||
script = ExtResource("5_cg1ph")
|
||||
text = "Text 1"
|
||||
|
||||
[node name="Resume" type="Node" parent="Events/TestGroup"]
|
||||
script = ExtResource("6_brp0k")
|
||||
pauseType = 0
|
Reference in New Issue
Block a user