This repository has a internal model changer with FindMDL Hook for Counter-Strike: Global Offensive game. It's fully open source and loadable into the game as a Dynamic-link library (DLL)
-
First of all you should download project files on project page or clone this repository from GitBash or GitHub Desktop on your PC. FindMDL.zip
-
If you download project files with manual method you need extract zip file.
-
Run .sln file on Visual Studio (2019+).
-
Change build configuration to Debug | x86 and press Build button or press CTRL+B on your keyboard.
-
Check out bin folder include that.
-
Go to the bottom heading to add your custom models.
-
First download any Dynamic-link library (DLL) injector and open.
-
Then select builded Dynamic-link library (DLL) file and Inject to csgo.exe
-
That's all, enjoy it :)
-
First go to "Hooks.cpp" in Source Files.
-
Then go to hkFindMDL below the "Custom Models" comment line.
-
Paste this code and read comment lines in this code.
if (strstr(FilePath, "v_.mdl")) //v_: Name of the model to change
{
sprintf(FilePath, "models/weapons/v_new_.mdl"); //v_new_: Name of the changing custom model:
}