OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-tps_demo / game / maps / map_test / map_test.tscn

68 lines · tscn ref:
[gd_scene load_steps=10 format=2]

[ext_resource path="res://assets/maps/map_test/asset_map_test.tscn" type="PackedScene" id=1]
[ext_resource path="res://game/maps/map_core.gd" type="Script" id=2]
[ext_resource path="res://game/map_decorations/spawnpad_nocollision.tscn" type="PackedScene" id=3]
[ext_resource path="res://game/map_decorations/teleport.scn" type="PackedScene" id=4]
[ext_resource path="res://assets/maps/map_test/map_test_environment.scn" type="PackedScene" id=5]
[ext_resource path="res://assets/sounds/ambience/howling_wind.mp3" type="AudioStream" id=6]
[ext_resource path="res://game/map_decorations/portal.tscn" type="PackedScene" id=7]
[ext_resource path="res://game/map_decorations/teleporter.gd" type="Script" id=8]

[sub_resource type="BoxShape" id=35]

[node name="map_test" type="Spatial"]
script = ExtResource( 2 )
map_name = "map_test"

[node name="WorldEnvironment" parent="." instance=ExtResource( 5 )]

[node name="asset_map_test" parent="." instance=ExtResource( 1 )]

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 15.9681, -28.9587 )
stream = ExtResource( 6 )
unit_size = 5.0
max_db = 1.0
pitch_scale = 1.36
autoplay = true
max_distance = 500.0

[node name="Teleporters" type="Spatial" parent="."]

[node name="Teleporter_1" parent="Teleporters" instance=ExtResource( 4 )]
transform = Transform( 0.655427, 0, -0.755259, 0, 1, 0, 0.755259, 0, 0.655427, -15.0371, -3.75616, -37.6492 )
script = ExtResource( 8 )
teleportation_destination = "map_cyber1"

[node name="PlayerSpawnNodes" type="Spatial" parent="."]

[node name="Spawnpad_1" parent="PlayerSpawnNodes" instance=ExtResource( 3 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0.673, 2.446, -3.56 )

[node name="Spawnpad_2" parent="PlayerSpawnNodes" instance=ExtResource( 3 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 2.238, -3.872, -77.137 )

[node name="Spawnpad_3" parent="PlayerSpawnNodes" instance=ExtResource( 3 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -13.621, -3.482, 9.865 )

[node name="Spawnpad_4" parent="PlayerSpawnNodes" instance=ExtResource( 3 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -21.4394, -3.87374, -17.1152 )

[node name="Spawnpad_5" parent="PlayerSpawnNodes" instance=ExtResource( 3 )]
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -9.88113, 8.96284, -17.1152 )

[node name="Area" type="Area" parent="."]

[node name="CollisionShape" type="CollisionShape" parent="Area"]
transform = Transform( 30, 0, 0, 0, 30, 0, 0, 0, 80, 0, 0, -23.7039 )
shape = SubResource( 35 )

[node name="Portals" type="Spatial" parent="."]

[node name="Portal" parent="Portals" instance=ExtResource( 7 )]
transform = Transform( 0.965926, 0, -0.258819, 0, 1, 0, 0.258819, 0, 0.965926, -2.39988, 1.13516, -33.2994 )
portal_destination = "witchy-world.pck"

[connection signal="body_entered" from="Area" to="." method="_on_Area_body_entered" binds= [ "map_test" ]]