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


Poll

hy guys..i'm new here..just started to mod bully.,,please teach me how to use luac

first i want to mod bif fighting style with backstep dodge(sorry for my bad english)..
2 (50%)
please
2 (50%)
please
0 (0%)

Total Members Voted: 3

Voting closed: March 10, 2014, 10:09:46 AM

Author Topic: Help me  (Read 2377 times)

0 Members and 1 Guest are viewing this topic.

Offline gading

  • Newbie
  • *
  • Posts: 0
    • View Profile
Help me
« on: February 28, 2014, 09:09:47 AM »
 :)

Offline luizd90

  • Jr. Member
  • **
  • Posts: 3
  • Gender: Male
    • View Profile
    • http://www.xfire.com/profile/luizd90
Re: Help me
« Reply #1 on: February 28, 2014, 09:30:50 AM »
Quote
After saving your script do the following :
Put all the filles inside the Luac (Lua compiler) in one folder with the ArcRace1.lur that you extract from the Scripts file using IMGtool. Put your script together with all of those files.

1. click on Window's "Start" button, Search for : "cmd"
2. Open it up
3. Type in "Color a" (without the " ") and press enter (You dont have to, but it will change the color and make it easier to understand)
4. do the following command : cd C:/Folder(Replace the Folder with the Folder you saved the Luac, the ArcRace1.lur and your script.)
5. Write the following command : Luac -o ArcRace1.lur ScriptName.lua
Replace ScriptName with your script's name.
6. Open up the scripts file inside C:/Rockstar Games/Bully scholarship edition/Scripts with IMGtool.
7. Delete the ArcRace1.lur inside the scripts file
8. Add the ArcRace1.lur inside the folder with the Luac files.
9. Rebuild Archive with IMGtool
10. Open bully, go to the arcade machine in the boys dorm, use it, and your script will start to work.

I copied this of the tutorial of c00ld0c26: http://www.bully-board.com/index.php?topic=18725.0

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Help me
« Reply #2 on: February 28, 2014, 10:15:59 AM »
Since your new you should learn the basics of LUA first before jumping into a Big project like fighting styles..

Believe me it takes alot of practice and understanding  before you will know what do to with Actionnodes. :3

Offline gading

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: Help me
« Reply #3 on: March 01, 2014, 04:07:09 AM »
ok then...but i dont hve any idea what i'm gonna to do with luac?...can u lead me to make 1 fghting style?..please
« Last Edit: March 01, 2014, 04:15:07 AM by gading »

FaZe

  • Guest
Re: Help me
« Reply #4 on: March 01, 2014, 06:17:55 AM »
I think he's made it and needs to compile it, but doesn't now how to work the compiler. See if you find a way of explaining it or prize the code off of him to do it for him.


Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Help me
« Reply #5 on: March 02, 2014, 12:17:42 AM »
If you need to learn LUA, you can refer to c00l's tutorial as you seem to be doing or mine.

If you need to get LuaC working to compile your lua scripts, you'll need to assure you have the one that is made for Bully and the correct version of lua (5.0.2)
Download Here

Inside that is a executable file called 'LuaC.exe'
You will also want to assure you have visual installed as the compiler requires it as it uses parts of it. The download has more detailed instructions included.

Then to use the Lua Compiler, you can do one of two things.
1) Open up command prompt/cmd.exe,
  type 'LuaC' or 'luac' (it's not case sensitive) and then type in the output file name, then the input file. The output file should have the lur extension. Additionally, assure that your in the proper directory when you type in LuaC in the command prompt. The directory is wherever you put LuaC.exe on your computer. To set the directory (folder) that is being used in the command prompt, type 'CD (directory path here)' EX: CD C:/LUA
  Example of the whole process:
  (For this example, assume that on the root of our C Drive there is a folder called "LUA" and inside is the LuaC.exe, and a lua file called "BullyMod.lua"
  CD C:/LUA
  LuaC ArcRace1.lur BullyMod.lua

  Then from that, ArcRace1.lur should be created in our LUA folder. This file is now a compiled script ready to be put in our scripts archive. (Scripts.img)

OR...
2) Drag & drop your LUA source file over the LuaC.exe
this will create a file called 'luac.out' you can then rename this to what you want your script to be named.
This method is significantly easier it seems...