mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 00:33:47 +00:00
Terminal dialogue and entities fix
This commit is contained in:
parent
fe33f8d225
commit
dd979fe50a
16 changed files with 1078 additions and 912 deletions
|
|
@ -1,50 +1,27 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://dioiq4nb7kiet"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dioiq4nb7kiet"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://gc24sjyj47x6" path="res://Sprites/Actors/ForceFieldHorizontal.png" id="2_4cotp"]
|
||||
[ext_resource type="Texture2D" uid="uid://6p28earvo6m2" path="res://textures/Manual/Forcefield/ForceField1.png" id="1_xl5wo"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7axon"]
|
||||
size = Vector3(1.99927, 2.00482, 0.140869)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hfile"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4cotp"]
|
||||
transparency = 1
|
||||
albedo_color = Color(1, 1, 1, 0.490196)
|
||||
albedo_texture = ExtResource("1_xl5wo")
|
||||
texture_filter = 0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2serc"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_hfile"]
|
||||
material = SubResource("StandardMaterial3D_4cotp")
|
||||
size = Vector2(2, 2)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nl1bd"]
|
||||
atlas = ExtResource("2_4cotp")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_q44q4"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hfile")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2serc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nl1bd")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Door3d" type="AnimatableBody3D" groups=["Solid"]]
|
||||
[node name="Forcefield" type="AnimatableBody3D" groups=["Solid"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00500488, 0.00234985, -0.00524902)
|
||||
shape = SubResource("BoxShape3D_7axon")
|
||||
|
||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.596)
|
||||
pixel_size = 0.06
|
||||
texture_filter = 0
|
||||
sprite_frames = SubResource("SpriteFrames_q44q4")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.581369
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("QuadMesh_hfile")
|
||||
|
|
|
|||
|
|
@ -1,15 +1,26 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://hak5o0k5yhn1"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://hak5o0k5yhn1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bc0du3r4krgg1" path="res://3D/BlockbenchModels/Terminal/Terminal.gltf" id="1_7jsh0"]
|
||||
[ext_resource type="Script" uid="uid://duy020jwtwver" path="res://Scripts/Activables/Terminal3D.cs" id="1_sn7tt"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2cx3w"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.405762, 0.402695, 0.405273)
|
||||
|
||||
[node name="BoxRed" type="StaticBody3D"]
|
||||
[node name="Terminal" type="Area3D" groups=["Interactable"]]
|
||||
collision_layer = 32
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_sn7tt")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_2cx3w")
|
||||
|
||||
[node name="Model" type="StaticBody3D" parent="." groups=["Solid"]]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Model"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00488285, -0.00800342, -0.00830072)
|
||||
shape = SubResource("BoxShape3D_hsg1w")
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("1_7jsh0")]
|
||||
[node name="blockbench_export" parent="Model" instance=ExtResource("1_7jsh0")]
|
||||
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue