1
Bully Modding / Re: HOW TO INCREASE FIRE CRACKER CAPACITY OR MAKE IT UNLIMITED LIKE SLINGSHOT
« on: March 24, 2022, 04:17:05 AM »
Oh point taken bro thanks
News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
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.
As you mentioned unlimited ammo, you probably have interest to some 'in-game trainer' mod such as Super Mod, Havoc,& Selector Mod lol. They provide unlimited ammo feature & some other contents too. However, they only make some changes in ammo mechanism and not visually infinite like Slingshot or Super Slingshot.
Or.. if you knew a guy called Lua 5.0.2
You can easily put PedSetFlag(gPlayer, 24, true) in your script to make your ammo infinite.
* credit goes to DeadpoolXYZ who found the flag id in 2015 *
Moreover, you can use FLiNG Trainer (External App) for Bully SE which make your ammo infinite & visually change your ammo.
But use it at your own risk, because most of game trainer app will be identified as a virus by many AV.
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.
Yep, that's how the game works.Update:
I also did the same thing before, but in faction HQ (modified SaveZones.lua + modified SP_iJockS.DAT).
But still, no luck. I'm not an expert in those kind of things .
So i decided to spawn people there by hooking my code into PrepHouse.lur, i used the npc spawn points on 2_08.DAT (Weed Killer) and managed to populate the house with 6 npcs. After all it still looks better than empty. Moreover, there are only 9 people on prep factions, so 6 people are kinda realistic imo.
Here you go: https://www.mediafire.com/file/g99ahef4kuwcd1f/Harrington_House_-_Population_Script.7z/file
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
Thank you friend so how should i script the prep spawn?
It is a simple question that cannot be simply answered lol.
It depends on your Lua scripting knowledge.
If you haven't been introduced yet (to Lua scripting ofc), you should read some tutorials here on Bully-Board.another doubt why don't harrington house spawn any npc i mean itsn't some save zone right
There are two answers on this particular question, you can decide which answer you'll likely to understand lol.
- SIMPLE ANSWER -
Simply because R* did not make it in the first place.
Some other areas did not have population either, so it wasn't only our HQ or this Harrington House.
- DETAILED ANSWER -
NPCs that spawn naturally are combination of Lua script + .DAT files (you can find that in Trigger.img). There is a population setting named 'populationdata' (indicated by 'haspopulationdata 1') within the .DAT file if the area meant to be inhabited regularly. Then, the 'populationdata' will be called in Lua script in order to control the population within a space world.
Sadly, most factions HQ (iSaveZones.DAT, SaveLocs.DAT, SP_iDropS.DAT, SP_iJockS.DAT, SP_iPrepS.DAT, and SP_iGrsrS.DAT) and Harrington House (PAn_Prep.DAT and SP_Prep_House.DAT) did not have 'populationdata'. Which means they are not supposed to have daily activities on that area.
Instead, the Dragon's Wing Comic store that we were talking about have 'populationdata' in Store.DAT which called ComicPopTrig. The ComicPopTrig is later found to be active in SStores.lua once you completed Nerd Challenge. That's why we can see some NPCs spawning there, it's still a store after all.
That may looks a little bit complex, but there are more beyond that.
And people still figuring more advanced way in area modding.
Wow thank you friend for answering so I know a little python but no lua coding, can I manually edit those .DAT files to have population spawning??
Thank you friend so how should i script the prep spawn?
It is a simple question that cannot be simply answered lol.
It depends on your Lua scripting knowledge.
If you haven't been introduced yet (to Lua scripting ofc), you should read some tutorials here on Bully-Board.another doubt why don't harrington house spawn any npc i mean itsn't some save zone right
There are two answers on this particular question, you can decide which answer you'll likely to understand lol.
- SIMPLE ANSWER -
Simply because R* did not make it in the first place.
Some other areas did not have population either, so it wasn't only our HQ or this Harrington House.
- DETAILED ANSWER -
NPCs that spawn naturally are combination of Lua script + .DAT files (you can find that in Trigger.img). There is a population setting named 'populationdata' (indicated by 'haspopulationdata 1') within the .DAT file if the area meant to be inhabited regularly. Then, the 'populationdata' will be called in Lua script in order to control the population within a space world.
Sadly, most factions HQ (iSaveZones.DAT, SaveLocs.DAT, SP_iDropS.DAT, SP_iJockS.DAT, SP_iPrepS.DAT, and SP_iGrsrS.DAT) and Harrington House (PAn_Prep.DAT and SP_Prep_House.DAT) did not have 'populationdata'. Which means they are not supposed to have daily activities on that area.
Instead, the Dragon's Wing Comic store that we were talking about have 'populationdata' in Store.DAT which called ComicPopTrig. The ComicPopTrig is later found to be active in SStores.lua once you completed Nerd Challenge. That's why we can see some NPCs spawning there, it's still a store after all.
That may looks a little bit complex, but there are more beyond that.
And people still figuring more advanced way in area modding.
You can use mod to spawn peds & props, or just script modding.
Oops preps was autocorrected as props, it was preps bro and why don't pedpop work? also there's a video on adding preps but there was no description to the mod. I want preps to spawn automatically without using ped spawners but normally just like the nerds. Is there a code or something to add a specific clique to spawn in interiors
It's because Nerd's Hideout actually registered as Store rather than SaveZone like others HQ did.
In Dragon's Wing Comics Store, the script is spawning people through "Ped Production" function whereas the SaveZone does not have it.
I believe PedPop.dat won't help in this case, it requires scripting in order to spawn NPCs naturally.
That was some kind of hypothesis came to the top of my mind when i looked at the source code.
Correct me if i'm wrong.
You can use mod to spawn peds & props, or just script modding.