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.
Known bugs:
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
WARNINGS!!!
What is test script?
Just s imple script with such functions: