Time trials online mode
#1
Hello,

So over the past week I have been  learning -as best as I can since this is all very new to me- coding using the various tutorials in this forum and I have managed to make easy codes such as always win races offline and so on... You know what they say, we all have to start somewhere...

My final goal is to make a "time trials online" pack where you would race people with time trials conditions.
Right now I have trying to make a code that would make people start at the same xyz coordinates and more precisely the time trials position as defined in the KMP of the .szs files. To my understanding, the game uses a "start area" grid to position racers depending on their previous placement: this start area is 2000 game units wide and 5300 (or 4800 in narrow mode) game units long.

My idea was therefore to try to make this area have a size of 0,0 so that racers would start at the same spot (which would not be a problem with a no clip code). I have therefore tried to find where in static memory the positioning of racers is defined, to no avail. (using a read breakpoint on adresses that have a decimal value of 1000/2000 did not yield any results).

I was wondering if any of you guys could offer some help:
-is the direction I am going in the right one or will changing the size of the area to 0,0 straight up crash the game?
-if it is, does any of you guys know where in the memory I can find what I am looking for?

Thanks in advance.
Reply


Messages In This Thread
Time trials online mode - by Melg - 04-25-2020, 12:55 AM
RE: Time trials online mode - by Melg - 05-15-2020, 02:22 AM
RE: Time trials online mode - by JoshuaMK - 05-15-2020, 05:11 AM
RE: Time trials online mode - by Melg - 05-19-2020, 12:58 PM
RE: Time trials online mode - by Melg - 05-23-2020, 11:45 PM
RE: Time trials online mode - by Seeky - 05-24-2020, 11:56 AM
RE: Time trials online mode - by Melg - 05-24-2020, 12:08 PM
RE: Time trials online mode - by Ro_ - 06-07-2020, 05:38 AM
RE: Time trials online mode - by JoshuaMK - 06-07-2020, 09:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)