这个是 荒野大镖客2 的Script Hook 初始版本
目前仅在 RockStar Game Launcher 中做过测试
具体作用可以参考GTA5的
或许可以帮助您快速开始编写脚本
脚本语言C++
将dll文件放到“scripts”文件夹中即可
不要尝试修改主角,可能会导致存档损坏;
不要尝试修改 NETWORK ;
不要在安装了RDR2 Script Hook之后进入线上模式,可能会导致被封号;
不要将 RDR2 Script Hook 解压到游戏目录
控制天气
刷出人物
刷出载具
修改时间
传送
主角模型修改(暂时无效)
F3 显示/关闭 菜单
上下 方向键选择
左右方向键翻页
回车下一个菜单
退格上一个菜单
F2启动 飞行模式
shift 提高速度
W S 前后飞行
感谢 Disquse 提供的 天气、载具、角色 的名称 和传送的位置
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 github.com/UnknownModder/rdr3-nativedb-data
github.com/Disquse/rdr3noclip - Here is noclip source. It's good for quick start in scripting.
How can I install new scripts?
Just copy script DLLs into "scripts" folder near to rdr2d.exe
WARNINGS!!!
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)
演示截图:
昵称:
邮箱:
内容: