Difference between revisions of "R.C. Pro-Am II/Game Mechanics"

From SDA Knowledge Base

Jump to: navigation, search
(Speed)
(Max speeds)
Line 14: Line 14:
  
 
===Max speeds===
 
===Max speeds===
The below table shows how the max speeds increase with the upgrades (the numbers in the motor rows correspond to their additional speed boost).
+
The below table shows how the max speeds increase with the upgrades. The numbers in the motor rows correspond to their additional speed boost. Question marks mean these combinations haven't been tested and are only assumed.
 
{| class="wikitable"
 
{| class="wikitable"
 
|
 
|

Revision as of 09:47, 23 March 2018

Items

Rcproam2 dollar.JPG - 250$. If it's blinking, any car can grab it. Otherwise, only the car with the corresponding color can collect it.

Rcproam2 dollar-bag.JPG - 100$. If it's blinking, any car can grab it. Otherwise, only the car with the corresponding color can collect it.

Rcproam2 ammo.JPG - 100$. If you're equipped with a bought weapon, this item will increase the ammo by 5.

Rcproam2 star.JPG - 100$. If you're equipped with a bought weapon, this item will increase the ammo by 1.

Rcproam2 letter.JPG - No money. Collect the letters P, R, O, A, M and I (twice) to upgrade the car. The car can be upgraded twice.

Rcproam2 nitro.JPG - No money, one nitro. If it's blinking, any car can grab it. Otherwise, only the car with the corresponding color can collect it.

Rcproam2 questionmark.JPG - No money, gives either missiles or bombs with unlimited ammo. You can't tell from the question mark if it's one or the other, but the same question mark always contains the same weapon.

Rcproam2 rollcage.JPG - No money, prevents you from crashing after driving through an oil slick. If a car touches another car having the roll cage, it will start spinning and crash if hitting the border of the track. If both cars have the roll cage, nothing happens.

Rcproam2 1up.JPG - No money, one continue

Speed

The speed is tracked in RAM-address 05C2.

Max speeds

The below table shows how the max speeds increase with the upgrades. The numbers in the motor rows correspond to their additional speed boost. Question marks mean these combinations haven't been tested and are only assumed.

Default 1st upgrade 2nd upgrade
Standard 79 85 88?
Red 6 6 6?
Black 9 9 9?
Silver 11 11 11
Gold 12 12 11
Hyper 12? 12 12
Mega 15? 15? 15

In addition to the boost of the speed stats, each new motor also improves the acceleration. So even though Gold and Hyper don't appear to add much over Silver, they have better stats (not enough to make them good choices though).

Test of upgrade combinations

A primitive test was made by timing (in frames) one lap of track 6 with different combinations of motors and tires. Several completions were made for each combination and then the best time was noted down. The test was of course still subject to execution mistakes, but should give an idea of what time differences to expect. Due to limited money available, some combinations could not be tested for this track.

Standard Skinny Nooblies Dynafit
Standard 1500 1444 1421 1410
Red 1374 1355 1320 1313
Black 1389 1302 1273 n/a
Silver 1310 1273 n/a n/a

Zippers

Zippers appear to give a speed boost of around 40 for 11 frames and then the speed is reduced by one or two every 5 or 6 frames until the max speed for the car upgrade/motor is achieved. The game mechanics behind the speed reduction is not known. Very roughly, a zipper saves about one second.

Boosts

The nitro and start boost effects are governed by the same game mechanics. The effect goes through 4 phases (RAM-address 061E):

  1. The counter in 0622 counts down from 32 (nitro) or 40 (start boost) by one every frame. When the counter reaches 0, phase 2 begins.
  2. RAM-address 0626 increases by 8 every frame for 8 frames (so ending at 64). 0626 is effectively what boosts the car. This value can be made to roughly correspond to a speed boost by using a multiplication factor of 0.75 and adding the result to the speed in 05C2.
  3. 0622 is reset to 32 and starts to count down yet again. When the counter reaches 0, phase 4 begins.
  4. This is a reversal of phase 2. So 0626 decreases by 8 every frame until it reaches 0. This is also the point when a new nitro can be used.

It's important to note the following things:

  • The nitro boost is not affected by speed reductions from water or logs. That means they are extra useful when crossing these obstacles.
  • By activating the nitro so you're in phase 2 while entering the obstacle, you can save additional time by not losing as much speed as you otherwise would have.
  • Both nitros and logs generate lag, so it's sometimes actually a time loss to use nitros to cross a log section.

RNG

The most important RNG-factors in the game are:

  • Letters
  • Traffic light timing
  • Line-up at the start line


All three are determined by the frame when pressing start in the shop, which sets 043C. This works well from a save state, but unfortunately there are also other, currently unknown, factors during the race that impact the seed. So pressing start in the shop for the same value of 043C, but from two different starting conditions, will give different results. The exception is race 1, which is predictable (although requires frame-perfect inputs). Some observations about these RNG-factors are still noted down below.

Letters

In race 1, the letter you get from the different possible values of 043C are the following:

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0-15 R R P P P P A O R R
16-31 P P P P P M O R R P P P
32-47 P P O O R R P P P P
48-63 A O R R P P P P I O O
64-79 R R P P P P A O R R
80-95 P P P P M A R R P P P
96-111 P P M O R R P P P P
112-127 A O R R P P P P I A O
128-143 R R P P P P I O R R R
144-159 P P P P A O R R P P
160-175 P P M P R R P P P P P
176-191 O O R R P P P P A O
192-207 R R P P P P I A R R R
208-223 P P P P M O R R P P R
224-239 P M O R R P P P P P
240-255 A O R R P P P P I O O

Some observations:

  • P is by far the most common letter (85).
  • Roughly one third of the frames are not valid (= nothing happens when you press a button on these frames).
  • There doesn't appear to be any structure to the letters. There are no "islands" with one letter, making it easy to get that particular one.
  • The letter that's likely to be the last to collect, and therefore the most desirable, for the 1st upgrade is I is also the least likely to get. There are only 5 occurrences of I, with the first one coming at 60 (corresponding to 59 frames after the track screen appears).
  • Since the same RNG appears to govern different elements, you can already from the start get an indication of the value of 043C the race began on by looking looking at the order of the cars at the line-up.

As already mentioned higher up, similar tables can be made from a save state for the other tracks as well. Unfortunately, this won't be of any value in a real-time attempt, since the RNG also changes during the races.

Personal tools