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 - SimonBestia

Pages: 1 [2] 3 4 ... 17
16
You must be referring to POIs.
They're all throughout various .DAT files.

Only way to find the ones you want is with coordinates.

17
Modding Questions/Help / Re: [Help] How to change theme songs ?
« on: July 30, 2022, 05:23:32 PM »
SoundPlayStream overrides everything.
There are various functions controlling the music. For example:
Code: [Select]
SoundPlayInteractiveStream("MS_FootStealthLow.rsm", MUSIC_DEFAULT_VOLUME) -- Only plays when walking
SoundSetMidIntensityStream("MS_FootStealthMid.rsm", MUSIC_DEFAULT_VOLUME) -- Only plays when on a vehicle
SoundSetHighIntensityStream("MS_FootStealthHigh.rsm", MUSIC_DEFAULT_VOLUME) -- Only plays when fighting

18
Modding Questions/Help / Re: Pickup
« on: May 12, 2022, 03:44:11 AM »
Yeah.
You can find all functions here, or here.

19
TUTORIALS / Re: Lua Tutorial: Non-STimeCycle Freeroam Mods
« on: May 06, 2022, 11:40:46 AM »
Oh! That's new.
Never tried having so much loaded at once.

20
TUTORIALS / Re: Lua Tutorial: Non-STimeCycle Freeroam Mods
« on: May 06, 2022, 05:15:12 AM »
- LEVEL 0 -
Use Level 1 to only start basic threads with just "LaunchScript(ModScriptInSCRIPTSIMG.lua)" and create a Bully ModLoader that writes as many of those based on the mods users have ticked in its UI.

Heh. One can only dream.  :biggrin:

21
Bully Modding / Re: Lua performance & optimisation tips
« on: April 09, 2022, 04:07:25 AM »
If you are not pretty sure about your script optimization, use gcinfo() to prove it.
If the memory growth is stable, then it's a good sign.

Wish I knew this sooner!
Ironically don't really think about this stuff too much even though I primarily mod on the PS2 where that should be a concern lol.

Any way to reduce the growth as much as possible?
I noticed any time I create tables, text... (because of repeatedly running functions when selecting them from a menu) it grows slightly. Not really good for an extended play time, I guess.
I imagine it's due to the new stuff getting created on top of the old ones, or something?

22
Requests / Re: Extract PS2 Audio
« on: April 02, 2022, 02:30:18 AM »
Depends on the audio.
You can extract Ambience, Cutscenes, Music and Speech, but not sound effects.

You can use QuickBMS with this this script which gives you all the .rstm files that you can convert with vgmstream to something like .mp3 or .ogg.

23
I'm not sure what indicator you use to describe 'unstable', but for me, it was crash to desktop (CTD) on startup. I know, i know.. that was 'unplayable' rather than 'unstable'. In my opinion, as long as it doesn't CTD, then it's stable :laugh:.

The game will start acting weird, like softlocking randomly, A-posing peds, areas loading slower...
I experienced the A-posing peds on PC when loading many collisions at once, and the rest primarily on PS2, but I don't mod PC often so I'd have to try again and check the results.

Anyway, you did inspire me a lot by sharing 'adding custom clothes' knowledge on Bully via YouTube. It's one of the greatest potential breakthrough in my opinion. Glad I could help, though!

Haha, you're welcome!
It's funny because if I remember right, I mentioned that I figured it out quickly. It is a pretty a basic process.

24
I'm not sure if it's worth figuring out a solution for now, as editing Cloths.dat to add new stuff will make the game severely unstable after just a few more new entries are added.
(At least on PS2, but usually, limitations are shared, like when editing Col.cfg to load multiple collisions at once in the same area. It will make the game unstable on both PC and PS2)

That should be fixed first before we think of expanding the wardrobe, I guess.
Still, nice to know that another limit exists.

25
Modding Questions/Help / Re: Car Jacking
« on: March 12, 2022, 01:38:30 PM »
Flag 42 is CanDriveCars.

26
Modding Questions/Help / Re: Why Bully doesn't have CLEO
« on: February 04, 2022, 03:46:22 AM »
What is that even supposed to mean?
GTA is GTA. Bully is Bully.

According to the GTAMods Wiki:
Quote
Extra opcodes
CLEO adds a lot of useful opcodes making possible file management, game memory handling, calling exe functions, playing audio files and much more. New opcodes were added in the fourth version to work with audio streams, to format strings, to display custom texts on screen without using external text files (.fxt, .gxt).
Quote
The main feature of CLEO is that it allows running custom scripts (commonly a single file with the extension .cs) without starting a new game.

We can already do most of this.

27
Modding Questions/Help / Re: Canis Canem Edit - PS2 | script modding
« on: January 26, 2022, 06:19:11 AM »
What did you do?
Make sure you're not importing SE scripts and that you keep limitations and differences in mind.

E.g., loading animations all at once is a big no-no, and IDs of weapons, items, and vehicles, are different.

28
Modding Questions/Help / Re: Get ped name without "N_" (substring)
« on: January 16, 2022, 08:06:01 AM »
Let Derpy know on Twitter.
She might fix it.

29
Peeked at the source of both and they seem to have certain functionalities scripted to the same button press.
Using them both at once will likely cause unintended behaviours, so no point.

You shouldn't expect two different mods to work together, especially if you're not willing to learn Lua to try and mess with both source codes.
It's not like someone making a mod will be bothered to take into account every other existing mod.
Still, if you want to try, just take both mods' STimeCycle.lur, rename them to whatever, and then load both in your STimeCycle script, to see what happens.

You use this function to launch a .lur script. (Provided it's either in the Scripts folder or in Scripts.img)
Code: [Select]
LaunchScript("NAMEOFSCRIPT.lua")

30
Modding Questions/Help / Re: CreatePersistentEntity
« on: December 18, 2021, 03:25:35 AM »
The name of the props is just their name in World.img.

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