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

Pages: [1]
1
POI stands for Point Of Interest.

Oh, I see. Thanks.


I know pedstats determines what weapon a ped spawns with its just that I've seen nerds spawn with squd guns and fire crackers in fight events when pedstats only spawns Bucky and Donald with those weapons normally (the only other times a ped seems to spawn with a unique weapon not determined by pedstats is missions which is set by the lua file for the mission and in certain locations when they use it for a prank.

True, certain mission like Stronghold Assault is also contribute to NPC's change of behavior for weapons. But.. most missions in Bully only change NPC's behavior for that moment like the Wrong Part of Town where the Greasers are showering you with Fire Crackers.

For some random event in free roam, their weapons are controlled by Events.lur in order to achieve their specific purpose. It's like the one you mentioned above (prank), NPCs don't actually spawn with a dead rat in their hands, but the game give it away for the prank events.

Oh damn, thanks! I had a feeling it would be a lua file that determined what weapons some peds had in the fights. There's also seems to be info on Russell's spawn behavior here which is another thing I've been looking for.

2
Oh sorry I see now. I'll go look in Trigger.img and ide.img. I know pedstats determines what weapon a ped spawns with its just that I've seen nerds spawn with squd guns and fire crackers in fight events when pedstats only spawns Bucky and Donald with those weapons normally (the only other times a ped seems to spawn with a unique weapon not determined by pedstats is missions which is set by the lua file for the mission and in certain locations when they use it for a prank.

3
Ah, I see now. I'll check the files in config first. Thanks man!

4
I was wondering what file in Scripts.img or Trigger.img has data on random fights that can be found throughout the game like the ones in front of the school or the motel near New Conventry (I know that there's one that has 3 peds from different student factions fight 1 dropout and that the front of the girls dorm has a fight spawn but for female students instead of male students for example). I noticed some peds can spawn with weapons they don't have in pedstats.dat during these fights too like Algie can spawn with a firecracker/squdgun, etc. I was mainly curious about if there was a list of locations and which factions/peds can spawn during these fights and what weapons they can be set to having during them.

5
Thank you so much man! I seriously appreciate this  :D

6
Also, I still get the side by side error when I try to run LuaC with visual studio installed from the vcredist_x86 EXE file tho like I said, no files involving Visual Studio get added after I install it so I think something probably isn?t working on my computer.

7
I have just gotten a new harddrive for my PC and I?ve been trying to run LuaC on it copied from my old harddrive along with the msvcr90d.dill file (copied to System32 folder) and the vcredist_x86 and vcsetup EXE files. However, my PC has a server connection error for when I try run the vcsetup exe file and won?t download any of the files in it. I have downloaded Visual Studio from vcredist_x86 but no new files show up on my computer and I tried running vcsetup multiple times with Visual Studio 2008 being installed and uninstalled in these attempts. Any advice?

8
I would like to know as well tbh.

9
Thanks man! That’s just what I needed. Also I assume you mean the person who created LUA and if that’s the case nice bit  >:(

10
Ah, I see. I’ll try the string id for Small Offences that Simon provided. If it isn’t too much trouble what string id did you use to complete the Go Kart minigames? I got the ids from Altamurenza’s pastebin for his Selector Mod.

11
Can't force Small Offensives and Go Kart Minigames to be completed with LUA while I can with other missions/classes/etc. It seems like it has to do with the mission ID not being in quotation marks inside the code. This is the function I made for them. Also can't make passing Shop 4 reward player with a Blue BMX.


Code: [Select]
F_CompleteClassCheat = function()
    if not IsMissionCompleated(70) then -- Small Offenses Mission ID
        MissionForceCompleted(70,true)
MissionSuccessCountInc(70)
Wait(0)
    end
if not IsMissionCompleated("3_R09_N") then
        MissionForceCompleted("3_R09_N",true)
MissionSuccessCountInc("3_R09_N")
Wait(0)
    end
if IsMissionCompleated("C_Chem_1") and not IsMissionCompleated("C_Chem_2") then
MissionForceCompleted("C_Chem_2",true)
MissionSuccessCountInc("C_Chem_2")
Wait(0)
MissionForceCompleted("C_Chem_3",true)
MissionSuccessCountInc("C_Chem_3")
Wait(0)
    MissionForceCompleted("C_Chem_4",true)
MissionSuccessCountInc("C_Chem_4")
Wait(0)
MissionForceCompleted("C_Chem_5",true)
MissionSuccessCountInc("C_Chem_5")
Wait(0)
MissionForceCompleted("C_Chem_5_repeat",true)
MissionSuccessCountInc("C_Chem_5_repeat")
Wait(0)
    end
if not IsMissionCompleated("C_English_1") then
MissionForceCompleted("C_English_1",true)
MissionSuccessCountInc("C_English_1")
Wait(0)
MissionForceCompleted("C_English_2",true)
MissionSuccessCountInc("C_English_2")
Wait(0)
MissionForceCompleted("C_English_3",true)
MissionSuccessCountInc("C_English_3")
Wait(0)
MissionForceCompleted("C_English_4",true)
MissionSuccessCountInc("C_English_4")
Wait(0)
MissionForceCompleted("C_English_5",true)
MissionSuccessCountInc("C_English_5")
Wait(0)
    end
if IsMissionCompleated("1_02B") and not IsMissionCompleated("C_ART_1") then
MissionForceCompleted("C_ART_1",true)
MissionSuccessCountInc("C_ART_1")
Wait(0)
MissionForceCompleted("C_ART_2",true)
MissionSuccessCountInc("C_ART_2")
Wait(0)
MissionForceCompleted("C_ART_3",true)
MissionSuccessCountInc("C_ART_3")
Wait(0)
MissionForceCompleted("C_ART_4",true)
MissionSuccessCountInc("C_ART_4")
Wait(0)
MissionForceCompleted("C_ART_5",true)
MissionSuccessCountInc("C_ART_5")
Wait(0)
MissionForceCompleted("C_Art_5_repeat",true)
MissionSuccessCountInc("C_Art_5_repeat")
Wait(0)
    end
if IsMissionCompleated("Chapt1Trans") and not IsMissionCompleated("C_WRESTLING_1") then
MissionForceCompleted("C_WRESTLING_1",true)
MissionSuccessCountInc("C_WRESTLING_1")
Wait(0)
MissionForceCompleted("C_WRESTLING_2",true)
MissionSuccessCountInc("C_WRESTLING_2")
Wait(0)
MissionForceCompleted("C_WRESTLING_3",true)
MissionSuccessCountInc("C_WRESTLING_3")
Wait(0)
MissionForceCompleted("C_WRESTLING_4",true)
MissionSuccessCountInc("C_WRESTLING_4")
Wait(0)
MissionForceCompleted("C_WRESTLING_5",true)
MissionSuccessCountInc("C_WRESTLING_5")
Wait(0)
end
if IsMissionCompleated("Chapt1Trans") and not IsMissionCompleated("C_Shop_1") then
MissionForceCompleted("C_Shop_1",true)
MissionSuccessCountInc("C_Shop_1")
Wait(0)
MissionForceCompleted("C_Shop_2",true)
MissionSuccessCountInc("C_Shop_2")
Wait(0)
MissionForceCompleted("C_Shop_3",true)
MissionSuccessCountInc("C_Shop_3")
Wait(0)
MissionForceCompleted("C_Shop_4",true)
MissionSuccessCountInc("C_Shop_4") -- Class that should reward Blue BMX
Wait(0)
    end
end

Code: [Select]
main = function()
  Wait(500)
 
  repeat
if IsButtonBeingPressed(0,0) then
F_CompleteClassCheat()
                PedSetWeapon(gplayer, 418)
Wait(1000)
end
        Wait(0)
   until not Alive
end

12
Modding Questions/Help / Re: Can't Give Jimmy Skateboard With Lua
« on: September 24, 2021, 12:33:49 AM »
Thanks so much! Btw I love your videos on Bully Beta content :D

13
Modding Questions/Help / Re: Can't Give Jimmy Skateboard With Lua
« on: September 18, 2021, 03:52:37 PM »
Code: [Select]
main = function()
  Wait(500)
  repeat
if IsButtonBeingPressed(0,0) then
    PedSetWeapon(gplayer, 437)
    GiveWeaponToPlayer(gplayer, 437)
Wait(1000)
PedSetWeapon(gplayer, 306)
GiveWeaponToPlayer(gplayer, 306)
Wait(1000)
PedSetWeapon(gplayer, 307)
GiveWeaponToPlayer(gplayer, 307)
GiveAmmoToPlayer(308, 12)
Wait(1000)
PedSetWeapon(gplayer, 305)
GiveWeaponToPlayer(gplayer, 305)
GiveAmmoToPlayer(316, 8)
Wait(1000)
GiveWeaponToPlayer(gplayer, 301)
GiveAmmoToPlayer(301, 5)
Wait(1000)
GiveWeaponToPlayer(gplayer, 320)
GiveAmmoToPlayer(320, 1)
Wait(1000)
end
if IsButtonBeingPressed(1,0) then
    PedSetWeapon(gplayer, 372)
Wait(1000)
end
    if IsButtonBeingReleased(14,0) then
    PedSetWeapon(gplayer, 397)
Wait(1000)
end
    Wait(0)
  until not Alive
end

14
Modding Questions/Help / Can't Give Jimmy Skateboard With Lua
« on: September 18, 2021, 03:47:35 PM »
I made a Lua code where Jimmy can be given most of the best items in the beginning of the game, however, whenever I spawn the Skateboard he loses it as soon as its unequiped. Any help?

15
Modding Questions/Help / LUA Script Button Input Mod Help
« on: September 11, 2021, 12:25:37 AM »
Hello. I want to make a lua mod for myself where pressing certain inputs (like the show main and secondary tasks) performs a certain action. The following actions I want to be performed are

Show Secondary Tasks - Reset Jimmy's PedSpeed to 100 and give him his player fighting style until he's knocked out (its just for missions that softlock due to my ide.img and pedstats for Jimmy being heavily modified)

Show Main Tasks/Missions - Have the player perform Johnny Vincent's 3 hit combo where he knocks Jimmy down and spits on him

Lock Back - Give Jimmy a Volcano 4000

I could just use the Selector mod by Altamurenza but my game crashes after like 20 minutes with a huge script mod like that and as much as I love those mods I would like to have a mod that's just a lot smaller and doesn't feature some of the changes or have some of the bugs in them.

I don't know if I have to create a new .lur file for Scripts.img since my only experience with lua prior are ArcRace1/ArcRace3D.lur mods that spawn peds with edited pedstats/fighting styles and faction respect.

I would greatly appreciate any help   :happy:

Pages: [1]