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 - RBS ID

Pages: 1 2 [3] 4 5
31
It's because R* didn't add the control spawn of npcs in some area & script.

Like Altamurenza said, the NPCs will spawn automatically because the combination of Lua script & the .dat files. The Lua script control the spawn of npcs. The .dat files is just a source of the cordinates, and other data, then the value will be called it in the Lua script to control the npcs to spawn or to control other things.

cmiiw

32
You can use mod to spawn peds & props, or just script modding.

33
TUTORIALS / Re: Lua Tutorial: Exceeding 112KB Script Limit
« on: February 24, 2022, 09:12:44 PM »
I noticed when my compiled script is too big, there will be the sound of rats, then not long after, the game crashed. And sometime the AcidPool effect spawned. Kinda strange. (Bully AE)

Btw good tutorial & very useful.  :)

34
Bully Modding / Re: Global variable
« on: February 22, 2022, 07:47:04 AM »
PlayerGetUsingTouchScreen()

Checks if player playing the game with touchscreen or with gamepad/joystick.

Function: PlayerGetUsingTouchScreen()
Arguments: none
Returns: boolean

35
Bully Modding / Global variable
« on: February 22, 2022, 07:20:48 AM »
This code is to show all global variables that existed.

Code: [Select]
function main()
    while not SystemIsReady() do
        Wait(0)
    end
    local function FasterScroll(b)
        if IsButtonPressed(7, 0) and IsButtonPressed(b, 0) then
            return true
        end
        return false
    end
    local st = false
    local gv, s = {}, 1
    for k, v in pairs(_G) do
        table.insert(gv, {tostring(k), tostring(v)})
    end
    while true do
        Wait(0)
        if IsButtonBeingPressed(14, 0) then
            st = not st
        end
        if st then
            if IsButtonBeingPressed(0, 0) or FasterScroll(0) then
                s = s - 1
                if s < 1 then
                    s = table.getn(gv)
                end
            elseif IsButtonBeingPressed(1, 0) or FasterScroll(1) then
                s = s + 1
                if s > table.getn(gv) then
                    s = 1
                end
            end
            TextPrintString("Key: " .. gv[s][1] .. "\n\nValue: " .. gv[s][2] .. "\n\n(" .. s .. ")", 1, 1)
        end
    end
end

36
Bully Modding / Re: An Interesting Idea
« on: February 19, 2022, 11:13:22 PM »
Flags (PedSetFlag(pedname,flags,true/false)) by TDID/deadpool:
2) Crouch
3) Low crouch camera
8 ) Buged running
9) Invisibility
10) Go through peds
11) Strafe
17) Disable controls
18) Always display ped health (only peds)
19) Peds don't fight back (only peds)
20) Invincibility (only peds)
21) Can't attack, change weapon or shoot
23) Peds ignore conversations
24) Infinite ammo
27) Peds never block (only peds)
30) Infinite health (if set to ped then invincibility)
31) Random animation (only peds) (run and stop, look around, shoulder barge)
33) Ped starts fight with nearest ped (only peds) (complete mayhem?)
36) Stand parallel to ground
38) Russell headbutt doesn't crash against wall (only peds)
39) Jump camera
40) Same as 10?
43) Go through walls
46) Running camera
50) Item interactions disabled (lockers, doors, etc)
51) Same as 46?
58) Can't get busted
60) Point finger animation and insult (only peds)
61) Auto locked target
62) Disable clock
64) Wheel steering controls
65) Interact with last thing you interacted (ped animation if too far)
69) Enable payment to hireable peds/give flowers (only peds) (after payment they don't follow you)
70) Jump disabled
75) Social actions disabled
77) Peds run to you when fighting rather than strafe (only peds)
82) Ped run to nearest ped (peds only) (sometimes bully or insult that ped)
84) Enable kissing (only peds)
87) Disable locking target
88) Buged running (similar to 8 but not the same)
91) Same as 64?
94) Game crashes
100) Hide healthbar (only peds)
108) Peds don't fight back (any ped to jimmy)
110) Prefects don't chase you and enable errand icon in social menu (only peds) (true)
113) Disable jimmy's voice
117) Prefects don't chase you (false)
129) Disable ped's voice (only peds)
132) Disable positive social interaction (only peds)

37
Bully Modding / Re: An Interesting Idea
« on: February 19, 2022, 10:48:37 AM »
It's to set the ped to crouch (true) or not (false).

38
Mod Releases / Re: Selector Mod
« on: February 15, 2022, 12:32:44 AM »
Great mod!

But I'm a bit confused with the menu. For example I want to change the clock, I must go to World > Scroll until find the clock setting.
The model selector doesn't have index.

But overall, it still great. :)

39
Modding Questions/Help / Re: Learning Lua
« on: February 14, 2022, 04:49:52 AM »
OOP, Coroutine, and code efficiency. But I suggest to learn another languages, like C, Python, or another.

And 1 again I forget, learn math, like trigonometry, or another, because it's really important & useful in programming.

I myself am still not very familiar with trigonometry.

40
Modding Questions/Help / Re: Load test area & Island 3
« on: February 13, 2022, 02:32:34 AM »
Thanks! This helps me.

41
Modding Questions/Help / Load test area & Island 3
« on: February 12, 2022, 06:49:12 AM »
How to load test area & Island 3? Because when I tried to teleport to it's coordinate, it just endless black screen.

42
Modding Questions/Help / Re: Why Bully doesn't have CLEO
« on: February 11, 2022, 08:03:42 AM »
Yeah, C languages (C, C++, C#) are difficult to understand & more complicated.

43
Mod Releases / Re: Bully Better .cat files
« on: February 04, 2022, 07:47:52 AM »
Is it really all the files in Act.img or are there more files?

And 1 more, what the tool used to decompile the .cat files?

44
Modding Questions/Help / Lua load files
« on: February 01, 2022, 05:00:32 AM »
How to load a file that has some user's configuration of the mod, and then use the data(variables, tables) in the mod's script. Anyone know?

And 1 again, is it possible to load a user's configuration setting file that isn't a compiled file, like  .txt, or .ini?

Sorry for bad English.

45
Modding Questions/Help / Re: Lua rich text formatting
« on: January 26, 2022, 06:48:46 PM »
Sorry, I already knew that. What I'm asking is how to make the text italic.

Pages: 1 2 [3] 4 5