Godot-RTS-Concept/cgtosm.tscn

52 lines
1.9 KiB
Plaintext
Raw Normal View History

2023-11-16 15:00:02 -04:00
[gd_scene load_steps=8 format=3 uid="uid://mrvl31gfybct"]
[ext_resource type="Script" path="res://mapper.gd" id="1_fj876"]
[ext_resource type="Material" uid="uid://bh6upxp7jv45j" path="res://red.tres" id="2_kjr6x"]
[ext_resource type="Script" path="res://MoveCam.gd" id="2_l4cv8"]
[ext_resource type="Script" path="res://crosshair.gd" id="3_uho8j"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8hdxo"]
[sub_resource type="PlaneMesh" id="PlaneMesh_5u5qg"]
[sub_resource type="BoxMesh" id="BoxMesh_22qfd"]
[node name="cgtosm" type="Node3D"]
[node name="mapper" type="HTTPRequest" parent="." node_paths=PackedStringArray("img")]
script = ExtResource("1_fj876")
img = NodePath("../MeshInstance3D")
lat = 45.555
long = -73.576
zoom = 17
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 150, 0)
fov = 90.0
size = 250.0
near = 0.001
script = ExtResource("2_l4cv8")
movespeed = 100.0
rotatespeed = 2.0
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.5, 0, 0, 0, 1, 0, 0, 0, 0.5, 0, 0, 0)
material_override = SubResource("StandardMaterial3D_8hdxo")
mesh = SubResource("PlaneMesh_5u5qg")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 1, 0)
[node name="100 meter" type="MeshInstance3D" parent="." node_paths=PackedStringArray("cam")]
transform = Transform3D(3, 0, 0, 0, 1, 0, 0, 0, 100, 0, 0, 0)
material_override = ExtResource("2_kjr6x")
mesh = SubResource("BoxMesh_22qfd")
script = ExtResource("3_uho8j")
cam = NodePath("../Camera3D")
[node name="100 meter2" type="MeshInstance3D" parent="100 meter"]
transform = Transform3D(-4.37114e-08, 0, 33.3333, 0, 1, 0, -0.03, 0, -4.37114e-08, 0, 0, 0)
material_override = ExtResource("2_kjr6x")
mesh = SubResource("BoxMesh_22qfd")
skeleton = NodePath("../..")