Adding elements to add sound in natural ground area

This commit is contained in:
yannk 2022-04-27 23:36:38 +02:00
parent 23bd957134
commit 33310b9241
3 changed files with 26 additions and 1 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=13 format=3 uid="uid://bfo13c5k8xu0x"]
[gd_scene load_steps=14 format=3 uid="uid://bfo13c5k8xu0x"]
[ext_resource type="ArrayMesh" uid="uid://5nujxqav8ev6" path="res://maps/meshes/import/microvegetation_aa.tres" id="1_gpetq"]
[ext_resource type="Material" uid="uid://dpegsmygxcfmv" path="res://maps/materials/basic_ground.material" id="1_m0t8b"]
@ -7,6 +7,9 @@
[ext_resource type="PackedScene" uid="uid://8aljdwbvgxr4" path="res://maps/objects/tree_aa.tscn" id="5_tjsaf"]
[ext_resource type="CompressedTexture3D" uid="uid://mnqonf3lhid4" path="res://maps/textures/ta-brumes-02_01.png" id="6_osvcv"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xise6"]
size = Vector3(40.8373, 12.9017, 35.145)
[sub_resource type="QuadMesh" id="QuadMesh_cbf1j"]
material = ExtResource( "1_m0t8b" )
@ -37,6 +40,12 @@ density_texture = ExtResource( "6_osvcv" )
[node name="natural_ground" type="Node3D"]
[node name="natural_ground_area" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="natural_ground_area"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.63323, 0)
shape = SubResource( "BoxShape3D_xise6" )
[node name="ground" type="MeshInstance3D" parent="."]
transform = Transform3D(50, 0, 0, 0, 0, 1, 0, -50, 0, 0, 0, 0)
mesh = SubResource( "QuadMesh_cbf1j" )

Binary file not shown.

View file

@ -0,0 +1,16 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOGGVorbis"
uid="uid://dt2j2mdmdrx4y"
path="res://.godot/imported/nature_loop_Boucle.ogg-3326fd56a63b282df5288f67a9015ae1.oggvorbisstr"
[deps]
source_file="res://sounds/nature/nature_loop_Boucle.ogg"
dest_files=["res://.godot/imported/nature_loop_Boucle.ogg-3326fd56a63b282df5288f67a9015ae1.oggvorbisstr"]
[params]
loop=true
loop_offset=0