Community Script Hook RDR2 .NET
THIS PROJECT IS NO LONGER IN DEVELOPMENT AND LIKELY DOES NOT WORK.
THERE IS AN IMPROVED, UPDATED FORK OF THIS PROJECT HERE - A HUGE THANK YOU TO THEM!
Releases
Download binaries here
This is an ASI plugin for Red Dead Redemption 2, ported from ScriptHookVDotNet, based on the C++ ScriptHook by Alexander Blade, which allows running scripts written in any .NET language in-game.
USAGE
Copy ScriptHookRDRDotNet.asi, ScriptHookRDRNetAPI.dll, AND ScriptHookRDRDotNet.ini to your RDR2 Install folder.
Install scripts to /scripts/ folder inside root folder
Join the official Red Dead Redemption 2 Modding Discord for the latest information about Red Dead Redemption 2 PC mods
Requirements
C++ ScriptHookRDR2 by Alexander Blade
.NET Framework ≥ 4.6
Visual C++ Redistributable for Visual Studio 2019 x64
For Developers
Create .NET Framework project ≥ 4.6
Add Reference to ScriptHookRDRNetAPI.dll
use RDR2 namespace
**See ExampleScript.cs**
-------------------------------------------------------------------------------------
Contributing
The source for this project is on Github here
You'll need Visual Studio 2017 or higher to open the project file and the Script Hook RDR2 SDK extracted into "/sdk".Additionally, create an environment variable called RDR2DN_VERSION and set it to the version you are attempting to build.
Any contributions to the project are welcomed, it's recommended to use GitHub pull requests.