Moved some files around
This commit is contained in:
87
PCs/CardPlacingTool/card_placing_tool.gd
Normal file
87
PCs/CardPlacingTool/card_placing_tool.gd
Normal file
@@ -0,0 +1,87 @@
|
||||
class_name CardPlacingTool
|
||||
extends Node3D
|
||||
|
||||
@export var hero: Hero
|
||||
@export var ray: RayCast3D
|
||||
|
||||
var enabled: bool = false
|
||||
var tower_preview: Tower
|
||||
var tower_preview_card: Card
|
||||
var last_tower_base: TowerBase
|
||||
var ray_collider: Object
|
||||
|
||||
|
||||
func reset() -> void:
|
||||
delete_tower_preview()
|
||||
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
if !enabled:
|
||||
reset()
|
||||
return
|
||||
|
||||
if !ray_collider or hero.hand.size == 0 or ray_collider.has_card:
|
||||
delete_tower_preview()
|
||||
|
||||
if ray.is_colliding() and ray.get_collider() is TowerBase:
|
||||
ray_collider = ray.get_collider()
|
||||
if hero.hand.size > 0 and !ray_collider.has_card:
|
||||
if ray_collider != last_tower_base or hero.selected_card != tower_preview_card:
|
||||
spawn_tower_preview()
|
||||
else:
|
||||
ray_collider = null
|
||||
|
||||
|
||||
func interact() -> void:
|
||||
if ray.is_colliding() and ray.get_collider() is TowerBase:
|
||||
var tower_base: TowerBase = ray.get_collider() as TowerBase
|
||||
if hero.game_manager.card_gameplay:
|
||||
if hero.hand.size > 0:
|
||||
place_card(tower_base)
|
||||
else:
|
||||
if tower_base.has_card:
|
||||
remove_card(tower_base)
|
||||
elif hero.hand.size > 0:
|
||||
place_card(tower_base)
|
||||
|
||||
|
||||
func place_card(tower_base: TowerBase) -> void:
|
||||
var card: Card = hero.selected_card
|
||||
var energy_cost: int = card.cost
|
||||
if hero.game_manager.card_gameplay and hero.energy < energy_cost:
|
||||
return
|
||||
remove_card(tower_base)
|
||||
hero.hand.remove_at(hero.hand.contents.find(card))
|
||||
hero.decrement_selected()
|
||||
hero.hud.hot_wheel.update_cassettes(hero.get_wheel_cards())
|
||||
tower_base.networked_spawn_tower.rpc(Data.cards.find(card), multiplayer.get_unique_id())
|
||||
hero.placed_tower.emit(tower_base.tower)
|
||||
hero.place_card_audio.play()
|
||||
if hero.game_manager.card_gameplay:
|
||||
hero.discard_pile.add(card)
|
||||
hero.energy -= energy_cost
|
||||
|
||||
|
||||
func remove_card(tower_base: TowerBase) -> void:
|
||||
if tower_base.has_card:
|
||||
tower_base.networked_remove_tower.rpc()
|
||||
|
||||
|
||||
func spawn_tower_preview() -> void:
|
||||
delete_tower_preview()
|
||||
var card: Card = hero.selected_card
|
||||
last_tower_base = ray_collider as TowerBase
|
||||
tower_preview_card = card
|
||||
tower_preview = card.turret_scene.instantiate() as Tower
|
||||
tower_preview.stats = card.tower_stats
|
||||
tower_preview.position = Vector3.UP
|
||||
tower_preview.preview_range(true)
|
||||
last_tower_base.add_child(tower_preview)
|
||||
|
||||
|
||||
func delete_tower_preview() -> void:
|
||||
last_tower_base = null
|
||||
if is_instance_valid(tower_preview):
|
||||
tower_preview.queue_free()
|
||||
tower_preview = null
|
||||
tower_preview_card = null
|
||||
1
PCs/CardPlacingTool/card_placing_tool.gd.uid
Normal file
1
PCs/CardPlacingTool/card_placing_tool.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ge2hingujtc8
|
||||
11
PCs/CardPlacingTool/card_placing_tool.tscn
Normal file
11
PCs/CardPlacingTool/card_placing_tool.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene format=3 uid="uid://bj2q72ch8nkek"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ge2hingujtc8" path="res://PCs/CardPlacingTool/card_placing_tool.gd" id="1_7yi0i"]
|
||||
|
||||
[node name="CardPlacingTool" type="Node3D" unique_id=847164964 node_paths=PackedStringArray("ray")]
|
||||
script = ExtResource("1_7yi0i")
|
||||
ray = NodePath("RayCast3D")
|
||||
|
||||
[node name="RayCast3D" type="RayCast3D" parent="." unique_id=1267699718]
|
||||
target_position = Vector3(0, 0, -20)
|
||||
collision_mask = 25
|
||||
12
PCs/DoeEyedGirl/mat_doe_eyed_girl.tres
Normal file
12
PCs/DoeEyedGirl/mat_doe_eyed_girl.tres
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_resource type="ShaderMaterial" format=3 uid="uid://8uj5v7wo0nu2"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://dq04j2s5foo2f" path="res://Shaders/mightyduke_ps1.gdshader" id="1_1kksn"]
|
||||
[ext_resource type="Texture2D" uid="uid://bvx0xurv0nwtq" path="res://PCs/DoeEyedGirl/tex_doe_eyed_girl.png" id="2_3bssb"]
|
||||
|
||||
[resource]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_1kksn")
|
||||
shader_parameter/albedo = ExtResource("2_3bssb")
|
||||
shader_parameter/jitter_z_coordinate = true
|
||||
shader_parameter/jitter_depth_independent = true
|
||||
shader_parameter/alpha_scissor = 1.0
|
||||
BIN
PCs/DoeEyedGirl/mdl_doe_eyed_girl.glb
Normal file
BIN
PCs/DoeEyedGirl/mdl_doe_eyed_girl.glb
Normal file
Binary file not shown.
2108
PCs/DoeEyedGirl/mdl_doe_eyed_girl.glb.import
Normal file
2108
PCs/DoeEyedGirl/mdl_doe_eyed_girl.glb.import
Normal file
File diff suppressed because it is too large
Load Diff
BIN
PCs/DoeEyedGirl/mdl_doe_eyed_girl_deary.png
Normal file
BIN
PCs/DoeEyedGirl/mdl_doe_eyed_girl_deary.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
44
PCs/DoeEyedGirl/mdl_doe_eyed_girl_deary.png.import
Normal file
44
PCs/DoeEyedGirl/mdl_doe_eyed_girl_deary.png.import
Normal file
@@ -0,0 +1,44 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://t6tlddv1mbs6"
|
||||
path.s3tc="res://.godot/imported/mdl_doe_eyed_girl_deary.png-c214673f71baed3fbca9b801c09b6bf2.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={
|
||||
"md5": "bcded8e215ce6a250bf5f8c75b820138"
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/DoeEyedGirl/mdl_doe_eyed_girl_deary.png"
|
||||
dest_files=["res://.godot/imported/mdl_doe_eyed_girl_deary.png-c214673f71baed3fbca9b801c09b6bf2.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
8
PCs/DoeEyedGirl/scn_doe_eyed_girl.tscn
Normal file
8
PCs/DoeEyedGirl/scn_doe_eyed_girl.tscn
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_scene format=3 uid="uid://djx385r2csro4"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bha5gaovnfrxp" path="res://PCs/DoeEyedGirl/mdl_doe_eyed_girl.glb" id="1_gun1t"]
|
||||
|
||||
[node name="Node3D" type="Node3D" unique_id=1269374108]
|
||||
|
||||
[node name="doe_girl" parent="." unique_id=1532649165 instance=ExtResource("1_gun1t")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0818636, 0)
|
||||
BIN
PCs/DoeEyedGirl/tex_doe_eyed_girl.png
Normal file
BIN
PCs/DoeEyedGirl/tex_doe_eyed_girl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
40
PCs/DoeEyedGirl/tex_doe_eyed_girl.png.import
Normal file
40
PCs/DoeEyedGirl/tex_doe_eyed_girl.png.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bvx0xurv0nwtq"
|
||||
path="res://.godot/imported/tex_doe_eyed_girl.png-4df0a5af73a4a58491acbd90c7dfb9a9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/DoeEyedGirl/tex_doe_eyed_girl.png"
|
||||
dest_files=["res://.godot/imported/tex_doe_eyed_girl.png-4df0a5af73a4a58491acbd90c7dfb9a9.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
BIN
PCs/Gauntlet/gauntlet.glb
Normal file
BIN
PCs/Gauntlet/gauntlet.glb
Normal file
Binary file not shown.
84
PCs/Gauntlet/gauntlet.glb.import
Normal file
84
PCs/Gauntlet/gauntlet.glb.import
Normal file
@@ -0,0 +1,84 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://rc0qcrcbmw7p"
|
||||
path="res://.godot/imported/gauntlet.glb-894a021339925dc9fd1410fd5ee4b7a8.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/Gauntlet/gauntlet.glb"
|
||||
dest_files=["res://.godot/imported/gauntlet.glb-894a021339925dc9fd1410fd5ee4b7a8.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"Material": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://Gauntlet/gauntlet_mat.tres",
|
||||
"use_external/path": "uid://b2rsi4vlkfpp1"
|
||||
},
|
||||
"steel1": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://Materials/metal2/metal2.tres",
|
||||
"use_external/path": "uid://cjvmf0bl70x6q"
|
||||
}
|
||||
},
|
||||
"meshes": {
|
||||
"gauntlet_Cube": {
|
||||
"generate/lightmap_uv": 0,
|
||||
"generate/lods": 2,
|
||||
"generate/shadow_meshes": 0,
|
||||
"lods/normal_merge_angle": 20.0,
|
||||
"save_to_file/enabled": false,
|
||||
"save_to_file/fallback_path": "",
|
||||
"save_to_file/path": ""
|
||||
},
|
||||
"gauntlet_Cube_003": {
|
||||
"generate/lightmap_uv": 0,
|
||||
"generate/lods": 2,
|
||||
"generate/shadow_meshes": 0,
|
||||
"lods/normal_merge_angle": 20.0,
|
||||
"save_to_file/enabled": false,
|
||||
"save_to_file/fallback_path": "",
|
||||
"save_to_file/path": ""
|
||||
},
|
||||
"gauntlet_Cube_008": {
|
||||
"generate/lightmap_uv": 0,
|
||||
"generate/lods": 2,
|
||||
"generate/shadow_meshes": 0,
|
||||
"lods/normal_merge_angle": 20.0,
|
||||
"save_to_file/enabled": false,
|
||||
"save_to_file/fallback_path": "",
|
||||
"save_to_file/path": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
BIN
PCs/card_hand.glb
Normal file
BIN
PCs/card_hand.glb
Normal file
Binary file not shown.
42
PCs/card_hand.glb.import
Normal file
42
PCs/card_hand.glb.import
Normal file
@@ -0,0 +1,42 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://clgbmveluyewe"
|
||||
path="res://.godot/imported/card_hand.glb-341d71a35d24d5bc950b39f0255e4df3.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://PCs/card_hand.glb"
|
||||
dest_files=["res://.godot/imported/card_hand.glb-341d71a35d24d5bc950b39f0255e4df3.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
@@ -25,7 +25,6 @@ signal placed_tower(tower: Tower)
|
||||
@export var sprint_zoom_speed: float = 0.2
|
||||
@export var player_name_tag: Label
|
||||
@export var weapon_swap_timer: Timer
|
||||
@export var card3d_scene: PackedScene
|
||||
@export var card_select_scene: PackedScene
|
||||
@export var editing_states: Array[HeroState]
|
||||
@export var fighting_state: HeroState
|
||||
@@ -358,11 +357,6 @@ func draw_to_hand_size() -> void:
|
||||
if draw_pile.size > 0:
|
||||
var card: Card = draw_pile.remove_at(0)
|
||||
hand.add(card)
|
||||
var display: Card3D = card3d_scene.instantiate()
|
||||
display.set_card(card)
|
||||
display.position = Vector3(0.01 * hand.size, 0.0, -0.001 * hand.size)
|
||||
display.rotation_degrees = Vector3(0.0, 0.0, -10.0 * hand.size)
|
||||
$FirstPersonViewport/Head2/LeftHand/Cards.add_child(display)
|
||||
else:
|
||||
for x: int in discard_pile.size:
|
||||
draw_pile.add(discard_pile.remove_at(0))
|
||||
|
||||
@@ -2,26 +2,25 @@
|
||||
|
||||
[ext_resource type="Script" uid="uid://1fqpoegbdm6n" path="res://PCs/hero.gd" id="1_pihpe"]
|
||||
[ext_resource type="Resource" uid="uid://b5pc3frhx467q" path="res://Classes/Engineer/class.tres" id="2_dbyo0"]
|
||||
[ext_resource type="PackedScene" uid="uid://ct6gic4shy5qw" path="res://wave_viewer.tscn" id="2_o55s8"]
|
||||
[ext_resource type="PackedScene" uid="uid://ct6gic4shy5qw" path="res://UI/Menus/WaveViewer/wave_viewer.tscn" id="2_o55s8"]
|
||||
[ext_resource type="PackedScene" uid="uid://buvgdem68wtev" path="res://UI/Menus/PauseMenu/pause_menu.tscn" id="3_avnsx"]
|
||||
[ext_resource type="PackedScene" uid="uid://n8ab1cy7ordc" path="res://card_model/3d_card.tscn" id="4_2mqvj"]
|
||||
[ext_resource type="Script" uid="uid://cij76at0nbs1v" path="res://PCs/view_movement.gd" id="4_mhexa"]
|
||||
[ext_resource type="PackedScene" uid="uid://gdd1xupf4oxx" path="res://UI/CardSelectionBox/card_selection_box.tscn" id="5_h82f6"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqt1ggtkpkuhs" path="res://PCs/PathEditTool/path_edit_tool.tscn" id="5_jlxb3"]
|
||||
[ext_resource type="Script" uid="uid://do24iuot0j7d7" path="res://Scripts/inventory.gd" id="6_cf5ap"]
|
||||
[ext_resource type="Script" uid="uid://3wvxl8jo4uis" path="res://PCs/weapon_movement.gd" id="7_14ugt"]
|
||||
[ext_resource type="PackedScene" uid="uid://bj2q72ch8nkek" path="res://card_placing_tool.tscn" id="8_7d213"]
|
||||
[ext_resource type="PackedScene" uid="uid://bj2q72ch8nkek" path="res://PCs/CardPlacingTool/card_placing_tool.tscn" id="8_7d213"]
|
||||
[ext_resource type="Script" uid="uid://b6kjrl7ae1mi0" path="res://PCs/hud.gd" id="8_yl6ka"]
|
||||
[ext_resource type="Script" uid="uid://hy51bq7x0fy8" path="res://Scripts/on_top_camera.gd" id="11_4sdwe"]
|
||||
[ext_resource type="PackedScene" uid="uid://rc0qcrcbmw7p" path="res://Gauntlet/gauntlet.glb" id="11_h1yfy"]
|
||||
[ext_resource type="PackedScene" uid="uid://rc0qcrcbmw7p" path="res://PCs/Gauntlet/gauntlet.glb" id="11_h1yfy"]
|
||||
[ext_resource type="Script" uid="uid://ckkioruqgbs8p" path="res://Scripts/minimap_cam.gd" id="12_3hpi3"]
|
||||
[ext_resource type="PackedScene" uid="uid://clgbmveluyewe" path="res://card_hand.glb" id="12_r2yb6"]
|
||||
[ext_resource type="PackedScene" uid="uid://4g0vatb73duj" path="res://Scenes/Cassette/cassette.glb" id="13_7immr"]
|
||||
[ext_resource type="PackedScene" uid="uid://clgbmveluyewe" path="res://PCs/card_hand.glb" id="12_r2yb6"]
|
||||
[ext_resource type="PackedScene" uid="uid://4g0vatb73duj" path="res://Scenes/Cassette/mdl_cassette.glb" id="13_7immr"]
|
||||
[ext_resource type="Environment" uid="uid://cpn2no3e8s361" path="res://cam_environment.tres" id="13_vkt85"]
|
||||
[ext_resource type="Script" uid="uid://dkhl8u8p6gmlu" path="res://PCs/spring.gd" id="15_0ehim"]
|
||||
[ext_resource type="Texture2D" uid="uid://c60fh34ttgcvh" path="res://Assets/Textures/minimap_player.png" id="15_nhlam"]
|
||||
[ext_resource type="Texture2D" uid="uid://chhmkmlfrobhu" path="res://Enemies/Driftling/icon_driftling.png" id="15_q3yot"]
|
||||
[ext_resource type="PackedScene" uid="uid://djx385r2csro4" path="res://DoeEyedGirl/scn_doe_eyed_girl.tscn" id="16_0ehim"]
|
||||
[ext_resource type="Texture2D" uid="uid://chhmkmlfrobhu" path="res://Enemies/Driftling/ico_driftling.png" id="15_q3yot"]
|
||||
[ext_resource type="PackedScene" uid="uid://djx385r2csro4" path="res://PCs/DoeEyedGirl/scn_doe_eyed_girl.tscn" id="16_0ehim"]
|
||||
[ext_resource type="Texture2D" uid="uid://cqnapc8cscl7i" path="res://Assets/Textures/border.png" id="16_x1xjr"]
|
||||
[ext_resource type="PackedScene" uid="uid://chnj376d3lcjd" path="res://UI/pickup_notification.tscn" id="17_oyeww"]
|
||||
[ext_resource type="Script" uid="uid://b5wle8f6rv3e7" path="res://PCs/player_movement.gd" id="20_cfhw8"]
|
||||
@@ -55,7 +54,7 @@
|
||||
[ext_resource type="Script" uid="uid://b5h7jfwkyokes" path="res://PCs/FSM/building_state.gd" id="47_d8pnf"]
|
||||
[ext_resource type="Script" uid="uid://cjdv1onyfej0m" path="res://PCs/FSM/carding_state.gd" id="48_7d213"]
|
||||
[ext_resource type="Script" uid="uid://cf7m4yyiqhhru" path="res://PCs/FSM/fighting_state.gd" id="49_60hic"]
|
||||
[ext_resource type="PackedScene" uid="uid://bg4pmewlvshu8" path="res://coin/mdl_coin.glb" id="51_w13oc"]
|
||||
[ext_resource type="PackedScene" uid="uid://bg4pmewlvshu8" path="res://Scenes/Coin/mdl_coin.glb" id="51_w13oc"]
|
||||
[ext_resource type="Script" uid="uid://dq0yemhxscvtm" path="res://rotate.gd" id="52_rim6q"]
|
||||
[ext_resource type="AudioStream" uid="uid://cbuhhp3eg0j8r" path="res://Audio/MGWSoundDesign/Tall_Grass_Mono_01.wav" id="57_f7seo"]
|
||||
[ext_resource type="AudioStream" uid="uid://dxttsjturv45i" path="res://Audio/MGWSoundDesign/Tall_Grass_Mono_02.wav" id="58_egbuc"]
|
||||
@@ -277,7 +276,6 @@ hud = NodePath("HUD")
|
||||
movement = NodePath("PlayerMovement")
|
||||
player_name_tag = NodePath("NametagViewport/Label")
|
||||
weapon_swap_timer = NodePath("WeaponSwapTimer")
|
||||
card3d_scene = ExtResource("4_2mqvj")
|
||||
card_select_scene = ExtResource("5_h82f6")
|
||||
editing_states = [NodePath("BuildingState"), NodePath("CardingState")]
|
||||
fighting_state = NodePath("FightingState")
|
||||
@@ -330,7 +328,7 @@ weapon_rotation_amount = 0.4
|
||||
|
||||
[node name="gauntlet" parent="FirstPersonViewport/Head2/ViewMovement/RightHand" unique_id=681208948 instance=ExtResource("11_h1yfy")]
|
||||
|
||||
[node name="Skeleton3D" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet" parent_id_path=PackedInt32Array(681208948, 1347385208) index="0" unique_id=1920539554]
|
||||
[node name="Skeleton3D" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet" parent_id_path=PackedInt32Array(681208948, 946576860) index="0" unique_id=689875603]
|
||||
bones/0/position = Vector3(0.28492117, -0.2668743, 0.1757814)
|
||||
bones/0/rotation = Quaternion(-0.4969382, -0.50358063, 0.49639297, 0.5030438)
|
||||
bones/5/rotation = Quaternion(-0.38194385, -0.19379175, 0.8146388, -0.39105925)
|
||||
@@ -349,13 +347,13 @@ bones/20/rotation = Quaternion(0.41824344, 0.0010558192, 0.0022930033, 0.9083314
|
||||
bones/21/rotation = Quaternion(0.61313385, -0.33047637, -0.34370533, 0.6298563)
|
||||
bones/22/rotation = Quaternion(-0.002244999, 0.0020464794, 0.6736945, 0.7390037)
|
||||
|
||||
[node name="Cube" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet/Skeleton3D" index="0" unique_id=463690888]
|
||||
[node name="Cube" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet/Skeleton3D" index="0" unique_id=133948586]
|
||||
layers = 2
|
||||
|
||||
[node name="door" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet/Skeleton3D" index="1" unique_id=853695899]
|
||||
[node name="door" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet/Skeleton3D" index="1" unique_id=410493424]
|
||||
layers = 2
|
||||
|
||||
[node name="door_001" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet/Skeleton3D" index="2" unique_id=51292188]
|
||||
[node name="door_001" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet/Skeleton3D" index="2" unique_id=1251606861]
|
||||
layers = 2
|
||||
|
||||
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/gauntlet/Gauntlet/Skeleton3D" index="3" unique_id=1916743669]
|
||||
@@ -365,7 +363,7 @@ bone_idx = 23
|
||||
|
||||
[node name="card_hand" parent="FirstPersonViewport/Head2/ViewMovement/RightHand" unique_id=1949070143 instance=ExtResource("12_r2yb6")]
|
||||
|
||||
[node name="Skeleton3D" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand/Armature" parent_id_path=PackedInt32Array(1949070143, 779813012) index="0" unique_id=1687711431]
|
||||
[node name="Skeleton3D" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand/Armature" parent_id_path=PackedInt32Array(1949070143, 1972724580) index="0" unique_id=1391064368]
|
||||
bones/0/position = Vector3(0.003709482, 0.14446077, 0.042393185)
|
||||
bones/0/rotation = Quaternion(-0.03916115, -0.009479229, 0.7379919, 0.67360556)
|
||||
bones/1/rotation = Quaternion(0.033827104, 0.020153234, -0.037197568, 0.99853194)
|
||||
@@ -398,15 +396,15 @@ bones/23/rotation = Quaternion(-0.04489054, -0.044890743, 0.70568043, 0.7056804)
|
||||
bones/24/position = Vector3(-2.8036966, 0.39121616, -0.41559562)
|
||||
bones/24/rotation = Quaternion(-0.084565006, -0.08456521, 0.70203185, 0.7020319)
|
||||
|
||||
[node name="Body_004" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand/Armature/Skeleton3D" index="0" unique_id=330536477]
|
||||
[node name="Body_004" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand/Armature/Skeleton3D" index="0" unique_id=2081095882]
|
||||
layers = 2
|
||||
|
||||
[node name="Empty_001" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand" index="1" unique_id=124279582]
|
||||
[node name="Empty_001" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand" index="1" unique_id=1639098261]
|
||||
transform = Transform3D(0.996286, -0.0860546, -0.00298578, -0.00927826, -0.0728151, -0.997302, 0.0856051, 0.993626, -0.0733431, -0.086853, -0.100784, -0.288736)
|
||||
|
||||
[node name="cassette" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand/Empty_001" index="0" unique_id=1368647028 instance=ExtResource("13_7immr")]
|
||||
|
||||
[node name="Cassette" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand/Empty_001/cassette" index="0" unique_id=360288089]
|
||||
[node name="Cassette" parent="FirstPersonViewport/Head2/ViewMovement/RightHand/card_hand/Empty_001/cassette" index="0" unique_id=848492307]
|
||||
layers = 2
|
||||
|
||||
[node name="AnimationTree" type="AnimationTree" parent="FirstPersonViewport/Head2/ViewMovement/RightHand" unique_id=1068524091]
|
||||
@@ -446,7 +444,7 @@ hero = NodePath("../../..")
|
||||
|
||||
[node name="Model" parent="." unique_id=1269374108 instance=ExtResource("16_0ehim")]
|
||||
|
||||
[node name="Skeleton3D" parent="Model/doe_girl/Armature" parent_id_path=PackedInt32Array(1269374108, 1532649165, 75656979) index="0" unique_id=1520596520]
|
||||
[node name="Skeleton3D" parent="Model/doe_girl/Armature" parent_id_path=PackedInt32Array(1269374108, 1532649165, 283858945) index="0" unique_id=1618429877]
|
||||
bones/4/rotation = Quaternion(0.332303, -0.18204916, -0.5890503, 0.71375954)
|
||||
bones/5/rotation = Quaternion(-0.906193, -0.05188832, 0.023806157, 0.41899294)
|
||||
bones/7/rotation = Quaternion(-0.0077783004, -0.0043570334, -0.487179, 0.87325674)
|
||||
@@ -458,14 +456,14 @@ bones/15/rotation = Quaternion(-0.2017903, 0.015379741, -0.03813146, 0.97856534)
|
||||
bones/16/rotation = Quaternion(-0.0048455074, 0.003865697, 0.59440565, 0.8041415)
|
||||
bones/18/rotation = Quaternion(-0.2272016, 0.019839177, 0.4623247, 0.856879)
|
||||
bones/23/rotation = Quaternion(-0.045133274, -0.11772486, 0.9614004, -0.24456768)
|
||||
bones/24/rotation = Quaternion(-0.34049714, 0.083202966, -0.21178892, 0.9122963)
|
||||
bones/25/rotation = Quaternion(0.70575047, -0.05055478, 0.015847947, 0.7064767)
|
||||
bones/26/rotation = Quaternion(-0.691201, 0.0026601239, -0.0032455332, 0.7226505)
|
||||
bones/28/rotation = Quaternion(-0.032278296, 0.0061198906, 0.22117302, 0.974681)
|
||||
bones/29/rotation = Quaternion(0.038822703, -0.0009491462, -0.019037528, 0.9990643)
|
||||
bones/30/rotation = Quaternion(-0.69215286, -0.0027526554, 0.0031699617, 0.7217388)
|
||||
bones/24/rotation = Quaternion(0.18573944, -0.06832179, -0.2137343, 0.9566351)
|
||||
bones/25/rotation = Quaternion(0.13021982, -0.005983616, 0.0192118, 0.99128103)
|
||||
bones/26/rotation = Quaternion(-0.4625417, -0.01698217, -0.019072406, 0.88622963)
|
||||
bones/28/rotation = Quaternion(-0.21208973, -0.045783713, 0.2186612, 0.9513723)
|
||||
bones/29/rotation = Quaternion(0.13711117, 0.006507779, -0.019218283, 0.9903479)
|
||||
bones/30/rotation = Quaternion(-0.65788007, 0.0005103813, 0.005829368, 0.7531)
|
||||
|
||||
[node name="AnimationPlayer" parent="Model/doe_girl" parent_id_path=PackedInt32Array(1269374108, 1532649165) index="1" unique_id=126187206]
|
||||
[node name="AnimationPlayer" parent="Model/doe_girl" parent_id_path=PackedInt32Array(1269374108, 1532649165) index="1" unique_id=1550111101]
|
||||
autoplay = &"HoldGun"
|
||||
|
||||
[node name="AudioListener3D" type="AudioListener3D" parent="." unique_id=1396328287]
|
||||
@@ -1119,7 +1117,7 @@ size = Vector2i(32, 32)
|
||||
|
||||
[node name="Coin" parent="CoinViewport" unique_id=1538763687 instance=ExtResource("51_w13oc")]
|
||||
|
||||
[node name="Cylinder" parent="CoinViewport/Coin" index="0" unique_id=1826137300]
|
||||
[node name="Cylinder" parent="CoinViewport/Coin" index="0" unique_id=452277651]
|
||||
layers = 8
|
||||
|
||||
[node name="Node3D" type="Node3D" parent="CoinViewport" unique_id=1150784365]
|
||||
@@ -1140,7 +1138,7 @@ size = Vector2i(32, 32)
|
||||
[node name="cassette" parent="CassetteViewport" unique_id=507681547 instance=ExtResource("13_7immr")]
|
||||
transform = Transform3D(20.878672, -1.0596485, 0.9020732, 1.3043611, 19.62867, -7.132282, -0.48500767, 7.172724, 19.651266, 0, 0, 0)
|
||||
|
||||
[node name="Cassette" parent="CassetteViewport/cassette" index="0" unique_id=360288089]
|
||||
[node name="Cassette" parent="CassetteViewport/cassette" index="0" unique_id=848492307]
|
||||
transform = Transform3D(0.9999, 0.007972874, 0.01168015, -0.010257761, 0.977448, 0.21092665, -0.009735057, -0.21102542, 0.9774322, 0, 0, 0)
|
||||
layers = 512
|
||||
|
||||
|
||||
Reference in New Issue
Block a user