A replica of the chaos mods found on previous GTA games for GTA V.
See the GTA5-Mods mod page for more information and instructions on how to install it.
-
Clone the repo
git clone https://github.com/gta-chaos-mod/ChaosModV.git -
cd ChaosModV -
Initialize all submodules
git submodule init
git submodule update --recursive
-
Open
vendor/minhook/build/VC15/MinHookVC15.slnin Visual Studio -
Compile libMinHook as x64 Release build
-
Open
ChaosMod.slnin the root folder in Visual Studio -
Compiling should work now. If there's an error referencing
MsBuildMajorVersionwhen building either the ConfigApp or TwitchChatProxy projects, close and open Visual Studio again.
-
Add your new effect info to
ChaosMod/Effects/EffectsInfo.h -
Add the same info to
ConfigApp/Effects.cs -
Create a new .cpp file in the appropriate folder under
ChaosMod/Effects/db/with a fitting name
Layout of the file should look like this:
/*
Effect by <Your Name>
*/
#include <stdafx.h>
static void OnStart()
{
}
static void OnStop()
{
}
static void OnTick()
{
}
static RegisterEffect registerEffect(EFFECT_ENUM_ENTRY, OnStart, OnStop, OnTick);Any of these functions can be omitted and either replaced with a nullptr or completely left out (default parameter values) in the RegisterEffect declaration.