Lava Tube Skip and File:Invulnerability Glitch in Weapons Factory.gif: Difference between pages

From JakSpeedruns Wiki
(Difference between pages)
Jump to navigation Jump to search
 
No edit summary
 
Line 1: Line 1:
[[File:Lava Tube Skip Cold Spot Movement.gif|frame|Movement performed on cold spots in Lava Tube.]]
[[File:Lava Tube 5 Rock Pattern Cold Spot.jpg|thumb|The 5 rock pattern cold spot shown with and without collision material renderer.]]
'''Lava tube skip''' is a skip that bypasses the 72 power cell requirement to pass through Lava Tube. The skip involves traversing through Lava Tube on foot and using an [[Idle Deload|idle deload]] to force Jak to respawn at the second checkpoint which puts him on the zoomer. From here, Jak completes the rest of Lava Tube on the zoomer as normal.


== Tutoriala ==
<youtube>https://www.youtube.com/watch?v=iIkiz3RE9eU</youtube>
<youtube>https://www.youtube.com/watch?v=Yyc8J06abA4</youtube>
== Technical ==
=== Explanation ===
Lava Tube Skip begins with a rocket uppercut to get out of bounds at the beginning of Lava Tube. Once out of bounds, Jak passes through the checkpoint/load trigger that changes the active level to Lava Tube. Jak then holds still for 30 seconds to perform an idle animation. This is done to create a new [https://youtu.be/yJzPplb1U4A?si=eFUVgKPSSCDspRAF&t=200 backup load state] that contains the necessary information for Lava Tube. After the idle animation, Jak backtracks to pass through a checkpoint/load trigger to make Volcanic Crater the active level again. Once Volcanic Crater is made the active level, Jak does a checkpoint bypass on his way into Lava Tube to ensure that the active level remains Volcanic Crater when entering Lava Tube. Jak then traverses through Lava Tube on foot utilizing various cold spots to get to a specific point in the level where he is geographically closest to the second checkpoint in Lava Tube. Then, Jak performs an [[Idle Deload|idle deload]] to load in the Lava Tube backup load state data. This will change Jak's active level to Lava Tube, but since Jak skipped the first checkpoint, the game [https://github.com/open-goal/jak-project/blob/master/goal_src/jak1/engine/level/level.gc#L1909 defaults to respawning Jak at the nearest geographical checkpoint]. Since the second checkpoint is the closest one, Jak respawns at the second checkpoint which automatically puts Jak on the zoomer.
=== Checkpoint Assignment Code ===
<nowiki>
;; update load state machine (the level-border one)
  (update! *load-state*)
  ;; checkpoint assignment
  (dotimes (s5-2 (-> this length))
    (let ((s4-1 (-> this level s5-2)))
      (when (= (-> s4-1 status) 'active)
        ;; if you're outside here, and inside somewhere else, kick out of meta inside.
        (if (and (-> s4-1 inside-boxes?) (not (-> s4-1 other inside-boxes?)))
            (set! (-> s4-1 other meta-inside?) #f)
            )
        (when (and (null? (-> this load-commands))
                  (= (-> s4-1 nickname) (-> *load-state* vis-nick))
                  (!= (-> s4-1 name) (-> *game-info* current-continue level))
                  (-> *level* border?)
                  )
          (let ((s3-0 (the-as continue-point (car (-> s4-1 info continues)))))
            (let* ((s2-0 (target-pos 0))
                  (s4-2 (-> s4-1 info continues))
                  (s1-0 (the-as continue-point (car s4-2)))
                  )
              (while (not (null? s4-2))
                (if (and (< (vector-vector-distance s2-0 (-> s1-0 trans)) (vector-vector-distance s2-0 (-> s3-0 trans)))
                    (zero? (-> s1-0 flags))
                    )
                  (set! s3-0 s1-0)
                  )
                (set! s4-2 (cdr s4-2))
                (set! s1-0 (the-as continue-point (car s4-2)))
                )
              )
            (set-continue! *game-info* s3-0)
            )
          )
        )
      )
    )</nowiki>
== Discovery ==
The discovery of Lava Tube Skip was a collaborative effort by Kuitar, blahpy, headstrong1290, Bobbykaze, and Grig.
== Other Notes ==
[https://www.youtube.com/watch?v=4YgCHsN0zk4 This method of Lava Tube Skip] has never been completed in one go without save states. (January 22, 2016)
Grig found the first real time setup for the scoutfly boosted, which would later be used in runs using Lava Tube Skip v2.5. (January 25, 2016)
Two days before this first world record, on June 21, 2016, headstrong was the first to [https://www.twitch.tv/videos/74074299?t=00h28m55s fully complete the out of bounds ledge grabs in real time]. The use of an [[Idle Deload|idle deload]] in the skip (what is referred to as '''v2''') was not put forward until June 23, 2016, when headstrong & Kuitar raced to see who could complete a run with Lava Tube Skip v2, using the ledge-grabs from v1 and the new idle deload. On that day, headstrong became the first to finish a run with Lava Tube Skip v2 (1:51:15) and first to get a world record with the skip (37:43), while Kuitar also completed a run with the skip. (June 23, 2016)
Bobbykaze replaced the out of bounds ledge grabs used in Lava Tube Skip v2 with the [[Scoutfly Boosted|scoutfly boosted]] setup that Grig had found, completing the [https://www.youtube.com/watch?v=iSV945T8uLA&t=1344s first world record run with Lava Tube Skip v2.5] in 28:20. (July 8, 2016)
{{Skips}}

Latest revision as of 18:55, 16 February 2024