dirt-racer/godot/GameObjects/player_turret.tscn

60 lines
2.2 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://1eawpg0buvah"]
[ext_resource type="PackedScene" uid="uid://b74cqcryut76c" path="res://GameObjects/anti_air_beam.tscn" id="1_newd3"]
[ext_resource type="PackedScene" uid="uid://v5p6ih28q6ro" path="res://Models/SM_Wep_Shotgun_Plasma_01.fbx" id="2_vsdye"]
[sub_resource type="CylinderMesh" id="CylinderMesh_1btvq"]
top_radius = 0.055
height = 0.39
[sub_resource type="SphereShape3D" id="SphereShape3D_rdc8b"]
radius = 61.2859
[sub_resource type="BoxMesh" id="BoxMesh_ag1t0"]
size = Vector3(0.205, 1, 0.83)
[sub_resource type="SphereShape3D" id="SphereShape3D_036xw"]
radius = 0.392821
[node name="Turret" type="Turret"]
attack_classes = [&"EnemyTargetBody"]
beam_scene = ExtResource("1_newd3")
fire_time = 0.2
charge_time = 0.0
lock_time = 0.5
collision_layer = 0
collision_mask = 0
can_sleep = false
freeze = true
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0758235, 0)
mesh = SubResource("CylinderMesh_1btvq")
[node name="AwarenessArea" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 2
monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="AwarenessArea"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.33142, -0.152048)
shape = SubResource("SphereShape3D_rdc8b")
[node name="Gun" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.273896, 0)
[node name="Root Scene" parent="Gun" instance=ExtResource("2_vsdye")]
transform = Transform3D(1.30858, 0, 0, 0, 1.30858, 0, 0, 0, 1.30858, 0.00200939, -0.12911, -0.0137266)
[node name="MeshInstance3D" type="MeshInstance3D" parent="Gun"]
transform = Transform3D(0.341319, 0, 0, 0, 0.282489, -0.191569, 0, 0.191569, 0.282489, 0.00200939, -0.0518904, 0.028925)
mesh = SubResource("BoxMesh_ag1t0")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="Gun"]
transform = Transform3D(0.341319, 0, 0, 0, -0.00356825, -0.3413, 0, 0.3413, -0.00356825, 0.00200939, -0.119031, -0.113755)
mesh = SubResource("BoxMesh_ag1t0")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.331101, 0)
shape = SubResource("SphereShape3D_036xw")