Jump to content

ScriptHookRDR2DotNet (C#) is being updated again


 Share

Recommended Posts

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 by TuffyTown
  • Like 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...