News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Hey  (Read 3816 times)

0 Members and 1 Guest are viewing this topic.

Offline Bully_Lover13

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Hey
« on: November 01, 2015, 06:01:35 AM »
hi guys, sorry about the johnny boss spam. Well I didnt do it, my brother was on my pc and well could any admin remove it?

also, I am new to modding, I hope to learn some mods

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Hey
« Reply #1 on: November 01, 2015, 06:50:04 AM »
Welcome to bully-board. What do you want to learn to mod?

Offline Bully_Lover13

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Hey
« Reply #2 on: November 01, 2015, 07:26:51 AM »
thanks for asking

i want the Johnny full boss style and mascot style full

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Hey
« Reply #3 on: November 01, 2015, 02:21:25 PM »
Hey. Welcome to the forums!
Make yourself at home. If you ever grow tired of modding, there's plenty of other sections that you can post in (Bully-related or not).

Have fun.

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Hey
« Reply #4 on: November 01, 2015, 04:19:40 PM »
Here's what I suggest you do to reach your goal.

1) Learn LUA 5.0.2 and practice it. LUA is a scripting language that Bully uses. It is NOT exclusive to Bully at all either, so you can easily practice it outside of Bully if you'd like. I actually suggest you do practice it outside of Bully first instead of skipping straight to Bully, but that's up to you. The version of LUA that Bully uses is a modified version of LUA 5.0.2. What I mean by "modified version" is that Rockstar did not include all the standard library functions that LUA 5.0.2 normally provides, and there is also some other minor things. This modified version of LUA 5.0.2 also only runs compiled scripts (normally LUA should be able to run from source as well), and you'll have to use a different compiler than the one that comes with LUA 5.0.2 to work with Bully. I will list below a link for downloading LUA 5.0.2. Inside of it you will find 2 files of interest, both inside of "bin". lua.exe and luac.exe. lua.exe will run a lua script (whether from source or compiled). luac.exe will compile a script, however remember that this is not the same compiler you should use for Bully. Use lua.exe and luac.exe with the command prompt so you can give lua/luac command line arguments. (If you don't know how to use the command prompt, you should definitely look that up)
 LUA 5.0.2: https://www.mediafire.com/?cjanmhovm3muc24
 LUA 5.0.2 manual: http://www.lua.org/manual/5.0/
 Notepad++: https://notepad-plus-plus.org/

2) After you are comfortable with how LUA works, it is time to start modding Bully! You'll need to get the LUA compiler for Bully's modified version of LUA 5.0.2 in order to compile your scripts. You'll also need an IMG tool to add/remove/replace scripts from the Scripts.img archive that holds all of Bully's scripts. When you compile a Bully LUA script, use the file extension ".lur". Bully will add many functions for you to use to LUA, functions to interact with Bully. For example there is a function to set the player's health, his position, spawn a character, set a character's action tree (basically fighting style), etc. Bully also expects certain types of scripts to provide certain functions. For example a mission script is expected to include 3 functions: "MissionSetup", "MissionCleanup", and "main". Bully will first call "MissionSetup", then when that finishes, "main", then when the mission is finished or ends for any reason, "MissionCleanup" is called. A script that is often modified by beginners is ArcRace1.lur, and I suggest you start there as well. ArcRace1.lur is the script used for the arcade racing minigame in the Boy's dorm. The script will start when you use the arcade machine. ArcRace1.lur is a mission script (I know it's not really a mission but Bully expects the same functions as it does for a mission). This means you'll have to include the 3 functions I talked about before in your script. When you compile the script and replace it with ArcRace1.lur in Scripts.img, your modified script will be used when you use the arcade machine instead of the regular one, meaning you're running your modified code. However there is... one more thing you have to do with an ArcRace1.lur script. I don't entirely understand why this is needed, but if you don't do it you'll get an infinite loading screen. In your "MissionSetup" function, you should use the "AreaTransitionXYZ" function to transition to a different area, outside is probably best. AreaTransitionXYZ is a function provided by Bully that takes 4 arguments and will transition the player somewhere else. The first argument is the area code (use 0 for outside), and the next 3 are coordinates. (use 270,-110,6 for outside the dorm). Make sure you can successfully make, compile, and run a modified script inside of Bully then move on.
 Bully LUA compiler: http://www.bully-board.com/index.php?action=downloads;sa=view;down=60
 Bully IMG tool: http://www.bully-board.com/index.php?action=downloads;sa=view;down=159

3) Now that you've learned LUA, and have successfully replaced a Bully script, it's time to practice a bit more and learn some more functions that Bully provides for you. Go here for a very incomplete list of functions, I really need to update it more often. Then since your goal is to give yourself Johnny's full stlye, you should go here to learn about action trees and action nodes and how to set them. You will need to learn and master how Bully's action nodes and action trees work if you hope to give Jimmy Johnny's fighting style since it's not so simple to just set it on the player since Rockstar didn't make it very usable by the player, only by AI.

4) Ask your fellow modders for help if you really need it, but don't give yourself the title of another needy modder who doesn't try. We'll gladly help you but make sure you try your hardest and show that you tried before asking for help, or you may not get many people that want to help you.

If you fail to make the Johnny style that you want, you can also practice simpler things first and make some other fun scripts and slowly work your way up.

Good luck, and have fun.

Offline Owais Qadri

  • Gerjaffers
  • Hero Member
  • ****
  • Posts: 1,995
  • Gender: Male
  • I Love Sunny Days.
    • View Profile
Re: Hey
« Reply #5 on: November 01, 2015, 05:00:29 PM »
Welcome enjoy your stay here.

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Hey
« Reply #6 on: November 01, 2015, 06:35:25 PM »
@DaBOSS

Why did you bring the newbie a wall of text?  That's insulting. 

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Hey
« Reply #7 on: November 02, 2015, 03:31:40 AM »
Newbie or not, you never know how much effort someone might put into something.
We were all new here at one point. And now look at us. Most of us have some basic knowledge on Bully modding and will occasionally share our wisdom with others whom seek it.

DaBOSS is not just doing us a service by being the one who answers the newbie's question, but he's also contributing to keeping the community alive by helping out potentially long-term members.

Offline Rambo7

  • "Awesomely Kick-Ass Troll"
  • Full Member
  • ***
  • Posts: 404
  • Gender: Male
  • #ZAMBess
    • View Profile
    • My ModDB Page
Re: Hey
« Reply #8 on: November 02, 2015, 06:05:05 AM »
Here's what I suggest you do to reach your goal.

1) Learn LUA 5.0.2 and practice it. LUA is a scripting language that Bully uses. It is NOT exclusive to Bully at all either, so you can easily practice it outside of Bully if you'd like. I actually suggest you do practice it outside of Bully first instead of skipping straight to Bully, but that's up to you. The version of LUA that Bully uses is a modified version of LUA 5.0.2. What I mean by "modified version" is that Rockstar did not include all the standard library functions that LUA 5.0.2 normally provides, and there is also some other minor things. This modified version of LUA 5.0.2 also only runs compiled scripts (normally LUA should be able to run from source as well), and you'll have to use a different compiler than the one that comes with LUA 5.0.2 to work with Bully. I will list below a link for downloading LUA 5.0.2. Inside of it you will find 2 files of interest, both inside of "bin". lua.exe and luac.exe. lua.exe will run a lua script (whether from source or compiled). luac.exe will compile a script, however remember that this is not the same compiler you should use for Bully. Use lua.exe and luac.exe with the command prompt so you can give lua/luac command line arguments. (If you don't know how to use the command prompt, you should definitely look that up)
 LUA 5.0.2: https://www.mediafire.com/?cjanmhovm3muc24
 LUA 5.0.2 manual: http://www.lua.org/manual/5.0/
 Notepad++: https://notepad-plus-plus.org/

I actually never learn this part really well, though
BTW, I learn my Lua from this two Daboss thread, and it should not be that hard to understand for a new guy
https://www.bully-board.com/index.php?topic=21324.msg392819#msg392819
https://www.bully-board.com/index.php?topic=21325.msg377303#msg377303
But I guess, you just want to learn fighting style
so here it is: PedSetActionNode(gPlayer, ACTION NODE)
you can get the list of action node here
https://www.bully-board.com/index.php?topic=22045.0

I do teach other type of modding too (skin modding), you can check it if you want, but most people never bother to learn skin modding btw