mirror of
https://codeberg.org/sunder/sunder.git
synced 2026-07-15 05:54:36 +00:00
73 lines
2.8 KiB
Text
73 lines
2.8 KiB
Text
[gd_scene format=3 uid="uid://c88l3h0ph00c7"]
|
|
|
|
[ext_resource type="Script" uid="uid://c8xmmi4wp0dp2" path="res://scenes/entities/flag/flag.gd" id="1_y7d3d"]
|
|
[ext_resource type="PackedScene" uid="uid://d3l7fvbdg6m5g" path="res://scenes/entities/flag/assets/flag.glb" id="2_i78em"]
|
|
[ext_resource type="Shape3D" uid="uid://cc4von3ac65kl" path="res://scenes/entities/flag/assets/capsule_shape.tres" id="2_ig160"]
|
|
[ext_resource type="PackedScene" uid="uid://2350a3ce4xs8" path="res://scenes/interfaces/waypoint/waypoint3d.tscn" id="4_y8nj0"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_4ymrw"]
|
|
friction = 0.25
|
|
bounce = 0.5
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_lpijf"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 1
|
|
properties/1/path = NodePath(".:linear_velocity")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 1
|
|
properties/2/path = NodePath(".:visible")
|
|
properties/2/spawn = true
|
|
properties/2/replication_mode = 2
|
|
properties/3/path = NodePath(".:sleeping")
|
|
properties/3/spawn = true
|
|
properties/3/replication_mode = 2
|
|
properties/4/path = NodePath(".:state")
|
|
properties/4/spawn = true
|
|
properties/4/replication_mode = 2
|
|
properties/5/path = NodePath(".:last_carrier")
|
|
properties/5/spawn = true
|
|
properties/5/replication_mode = 1
|
|
|
|
[node name="Flag" type="RigidBody3D" unique_id=99622018]
|
|
collision_layer = 8
|
|
collision_mask = 2147483657
|
|
axis_lock_angular_x = true
|
|
axis_lock_angular_y = true
|
|
axis_lock_angular_z = true
|
|
mass = 15.0
|
|
physics_material_override = SubResource("PhysicsMaterial_4ymrw")
|
|
center_of_mass_mode = 1
|
|
center_of_mass = Vector3(0, 1, 0)
|
|
continuous_cd = true
|
|
script = ExtResource("1_y7d3d")
|
|
|
|
[node name="Waypoint" parent="." unique_id=568468031 instance=ExtResource("4_y8nj0")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.25, 0)
|
|
foreground_color = Color(0, 0.75, 0.75, 1)
|
|
|
|
[node name="Label3D" parent="Waypoint" index="0"]
|
|
modulate = Color(0, 0.75, 0.75, 1)
|
|
|
|
[node name="Sprite3D" parent="Waypoint" index="1"]
|
|
modulate = Color(0, 0.75, 0.75, 1)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=778578492]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = ExtResource("2_ig160")
|
|
|
|
[node name="GripArea" type="Area3D" parent="." unique_id=1556910033]
|
|
collision_layer = 8
|
|
collision_mask = 11
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="GripArea" unique_id=512420425]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = ExtResource("2_ig160")
|
|
|
|
[node name="Mesh" parent="." unique_id=1972686775 instance=ExtResource("2_i78em")]
|
|
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="." unique_id=1011418792]
|
|
replication_config = SubResource("SceneReplicationConfig_lpijf")
|
|
|
|
[editable path="Waypoint"]
|