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.

Topics - JustSomeGuy24

Pages: [1]
1
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.

2
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?

3
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

4
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?

5
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]