DavidReyes2250 Posted January 8, 2021 Share Posted January 8, 2021 (edited) While making modifications to the main script of the game, I have seen something strange. As you know, the 'HMYDRUG' and 'BIKDRUG' peds are supposed to be unused peds which are supposed to be drug dealers, but I don't think so, right? Well, the main script in one line says like this ... 0928: init_external_script_trigger 19 (DEALER) with_actor_model #BMYDRUG priority 100 0928: init_external_script_trigger 19 (DEALER) with_actor_model #WMYDRUG priority 100 0928: init_external_script_trigger 19 (DEALER) with_actor_model #HMYDRUG priority 100 0928: init_external_script_trigger 19 (DEALER) with_actor_model #BIKDRUG priority 100 As you can see if they are not blind, the peds 'BMYDRUG', 'WMYDRUG' (these do appear in the game), 'HMYDRUG' and 'BIKDRUG' unlike the previous two, these other two do not appear in the game although the opcode It says they are given a full priority of 100, is there any reason why they don't appear even though they both have a full priority? And by the way, as a curiosity, if you didn't know, every time we start a new game (if the main.scm is the original one), if you search well, the 'BIKDRUG' ped will almost always appear only for the first and last time, strange no? Does anyone have an answer why does this happen? Edit: There was a small mistake in the last paragraph, in fact, very few times, in fact, almost never, we will see the 'BIKDRUG' ped but the 'HMYDRUG' ped we will never see Edited January 8, 2021 by DavidReyes2250 Link to comment Share on other sites More sharing options...
OrionSR Posted January 8, 2021 Share Posted January 8, 2021 The dealers work as expected; the rules are a bit weird though. I don't remember the exact details but if you dig through the forums you should be able to find the information that you need to control which dealers spawn. The biker dealer only spawns in San Fierro, but normally there are no valid gangs (Grove, Ballas or Vagos) in SF. This used to be fairly common due to the popularity of the PS2 trick of adding gang zones by flying over the sea, and is easy enough to enable using zone editors or gang mods. The biker dealer might spawn in Jefferson on a new game if you skip the cutscene while CJ is still in the Liberty City airport because that location is high above Cranberry station in SF. Some other SF-only peds and cars might spawn in Jefferson for a short while too but are harder to notice. IIRC, the Hispanic dealer only spawns for zones with Hispanic peds but without White or Black ethnic groups enabled. I don't think there are any zones with the appropriate flags so you'll need to fiddle with the ped type settings with a zone editor or other modding tools. Hispanic only or Hispanic plus Asian should work. Link to comment Share on other sites More sharing options...
DavidReyes2250 Posted January 8, 2021 Author Share Posted January 8, 2021 (edited) 1 hour ago, OrionSR said: The dealers work as expected; the rules are a bit weird though. I don't remember the exact details but if you dig through the forums you should be able to find the information that you need to control which dealers spawn. The biker dealer only spawns in San Fierro, but normally there are no valid gangs (Grove, Ballas or Vagos) in SF. This used to be fairly common due to the popularity of the PS2 trick of adding gang zones by flying over the sea, and is easy enough to enable using zone editors or gang mods. The biker dealer might spawn in Jefferson on a new game if you skip the cutscene while CJ is still in the Liberty City airport because that location is high above Cranberry station in SF. Some other SF-only peds and cars might spawn in Jefferson for a short while too but are harder to notice. IIRC, the Hispanic dealer only spawns for zones with Hispanic peds but without White or Black ethnic groups enabled. I don't think there are any zones with the appropriate flags so you'll need to fiddle with the ped type settings with a zone editor or other modding tools. Hispanic only or Hispanic plus Asian should work. Good explanation, but I found another thing even more curious, if you use a Skin Selector (in my case I used the Cheat Menu), if you put on the 'HMYDRUG' skin, and once you put it on and explore the map For example, Los Santos, more specifically, in gang areas like Ganton and nearby areas, you can easily find this ped and for some reason the other traffickers no longer appear, what is happening here? Edited January 8, 2021 by DavidReyes2250 Link to comment Share on other sites More sharing options...
ZAZ Posted January 8, 2021 Share Posted January 8, 2021 (edited) The dealer ped only acts as dealer if opcode 076A: gives dealer to zone Maybe, it's also required for spawn opcode 076A: is only given for zones in LS Add lines for other zones in SF and LV //Doherty 076A: set_zone 'DOH1' dealer_density_to 4 076A: set_zone 'DOH2' dealer_density_to 4 Spoiler Originally main.scm adds only to Los Santos 076A: set_zone 'CHC1A' dealer_density_to 4 076A: set_zone 'CHC1B' dealer_density_to 4 076A: set_zone 'CHC2A' dealer_density_to 4 076A: set_zone 'CHC2B' dealer_density_to 4 Las Colinas 076A: set_zone 'CHC3' dealer_density_to 4 076A: set_zone 'CHC4A' dealer_density_to 4 076A: set_zone 'CHC4B' dealer_density_to 4 076A: set_zone 'EBE1' dealer_density_to 2 076A: set_zone 'EBE2A' dealer_density_to 2 East Beach 076A: set_zone 'EBE2B' dealer_density_to 2 076A: set_zone 'EBE3C' dealer_density_to 2 076A: set_zone 'GLN1' dealer_density_to 6 076A: set_zone 'GLN2A' dealer_density_to 2 Glen Park 076A: set_zone 'IWD1' dealer_density_to 2 076A: set_zone 'IWD2' dealer_density_to 2 076A: set_zone 'IWD3A' dealer_density_to 2 Idlewood 076A: set_zone 'IWD3B' dealer_density_to 2 076A: set_zone 'IWD4' dealer_density_to 2 076A: set_zone 'IWD5' dealer_density_to 2 076A: set_zone 'JEF1A' dealer_density_to 6 076A: set_zone 'JEF1B' dealer_density_to 6 076A: set_zone 'JEF2' dealer_density_to 6 Jefferson 076A: set_zone 'JEF3B' dealer_density_to 6 076A: set_zone 'JEF3C' dealer_density_to 6 076A: set_zone 'LFL1A' dealer_density_to 4 Los Flores 076A: set_zone 'LFL1B' dealer_density_to 4 076A: set_zone 'ELS1A' dealer_density_to 2 076A: set_zone 'ELS1B' dealer_density_to 2 076A: set_zone 'ELS2' dealer_density_to 2 076A: set_zone 'ELS3A' dealer_density_to 2 East Los Santos 076A: set_zone 'ELS3B' dealer_density_to 2 076A: set_zone 'ELS4' dealer_density_to 2 076A: set_zone 'VERO1' dealer_density_to 2 076A: set_zone 'VERO2' dealer_density_to 2 076A: set_zone 'VERO3' dealer_density_to 2 Verona Beach 076A: set_zone 'VERO4A' dealer_density_to 2 076A: set_zone 'VERO4B' dealer_density_to 2 Edited January 8, 2021 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
OrionSR Posted January 8, 2021 Share Posted January 8, 2021 (edited) 7 hours ago, DavidReyes2250 said: I found another thing even more curious I'm really not sure why other hispanic dealers spawn when you are playing with his skin, but I suspect it has something to do with having the model always loaded. Perhaps something similar to how the biker dealer spawns when it's model was preloaded for SF during the intro cutscene but more persistent. I don't have the skills to dig into the details - I had to have some help from experts just to figure out the rules described above. 5 hours ago, ZAZ said: The dealer ped only acts as dealer if opcode 076A: gives dealer to zone Maybe, it's also required for spawn Using opcode 076A: is good coding practice but not absolutely necessary for dealers to spawn in a zone. Adding gang density to a zone is enough for dealer to spawn; I think the dealer density gets updated by the same routine that modifies the zone color if the dealers aren't already added with 076A:. Dealers will appear in gang zones glitched by flying off the map or using the satchel trick. Efforts to reduce dealer density to zero have always failed. Something keeps adding them back. Edited January 8, 2021 by OrionSR Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now