RDR2 Script Hook
截圖 共 3 張
模組介紹 作者原文
這個是 荒野大鏢客2 的Script Hook 初始版本
目前僅在 RockStar Game Launcher 中做過測試
具體作用可以參考GTA5的Script Hook V
如需Alexander Blade的Script Hook RDR2,請到
使用方法:
隨便解壓到一個空的文件夾,然後運行“rdr2d.exe”開始遊戲
已知問題:
在遊戲加載時可能會出現崩潰,如果崩潰了再次運行遊戲就可以了
如何編寫腳本?
壓縮包中有一個小示例,有 Tick, Init, OnKeyDown 和 OnKeyUp 之類的小回調函數
可以參考腳本源碼:
或許可以幫助您快速開始編寫腳本
腳本語言C++
如何安裝新腳本?
將dll文件放到“scripts”文件夾中即可
注意!!!
不要嘗試修改主角,可能會導致存檔損壞;
不要嘗試修改 NETWORK;
不要在安裝了RDR2 Script Hook之後進入線上模式,可能會導致被封號;
不要將 RDR2 Script Hook 解壓到遊戲目錄
測試腳本的功能:
控制天氣
刷出人物
刷出載具
修改時間
傳送
主角模型修改(暫時無效)
使用方法:
F3 顯示/關閉 菜單
上下 方向鍵選擇
左右方向鍵翻頁
回車下一個菜單
退格上一個菜單
F2啓動 飛行模式
shift 提高速度
W S 前後飛行
感謝 Disquse 提供的 天氣、載具、角色 的名稱 和傳送的位置
English:
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
- 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)
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
- 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
- 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。
不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。