Files
mir-godot/engine/scenes/world/npcs/npc.tscn

28 lines
899 B
Plaintext
Raw Normal View History

2024-08-06 18:30:21 +08:00
[gd_scene load_steps=4 format=3 uid="uid://mldhnnqxu1x8"]
[ext_resource type="Script" path="res://scripts/world/npc/npc.gd" id="1_cm6mj"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_m00ct"]
height = 20.0
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_xle2i"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
properties/1/path = NodePath(".:npc_data")
properties/1/spawn = true
properties/1/replication_mode = 1
[node name="Npc" type="CharacterBody2D"]
script = ExtResource("1_cm6mj")
[node name="NpcCollision" type="CollisionShape2D" parent="."]
shape = SubResource("CapsuleShape2D_m00ct")
[node name="NpcMain" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
[node name="MultiNpc" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_xle2i")