feat: Add tree model to spawn
This commit is contained in:
parent
3620a95b8b
commit
f99af7cd6a
Binary file not shown.
|
|
@ -0,0 +1,42 @@
|
|||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bp5416wnjuue1"
|
||||
path="res://.godot/imported/Tree.glb-ee2d55d8b3c1e9949bbea10c69d9d7d2.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/3d/Tree.glb"
|
||||
dest_files=["res://.godot/imported/Tree.glb-ee2d55d8b3c1e9949bbea10c69d9d7d2.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
Binary file not shown.
|
|
@ -0,0 +1,44 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dq7bfl67j5siu"
|
||||
path.s3tc="res://.godot/imported/Tree_tree_texture.png-a8241c5ce28dd6662164d1d3679db874.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "e8869372908c5e95a7d127e20dd0f35d"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/3d/Tree_tree_texture.png"
|
||||
dest_files=["res://.godot/imported/Tree_tree_texture.png-a8241c5ce28dd6662164d1d3679db874.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
1
cc.txt
1
cc.txt
|
|
@ -1,3 +1,4 @@
|
|||
Rails by dook [CC-BY] (https://creativecommons.org/licenses/by/3.0/) via Poly Pizza (https://poly.pizza/m/5JTOJuMHJw)
|
||||
Jim the Linux Penguin by Rebekah Yoder is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
Drink Tea SVG Vector by Zlatko Najdenovski is licensed under a Creative COmmons Attribution International License.
|
||||
Tree by Poly by Google [CC-BY] (https://creativecommons.org/licenses/by/3.0/) via Poly Pizza (https://poly.pizza/m/6pwiq7hSrHr)
|
||||
|
|
|
|||
13
spawn.tscn
13
spawn.tscn
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene format=3 uid="uid://m45422rsfnmh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dixivehd47h0o" path="res://spawn.gd" id="1_3a72r"]
|
||||
[ext_resource type="PackedScene" uid="uid://cw1io6sune5u8" path="res://tree.tscn" id="2_yqulk"]
|
||||
|
||||
[sub_resource type="PlaneMesh" id="PlaneMesh_kdh3y"]
|
||||
size = Vector2(150, 150)
|
||||
|
|
@ -14,3 +15,15 @@ script = ExtResource("1_3a72r")
|
|||
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=651037282]
|
||||
mesh = SubResource("PlaneMesh_kdh3y")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_eoxb4")
|
||||
|
||||
[node name="Tree" parent="." unique_id=1643526032 instance=ExtResource("2_yqulk")]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 56.65297, 0, 58.980564)
|
||||
|
||||
[node name="Tree2" parent="." unique_id=1540661030 instance=ExtResource("2_yqulk")]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -58.315056, 0, 58.980564)
|
||||
|
||||
[node name="Tree3" parent="." unique_id=733885099 instance=ExtResource("2_yqulk")]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 56.65297, 0, -59.754894)
|
||||
|
||||
[node name="Tree4" parent="." unique_id=1749315975 instance=ExtResource("2_yqulk")]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, -58.315056, 0, -59.754894)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,54 @@
|
|||
[gd_scene format=3 uid="uid://cw1io6sune5u8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bp5416wnjuue1" path="res://assets/3d/Tree.glb" id="1_brfkd"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_brfkd"]
|
||||
size = Vector3(20, 2, 20)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nnvrw"]
|
||||
albedo_color = Color(0.24176407, 0.16295472, 0.12468862, 1)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_gvmkm"]
|
||||
size = Vector3(22, 2, 2)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_d2g23"]
|
||||
albedo_color = Color(0.39, 0.39, 0.39, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_brfkd"]
|
||||
size = Vector3(22, 54.24121, 22)
|
||||
|
||||
[node name="Tree" type="Node3D" unique_id=1643526032]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
|
||||
[node name="Tree" parent="." unique_id=1223026190 instance=ExtResource("1_brfkd")]
|
||||
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=105535720]
|
||||
mesh = SubResource("BoxMesh_brfkd")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_nnvrw")
|
||||
|
||||
[node name="Mesh2" type="MeshInstance3D" parent="Mesh" unique_id=1501168588]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 10)
|
||||
mesh = SubResource("BoxMesh_gvmkm")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_d2g23")
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="Mesh" unique_id=382879196]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -10)
|
||||
mesh = SubResource("BoxMesh_gvmkm")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_d2g23")
|
||||
|
||||
[node name="Mesh3" type="MeshInstance3D" parent="Mesh" unique_id=370187374]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 10, 1, -4.371139e-07)
|
||||
mesh = SubResource("BoxMesh_gvmkm")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_d2g23")
|
||||
|
||||
[node name="Mesh4" type="MeshInstance3D" parent="Mesh" unique_id=1513845959]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -10, 1, 4.371139e-07)
|
||||
mesh = SubResource("BoxMesh_gvmkm")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_d2g23")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1165832201]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=1944726310]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 22.141476, 0)
|
||||
shape = SubResource("BoxShape3D_brfkd")
|
||||
Loading…
Reference in New Issue