Jump to content

LMS

Administrators
  • Joined

  • Last visited

Posts posted by LMS

  1. The tutorial is based on an older version of RPH that, at the time, was a few weeks old and hence the API has changed. The RPH version from the website should be compatible with the latest game patch, so you can use that. As you noticed, some calls have changed, though. I believe the keyboard functionality is now in the Input class. There might also be a few comments on the tutorials or tutorial projects where people have asked similar questions, that might help you too. I do not have the time to update the tutorials right now, but Visual Studio's IntelliSense should hopefully help you quite a bit with figuring out what functionality is available.

  2. I am not sure if there is another way using named natives (or using natives to begin with). I am not sure what custom route refers to but my guess would be you could override it from a waypoint recording. Those recordings are done by R* to record predetermined paths that are then "played back" during gameplay. It allows them to make sure the AI is pretty much exactly where they need it to be at any given time.

  3. That's my bad! Yes, it would only return the route length. You could perhaps try to get the natives right below that to work (0xEFC535C9FAF563B3 and 0x665B21666351CB37). They might be related to routes and at least the first one definitely returns a position. However, I cannot tell you what kind of position. Here is an example: https://github.com/stianhje/rdr3-decompiled-scripts.1232/blob/023e299cb6050ce07b5aad4147df58e304c0450f/script_rel/abigail21_outro.c#L1324