Files
Ransom-s-wake/game/world/sites/vehicle_test_environment.tscn
T

76 lines
2.3 KiB
Plaintext

[gd_scene load_steps=8 format=3]
[ext_resource type="Script" path="res://game/world/sites/vehicle_test_environment.gd" id="1_environment"]
[sub_resource type="Environment" id="EnvironmentUnderwater"]
background_mode = 1
background_color = Color(0.005, 0.045, 0.065, 1)
ambient_light_source = 3
ambient_light_color = Color(0.12, 0.32, 0.37, 1)
ambient_light_energy = 0.42
fog_enabled = true
fog_light_color = Color(0.07, 0.25, 0.3, 1)
fog_light_energy = 0.48
fog_density = 0.014
fog_height = -4.0
fog_height_density = 0.025
volumetric_fog_enabled = true
volumetric_fog_density = 0.025
volumetric_fog_length = 72.0
[sub_resource type="SphereMesh" id="BeaconMesh"]
radius = 0.55
height = 1.1
[sub_resource type="StandardMaterial3D" id="MetalTargetMaterial"]
albedo_color = Color(0.24, 0.18, 0.08, 1)
metallic = 0.88
roughness = 0.27
[sub_resource type="BoxMesh" id="MetalTargetMesh"]
size = Vector3(8, 5, 7)
[sub_resource type="BoxShape3D" id="MetalTargetShape"]
size = Vector3(8, 5, 7)
[sub_resource type="StandardMaterial3D" id="BeaconMaterial"]
shading_mode = 0
albedo_color = Color(0.2, 0.78, 0.9, 1)
emission_enabled = true
emission = Color(0.2, 0.78, 0.9, 1)
emission_energy_multiplier = 5.0
[node name="VehicleTestEnvironment" type="Node3D"]
script = ExtResource("1_environment")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("EnvironmentUnderwater")
[node name="AmbientDirection" type="DirectionalLight3D" parent="."]
rotation_degrees = Vector3(-52, -24, 0)
light_color = Color(0.39, 0.65, 0.7, 1)
light_energy = 0.38
shadow_enabled = true
[node name="NavigationBeacon" type="MeshInstance3D" parent="."]
position = Vector3(0, -15, -22)
mesh = SubResource("BeaconMesh")
material_override = SubResource("BeaconMaterial")
[node name="BeaconLight" type="OmniLight3D" parent="NavigationBeacon"]
omni_range = 12.0
light_color = Color(0.2, 0.78, 0.9, 1)
light_energy = 4.0
[node name="SonarCalibrationTarget" type="StaticBody3D" parent="."]
position = Vector3(0, -60, -58)
metadata/sonar_material = 2
metadata/sonar_reflectivity = 1.0
[node name="Mesh" type="MeshInstance3D" parent="SonarCalibrationTarget"]
mesh = SubResource("MetalTargetMesh")
material_override = SubResource("MetalTargetMaterial")
[node name="Collision" type="CollisionShape3D" parent="SonarCalibrationTarget"]
shape = SubResource("MetalTargetShape")