P5 the Old Stag: standing stones and altar, three-phase boss with charges, stun window, spirit wolves and stomps; antler pickaxe and trophy; group scaling and credit for every fighter; online 3-player test (protocol 12)

This commit is contained in:
Paul Bailey
2026-11-05 13:39:06 +00:00
parent 3389ec9a21
commit e03411ffdb
24 changed files with 1587 additions and 17 deletions

View File

@@ -65,6 +65,7 @@ func place(w: Node3D) -> bool:
var mouth: Vector3 = position + Basis(Vector3.UP, yaw) * Vector3(0, 0, PASSAGE_END)
_mouth_drop = maxf(position.y - terrain.sample_height(mouth.x, mouth.z), 0.0)
_clear_area(w.props)
w.props.clear_bushes(position, CLEAR_R)
_build(w.props._rock_mat)
w.props.static_cuts.append([Transform3D(Basis(Vector3.UP, yaw), position), MOUND_R + 0.5, MOUND_R + 1.5])
return true
@@ -364,6 +365,7 @@ func _spawn_guards() -> void:
g.rotation.y = g.yaw
g.set_meta("post", i)
g.died.connect(_on_guard_died)
g.top_level = true # (world space: the barrow is turned, and a creature's facing is its own rotation)
add_child(g)
g.global_position = g.post
guards.append(g)