Stuff regarding Ring Racers modding and porting

Latius

Hybrid Kart Mapper/Porter
Just a heads-up for anyone who's currently planning on making mods for Ring Racers using custom HUD elements in-game. Due to my testing towards making the HUD for DaytonaKart 2 (or DaytonaRacers, depending on which name gets chosen), I have found that in V2.1, and possibly V2.0 as well, some things can't be disabled (like the Rings counter), while due to an error in the source code, what should disable one hud element instead disables another element instead.

Also, there are different features in Ring Racers compared to the OG Kart. For one, there is no kartstuff array. So, for example, you can't use the following code to disable the lap text at the start of each lap:
player.kartstuff[k_lapanimation] = 0

You must instead use this in place of it:
player.karthud[khud_lapanimation] = 0

Also, due to the Position mechanic, you can't used a fixed variable like local TIMEFORGO = 26 + (TICRATE * 6) to tell when the race would begin, but instead there's starttime that gives the time when the countdown starts (and which in Record Attack changes based on when you cross the start line if it's before the normal 'GO')

Hopefully soon the Wiki will be able to give more details, but it'll take a while to learn how to adapt from Kart coding to Ring Racers coding.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top