Jak 2/3 - Path Editor#166
Open
Nick0778 wants to merge 1 commit into
Open
Conversation
dallmeyer
reviewed
Jun 30, 2026
dallmeyer
left a comment
Contributor
There was a problem hiding this comment.
overall looks great, left a couple thoughts
| (debug-menu-append-item path-editor-menu (new-dm-submenu "Path Type" select-path-type-menu)) | ||
| ) | ||
| (debug-menu-append-item path-editor-menu (new-dm-func "Clear All" #f nick-path-menu-check-clear-all)) ;; clear all the path | ||
| (debug-menu-append-item path-editor-menu (new-dm-func "Print Path Data" #f nick-path-menu-print-jsonc-path-data)) ;; print path data |
Contributor
There was a problem hiding this comment.
it might be nice to also have options for saving/loading from file, its something I added to the orb placer tool (though I think I still need to contribute it back to modbase)
| ;; and when the last node is selected | ||
| ;; or when there's nothing selected | ||
| (when (and (< idx 100) (or (= selected last-idx) (= selected -1))) | ||
| (vector-copy! (-> this nodes idx) (target-pos 0)) |
Contributor
There was a problem hiding this comment.
how does it look if you turn target off and switch to freecam? I think target-pos might return the camera's position in that case which could be a little weird.
might want to add a slight offset if target isn't spawned, I do that for orb-placer as well
OG-Mod-Base/goal_src/jak3/engine/mods/orb-placer.gc
Lines 225 to 226 in e679aba
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements a simple in-game path editor, allowing people to create linear and curved paths, as well as export them in the jsonc format, including the
pathandpath-klumps. Very useful for people who prefer placing paths directly in-game instead of using 3D modeling softwares.Quick showcase (sorry for the video quality :( )
path-editor.mp4
Example of the path output: