feat: add player sword combat, dash, and hostile wolf/raider visuals
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
[ext_resource type="Script" path="res://world/ui/player_interaction_hud.gd" id="16_interaction"]
|
||||
[ext_resource type="Script" path="res://world/ui/villager_field_note_hud.gd" id="17_villager_note"]
|
||||
[ext_resource type="Script" path="res://world/ui/player_status_hud.gd" id="18_status"]
|
||||
[ext_resource type="Script" path="res://player/combat/player_combat_controller.gd" id="19_combat"]
|
||||
[ext_resource type="Script" path="res://world/combat/combat_presentation.gd" id="20_combat_view"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_o5qli"]
|
||||
radius = 0.4
|
||||
@@ -43,6 +45,13 @@ shape = SubResource("CapsuleShape3D_o5qli")
|
||||
|
||||
[node name="Visual" parent="Player" instance=ExtResource("14_player_visual")]
|
||||
|
||||
[node name="PlayerCombatController" type="Node3D" parent="Player" unique_id=99761234 node_paths=PackedStringArray("player", "simulation_manager", "combat_presentation", "sword")]
|
||||
script = ExtResource("19_combat")
|
||||
player = NodePath("..")
|
||||
simulation_manager = NodePath("../SimulationManager")
|
||||
combat_presentation = NodePath("../CombatPresentation")
|
||||
sword = NodePath("../Visual/Sword")
|
||||
|
||||
[node name="CameraRig" type="Node3D" parent="." unique_id=81378719 node_paths=PackedStringArray("target")]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.57357645, 0.81915206, 0, -0.81915206, 0.57357645, 0, 10, 8)
|
||||
script = ExtResource("2_1bvp3")
|
||||
@@ -435,3 +444,11 @@ camera_rig = NodePath("../CameraRig")
|
||||
player = NodePath("../Player")
|
||||
pantry_storage = NodePath("../JajceWorld/WorldObjects/StorageSites/VillagePantry")
|
||||
crisis_caption = NodePath("../CrisisCaptionLayer/CrisisCaption")
|
||||
|
||||
[node name="CombatPresentation" type="Node" parent="." unique_id=8844112 node_paths=PackedStringArray("simulation_manager", "hostiles_parent")]
|
||||
script = ExtResource("20_combat_view")
|
||||
simulation_manager = NodePath("../SimulationManager")
|
||||
hostiles_parent = NodePath("../HostilesParent")
|
||||
wolf_spawn_positions = PackedVector3Array(24, 0, 10, 30, 0, -4, 38, 0, 22)
|
||||
|
||||
[node name="HostilesParent" type="Node3D" parent="." unique_id=8844113]
|
||||
|
||||
Reference in New Issue
Block a user