Merge pull request #48 from mwpenny/chamber-14

Chamber 14 stair pit
This commit is contained in:
Matt Penny 2024-03-28 01:10:12 -04:00 committed by GitHub
commit 8b69564561
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 15 additions and 6 deletions

View file

@ -1268,4 +1268,10 @@ materials:
gSPGeometryMode: gSPGeometryMode:
clear: [G_LIGHTING] clear: [G_LIGHTING]
gDPSetCycleType: G_CYC_1CYCLE gDPSetCycleType: G_CYC_1CYCLE
# Portal surfaces are defined by level geometry, which requires a material.
# This material exists to create invisible portal surfaces. For example, to
# place portals over other, more complex geometry.
transparent_portal_surface:
gSPGeometryMode:
set: [G_CULL_BACK, G_CULL_FRONT]

Binary file not shown.

View file

@ -31,7 +31,7 @@ cutscenes:
- goto pit_loop - goto pit_loop
CHECK_STAIRS: CHECK_STAIRS:
- label stair_loop - label stair_loop
- wait_for_signal should_raise_stairs - wait_for_signal should_raise_stairs 5
- play_animation stairs stairs_ascend - play_animation stairs stairs_ascend
- wait_for_animation stairs - wait_for_animation stairs
- delay 2 - delay 2

View file

@ -1,7 +1,6 @@
# @static # @static
Static level geometry. Used to generate level mesh and portal surface Static level geometry. Used to generate level mesh and portal surface data.
data.
## Name structure ## Name structure
@ -39,10 +38,13 @@ surfaces are portalable. The following material names allow portals to be placed
* `concrete_modular_wall001d` * `concrete_modular_wall001d`
* `concrete_modular_ceiling001a` * `concrete_modular_ceiling001a`
* `concrete_modular_floor001a` * `concrete_modular_floor001a`
* `transparent_portal_surface`
This behavior can be overridden by using the `no_portals` argument. To accept This behavior can be overridden by using the `no_portals` argument. To accept
portals, the geometry must also have a coplanar static collision object or be portals, the geometry must also have associated collision so that it can be hit.
animated by a [bone](./anim.md) that also animates a dynamic collision object. This can be done by placing a coplanar static collision object or through
animation with a [bone](./anim.md) that also animates a dynamic collision
object.
A mesh's UV coordinates are only used if its material does not have the A mesh's UV coordinates are only used if its material does not have the
`tileSizeS` and `tileSizeT` properties in its YAML definition. Otherwise, the `tileSizeS` and `tileSizeT` properties in its YAML definition. Otherwise, the

View file

@ -16,6 +16,7 @@ local portalable_surfaces = {
concrete_modular_wall001d = true, concrete_modular_wall001d = true,
concrete_modular_ceiling001a = true, concrete_modular_ceiling001a = true,
concrete_modular_floor001a = true, concrete_modular_floor001a = true,
transparent_portal_surface = true,
} }
local signal_elements = {} local signal_elements = {}