

Added Vehicle.IsParachuteDeployed, Vehicle.IsRocketBoostActive, Vehicle.StartParachuting(), and the setters of IsLeftIndicatorLightOn and IsRightIndicatorLightOn.Added Vehicle.BringToHalt(), Vehicle.BringToHalt(), Vehicle.StopBringingToHalt() methods, and IsBeingBroughtToHalt property.Added TaskInvoker.StartVehicleMission(), TaskInvoker.StartHeliMission(), TaskInvoker.StartPlaneMission(), and TaskInvoker.StartBoatMission(), Vehicle.GetActiveMissionType() methods, VehicleMissionType, BoatMissionFlags, and HeliMissionFlags enums.Added missing values to IntersectFlags and old incorrect value as obsolete.Use ShapeTest.StartTestCapsule() instead. Made World.RaycastCapsule() as obsolete because the result may not be made in the same frame you call the method despite START_SHAPE_TEST_CAPSULE asynchronous.Added ShapeTest class, ShapeTestHandle and ShapeTestResult structs, and ShapeTestStatus and ShapeTestOptions.Compiled scripts do not take effect since enums are embedded as constants when directly used. NativeHashes enums are updated (v3 API only) as some leaked source revealed all the exact native function names that exist in. Note that Script.Yield() and Script.Wait() are not available and instead throw an exception when NoScriptThread is set to true (even via some scripting API such as World.CreateVehicle() without the model loading in advance). Additionally, create an environment variable called RDR2DN_VERSION and set it to the version you are attempting to build.Īny contributions to the project are welcomed, it's recommended to use GitHub pull requests.You can now run scripts in the main thread rather than decicated thread by setting NoScriptThread of ScriptAttributes to true. You'll need Visual Studio 2017 or higher to open the project file and the Script Hook RDR2 SDK extracted into "/sdk". The source for this project is on Github here Visual C++ Redistributable for Visual Studio 2019 圆4 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Ĭopy ScriptHookRDRDotNet.asi, ScriptHookRDRNetAPI.dll, AND ScriptHookRDRDotNet.ini to your RDR2 Install folder. 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. ThunderHawk - A simple thunder-weapon mod New Smoking Animations (New Cigar Update) This mod is required as it serves as a wrapper for AB's ScriptHook for loading. This mod directly depends upon this library dll version (Version 1.2 and below) Locate ScriptHookRDRDotNet.asi, ScriptHookRDRDotNet.ini and ScriptHookRDRNetAPI.dll to game folder.
