space_object.tscn 1,9 КБ
Newer Older
Vladimir Levadnij's avatar
Vladimir Levadnij включено в состав коммита
1
2
[gd_scene load_steps=6 format=2]

magcourier's avatar
magcourier включено в состав коммита
3
[ext_resource path="res://blokoj/kosmo/resursoj/space station.obj" type="ArrayMesh" id=1]
magcourier's avatar
magcourier включено в состав коммита
4
[ext_resource path="res://blokoj/kosmo/scenoj/tactical_label.tscn" type="PackedScene" id=2]
magcourier's avatar
magcourier включено в состав коммита
5
[ext_resource path="res://blokoj/kosmo/skriptoj/space_object.gd" type="Script" id=3]
Vladimir Levadnij's avatar
Vladimir Levadnij включено в состав коммита
6
7
8
9
10
11
12
13
14

[sub_resource type="SpatialMaterial" id=1]
metallic = 0.53
emission_enabled = true
emission = Color( 0, 0, 0, 1 )
emission_energy = 1.0
emission_operator = 0
emission_on_uv2 = false

magcourier's avatar
magcourier включено в состав коммита
15
[sub_resource type="BoxShape" id=2]
Vladimir Levadnij's avatar
Vladimir Levadnij включено в состав коммита
16
17
18
19
20
21
22
extents = Vector3( 43.0109, 32.3148, 36.7482 )

[node name="space_object" type="MeshInstance"]
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 10.01, 0 )
mesh = ExtResource( 1 )
material/0 = SubResource( 1 )
material/1 = null
magcourier's avatar
magcourier включено в состав коммита
23
script = ExtResource( 3 )
Vladimir Levadnij's avatar
Vladimir Levadnij включено в состав коммита
24
25
26
27
28
29
30
31
32

[node name="tactical_label" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.91048, -0.313731, 0 )

[node name="Area" type="Area" parent="."]
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 1.5532, 0.216571 )

[node name="CollisionShape" type="CollisionShape" parent="Area"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.145429, 8.51342, 0 )
magcourier's avatar
magcourier включено в состав коммита
33
shape = SubResource( 2 )
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

[node name="menu" type="WindowDialog" parent="."]
margin_left = 846.0
margin_top = 133.0
margin_right = 1021.0
margin_bottom = 508.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="RichTextLabel" type="RichTextLabel" parent="menu"]
margin_left = 25.0231
margin_top = 17.239
margin_right = 161.023
margin_bottom = 340.239
bbcode_text = "space_station_menu"
text = "space_station_menu"
__meta__ = {
"_edit_use_anchors_": false
}
Vladimir Levadnij's avatar
Vladimir Levadnij включено в состав коммита
54
55
56
[connection signal="input_event" from="Area" to="." method="_on_Area_input_event"]
[connection signal="mouse_entered" from="Area" to="." method="_on_Area_mouse_entered"]
[connection signal="mouse_exited" from="Area" to="." method="_on_Area_mouse_exited"]