Files
boatgame/boat.tscn
T
2026-07-10 17:26:23 +02:00

46 lines
1.9 KiB
Plaintext

[gd_scene format=3 uid="uid://cieiwihia8t2w"]
[ext_resource type="Script" uid="uid://c0n1x050jvspr" path="res://scripts/boat.gd" id="1_7h74f"]
[ext_resource type="Script" uid="uid://vccbk7tbujhn" path="res://scripts/resource_definitions/weapon_def.gd" id="2_anwow"]
[ext_resource type="Resource" uid="uid://cie5thl0u84ly" path="res://resources/weapons/mark12.tres" id="3_henu8"]
[ext_resource type="Script" uid="uid://ba5ums3xj42h" path="res://scripts/weapon_slot.gd" id="4_1jsln"]
[ext_resource type="Resource" uid="uid://e80gqhl3f150" path="res://resources/weapons/bofors.tres" id="4_jdgnk"]
[sub_resource type="BoxMesh" id="BoxMesh_crate"]
size = Vector3(1, 1, 5)
[sub_resource type="StandardMaterial3D" id="Material_crate"]
albedo_color = Color(0.72, 0.53, 0.32, 1)
roughness = 0.9
[sub_resource type="BoxShape3D" id="BoxShape_crate"]
size = Vector3(1, 1, 5)
[node name="Boat" type="RigidBody3D" unique_id=1387061778 groups=["shift_with_origin"]]
collision_layer = 2
mass = 5.0
script = ExtResource("1_7h74f")
loadout = Dictionary[StringName, ExtResource("2_anwow")]({
&"BowMount": ExtResource("3_henu8"),
&"SternMount": ExtResource("4_jdgnk")
})
buoyancy = 4.0
full_force_depth = 0.8
probe_extents = Vector3(0.35, 0, 2.25)
probe_grid = Vector2i(2, 5)
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=671943938]
mesh = SubResource("BoxMesh_crate")
surface_material_override/0 = SubResource("Material_crate")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=18200711]
shape = SubResource("BoxShape_crate")
[node name="BowMount" type="Node3D" parent="." unique_id=1196033377]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.56350744, -1.6800777)
script = ExtResource("4_1jsln")
[node name="SternMount" type="Node3D" parent="." unique_id=909881913]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0.5398402, 2.0672112)
script = ExtResource("4_1jsln")