Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: micke3737 on January 23, 2013, 04:22:30 PM
-
I have maked the prefects into students so i can hit adults near the school but. they wont bust me. Buy does anyone knoes how to turn off the cops?.
-
You can't.
But you can remove the trouble meter through Lua.
-
Well you could unspawn them by going to your ide and changing 00 00 00 to FF FF FF by their names
-
So.. Can we spawn people that only spawns in missions ? Like.. Gary and Petey ?
-
LOL.... Yes, you can, dude. Most people know this.
-
I am not most people dude. :D I am new at modding. Can you shortly explain me how please ?
-
http://www.bully-board.com/index.php?topic=14726.0 (http://www.bully-board.com/index.php?topic=14726.0)
Dude, check that thread out, it a lot of tutorials in it, including adding characters... But I will paste the tutorial of mine here.
1. Open up you're ide.img with HxD (Hex editor)
2. Press Ctrl+F and type in the characters name (the one who you want in free-roam) I will use Gary as an example.
3. When you type in Gary you will see this
Gary....Nemesis_Gary_W......Medium..STUDENT.STAT_GS_GARY....Straf_Male..F_BULLY.null....null....ÿÿÿÿ/Global/
Now scroll down to where it says ÿÿÿÿ/Global/ and you will see these numbers next to it
"00 00 00 00 FF FF FF FF 2F 47 6C 6F 62 61 6C 2F"
^^
You see the FF FF FF FF? Well those FF'S are the reason Gary is still in his cage, but we are going to change that!
What you have to do now is replace the FF FF FF FF with "01 00 00 00"
Now save then start up the game and you will see that evil bastard wondering around
The FF FF FF FF is also on Ted, derby, earnest, Johnny and among others so to put them all in free-roam do what I told you
-
Oh ok thank you so much bro I will try
-
Well thanks, I did it. I am doing anything succesful in Bully modding for the first time. :D
But I gotta ask, Gary is angry with me, how can I make him be my ally and take him with me to travel around the city ?
-
The police will still spawn if Jimmy gets a full trouble meter.
Like I said, the only way to disable this completely is through Lua.
-
I typed Cop in hxd editor but nothing came up.
-
Did you open the ide.img first?
I searched a lot of times the word "Cop" and it worked.
-
Then when you find it, just make that 01 or 00 (i dont remember) to FF
-
When will we learn?¿
Lua script disable cops.
Tomuch violence just makes cops in cop truck spawns.
-
The cops and punishments can be fully disabled via LUA and it is very simple.
Just two lines of code to accomplish this....simply place this in any LUA script source (preferrably with a existing mod you have coded yourself or downloaded from the scripting section...) and simply compile and build a new scripts.img and play.
DisablePunishmentSystem(true) -- disables detentions and the "wanted level"
AreaDisableAllPatrolPaths() -- removes cops and prefects totally from the game
-
delete