80 lines
3 KiB
Plaintext
80 lines
3 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://b3p3ikural0cq"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dsi3prgr34t85" path="res://Models/SM_Veh_Armored_Truck_01.fbx" id="1_2m0nm"]
|
|
|
|
[sub_resource type="Curve" id="Curve_dpk6q"]
|
|
_data = [Vector2(0.962441, 0), 0.0, 0.0, 0, 0, Vector2(1, 0.32967), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Curve" id="Curve_htvme"]
|
|
_data = [Vector2(0.683099, 0), 0.0, 0.0, 0, 0, Vector2(0.823944, 0.230769), 0.0615885, 0.0615885, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_vwjm3"]
|
|
friction = 0.0
|
|
rough = true
|
|
absorbent = true
|
|
|
|
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_4xe1s"]
|
|
points = PackedVector3Array(-1.155, -0.6, -3.48, 1.155, -0.6, -3.48, -1.155, -0.6, 1.405, 1.155, -0.6, 1.405, 1.155, -0.6, 2.81, -1.155, -0.6, 2.81, -1.155, 1.16, -3.48, 1.155, 1.16, -3.48, -1.155, 1.16, 0.65, 1.155, 1.16, 0.65, 1.155, 0.335, 2.565, -1.155, 0.335, 2.565)
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_p38n5"]
|
|
radius = 0.48558
|
|
height = 2.765
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_a4n5y"]
|
|
size = Vector3(1.58301, 1, 1.07117)
|
|
|
|
[node name="EnemyCar" type="EnemyCar"]
|
|
oversteer_curve = SubResource("Curve_dpk6q")
|
|
oversteer_curve_x_scale = 40.0
|
|
understeer_curve = SubResource("Curve_htvme")
|
|
understeer_curve_x_scale = 40.0
|
|
acceleration = 10.0
|
|
max_slide_speed = 10.0
|
|
oversteer_speed_penalty = 10.0
|
|
collision_layer = 7
|
|
collision_mask = 3
|
|
mass = 1000.0
|
|
physics_material_override = SubResource("PhysicsMaterial_vwjm3")
|
|
center_of_mass_mode = 1
|
|
center_of_mass = Vector3(0, 0.2, 0)
|
|
can_sleep = false
|
|
custom_integrator = true
|
|
continuous_cd = true
|
|
max_contacts_reported = 128
|
|
contact_monitor = true
|
|
linear_damp_mode = 1
|
|
linear_damp = 0.5
|
|
|
|
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
|
|
path_desired_distance = 8.0
|
|
target_desired_distance = 5.0
|
|
|
|
[node name="Body" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.27103, 0.174572)
|
|
shape = SubResource("ConvexPolygonShape3D_4xe1s")
|
|
|
|
[node name="FrontWheels" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 0.466215, 1.97394)
|
|
shape = SubResource("CapsuleShape3D_p38n5")
|
|
|
|
[node name="BackWheels" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 0, 0.466215, -2.11718)
|
|
shape = SubResource("CapsuleShape3D_p38n5")
|
|
|
|
[node name="RoofSlot" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.31348, -0.510359)
|
|
|
|
[node name="Root Scene" parent="." instance=ExtResource("1_2m0nm")]
|
|
|
|
[node name="DamageArea" type="DamageArea" parent="."]
|
|
target_classes = [&"CarPlayer"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.08846, 2.93348)
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="DamageArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.353943)
|
|
shape = SubResource("BoxShape3D_a4n5y")
|