-
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.
- Loading branch information
Showing
16 changed files
with
239 additions
and
35 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
Binary file not shown.
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,19 @@ | ||
[remap] | ||
|
||
importer="mp3" | ||
type="AudioStreamMP3" | ||
uid="uid://cb2xi2uin55r1" | ||
path="res://.godot/imported/laser1.mp3-3344d66c1f8fd48ab53c33b3ac56e3c8.mp3str" | ||
|
||
[deps] | ||
|
||
source_file="res://mechanics/combat/weapons/torpedo/laser1.mp3" | ||
dest_files=["res://.godot/imported/laser1.mp3-3344d66c1f8fd48ab53c33b3ac56e3c8.mp3str"] | ||
|
||
[params] | ||
|
||
loop=false | ||
loop_offset=0 | ||
bpm=0 | ||
beat_count=0 | ||
bar_beats=4 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://b6338fvv2c7c2" | ||
path.s3tc="res://.godot/imported/torpedo.png-4a0a8d422c14cf953d57dd81ae28908c.s3tc.ctex" | ||
metadata={ | ||
"imported_formats": ["s3tc_bptc"], | ||
"vram_texture": true | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://mechanics/combat/weapons/torpedo/torpedo.png" | ||
dest_files=["res://.godot/imported/torpedo.png-4a0a8d422c14cf953d57dd81ae28908c.s3tc.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=2 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=true | ||
mipmaps/limit=-1 | ||
roughness/mode=1 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=false | ||
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 |
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,12 @@ | ||
[gd_resource type="Resource" script_class="Weapon" load_steps=3 format=3 uid="uid://x4cvy30r6rdc"] | ||
|
||
[ext_resource type="Script" path="res://mechanics/combat/weapons/weapon.gd" id="1_l24ix"] | ||
[ext_resource type="PackedScene" uid="uid://djo5waum4hiyn" path="res://mechanics/combat/weapons/torpedo/torpedo.tscn" id="1_xfgdh"] | ||
|
||
[resource] | ||
script = ExtResource("1_l24ix") | ||
fire_interval = 1.0 | ||
fire_force = 6.0 | ||
power_consumption = 10.0 | ||
heat = 20.0 | ||
projectile = ExtResource("1_xfgdh") |
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,71 @@ | ||
[gd_scene load_steps=10 format=3 uid="uid://djo5waum4hiyn"] | ||
|
||
[ext_resource type="Script" path="res://mechanics/combat/weapons/projectile.gd" id="1_lgstg"] | ||
[ext_resource type="Script" path="res://mechanics/combat/damage.gd" id="2_nykuf"] | ||
[ext_resource type="PackedScene" uid="uid://cp0b07jvhi5a" path="res://fx/explosions/explosion001.tscn" id="3_kxh65"] | ||
[ext_resource type="Texture2D" uid="uid://b6338fvv2c7c2" path="res://mechanics/combat/weapons/torpedo/torpedo.png" id="4_ej81m"] | ||
[ext_resource type="AudioStream" uid="uid://cb2xi2uin55r1" path="res://mechanics/combat/weapons/torpedo/laser1.mp3" id="5_ayg2o"] | ||
|
||
[sub_resource type="Resource" id="Resource_a466u"] | ||
script = ExtResource("2_nykuf") | ||
shield_damage = 100.0 | ||
hull_damage = 100.0 | ||
heat = 40.0 | ||
|
||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5b1vh"] | ||
radius = 0.33408 | ||
height = 1.10555 | ||
|
||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_04jjf"] | ||
shading_mode = 0 | ||
albedo_color = Color(0.359069, 0.359069, 0.359069, 1) | ||
|
||
[sub_resource type="QuadMesh" id="QuadMesh_fxvid"] | ||
material = SubResource("StandardMaterial3D_04jjf") | ||
orientation = 1 | ||
|
||
[node name="Torpedo" type="RigidBody3D"] | ||
collision_layer = 2 | ||
axis_lock_linear_y = true | ||
axis_lock_angular_x = true | ||
axis_lock_angular_y = true | ||
axis_lock_angular_z = true | ||
gravity_scale = 1.66533e-16 | ||
lock_rotation = true | ||
continuous_cd = true | ||
max_contacts_reported = 1 | ||
contact_monitor = true | ||
linear_damp_mode = 1 | ||
angular_velocity = Vector3(3.63316e-14, 3.63316e-14, 3.63316e-14) | ||
angular_damp_mode = 1 | ||
script = ExtResource("1_lgstg") | ||
lifetime_msec = 10000 | ||
damage = SubResource("Resource_a466u") | ||
explosion = ExtResource("3_kxh65") | ||
thrust_force = 6.0 | ||
turning_rate = 3.0 | ||
|
||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."] | ||
transform = Transform3D(0.3, 0, -4.57379e-24, -4.57379e-24, -1.31134e-08, -0.3, 0, 0.3, -1.31134e-08, 0, 0, -0.486987) | ||
shape = SubResource("CapsuleShape3D_5b1vh") | ||
|
||
[node name="Sprite3D" type="Sprite3D" parent="."] | ||
transform = Transform3D(-4.37114e-08, 3.48787e-16, 1, 3.48787e-16, 1, -3.48787e-16, -1, 3.48787e-16, -4.37114e-08, 0, 0, -0.510476) | ||
gi_mode = 2 | ||
axis = 1 | ||
texture = ExtResource("4_ej81m") | ||
|
||
[node name="OmniLight3D" type="OmniLight3D" parent="."] | ||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08165e-12, 1, -0.510476) | ||
|
||
[node name="MinimapIcon" type="MeshInstance3D" parent="."] | ||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.510476) | ||
layers = 2 | ||
cast_shadow = 0 | ||
gi_mode = 0 | ||
mesh = SubResource("QuadMesh_fxvid") | ||
|
||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."] | ||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.510476) | ||
stream = ExtResource("5_ayg2o") | ||
autoplay = true |
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,20 @@ | ||
[gd_resource type="Resource" script_class="Outfit" load_steps=3 format=3 uid="uid://cyx3v8jagovnv"] | ||
|
||
[ext_resource type="Script" path="res://mechanics/outfitting/outfit.gd" id="1_um0on"] | ||
[ext_resource type="Resource" uid="uid://x4cvy30r6rdc" path="res://mechanics/combat/weapons/torpedo/torpedo.tres" id="2_c22kq"] | ||
|
||
[resource] | ||
script = ExtResource("1_um0on") | ||
name = "Torpedo Launcher" | ||
description = "Installed on less-maneuverable capital ships, torpedoes acquire and track their targets over longer distances. Although they are slower than many other weapons, torpedoes pack a significant punch, as long as your ship is well-equipped to discard the excess waste heat they generate." | ||
mass = 10.0 | ||
price_in_credits = 20000.0 | ||
modified_cargo_capacity = 0.0 | ||
modified_passenger_capacity = 0 | ||
modified_fuel_capacity = -1.0 | ||
modified_hull_capacity = 0.0 | ||
modified_shield_capacity = 0.0 | ||
shield_recharge_multiplier = 1.0 | ||
modified_power_generation = 0.0 | ||
modified_heat_capacity = 0.0 | ||
weapon = ExtResource("2_c22kq") |
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
Oops, something went wrong.