83 lines
2.4 KiB
Plaintext
83 lines
2.4 KiB
Plaintext
[gd_scene load_steps=12 format=2]
|
|
|
|
[ext_resource path="res://figure.gltf" type="PackedScene" id=1]
|
|
[ext_resource path="res://Creature.gd" type="Script" id=2]
|
|
[ext_resource path="res://InfoScreen.gd" type="Script" id=3]
|
|
[ext_resource path="res://Creature.tres" type="Material" id=4]
|
|
|
|
[sub_resource type="CylinderMesh" id=1]
|
|
top_radius = 0.5
|
|
bottom_radius = 0.5
|
|
height = 0.001
|
|
radial_segments = 8
|
|
rings = 2
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
|
|
[sub_resource type="ViewportTexture" id=3]
|
|
viewport_path = NodePath("InfoScreen/Viewport")
|
|
|
|
[sub_resource type="SpatialMaterial" id=4]
|
|
resource_local_to_scene = true
|
|
albedo_texture = SubResource( 3 )
|
|
|
|
[sub_resource type="QuadMesh" id=5]
|
|
|
|
[sub_resource type="BoxShape" id=6]
|
|
extents = Vector3( 0.51038, 0.447592, 0.128839 )
|
|
|
|
[sub_resource type="CylinderShape" id=9]
|
|
height = 1.21849
|
|
|
|
[node name="Creature" index="0" instance=ExtResource( 1 )]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="SelectionIndicator" type="MeshInstance" parent="." index="0"]
|
|
visible = false
|
|
cast_shadow = 0
|
|
mesh = SubResource( 1 )
|
|
material/0 = SubResource( 2 )
|
|
|
|
[node name="InfoScreen" type="StaticBody" parent="." index="1"]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="Screen" type="MeshInstance" parent="InfoScreen" index="0"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.24649, 0 )
|
|
material_override = SubResource( 4 )
|
|
cast_shadow = 0
|
|
mesh = SubResource( 5 )
|
|
material/0 = null
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="InfoScreen" index="1"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.23924, 0 )
|
|
shape = SubResource( 6 )
|
|
|
|
[node name="Viewport" type="Viewport" parent="InfoScreen" index="2"]
|
|
size = Vector2( 500, 500 )
|
|
hdr = false
|
|
disable_3d = true
|
|
usage = 0
|
|
render_target_v_flip = true
|
|
gui_disable_input = true
|
|
|
|
[node name="Control" type="Control" parent="InfoScreen/Viewport" index="0"]
|
|
margin_right = 522.0
|
|
margin_bottom = 494.0
|
|
|
|
[node name="Description" type="RichTextLabel" parent="InfoScreen/Viewport/Control" index="0"]
|
|
margin_top = -1.0
|
|
margin_right = 102.0
|
|
margin_bottom = 101.0
|
|
rect_scale = Vector2( 5, 5 )
|
|
text = "Hallo ik ben een creature.
|
|
aangenaam ofzo"
|
|
|
|
[node name="Mesh" parent="Node/Node 2/Armature" index="0"]
|
|
material/0 = ExtResource( 4 )
|
|
|
|
[node name="Area" type="Area" parent="." index="4"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Area" index="0"]
|
|
transform = Transform( 0.25, 0, 0, 0, 1, 0, 0, 0, 0.25, 0, 0.803572, 0 )
|
|
shape = SubResource( 9 )
|