jak-project/goalc
Hat Kid 614c5a663c
Some checks are pending
Build / 🖥️ Windows (push) Waiting to run
Build / 🐧 Linux (push) Waiting to run
Build / 🍎 MacOS (push) Waiting to run
Inform Pages Repo / Generate Documentation (push) Waiting to run
Lint / 📝 Formatting (push) Waiting to run
Lint / 📝 Required Checks (push) Waiting to run
Lint / 📝 Optional Checks (push) Waiting to run
custom levels: support vanilla skies and texture remapping tables (#3691)
This adds some new JSON entries to custom levels so they can support
vanilla sky textures and the texture remapping tables, allowing for
proper textures on objects that use `generic`, like dark eco pools or
dying enemies.

The comments explain it in more detail, but the gist is:

For skies:
- `sky` needs to be a vanilla level that has sky textures.
- The alpha tpage (fourth entry in `tpages`) needs to be that vanilla
level's alpha tpage (if `tex_remap` is the same level as `sky`, this
will be handled automatically).
- The tpage needs to be added to the custom level `.gd` and to
`textures` in the JSON.
- In `level-info.gc`, `sky` needs to be `#t`, your level's mood needs to
call `update-mood-sky-texture` (the default mood, `update-mood-default`,
handles this as an example) and `sun-fade` needs to be nonzero for the
sun to show up.

For `generic` textures:
- `tex_remap` needs to be the name of a vanilla level.
- When using a vanilla level's remap table, you need to adhere to the
order of the files in that level's `.gd` in your own level.
  - Code files are first.
- Then the tpages (in the order `tfrag`, `pris`, `shrub`, `alpha`,
`water`).
  - Then the art groups.
  - Lastly, the level file.
- The tpages need to be added to the `textures` in the JSON.
2024-09-30 17:18:28 +02:00
..
build_actor Background improvements for custom levels (#3672) 2024-09-21 11:39:50 -04:00
build_level custom levels: support vanilla skies and texture remapping tables (#3691) 2024-09-30 17:18:28 +02:00
compiler [jak3] Fix alpha for prims, entity-table (#3609) 2024-07-27 12:46:33 -04:00
data_compiler deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
debugger debugger: reverse the order the backtrace is printed (#3474) 2024-04-16 05:22:31 +01:00
emitter deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
listener deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
make REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
regalloc Port bones.gc math to GOAL (#3425) 2024-03-15 20:31:11 -04:00
CMakeLists.txt Background improvements for custom levels (#3672) 2024-09-21 11:39:50 -04:00
main.cpp REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
simple_main.cpp game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00