damianw / ChaosModV

Chaos Mod for Grand Theft Auto V

Home Page:https://gta5-mods.com/scripts/chaos-mod-v-beta

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chaos Mod V

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.

Building

  1. Clone the repo git clone https://github.com/gta-chaos-mod/ChaosModV.git

  2. cd ChaosModV

  3. Initialize all submodules

git submodule init
git submodule update --recursive
  1. Open vendor/minhook/build/VC15/MinHookVC15.sln in Visual Studio

  2. Compile libMinHook as x64 Release build

  3. Open ChaosMod.sln in the root folder in Visual Studio

  4. Compiling should work now. If there's an error referencing MsBuildMajorVersion when building either the ConfigApp or TwitchChatProxy projects, close and open Visual Studio again.

Adding new effects

  1. Add your new effect info to ChaosMod/Effects/EffectsInfo.h

  2. Add the same info to ConfigApp/Effects.cs

  3. 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.

About

Chaos Mod for Grand Theft Auto V

https://gta5-mods.com/scripts/chaos-mod-v-beta

License:GNU General Public License v3.0


Languages

Language:C++ 65.6%Language:C# 30.8%Language:TypeScript 3.3%Language:C 0.2%Language:JavaScript 0.1%