mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-10-19 22:27:36 -04:00
commit
8b69564561
|
@ -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.
Binary file not shown.
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = {}
|
||||||
|
|
Loading…
Reference in a new issue