summaryrefslogtreecommitdiff
path: root/godot/scenes/environment/CaptureFlag.tscn
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-07 14:07:30 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-07 14:07:30 -0400
commitc232b92e2dde1277324d1f89d0e75ae641e4ac3b (patch)
treee11a5dd52f259c1cc7345baa40b372b304417f00 /godot/scenes/environment/CaptureFlag.tscn
parenta0967ebe815cd229b69fb9578f2288b95b2ddb28 (diff)
reorganized, ladders, vehicle control
Diffstat (limited to 'godot/scenes/environment/CaptureFlag.tscn')
-rw-r--r--godot/scenes/environment/CaptureFlag.tscn93
1 files changed, 93 insertions, 0 deletions
diff --git a/godot/scenes/environment/CaptureFlag.tscn b/godot/scenes/environment/CaptureFlag.tscn
new file mode 100644
index 0000000..1347f64
--- /dev/null
+++ b/godot/scenes/environment/CaptureFlag.tscn
@@ -0,0 +1,93 @@
+[gd_scene load_steps=17 format=2]
+
+[ext_resource path="res://textures/conc_slabs01_c.png" type="Texture" id=1]
+[ext_resource path="res://theming/FreeMono.otf" type="DynamicFontData" id=2]
+[ext_resource path="res://scenes/environment/CaptureFlag.gd" type="Script" id=3]
+[ext_resource path="res://sounds/capture.wav" type="AudioStream" id=4]
+
+[sub_resource type="CylinderShape" id=8]
+height = 6.0
+radius = 0.05
+
+[sub_resource type="ConvexPolygonShape" id=9]
+points = PoolVector3Array( -1, -0.25, -1, -1, 0.25, -1, 1, -0.25, -1, -1, -0.25, 1, -1, 0.25, 1, 1, 0.25, -1, 1, -0.25, 1, 1, 0.25, 1 )
+
+[sub_resource type="SpatialMaterial" id=1]
+albedo_texture = ExtResource( 1 )
+
+[sub_resource type="CubeMesh" id=2]
+material = SubResource( 1 )
+size = Vector3( 2, 0.5, 2 )
+
+[sub_resource type="OpenSimplexNoise" id=4]
+
+[sub_resource type="NoiseTexture" id=5]
+width = 64
+height = 64
+seamless = true
+noise = SubResource( 4 )
+
+[sub_resource type="SpatialMaterial" id=6]
+albedo_texture = SubResource( 5 )
+
+[sub_resource type="CylinderMesh" id=7]
+material = SubResource( 6 )
+top_radius = 0.05
+bottom_radius = 0.05
+height = 6.0
+
+[sub_resource type="BoxShape" id=3]
+extents = Vector3( 2, 2.24192, 2 )
+
+[sub_resource type="SpatialMaterial" id=10]
+params_cull_mode = 2
+
+[sub_resource type="QuadMesh" id=11]
+material = SubResource( 10 )
+
+[sub_resource type="DynamicFont" id=12]
+size = 32
+outline_size = 3
+font_data = ExtResource( 2 )
+
+[node name="CaptureFlag" type="Spatial"]
+script = ExtResource( 3 )
+
+[node name="Collider" type="StaticBody" parent="."]
+
+[node name="CollisionShape" type="CollisionShape" parent="Collider"]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0 )
+shape = SubResource( 8 )
+
+[node name="CollisionShape2" type="CollisionShape" parent="Collider"]
+shape = SubResource( 9 )
+
+[node name="base_mesh" type="MeshInstance" parent="."]
+mesh = SubResource( 2 )
+
+[node name="pole_mesh" type="MeshInstance" parent="."]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.97816, 0 )
+mesh = SubResource( 7 )
+
+[node name="CaptureArea" type="Area" parent="."]
+collision_layer = 32768
+collision_mask = 32768
+
+[node name="CollisionShape" type="CollisionShape" parent="CaptureArea"]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.46129, 0 )
+shape = SubResource( 3 )
+
+[node name="flag_mesh" type="MeshInstance" parent="."]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.512, 5.4, 0 )
+mesh = SubResource( 11 )
+
+[node name="Label" type="Label3D" parent="flag_mesh"]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.653017, 0 )
+billboard = 1
+font = SubResource( 12 )
+
+[node name="capture_audio" type="AudioStreamPlayer3D" parent="flag_mesh"]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.512, -0.014648, 0 )
+stream = ExtResource( 4 )
+attenuation_model = 3
+max_distance = 200.0