-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add weapon hardpoints, save reusable frigate scene
- Loading branch information
1 parent
71a4ddd
commit 6566e0c
Showing
11 changed files
with
125 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[gd_scene load_steps=11 format=3 uid="uid://bxggrqus7bst5"] | ||
|
||
[ext_resource type="Script" path="res://ships/ship.gd" id="1_wioy5"] | ||
[ext_resource type="PackedScene" uid="uid://b7tckdwyjwpso" path="res://weapons/blaster/blaster_bolt.tscn" id="2_gae27"] | ||
[ext_resource type="Resource" uid="uid://dmd83o4ylhb0l" path="res://ships/frigate03/frigate03.tres" id="2_lg5km"] | ||
[ext_resource type="PackedScene" uid="uid://cdyo800b83x5i" path="res://effects/explosions/explosion002.tscn" id="2_xcc1t"] | ||
[ext_resource type="Material" uid="uid://dskoto6nul131" path="res://gui/target_overlay_mat.tres" id="4_it73y"] | ||
[ext_resource type="AudioStream" uid="uid://5iqc5o8p02l5" path="res://ships/audio/THRUSTER LOW.wav" id="4_xrdjv"] | ||
[ext_resource type="ArrayMesh" uid="uid://c2y60nf8m25ka" path="res://ships/frigate03/frigate03_mesh.tres" id="6_g7bx0"] | ||
|
||
[sub_resource type="BoxShape3D" id="BoxShape3D_quq5g"] | ||
size = Vector3(1.98299, 0.832642, 1.04932) | ||
|
||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ce32m"] | ||
shading_mode = 0 | ||
|
||
[sub_resource type="QuadMesh" id="QuadMesh_plv6r"] | ||
material = SubResource("StandardMaterial3D_ce32m") | ||
size = Vector2(3, 3) | ||
orientation = 1 | ||
|
||
[node name="Frigate" type="RigidBody3D" node_paths=PackedStringArray("thruster_audio", "mesh_instance", "weapon_hardpoints") groups=["ships"]] | ||
transform = Transform3D(1, -3.48787e-16, 3.48787e-16, 3.48787e-16, 1, -3.48787e-16, -3.48787e-16, 3.48787e-16, 1, 0, 0, 0) | ||
collision_mask = 2 | ||
axis_lock_linear_y = true | ||
axis_lock_angular_x = true | ||
axis_lock_angular_z = true | ||
script = ExtResource("1_wioy5") | ||
ship_def = ExtResource("2_lg5km") | ||
bullet = ExtResource("2_gae27") | ||
explosion = ExtResource("2_xcc1t") | ||
thruster_audio = NodePath("AudioStreamPlayer3D") | ||
target_overlay_material = ExtResource("4_it73y") | ||
mesh_instance = NodePath("MeshInstance3D") | ||
weapon_hardpoints = [NodePath("BlasterHardpoint")] | ||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] | ||
transform = Transform3D(-4.63277e-08, 3.48787e-16, 1, 3.48787e-16, 1, -3.48787e-16, -1, 3.48787e-16, -1.07655e-07, 0.00127268, -0.00946045, 0.308623) | ||
shape = SubResource("BoxShape3D_quq5g") | ||
|
||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."] | ||
transform = Transform3D(-0.4, 1.39515e-16, 3.49691e-08, 1.39515e-16, 0.4, -1.39515e-16, -3.49691e-08, -1.39515e-16, -0.4, 3.24163e-24, -3.24163e-24, 0.204503) | ||
mesh = ExtResource("6_g7bx0") | ||
skeleton = NodePath("") | ||
|
||
[node name="MinimapIcon" type="MeshInstance3D" parent="."] | ||
transform = Transform3D(1, -1.21652e-31, 0, -1.21652e-31, 1, 0, 0, 0, 1, 0, 0, 0) | ||
layers = 2 | ||
mesh = SubResource("QuadMesh_plv6r") | ||
|
||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."] | ||
transform = Transform3D(1, -1.21652e-31, 0, -1.21652e-31, 1, 0, 0, 0, 1, -6.21724e-17, 6.21724e-17, 0.178253) | ||
stream = ExtResource("4_xrdjv") | ||
volume_db = -40.0 | ||
|
||
[node name="BlasterHardpoint" type="Node3D" parent="."] | ||
transform = Transform3D(1, -1.21652e-31, 0, -1.21652e-31, 1, 0, 0, 0, 1, 2.35838e-16, -2.35838e-16, -0.676166) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.