模板场景文件
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/backpacks/models/backpack.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.48024, 0.42777, 0.36171)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Backpack" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "backpack"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/hats/models/fedora.glb" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hat"]
|
||||
size = Vector3(0.6525, 0.236667, 0.585665)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hat"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Fedora" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "fedora"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0, 0.118333, 0)
|
||||
shape = SubResource("BoxShape3D_hat")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_hat")
|
||||
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/hats/models/headphones.glb" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hat"]
|
||||
size = Vector3(0.5625, 0.418734, 0.192537)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hat"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Headphones" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "headphones"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_hat")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_hat")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/hats/models/pirate_hat.glb" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hat"]
|
||||
size = Vector3(0.563666, 0.434373, 0.6075)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hat"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="PirateHat" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "pirate_hat"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0, 0.217186, 0)
|
||||
shape = SubResource("BoxShape3D_hat")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_hat")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/hats/models/sheriff_hat.glb" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hat"]
|
||||
size = Vector3(0.608453, 0.271051, 0.675)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hat"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="SheriffHat" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "sheriff_hat"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0, 0.135525, 0)
|
||||
shape = SubResource("BoxShape3D_hat")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_hat")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/hats/models/sombrero.glb" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hat"]
|
||||
size = Vector3(0.719778, 0.220565, 0.72)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hat"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Sombrero" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "sombrero"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0, 0.110282, 0)
|
||||
shape = SubResource("BoxShape3D_hat")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_hat")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/hats/models/wizard_hat.glb" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hat"]
|
||||
size = Vector3(0.582189, 0.382592, 0.585)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hat"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="WizardHat" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "wizard_hat"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0, 0.191296, 0)
|
||||
shape = SubResource("BoxShape3D_hat")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_hat")
|
||||
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/misc/models/bone.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.45792, 0.154665, 0.08)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Bone" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "bone"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/misc/models/chalice.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.218565, 0.33606, 0.21852)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Chalice" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "chalice"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(-0.001463, 0.16605, 0)
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/misc/models/chicken_leg.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.46521, 0.193365, 0.20349)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="ChickenLeg" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "chicken_leg"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(-0.02961, -0.001237, 0)
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dghg7ospl0imy" path="res://assets/items/weapons/models/axe.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.31175, 0.78725, 0.08)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Axe" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "axe"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0.119475, 0.065875, 0)
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/weapons/models/sword.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.18704, 0.805735, 0.08)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Sword" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "sword"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0, 0.268817, 0)
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/weapons/models/sword_big.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.12996, 0.82038, 0.08)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="SwordBig" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "sword_big"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(0, 0.36504, 0)
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
Reference in New Issue
Block a user