-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathTestOneUnit.tscn
60 lines (46 loc) · 2.83 KB
/
TestOneUnit.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[gd_scene load_steps=15 format=3 uid="uid://qhgcfjxa2ykg"]
[ext_resource type="PackedScene" uid="uid://camns8fqod8d4" path="res://source/match/Match.tscn" id="1_fe2sx"]
[ext_resource type="Script" path="res://tests/manual/Match.gd" id="2_sflin"]
[ext_resource type="Script" path="res://source/data-model/MatchSettings.gd" id="4_go41p"]
[ext_resource type="PackedScene" uid="uid://cbe63rdjw7y4p" path="res://source/match/maps/PlainAndSimple.tscn" id="5_pl4hu"]
[ext_resource type="PackedScene" uid="uid://dh8dedilkhuoy" path="res://source/match/players/human/Human.tscn" id="6_rkbjn"]
[ext_resource type="Shader" path="res://source/shaders/2d/white_transparent.gdshader" id="8_fifyq"]
[ext_resource type="PackedScene" uid="uid://i58ffvwxbbwm" path="res://source/match/units/Tank.tscn" id="10_tqe5i"]
[ext_resource type="Shader" path="res://source/shaders/3d/simple_fog_of_war.gdshader" id="12_ke5ti"]
[sub_resource type="Resource" id="Resource_qqc8i"]
script = ExtResource("4_go41p")
players = Array[Resource]([])
visibility = 0
visible_player = 0
[sub_resource type="ViewportTexture" id="ViewportTexture_v46ss"]
viewport_path = NodePath("FogOfWar/CombinedViewport")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_67o07"]
resource_local_to_scene = true
render_priority = 1
shader = ExtResource("12_ke5ti")
shader_parameter/color = Color(0, 0, 0, 1)
shader_parameter/texture_units_per_world_unit = 2
shader_parameter/debug_texture_view = false
shader_parameter/world_visibility_texture = SubResource("ViewportTexture_v46ss")
[sub_resource type="ViewportTexture" id="ViewportTexture_ll23y"]
viewport_path = NodePath("FogOfWar/CombinedViewport")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_kdlxq"]
resource_local_to_scene = true
shader = ExtResource("8_fifyq")
shader_parameter/reference_texture = SubResource("ViewportTexture_ll23y")
[sub_resource type="ViewportTexture" id="ViewportTexture_n2lq6"]
viewport_path = NodePath("HUD/MarginContainer/Minimap/MarginContainer/MinimapViewport")
[node name="Match" instance=ExtResource("1_fe2sx")]
script = ExtResource("2_sflin")
allow_resources_deficit_spending = true
settings = SubResource("Resource_qqc8i")
[node name="Map" parent="." index="0" instance=ExtResource("5_pl4hu")]
[node name="Human" parent="Players" index="0" instance=ExtResource("6_rkbjn")]
[node name="Tank" parent="Players/Human" index="1" instance=ExtResource("10_tqe5i")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 13.263, 0, 12.637)
[node name="ScreenOverlay" parent="FogOfWar" index="1"]
material_override = SubResource("ShaderMaterial_67o07")
[node name="FogOfWarMask" parent="HUD/MarginContainer/Minimap/MarginContainer/MinimapViewport" index="3"]
material = SubResource("ShaderMaterial_kdlxq")
[node name="MinimapTextureRect" parent="HUD/MarginContainer/Minimap/MarginContainer" index="1"]
texture = SubResource("ViewportTexture_n2lq6")