Thursday, May 16, 2019

GTA 5 Modding help

In this post i will link some tutorials about GTA 5 modding, game crash fix, plugins setup, peds setup, etc.


Basic scripts setup

ScriptHookV and NIBShDotNet setup (step 1 to 3):

https://www.youtube.com/watch?v=_t_5A9xp4IA

Script mods setup (consider NIBShDotNet instead of ScripthookVDotNet):


Ped models setup


(New) Add peds to game:

https://www.youtube.com/watch?v=uJpR3MjyY4M

(Old) Addon Peds setup:
https://www.youtube.com/watch?v=ILruXAv_JJg

(Old) How to add peds to game:

https://www.youtube.com/watch?v=Lkws32GUd7I

How to replace peds in game (Case you don't want Add peds):
https://www.youtube.com/watch?v=75Igq9J6jbw

Game crash FIX for added peds:

https://gtaxscripting.blogspot.com/2019/05/gta-5-added-peds-limit-fix.html

Adding a ped model to my mod peds list:

https://gtaxscripting.blogspot.com/2019/05/adding-ped-model-to-one-of-my-mods.html


Troubleshooting


NIBSHDotNet troubleshooting (NIBMods menu not showing):
http://gtaxscripting.blogspot.com.br/2016/05/ScripthookVDotNet-Troubleshooting.html

Problems with NIBMods Patreon login:

http://gtaxscripting.blogspot.com.br/2018/05/nibmods-patreon-login-problems-and.html


Game crash/script error FIX


- Error: ERR_MEM_EMBEDDEDALLOC_ALLOC issue

- FIX: Install this mod

- Error: Game crash after game patch update

- FIX: Maybe you have outdated update.rpf file inside mods\update folder, delete the outdated file or copy the new one from game update folder. (Keep in mind that you may loose changes made in the old update.rpf file)

- Error: Game crash after adding peds

- FIX: Follow this tutorial to fix

- Error: Script error/crash

- Check the NIBSHDotNet log file for possible errors, run the game as Administrator


Tips


-Playing Online mode after installing mods:

- Install one mod and test game and mod, don't install lot of mods then test, it's harder find a possible issue related to a mod setup


- Always keep your game updated, some of my mods uses latest anims/FX from latest game patches, outdated game patch may cause game crash when using some powers


- Always run the game as Administrator


- If you don't have a Scripts folder, create one

- When a mod doesn't appear in the NIBMods menu list, make sure the mod is installed properly and that the .dll or .ndll file of the mod is inside Scripts folder


- When toggle powers/spawn enemy/ally via NIBMods Spawn menu (Ctrl+D0) don't work, test the mod using the NIBMods menu (Ctrl+N)



That's it for now, if you want support my work, please go to my Patreon profile and make a pledge, each coin helps me keep my modding development :)

Visit my YouTube channel to see more about my mods/tutorials

Saturday, May 11, 2019

GTA 5 Added peds limit FIX

This post has been moved to my patreon page to avoid issues with Blogger Spam policy due to external links (I guess)

Thursday, May 2, 2019

Adding a ped model to one of my mods

When you install a new ped model in game (adding or replacing a game ped) you need a .ini file to make that ped model appear in my mods menus, each mod have a folder inside Scripts folder, and inside this folder we have a folder dedicated to the .ini files of the ped models that appear in the menu. Let's take as example the Thanos script mod.

With the Thanos script mod properly installed, in GTA 5 Scripts folder you will find a folder called "Thanos script files", and inside this folder you will find a folder called "Suits":


Inside the folder "Suits" we have one .ini file for each ped model that appears on Thanos menu:


To add a new ped model to the menu, you just need to make a copy of one of those .ini files:



Then you open this new .ini file with Notepad (run notepad as administrator) and edit the variable "name" to set the name you want to be displayed in the menu item and edit the variable "model" to set the ped model name you installed before:


Save the file, load the game and now a new item should appear in the mod menu :)


The other mods uses similar idea, what changes is the folder where the .ini files are located (some are in "Characters" folder, others in "Armors" folder) and the .ini file name pattern (some have _armor, super_suit_, char_, etc.).

Running GTA 5 as Administrator

It's good run the GTA 5 application as administrator to let the scripts read and write files when needed, this simple tutorial shows how.

Find the .exe file of the application, right click it and go to Properties:


Then click in the tab "Compatibility" and in "Privilege Level" check the box "Run this program as an administrator"


Optional: Now click in the button "Change settings for all users" and do the same. Click Ok, and then click in Apply to apply the changes.

Setting the Web Browser location in NIB-Patreon.ini file

Find your google chrome shortcut, right click it and go to Properties:


Then select all text inside the field "Target" and copy the text:


Open your GTA 5 Scripts folder and find the file NIB_Patreon.ini, open it with Notepad (must have administrator rights when running Notepad) and then paste the text you just copied in the variable "webbrowser_exe_location":


Save the file and load the game to test if it can open the web browser :)
//propaganda YT float style='display:none;'