mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-01-19 19:44:46 +00:00
68 lines
2.4 KiB
Plaintext
68 lines
2.4 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://c88l3h0ph00c7"]
|
|
|
|
[ext_resource type="Script" path="res://entities/flag/flag.gd" id="1_y7d3d"]
|
|
[ext_resource type="PackedScene" uid="uid://d3l7fvbdg6m5g" path="res://entities/flag/assets/flag.glb" id="2_i78em"]
|
|
[ext_resource type="Shape3D" uid="uid://cc4von3ac65kl" path="res://entities/flag/resources/capsule_shape.tres" id="2_ig160"]
|
|
[ext_resource type="PackedScene" uid="uid://2350a3ce4xs8" path="res://interfaces/waypoint/waypoint3d.tscn" id="4_y8nj0"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_4ymrw"]
|
|
friction = 0.5
|
|
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
|
|
|
|
[node name="Flag" type="RigidBody3D"]
|
|
collision_layer = 8
|
|
collision_mask = 2147483656
|
|
axis_lock_angular_x = true
|
|
axis_lock_angular_y = true
|
|
axis_lock_angular_z = true
|
|
mass = 40.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="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = ExtResource("2_ig160")
|
|
|
|
[node name="GripArea" type="Area3D" parent="."]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="GripArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = ExtResource("2_ig160")
|
|
|
|
[node name="Mesh" parent="." instance=ExtResource("2_i78em")]
|
|
|
|
[node name="Waypoint" parent="." 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="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_lpijf")
|
|
|
|
[editable path="Waypoint"]
|