Jump to content

LMS

Administrators
  • Joined

  • Last visited

Posts posted by LMS

  1.   On 1/30/2023 at 5:44 PM, joebeefhash said:

    I was just thinking it'd be cool to jump through a window and shoot someone in slow motion. Rockstar games always have that weird jump and movement thing because they try to make it realistic, which is cool. It just sucks sometimes in certain scenarios. Sluggin' about. 
     

     

    Maybe you should give Max Payne a try then heh!

     

  2. I suppose that largely depends on how polished you would like it to be. You could certainly have a script that makes the player shoot while they are jumping (or in any animation/ragdoll for that matter). It probably won't work nicely animation-wise, but just shooting is fairly simple.

  3. Admittedly it has been a long time since I messed with RDR2 pathfinding natives, but from what I recall they were extremely limited in finding positions that were even just a little bit farther away from the player. Perhaps all nodes are streamed. That being said, the natives themselves do work:

     

    Vector3 outPos = Vector3.Zero;
    if (Game.CallNative<bool>("GET_CLOSEST_VEHICLE_NODE", position.X, position.Y, position.Z, &outPos, nodeType, 300f, 200f))
    {
        foundPosition = outPos;
        return true;
    }
    
    Vector3 outPos = Vector3.Zero;
    int node = 0;
    if (Game.CallNative<bool>("GET_RANDOM_VEHICLE_NODE", position.X, position.Y, position.Z, radius, false, false, false, &outPos, &node))
    {
        foundPosition = outPos;
        nodeId = node;
        return true;
    }

     

  4. Thanks for your suggestion! It certainly makes sense and quite frankly the whole menu should probably be redesigned and have a search feature. I never intended for most of my mods to stick around for this long and really only released them quickly after the game came out as proof of concepts thinking they would soon be replaced by more complete ones. It looks like I was wrong, though. That being said, I have no plans right now to overhaul my mods for RDR2, sorry.

  5. You are confusing real ymt files and those that are actually text files just renamed to ymt. Normally, a ymt file is a binary file and hence you cannot open it in notepad++. Similarly, OpenIV expects them to be binary (that is the whole point of ymt, after all) and hence errors when you try to open a text file that just got renamed to ymt instead of meta/xml. Now why do people rename text files to ymt? LML forces the game to consider ymt as both, binary and text. This allows you to modify a ymt file as text and load it back into the game without having to compile it back into a binary representation. What you are seeing is expected behavior.

  6. None of your LML are loaded if you rename vfs.asi so you can rule them out. There is a chance that another asi mod might cause/amplify the issue, but I suspect it is the MP assets that are loaded by version.dll itself. You could try to move all asis out of the game folder and try again. If it still crashes, it is safe to say that it is the game's MP assets (and/or the way they are forced into SP) are the issue. You could just use another asi loader which does not load them and should be fine. 

  7. You cannot as there are many files that the game never unloads so they cannot be reloaded. This depends on the specific file type and mostly affects data files although some streaming assets that are used early on can also probably never be drained properly. If you need hot-reload support for a specific data file you would have to look at its internal parser to see how the data structure is written/updated and then sync your changes that way. Some parsers allow you to overwrite entries but most reject entries with the same name so you need to manually do it or patch the parser.

  8. It is fairly simple to create one, you can do it in a few hours. There is an open-source ABI compatible to AB's implementation available here: https://github.com/kepmehz/ScriptHookRDR2V2 

     

    However, since AB usually updates his hook fairly timely, why create another one that does the exact same thing? That is not a great motivation for most developers. The one I linked was born mostly due to uncertainty about AB's situation, but generally speaking keep in mind people here do this for free and for fun and recreating something is usually not that fun. Especially when it is not abandoned but just takes a little longer to get updated.