Log in to reply
 

CommandLine Way to Enable/Disable Certain MODS possible?



  • Hello modders,

    When I play with mods (script mods to be specific), some mods tend to cause me trouble in missions;

    An example:
    I very much like the Crawl Injury mod by jedijosh920, but sometimes in missions this mod makes it impossible to finish missions.
    Example: I'm defending my scrapyard from the LOST, I shoot the enemies, some don't die and keep crawling on and are unable to be found making it not possible to finish the mission.

    I know the simple answer is to not use the mod; but I like to have it to fool around and missions such as above come in as not an optional, so saving ↦ disabling the mod and continuing the game is out of the choice for me.

    I would like to know if there is a way to disable what the mod does through the command line (the F4 debug thing).

    Thanks & Kind Regards


  • MODERATOR

    Use Help() to see what's possible.

    More info here: https://github.com/crosire/scripthookvdotnet/releases/tag/v3.0.0

    In your case:

    Abort("CrawlInjury.dll") and Start("CrawlInjury.dll")



  • @ikt Thank you! this works. 😍



  • I modified Crawl Injury so that it is automatically disabled in missions: https://mega.nz/file/heoCCCSL#DFUXmOPOwqRQJU8_a3OhpjPppTkxKdRq5I5H48PQ3Xo

    jedijosh, if you aren't okay with me posting this please let me or the moderators know.



  • @ikt Thank you for this. I wish I had known about the command line before, it would have saved me lots of time manually deleting scripts during testing. Not to mention reload is much more intuitive than mashing the F11 key (my replacement for Insert) to reload a script. Also great for clearing scripts that might use same key bindings.



  • @Jitnaught Thanks :)
    I'll try this out. Cheers.



  • @Jitnaught Update: It works perfectly for me, thanks :)


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.