TuffyTown 23 Posted August 15, 2022 Posted August 15, 2022 (edited) Since the original C# script hook hasn't been updated in almost 3 years, I decided to make my own fork of the project and start updating it again. I've already made many great improvements and additions to the new version, including a new native calling system that removes the need to use Function.Call(). Credits go to Satlyq for the original ScriptHookRDR2DotNet implementation You can find the project here: https://github.com/Halen84/ScriptHookRDR2DotNet-V2 You can download the latest version here: https://github.com/Halen84/ScriptHookRDR2DotNet-V2/releases/latest You can find all releases here: https://github.com/Halen84/ScriptHookRDR2DotNet-V2/releases/ If you would like to create mods with this version of ScriptHookRDR2DotNet (ScriptHookRDR2DotNet V2), please follow this guide posted by Mooshe. Notes: - Old mods that use ScriptHookRDR2DotNet will NOT be compatible with this version - The following tutorial is a little outdated, but the steps are almost all the same. The code that he uses is outdated. Edited August 15, 2022 by TuffyTown 1 Quote
LMS 674 Posted August 15, 2022 Posted August 15, 2022 Very nice! Always great to see dev tools being maintained 🙂 I am not too familiar with the internal architecture of the RDR 2 .NET Script Hook, but since it is also based on Alex's Script Hook perhaps it has the same architectural problem that the GTA 5 one suffers from. You can find some details here and if you could fix that for RDR 2 that would be great, as it impacts all other mods: https://github.com/crosire/scripthookvdotnet/issues/976 Quote
TuffyTown 23 Posted August 15, 2022 Author Posted August 15, 2022 I personally have not experienced this, but I am almost certain that this is still an issue as the DllMain.cpp files are basically the exact same. I will look into this, but there is no guarantees that I can fix it, but I will try. Quote
HughJanus 244 Posted August 21, 2022 Posted August 21, 2022 (edited) @TuffyTownDo you happen to know anything about this: https://github.com/Halen84/ScriptHookRDR2DotNet-V2/tree/master/source/scripting_v3/RDR2.NaturalMotion Would I be able to trigger certain euphoria tasks with this? If so, how? Edited August 21, 2022 by HughJanus 2 Quote
TuffyTown 23 Posted August 22, 2022 Author Posted August 22, 2022 @HughJanus The Euphoria stuff is a complete mystery to me. Not sure why it's even there. I haven't touched any of it except changing native calls. I've looked at the code serveral times and it all seems pointless to me. I'm honestly not sure how it even works, but I kept it because some people probably use it. If you need to do things with ragdolls, there are certain natives that can mess with that. If you need to change specific behaviors, then you'll probably need to do file editing with LML. Quote
HughJanus 244 Posted August 23, 2022 Posted August 23, 2022 @TuffyTown I was wondering if I could define a new ragdoll task in the files and then trigger it (or trigger a standard one) via asi script. But I suppose, I will have to trial and error my way through this :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.