41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://c8k7h4fvtqxqm"]
|
|
|
|
[ext_resource type="Script" uid="uid://dfyo0h5yj3us8" path="res://scripts/main.gd" id="1_main"]
|
|
[ext_resource type="Script" uid="uid://bymoo78gun6a4" path="res://scripts/track_generator.gd" id="2_track"]
|
|
[ext_resource type="Script" uid="uid://cvn333pymsowx" path="res://scripts/train.gd" id="3_train"]
|
|
[ext_resource type="Script" uid="uid://cgy51h6a5syer" path="res://scripts/train_camera.gd" id="4_camera"]
|
|
[ext_resource type="PackedScene" uid="uid://cer3o7xlhju7v" path="res://scenes/train.tscn" id="5_tbgi4"]
|
|
|
|
[node name="Main" type="Node3D"]
|
|
script = ExtResource("1_main")
|
|
|
|
[node name="TrackGenerator" type="Node3D" parent="."]
|
|
script = ExtResource("2_track")
|
|
segment_length = 10.0
|
|
min_curve_radius = 15.0
|
|
max_curve_radius = 30.0
|
|
max_curve_angle = 90.0
|
|
straight_probability = 0.6
|
|
segments_ahead = 10
|
|
segments_behind = 3
|
|
|
|
[node name="Train" parent="." instance=ExtResource("5_tbgi4")]
|
|
script = ExtResource("3_train")
|
|
locomotive_path = NodePath(".")
|
|
base_speed = null
|
|
max_speed = null
|
|
min_speed = null
|
|
acceleration = null
|
|
wagon_spacing = null
|
|
num_wagons = null
|
|
|
|
[node name="TrainCamera" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 20)
|
|
current = true
|
|
fov = 60.0
|
|
script = ExtResource("4_camera")
|
|
follow_distance = 20.0
|
|
follow_height = 8.0
|
|
|
|
[node name="UI" type="CanvasLayer" parent="."]
|