Giter Site home page Giter Site logo

marvisak / chaosmodv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gta-chaos-mod/chaosmodv

0.0 0.0 0.0 9.09 MB

Chaos Mod for Grand Theft Auto V

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

License: GNU General Public License v3.0

C++ 71.72% C# 24.00% C 1.16% TypeScript 2.42% JavaScript 0.08% Python 0.62%

chaosmodv's Introduction

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.

Feel free to join the Discord Server for community support or simply to stay up to date on this (and other) mods.

Also make sure to check the Wiki!

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 a new effect enum entry to ChaosMod/Effects/EffectsInfo.h

  2. 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()
{
	
}

// Any of these functions can be omitted and either replaced with a `nullptr` or completely left out (default parameter values) in the `RegisterEffect` declaration
static RegisterEffect registerEffect(EFFECT_ENUM_ENTRY, OnStart, OnStop, OnTick, EffectInfo
	{
		// These are always required, you may have to add more designators depending on your effect
		.Name = "Generic Effect",
		.Id = "player_funny_stuff"
	}
);
  1. Add the same info to ConfigApp/Effects.cs

chaosmodv's People

Contributors

pongo1231 avatar last0xygen avatar kolyaventuri avatar professorbiddle avatar lucas7yoshi avatar slothersbee avatar juhana avatar drunderscore avatar moneywasted avatar mo-xii avatar elirickard avatar dependabot[bot] avatar lunascaped avatar lennartoschika avatar byhemechi avatar shyskream avatar danfq avatar dzwdz avatar joshuax8 avatar brandishwar avatar supersonicboss1 avatar birds1338 avatar metoxys avatar yzimroni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.