Here is initial version of RDR2 ScriptHook.
Tested only on RGL game version.
How to start?
Just download ZIP package, unpack it to empty folder and start rdr2d.exe. It will automatically find game folder and start the game with scripts.
Sometimes game crashes on load. I will try to fix it ASAP. Just start rdr2d.exe again if crashed
How to write scripts?
There is small example in ZIP package. You have such callbacks as Tick, Init, OnKeyDown and OnKeyUp. Natives list can be found here https://github.com/UnknownModder/rdr3-nativedb-data
How can I install new scripts?
Just copy script DLLs into “scripts” folder near to rdr2d.exe
Don’t change player model. Otherwise your save will be broken.
Don’t try to use NETWORK natives. There is big chance that you will be banned.
Don’t try to launch Red Dead Online with Scripthook.
Don’t unpack Scripthook into RDR2 game folder
What is test script?
Just s imple script with such functions:
Num_0 – Select next vehicle
F5 double press – Spawns vehicle near you
Num_1 – Terminates all ingame scripts (kills hud and minimap too)