You can know more about editing the articles in the wiki by reading guidelines.

Changes

From Speedrunwiki.com
Jump to navigationJump to search
280 bytes removed ,  10:23, 10 July 2021
rewrite
Line 1: Line 1: −
The updating routine starts running right after the intial values has been set and will continue as long as the game is on. It's not really important to understand the line. However, there's a very interresting fact we can derive from it, the RNG depends only on itself and nothing else. Most RNG's work this way, using recursion, so it's not a huge suprise. But if the RNG is so deterministic, and not directly dependent on player input, shouldn't a random event occuring on a certain frame give the same result each time?
+
Goldeneye's RNG is built using a [https://en.wikipedia.org/wiki/Linear_congruential_generator Linear Congruential Generator]. The technical details really aren't important because it can just be thought of as an immensely long list of values. Each time the RNG function is called, the next value in the list is returned.
   −
Well, the reason GE is so unpredictable is that the updating routine isn't being run once per frame, rather, it depends on lag and can vary ALOT. During the intro, the RNG is usually updated about 3 times per frame. But on a very laggy frame it can update thousands of times in a single frame. Also, when seeds are taken for random events such as Dr. Doak or frigate hostages, any one of those thousands of values calculated between frames can be used. So previous actions done by the player definately matter when determining randomness since they affect lag, even though the exact sequence of random numbers is completely predictable.
+
As such the RNG doesn't depend on any 'frame rules' as such, and doesn't directly use controller inputs to adjust its state. The unpredictability comes from the vast number of times that the function is called. Even in a 'quiet frame', the RNG will be called a couple of hundred times. Even in the menus the RNG is being called each frame, and in game a slight difference in lag will guarantee that the RNG will move to a different state.
   −
So essentially, it's possible for us to insert the updating routine in a program like excel and use it to calculate the entire sequence of random numbers that a given version of GE will use. However, it's most likely useless knowledge since humans (or even TAS)  can't utilize it.
+
It would be completely implausible to attempt to manipulate the RNG for anything which is determined even a little way into the level, for instance Dr Doak on Facility, who is placed once you enter the bathroom.
 +
 
 +
Even resetting the console in an attempt to just guarantee a specific cinema has not been attempted, though perhaps this is actually worth investigating for [[Frigate#Agent|frigate 2.3]].
    
== External Links ==
 
== External Links ==
0

edits

Navigation menu