82 lines
2.5 KiB
Plaintext
82 lines
2.5 KiB
Plaintext
[gd_scene load_steps=13 format=2]
|
|
|
|
[ext_resource path="res://entities/Player.cs" type="Script" id=1]
|
|
[ext_resource path="res://components/NavigationComponent.cs" type="Script" id=2]
|
|
[ext_resource path="res://assets/Characters/Pirate.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://components/WorldInfoComponent.cs" type="Script" id=5]
|
|
[ext_resource path="res://utils/DebugGeometry.cs" type="Script" id=6]
|
|
[ext_resource path="res://components/MovableComponent.tscn" type="PackedScene" id=7]
|
|
|
|
[sub_resource type="CapsuleShape" id=7]
|
|
radius = 0.3
|
|
height = 0.2
|
|
|
|
[sub_resource type="BoxShape" id=26]
|
|
|
|
[sub_resource type="CubeMesh" id=27]
|
|
|
|
[sub_resource type="SpatialMaterial" id=28]
|
|
flags_transparent = true
|
|
albedo_color = Color( 1, 1, 1, 0.0470588 )
|
|
|
|
[sub_resource type="CylinderShape" id=24]
|
|
height = 0.2
|
|
|
|
[sub_resource type="SphereShape" id=23]
|
|
radius = 0.1
|
|
|
|
[node name="Player" type="KinematicBody"]
|
|
collision_layer = 0
|
|
collision_mask = 0
|
|
axis_lock_motion_y = true
|
|
move_lock_y = true
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, 0 )
|
|
shape = SubResource( 7 )
|
|
|
|
[node name="Movable" parent="." instance=ExtResource( 7 )]
|
|
|
|
[node name="WorldInfo" type="Node" parent="."]
|
|
script = ExtResource( 5 )
|
|
World = NodePath("../../TileWorld")
|
|
|
|
[node name="Navigation" type="Spatial" parent="."]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="PathCollisionQueryVolume" type="Area" parent="Navigation"]
|
|
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 2, 0, 1, 2 )
|
|
collision_layer = 0
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Navigation/PathCollisionQueryVolume"]
|
|
shape = SubResource( 26 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="Navigation/PathCollisionQueryVolume"]
|
|
mesh = SubResource( 27 )
|
|
material/0 = SubResource( 28 )
|
|
|
|
[node name="ItemAttractorArea" type="Area" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 8
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ItemAttractorArea"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.123516, 0 )
|
|
shape = SubResource( 24 )
|
|
|
|
[node name="ItemPickupArea" type="Area" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 8
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ItemPickupArea"]
|
|
shape = SubResource( 23 )
|
|
|
|
[node name="Geometry" parent="." instance=ExtResource( 4 )]
|
|
|
|
[node name="DebugGeometry" type="Spatial" parent="."]
|
|
script = ExtResource( 6 )
|
|
|
|
[node name="ImmediateGeometry" type="ImmediateGeometry" parent="DebugGeometry"]
|