Adding quick boat dummy to check water vehicles

This commit is contained in:
yannk 2022-02-06 16:38:45 +01:00
parent 63c5b1f286
commit c05644fb98
4 changed files with 795 additions and 1 deletions

5
maps/delta_boat.tscn Normal file
View file

@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=3 uid="uid://duptl2212yaxs"]
[ext_resource type="PackedScene" uid="uid://du4206mrcfifc" path="res://maps/imports/delta_boat.gltf" id="1_hl4wi"]
[node name="delta_boat" instance=ExtResource( "1_hl4wi" )]

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,28 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://du4206mrcfifc"
path="res://.godot/imported/delta_boat.gltf-e38bb97ee9d0b37a448b8d6f045842dc.scn"
[deps]
source_file="res://maps/imports/delta_boat.gltf"
dest_files=["res://.godot/imported/delta_boat.gltf-e38bb97ee9d0b37a448b8d6f045842dc.scn"]
[params]
nodes/root_type="Node3D"
nodes/root_name="Scene Root"
nodes/root_scale=1.0
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.1
skins/use_named_skins=true
animation/import=true
animation/fps=30
import_script/path=""
_subresources={}

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=13 format=3 uid="uid://bkcvep4ijijmc"] [gd_scene load_steps=14 format=3 uid="uid://bkcvep4ijijmc"]
[ext_resource type="Shader" path="res://maps/shaders/water.gdshader" id="1_j5guc"] [ext_resource type="Shader" path="res://maps/shaders/water.gdshader" id="1_j5guc"]
[ext_resource type="Script" path="res://maps/water-zone.gd" id="1_s4mf8"] [ext_resource type="Script" path="res://maps/water-zone.gd" id="1_s4mf8"]
[ext_resource type="PackedScene" uid="uid://duptl2212yaxs" path="res://maps/delta_boat.tscn" id="2_824w2"]
[ext_resource type="PackedScene" uid="uid://ip4lkyho0gry" path="res://maps/water_space.tscn" id="2_nnfoe"] [ext_resource type="PackedScene" uid="uid://ip4lkyho0gry" path="res://maps/water_space.tscn" id="2_nnfoe"]
[ext_resource type="Texture2D" uid="uid://dppjl2jpko3lx" path="res://maps/textures/water_normal_a.png" id="3_vwt8h"] [ext_resource type="Texture2D" uid="uid://dppjl2jpko3lx" path="res://maps/textures/water_normal_a.png" id="3_vwt8h"]
[ext_resource type="Texture2D" uid="uid://b8tu2ncerig3r" path="res://maps/textures/water_normal_b.png" id="4_gohr5"] [ext_resource type="Texture2D" uid="uid://b8tu2ncerig3r" path="res://maps/textures/water_normal_b.png" id="4_gohr5"]
@ -67,6 +68,9 @@ subdivide_depth = 2
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.964225, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.964225, 0)
script = ExtResource( "1_s4mf8" ) script = ExtResource( "1_s4mf8" )
[node name="delta_boat" parent="." instance=ExtResource( "2_824w2" )]
transform = Transform3D(-0.870957, 0, -0.49136, 0, 1, 0, 0.49136, 0, -0.870957, 7.46743, -1.07318, 12.6543)
[node name="water-level" type="MeshInstance3D" parent="."] [node name="water-level" type="MeshInstance3D" parent="."]
transform = Transform3D(20, 0, 0, 0, 1, 0, 0, 0, 20, -0.242517, -1.07318, 0.480083) transform = Transform3D(20, 0, 0, 0, 1, 0, 0, 0, 20, -0.242517, -1.07318, 0.480083)
mesh = SubResource( "PlaneMesh_uh76x" ) mesh = SubResource( "PlaneMesh_uh76x" )