summaryrefslogtreecommitdiff
path: root/godot/scenes/machines/Cannon.tscn
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-25 06:39:12 -0400
commit7a1d857de96174dfa5a0fa40f8c14acbd2f651c2 (patch)
treed52acaa4e89b0f8375326ea1aefd0105bb91cfc7 /godot/scenes/machines/Cannon.tscn
parent62039380a67b6da396d1c8d745d2e2625ba988fc (diff)
weapons, viewmodels, some performance fixes
Diffstat (limited to 'godot/scenes/machines/Cannon.tscn')
-rw-r--r--godot/scenes/machines/Cannon.tscn20
1 files changed, 14 insertions, 6 deletions
diff --git a/godot/scenes/machines/Cannon.tscn b/godot/scenes/machines/Cannon.tscn
index fbfbdf1..9bcd95d 100644
--- a/godot/scenes/machines/Cannon.tscn
+++ b/godot/scenes/machines/Cannon.tscn
@@ -1,9 +1,10 @@
-[gd_scene load_steps=9 format=2]
+[gd_scene load_steps=10 format=2]
[ext_resource path="res://scripts/machines/Cannon.gd" type="Script" id=1]
[ext_resource path="res://sounds/explode.wav" type="AudioStream" id=2]
[ext_resource path="res://meshes/cannon_barrel.tres" type="ArrayMesh" id=3]
[ext_resource path="res://meshes/cannon_base.tres" type="ArrayMesh" id=4]
+[ext_resource path="res://theming/FreeMono.otf" type="DynamicFontData" id=5]
[sub_resource type="PhysicsMaterial" id=8]
rough = true
@@ -14,8 +15,11 @@ extents = Vector3( 1, 0.5, 0.5 )
[sub_resource type="BoxShape" id=6]
extents = Vector3( 0.2, 0.473253, 0.536751 )
-[sub_resource type="CubeMesh" id=7]
-size = Vector3( 0.4, 0.4, 0.4 )
+[sub_resource type="DynamicFont" id=9]
+size = 41
+outline_size = 2
+outline_color = Color( 0, 0, 0, 1 )
+font_data = ExtResource( 5 )
[node name="Cannon" type="RigidBody"]
mass = 3180.0
@@ -52,12 +56,16 @@ transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.87360
[node name="SteerArea" type="Area" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.935472, 0.123637, 0 )
+collision_layer = 2
+collision_mask = 2
monitoring = false
[node name="CollisionShape" type="CollisionShape" parent="SteerArea"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0778996, 0.339775, 0 )
shape = SubResource( 6 )
-[node name="MeshInstance" type="MeshInstance" parent="SteerArea"]
-visible = false
-mesh = SubResource( 7 )
+[node name="StatusNotifier" type="Label3D" parent="."]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.748, 1.143, 0 )
+billboard = 2
+text = "!"
+font = SubResource( 9 )