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


Show Posts

* 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.

Messages - Altamurenza

Pages: 1 [2] 3 4 ... 9
16
Bully Modding / Re: Game Documentation: Save Data in Lua
« on: August 01, 2022, 12:37:33 AM »
cool,love you man.

Etherous (my char) is going to be a lord now lmao.

17
Modding Questions/Help / Re: How to manage array variables?
« on: August 01, 2022, 12:27:48 AM »
Whenever I use a condition like PedMePlaying(array[integer], "Default_KEY", true), it will only detect the last stored ped.

You can simply put a number to call something from the table (if only the table is indexed with a number like this case).
Code: [Select]
if PedIsValid(TABLE[1]) and PedMePlaying(TABLE[1], 'DEFAULT_KEY') then
  -- do something to the first ped.
end

if PedIsValid(TABLE[3]) and PedMePlaying(TABLE[3], 'DEFAULT_KEY') then
  -- do something to the third ped.
end

How do I get the value of the previous ones?
Code: [Select]
if PedIsValid(TABLE[table.getn(TABLE) - 1]) and PedMePlaying(TABLE[table.getn(TABLE) - 1], 'DEFAULT_KEY') then
  -- do something to the previous ped from the last.
end



However, you can simply manage them all with for loop & ipairs function.
Code: [Select]
for ID, PED in ipairs(TABLE) do
  if PedIsValid(PED) and PedMePlaying(PED, 'DEFAULT_KEY') then
    -- do something to all registered pedestrians in the table.
  end
end

18
Bully Modding / Game Documentation: Save Data in Lua
« on: July 23, 2022, 08:43:58 AM »
- IMPORTANT -

Before you read the whole thing, please go to this thread if you have no idea what is Save Data in Lua.

I discovered so many 100% save game on the internet have wild edits in their file. Why is that important? This feature has potential for further era of bully modding scene. I find that save game could break mods which store some data in the save game if the mod author did not carefully realize this issue. The most noticeable thing from broken save game is most of the save game value have great number like 9999.

- DOCUMENTATION -

Observing a value change in save data is no easy task because I have to play the game from the beginning to see the effect or I have to analyze the decompiled game scripts which is kinda vague.

The following documentation is all i got for years, feel free to add if you know something unlisted in here  ^-^.

3 Busted 1 (?)
11 Purchasing Car Poster
12 Purchasing Rock Poster
13 Purchasing Vespa
14 Detention Count
23 Race The Vale Attempts
24 Busted 2 (?)
25 Using Chemistry Set in a Day
26 Sleep in Bed
29 Art Class Completion
30 Chemistry Class Completion
31 English Class Completion
32 Math Class Completion
33 Biology Class Completion
34 Geography Class Completion
35 Gym Class Completion
36 Photography Class Completion
37 Shop Class Completion
38 Music Class Completion
40 Prefect Respects
41 Nerd Respects
42 Jock Respects
43 Townie Respects
44 Greaser Respects
45 Preppy Respects
46 Student Respects
47 Cop Respects
48 Teacher Respects
49 Adult Respects
50 Shopkeeper Respects
51 Bully Respects
107 Graduate

(Tested in Bully: Scholarship Edition & Bully: Anniversary Edition)





19
Mod Releases / Chaos Wand
« on: May 31, 2022, 06:20:04 AM »
CHAOS WAND 2.0
BY: ALTAMURENZA


"The original Chaos Wand is back!"

Chaos Wand is a mod where you can conquer Bullworth with only one weapon. The wand has two elemental spells to cast, namely Fire Storm and Lightning Storm. The magical effects will also increase by completing more chapter in the game that makes this weapon to be more dangerous over the time. The second version of this mod is about fixing the weirdness & overpowered wand in the previous version.


- DOWNLOAD -

(For Scholarship Edition & Anniversary Edition)

Click here for version 1.0.


- INSTALLATION -

The manual installation require IMG Tool 2.0, make sure you grab one from some GTA modding sites out there or playstore if you're running on Android device. Other tools such as IMG Factory and G-IMG are not officially supported, but probably work as well.

MANUAL
   1) PC
      - Open "../Bully - Scholarship Edition/Scripts/Scripts.img" via IMGTool 2.0
      - Edit > Find > Type Garages.lur > Enter > Delete
      - Commands > Add > Find this mod Garages.lur > Open
      - Commands > Rebuild Archive
      - Exit
   2) ANDROID
      - Make sure you have GTA IMG Tool installed on your phone
      - Open GTA IMG Tool
      - Tap on open img and go to "../Android/data/com.rockstargames.bully/files/BullyOrig/Scripts"
      - Tap on Scripts.img and select
      - Tap on three white dots on your top right of your screen
      - Choose "Add File(s) with replace"
      - Go back by tapping on "../" to where you extract the mod
      - Select this mod Garages.lur
      - Tap again on the three white dots
      - Choose rebuild
      - Exit app

SCRIPTS.IMG (PACKED)
   1) PC
      - Copy Scripts.img and Scripts.dir from this mod
      - Paste it into "../Bully - Scholarship Edition/Scripts/" folder and replace everything
      - Done!
   2) ANDROID
      - Copy Scripts.img and Scripts.dir from this mod
      - Paste it into "../Android/data/com.rockstargames.bully/files/BullyOrig/Scripts/" folder and select replace if you asked
      - Done!


- CLOSING STATEMENT -

Thank you for downloading this mod, I hope you enjoy it.
Support me by not reuploading or redistributing this mod to somewhere else.



CHANGELOG


VERSION 2.0:
- Switched from STimeCycle.lur to Garages.lur script replacement.
- Adjusted magical effect improvements to be more optimal:
   - Chapter 1   :
      - Range         : Reduced from 5 to 3 meters.
      - Speed         : 1x (still).
      - Delay         : Reduced from 100/sec to 0/sec.
      - Effect Timer (Min)   : Reduced from 1 sec to 0.5 sec.
      - Effect Timer (Max)   : Reduced from 3 secs to 1 sec.
   - Chapter 2   :
      - Range         : Reduced from 8 to 6 meters.
      - Speed         : 1x (still).
      - Delay         : 0/sec (still).
      - Effect Timer (Min)   : Reduced from 2 secs to 1 sec.
      - Effect Timer (Max)   : Reduced from 4 secs to 2 secs.
   - Chapter 3   :
      - Range         : Reduced from 12 to 9 meters.
      - Speed         : Reduced from 2x to 1x.
      - Delay         : 0/sec (still).
      - Effect Timer (Min)   : Reduced from 3 secs to 1 sec.
      - Effect Timer (Max)   : Reduced from 5 secs to 3 secs.
   - Chapter 4   :
      - Range         : Reduced from 15 to 12 meters.
      - Speed         : Reduced from 3x to 1x.
      - Delay         : 0/sec (still).
      - Effect Timer (Min)   : Reduced from 4 secs to 2 secs.
      - Effect Timer (Max)   : Reduced from 6 secs to 4 secs.
   - Chapter 5   :
      - Range         : Reduced from 20 to 15 meters.
      - Speed         : Reduced from 4x to 1x.
      - Delay         : 0/sec (still).
      - Effect Timer (Min)   : Reduced from 5 secs to 2 secs.
      - Effect Timer (Max)   : Reduced from 7 secs to 5 secs.
   - Chapter 6   :
      - Range         : Reduced from 30 to 15 meters.
      - Speed         : Reduced from 5x to 2x.
      - Delay         : 0/sec (still).
      - Effect Timer (Min)   : Reduced from 5 secs to 4 secs.
      - Effect Timer (Max)   : Reduced from 9 secs to 6 secs.
- Adjusted spell cast mechanism:
   - Cast spell no longer be able to hit other people behind the first target. (NERF)
   - Cast spell no longer be able to hit a person in car and the spell will be neutralized if you do so. (NERF)
   - Cast spell can hit a person which have been affected by the spell before. (BUFF)
- Fixed effect glitches to a bike rider.
- Added rear hit reaction for the Fire Storm projectile.

VERSION 1.0:
- Initial release.



20
Modding Questions/Help / Re: Crashed when trying to load a savegame
« on: May 19, 2022, 09:20:55 AM »
How could the game start if you loaded too many animation groups in the first place?

21
Modding Questions/Help / Re: how do I set up fight clubs?
« on: May 19, 2022, 09:14:03 AM »
They use some in-game trainer mod like Selector Mod (PC), Super Mod, & Havok Mod Menu. In-game trainer mod provides you an ability to spawn some NPCs you want, modify their stats, and make them bend to your knee (become follower).

I won't provide you some details to do that because those endless fighting videos are going nowhere in my opinion. We lack good contents to watch :(

22
Mod Releases / Open Auditorium Mod
« on: May 19, 2022, 08:43:18 AM »
OPEN AUDITORIUM MOD
BY: ALTAMURENZA


"How long will the auditorium be closed? Yes."
- R*

This is not only about unlocking the auditorium door, it's about how useful is the auditorium for events like The Candidate or Nutrackin' in the game. Those events are just happen without any backstory and story development line on them. This mod adds some details about those events in a certain point of time (based on completed missions).

EVENT DETAILS
- Earnest's Speech Practice
  The Candidate mission details, take place after This is Your School until The Candidate mission has completed, 12 PM - 06 PM.
- Christmas Pageant Rehearsal (Without Outfit)
  Nutcrackin' mission details, take place after Chapter III until Rudy The Red Nosed Santa mission has completed, 12 PM - 06 PM.
- Christmas Pageant Rehearsal (With Outfit)
  Nutcrackin' mission details, take place after Rudy The Red Nosed Santa until Nutcrackin' mission has completed, 12 PM - 06 PM.


- PREVIEW -

EARNEST FORGOT HIS NEXT SENTENCE
EARLY PAGEANT REHEARSAL & THE MISSING GUY

These two spoilers are enough.
The full immersive experience awaits you, check out the mod now :happy:.


- DOWNLOAD -

(For Scholarship Edition & Anniversary Edition)


- INSTALLATION -

The installation require IMG Tool 2.0, make sure you grab one from some GTA modding sites out there or playstore if you're running on Android device. Other tools such as IMG Factory and G-IMG are not officially supported, but probably work as well.

1) PC VERSION
   - Open "../Bully - Scholarship Edition/Scripts/Scripts.img" via IMGTool 2.0
   - Edit > Find > Type Auditorium.lur > Enter > Delete
   - Edit > Find > Type SchoolHallways.lur > Enter > Delete
   - Commands > Add > Find this mod files and select Auditorium.lur, SchoolHallways.lur, and SchoolHallways_data.lur > Open
   - Commands > Rebuild Archive
   - Exit
2) ANDROID VERSION
   - Open GTA IMG Tool
   - Tap on open img and go to "../Android/data/com.rockstargames.bully/files/BullyOrig/Scripts"
   - Tap on Scripts.img and select
   - Tap on three white dots on your top right of your screen
   - Choose "Add File(s) with replace"
   - Go back by tapping on "../" to where you extract the mod
   - Select Auditorium.lur, SchoolHallways.lur, and SchoolHallways_data.lur
   - Tap again on the three white dots
   - Choose rebuild
   - Exit app


- COMPATIBILITY -

Any modification that replace Auditorium.lur or SchoolHallways.lur is obviously not compatible. Also, anything that modify the auditorium stage or put something on it may not be compatible. The only known modification that modify the auditorium stage is Oscar Slap by Ming, make sure to avoid such a mod.


- FREQUENTLY ASKED QUESTION -

Does this work in AE?
Yes, i tested it myself.

Do you have any future plan for this?
Yeah, i got some on my mind, like:
- Music performance by Jimmy himself
- Dr. Crabblesnitch speech in front of many student parents

Is this mod open source?
Yes, for educational & inspirational purpose only.


- CLOSING STATEMENT -

The auditorium in Bullworth Academy is real useless aside from mission. This mod hopefully change that perspective by enhancing some mission details in free roam mode. Also, support me by not reuploading or redistributing this mod to somewhere else. Thank you.

- Altamurenza

23
Modding Questions/Help / Re: Crashed when trying to load a savegame
« on: May 16, 2022, 11:35:13 PM »
I used shared variable on my newest mods, like:
- Chalkboard - UI Framework (CUIF)
- Selector Mod 7.0
- Advanced Trainer
- Detachable Weapon
(and many more)

But.. no such a thing happen to me because of shared variable.
I even combined Selector Mod, Detachable Weapon, and several mods that use shared variable as well, but they seem pretty fine.

You said that you use util.lur as a part of your mod for declaring shared variables there. It's somewhat feels unnecessary for me, what is your purpose on that? Because you can also do that in the same dome as your template script and leave the util.lur alone to be another mod template. It's just my opinion, not guaranteed to fix your problem.

24
TUTORIALS / Re: Lua Tutorial: Non-STimeCycle Freeroam Mods
« on: May 06, 2022, 12:11:28 PM »
Yeah, i just confirmed that launching more than 5 scripts crashed my game.

25
TUTORIALS / Re: Lua Tutorial: Non-STimeCycle Freeroam Mods
« on: May 06, 2022, 10:45:39 AM »
How can we create a mod loader with LaunchScript meanwhile the game cannot handle more than 5 launched scripts.

Launched scripts by the game:
1. STimeCycle.lua (you already know it)
2. StoreTransition.lua (triggered by area transition)
3. MGLockPicking.lua (triggered by lockpicking for the first time)

So.. you can only load two more scripts as far as i remember it correctly.
Otherwise, your game will crash immediately.

26
Modding Questions/Help / Re: Move any Object
« on: April 30, 2022, 02:32:04 PM »
Or Object ID not work in CreatePersistentEntity

Maybe you forgot how to use CreatePersistentEntity, perhaps.

ObjectFindInArea function will return object id (number) if there is an object in range, whereas the CreatePersistentEntity function require object name (string). So.. you can't use the object id to replace object name position in CreatePersistentEntity as its first function argument.

Also, you can move your cursor to the spoiler if you are open to little criticism.
You don't have to if you are not open to that, no worries at all ;).

In logical term, you skipped the key point that your premise cannot be drawn to the right conclusions. I actually realized it in the first place by saying that your experiment was a bit rushed and told you to start with ObjectFindInArea first in hoping that you found the key difference in your experiment. For the next experiment, i suggest you to do it gradually and systematically in order to reduce the possibility of fallacies.

You did great, keep that up.

27
Modding Questions/Help / Re: Move any Object
« on: April 29, 2022, 08:09:01 AM »
Ah.. I see what you're experimenting with.
It's just.. a bit rushed though :hmm:

Why don't you start with ObjectFindInArea function first.
I can clearly see the function is not supposed to be like that lol.

ObjectFindInArea is a function like PedFindInAreaXYZ and VehicleFindInAreaXYZ, the function argument is pretty much similar except that ObjectFindInArea cannot be used for a long distance. You can't put ObjectFindInArea(X, Y, Z, 999999) or your game will be crashed instantly. Approximately, the maximum distance is about 7-10.

Also, the first returned array from ObjectFindInArea is a boolean. It checks if there's any object around us, true if there's any, and false if there isn't. Therefore, you can't use ObjectBreak function to the first array because it isn't object id. If the first array is true, then the rest of them are object id and can be used for ObjectBreak. If it's false, there will be no second array.

Example of use:
Code: [Select]
if IsButtonBeingPressed(3, 0) then
  local X, Y, Z = PlayerGetPosXYZ()
  local OBJ = {ObjectFindInArea(X, Y, Z, 2)}
 
  -- check if there's any object around us
  if OBJ[1] then
    for ID = 2, table.getn(OBJ) do
      ObjectBreak(OBJ[ID])
    end
   
    local COUNT = table.getn(OBJ) - 1
    TextPrintString(COUNT..' object'..(COUNT > 1 and 's' or '')..' removed!', 3, 1)
  else
    TextPrintString('There is no object around!', 3, 1)
  end
end

28
Suggestions & Feedback / Re: Video embeds
« on: April 23, 2022, 02:19:45 AM »
Just really handy to watch things on the page you're viewing rather than it opening in a new tab :')

True

29
Suggestions & Feedback / Re: Video embeds
« on: April 22, 2022, 02:46:24 PM »
Sorry to bump, but i really hope so.
It's a bit less interesting if we can only make it as a URL link.

Hope the Bully-Board gods see this.

30
Mod Releases / Re: Selector Mod
« on: April 19, 2022, 11:03:08 PM »
Check if there is SM_INIT file in "../Bully - Scholarship Edition/Scripts/SelectorMod/SYSTEM/" folder. If it exists, you probably have security problems. You need to change your Bully folder permission to fully control.

1) Right click on your Bully - Scholarship Edition folder
2) Move to Security Tab
3) Click on Edit
4) There are few user names in there, click one of them and tick the fully control box. Do it to each of them.
5) Apply when you finish

If it still doesn't work, try Run as Administrator.
If it still doesn't work, move your Bully - Scholarship  Edition from C drive to another and try again.
NOTE: It's because C drive is known for being strict to new stuff.

Pages: 1 [2] 3 4 ... 9