lempamo / ChaosIV

a chaos mod for gta IV
MIT License
7 stars 3 forks source link

How to modify the configuration file to turn off some effects #9

Closed StarinLin closed 3 years ago

StarinLin commented 3 years ago

[chaos] ; enter effect names separated by commas in here to disable them disabledEffects="No HUD,Blind,It's Time For A Break,Suicide,Lag,Spammy Vehicle Doors,Black Traffic,Blue Traffic,Green Traffic,Red Traffic,White Traffic,Everyone Is A Ghost"

This is my profile content, but I can still see these effects in the game,so how? And,By the way, when is the next update,I love this mod. Thank you very much

elleirGab commented 3 years ago

i'm also wondering how to disable effects properly in this mod, the instructions are kind of vague and an official example would be very useful!

shtrih commented 3 years ago

Try remove [chaos] from config

ClonkAndre commented 3 years ago

@StarinLin As @shtrih wrote, try to remove [chaos] from your config file and also remove the quotes. That should fix it.

And,By the way, when is the next update,I love this mod. Thank you very much

A new version of ChaosIV is already in development. Make sure to keep an eye on this repository for any updates ;)

elleirGab commented 3 years ago

i was going to leave a comment about it but i see you beat me to it by half an hour!

if you open the scripthook console with «`» and type «reloadscripts» you can 1. reload your scripts if they crash without restarting the entire game and 2. see what effects are disabled and how they are typed/perceived by the game

so «disabledEffects="Teleport To Swingset, No HUD, Suicide"» doesn't work, because the game reads «"Teleport to Swingset» + « No HUD» + « Suicide"» so the weird spaces and the quotations marks fucks it up. but remove them («disabledEffects=Teleport To Swingest,No HUD,Suicide») and the game reads each effects correctly and it seems to disable them!

hope these examples (and the «reloadscripts» command) helps some of y'all!