Move body parts to outer folder
This commit is contained in:
parent
1a0e09c1ba
commit
c8acaf0988
@ -1,8 +1,9 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://BodyConfig/BodyParts/Tesso.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://BodyParts/Tesso.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://BodyConfig/bodyBuildingScript.gd" type="Script" id=2]
|
[ext_resource path="res://BodyConfig/bodyBuildingScript.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
[node name="Body Builder Menu" type="Spatial"]
|
[node name="Body Builder Menu" type="Spatial"]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
torsoPath = NodePath("Torso")
|
torsoPath = NodePath("Torso")
|
||||||
|
@ -10,7 +10,7 @@ func _ready() -> void:
|
|||||||
|
|
||||||
|
|
||||||
func action():
|
func action():
|
||||||
anim.play("ArmatureAction.001")
|
anim.play("ArmatureAction001")
|
||||||
|
|
||||||
|
|
||||||
func push(body):
|
func push(body):
|
@ -1,8 +1,9 @@
|
|||||||
[gd_scene load_steps=6 format=2]
|
[gd_scene load_steps=6 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Ingame/BodyParts/PushingBodyPart.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://BodyParts/PushingBodyPart.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://3D Input/untitled.glb" type="PackedScene" id=2]
|
[ext_resource path="res://3D Input/untitled.glb" type="PackedScene" id=2]
|
||||||
[ext_resource path="res://Ingame/BodyParts/Arm.gd" type="Script" id=3]
|
[ext_resource path="res://BodyParts/Arm.gd" type="Script" id=3]
|
||||||
|
|
||||||
|
|
||||||
[sub_resource type="SphereShape" id=1]
|
[sub_resource type="SphereShape" id=1]
|
||||||
|
|
@ -1,6 +1,7 @@
|
|||||||
[gd_scene load_steps=7 format=2]
|
[gd_scene load_steps=7 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Ingame/BodyBase/BodyBase.gd" type="Script" id=1]
|
[ext_resource path="res://BodyParts/BodyBase/BodyBase.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleMesh" id=1]
|
[sub_resource type="CapsuleMesh" id=1]
|
||||||
|
|
@ -1,6 +1,7 @@
|
|||||||
[gd_scene load_steps=2 format=2]
|
[gd_scene load_steps=2 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Ingame/BodyParts/BodyPart.gd" type="Script" id=1]
|
[ext_resource path="res://BodyParts/BodyPart.gd" type="Script" id=1]
|
||||||
|
|
||||||
|
|
||||||
[node name="BodyPart" type="Spatial"]
|
[node name="BodyPart" type="Spatial"]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
@ -1,7 +1,8 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Ingame/BodyParts/BodyPart.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://BodyParts/BodyPart.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://Ingame/BodyParts/PushingBodyPart.gd" type="Script" id=2]
|
[ext_resource path="res://BodyParts/PushingBodyPart.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
[node name="PushingBodyPart" index="0" instance=ExtResource( 1 )]
|
[node name="PushingBodyPart" index="0" instance=ExtResource( 1 )]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
@ -1,7 +1,7 @@
|
|||||||
[gd_scene load_steps=5 format=2]
|
[gd_scene load_steps=5 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Ingame/BodyParts/Arm.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://BodyParts/Arm.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://Ingame/BodyBase/BodyBase.tscn" type="PackedScene" id=3]
|
[ext_resource path="res://BodyParts/BodyBase/BodyBase.tscn" type="PackedScene" id=3]
|
||||||
|
|
||||||
[sub_resource type="PlaneMesh" id=1]
|
[sub_resource type="PlaneMesh" id=1]
|
||||||
size = Vector2( 10, 10 )
|
size = Vector2( 10, 10 )
|
||||||
|
@ -12,17 +12,17 @@ _global_script_classes=[ {
|
|||||||
"base": "Spatial",
|
"base": "Spatial",
|
||||||
"class": "BodyBase",
|
"class": "BodyBase",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://Ingame/BodyBase/BodyBase.gd"
|
"path": "res://BodyParts/BodyBase/BodyBase.gd"
|
||||||
}, {
|
}, {
|
||||||
"base": "Spatial",
|
"base": "Spatial",
|
||||||
"class": "BodyPart",
|
"class": "BodyPart",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://Ingame/BodyParts/BodyPart.gd"
|
"path": "res://BodyParts/BodyPart.gd"
|
||||||
}, {
|
}, {
|
||||||
"base": "BodyPart",
|
"base": "BodyPart",
|
||||||
"class": "PushingBodyPart",
|
"class": "PushingBodyPart",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://Ingame/BodyParts/PushingBodyPart.gd"
|
"path": "res://BodyParts/PushingBodyPart.gd"
|
||||||
} ]
|
} ]
|
||||||
_global_script_class_icons={
|
_global_script_class_icons={
|
||||||
"BodyBase": "",
|
"BodyBase": "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user