1
Modding Questions/Help / Re: No HUD Mod / Help
« on: March 21, 2021, 12:51:15 PM »
Like I mentioned I got an error and I couldn't get the LuaC working so I didn't get a .lur file. Also I have my extension names unlocked too.
News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
Messages | Topics | Attachments
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
This happens mainly because CMD doesn't know where the exe file is, so it doesn't know what you're trying to call. The 'Windows' folder is a good place to put any command tool.
The 'Windows' and 'System32' folders are built in paths that CMD follows. The Windows folder has all of the commands CMD can run which are compiled exe files.
Yes but if you place luac on windows files the scripts have to be compiled there too.
To get the cmd to the right location open the location where you have the compiler on. (for this example it will be C:\Program Files\LuaC)
To get this path just click on the adress bar and copy the contents.
Now to move the cmd to that location run the following command:Code: [Select]cd C:\Program Files\LuaC
Keep in mind this path should be the one you got from explorer.
Now cmd should be in the right place and you can try that command I told you before.
ONE IMPORTANT THING:
I tried that script in game and it doesn't work however, there is another function:Code: [Select]HUDClearAllElements()
You should replace it with the one you found
This one only removed the minimap and the clock still remained....
I'm afraid this is all I could do, I am not familiar with script modding... Sorry
Quote"'luac' is not recognized as an internal or external command,
operable program or batch file."
This happens mainly because CMD doesn't know where the exe file is, so it doesn't know what you're trying to call. The 'Windows' folder is a good place to put any command tool.
The 'Windows' and 'System32' folders are built in paths that CMD follows. The Windows folder has all of the commands CMD can run which are compiled exe files.
I have not made a mod that messed with scripts until now so this might be incorrect:
First of all, open the folder where Bully is installed on your computer and backup the 2 files inside the "scripts" folder.
Then, you are going to need a lua compiler. The only one that works with this game is in this link:
https://bully-board.com/index.php?topic=17590.0
Just follow the instructions on that page to install the program.
Then you are going to create a blank text file. You can edit it with the standard windows notepad editor but I would advise using notepad++
Then, you need the source code for STimeCycle:
https://bully-board.com/index.php?topic=17594.0
Copy and paste the source of STimeCycle.lua to the text file you created.
Now for the change you want right at the beginning:Code: [Select]main = function()
You just add that function you found at the beginning like you see above (I am not really sure about this...)
CounterMakeHUDVisible(false)
repeat
Wait(1000)
until not Alive
end
Save the file with the name "script" and change the extention from .txt to .lua and save it on the same location you have the compiler downloaded earlier
Then, to compile the code you need to open the command prompt and navigate to where you have the compiler.
Then run the following command:Code: [Select]luac -o STimeCycle.lur script.lua
After that you will have an unreadable file called "STimeCycle.lur". To make the changes you need to replace the file in the scripts folder with the same name (using IMG Tool 2.0 for this)
Rebuild the archive, run the game and it should work!
If you are having troubles compiling I can help you with that.
I don't know what that function does, but to use it you can just add it to the STimeCycle script and then compile itHow can I add it to STimeCycle? I have IMG Tool 2.0