Bully-Board

Bully Modding Section => Bully Modding => Topic started by: CornFlakeMayhem on January 29, 2022, 04:08:52 PM

Title: How do I combine two scripts together?
Post by: CornFlakeMayhem on January 29, 2022, 04:08:52 PM
Beginner here, I just wanna ask this: How do I combine two scripts together? I downloaded two mods and both have .dir files that I cannot modify and once I put one in the folder and want to put some other one, all I do is replace the current script with the new one. I tried the LUAC compiler but I just cannot download it. Any help?
Title: Re: How do I combine two scripts together?
Post by: Altamurenza on January 30, 2022, 02:45:04 AM
This thread should be in Modding Questions/Help anyway, but it's alright.

The same question was already asked several times like this (https://bully-board.com/index.php?topic=24497.0), this (https://bully-board.com/index.php?topic=25915.0), this (https://steamcommunity.com/app/12200/discussions/0/1290690669224272981/?l=french), this (https://bully-board.com/index.php?topic=23846.0), and this (https://www.reddit.com/r/bully/comments/gdam2y/different_scripts_mods_in_the_same_game/). Most mods in Bully use STimeCycle.lur for freeroam mods and ArcRace1.lur for custom mission mods, the .LUR files are compiled scripts stored within the .IMG archive if you don't aware of that before.

In simple term, you cannot have two mods replacing the same script. Your best chance are combining STimeCycle.lur and ArcRace1.lur via IMG Tool 2.0 (https://www.gtainside.com/en/sanandreas/tools/3852-img-tool-v2-0/) by extracting them and adding them to the other one.

OR.. you can use More Scripts to Replace (MSR) (https://www.youtube.com/watch?v=Ya70HDzmmPI) to add up to 4 freeroam mods and 100 custom mission mods. I made that tool a couple years ago for people who don't know scripting on Bully, so you can just replace my scripts instead of your favorite STimeCycle.lur mod.

Just make sure you read the "README.txt" properly.