Irsis Posted August 10, 2019 Share Posted August 10, 2019 (edited) REAL PEDS OVERHAUL by Irsis One of my old edit. Originally created by dim1988, then edited by Junior_Djjr(but removed, because of bugfest) and then hopefully the last person, me. This mod makes random ped around CJ become less boring. they will perform random animation like smoking, calling or get drunk and many more. ***UPDATE 22/11/20*** - Lots of things added. While walking, now peds can be seen eating, drinking, reading newspaper, using umbrella(at noon), elder using cane, business man bringing suitcase, ped bringing grocery bag, women bringing shopping bag, ped stopping taxi for a ride and sometimes ped playing bass guitar. - Latest version of Open Limit Adjuster is required for the overhaul version - If you hit your limit for IFP files, Latest version of Fastman92 limit adjuster is required in order to extend the limit. ***OLD VERSION*** - Now instead of creating actor, the script will catch random actor around player. - Same ped cant perform the anim twice - Unlike the older version, now mod wont start on mission, wanted level >0, actor's task of killing player(you dont want your enemy start doing animation when fighting you right?), when on some animation(hands up, cower, lay back etc), or when in rain(to make it compatible with hard rain mod) Optional: Inside my folder, i include a mod that make random ped bring bag or reading newspaper on a bench. Move that folder into your modloader folder if you want. Credits: - dim1988 (Original author) - Junior_Djjr (Remake version and ped struct script) - Pep legal (umbrella model) - lot of author from libertycity.net(im using lots of model from this website) **New version** DOWNLOAD **Old version** DOWNLOAD Edited December 6, 2020 by Irsis Jeansowaty, kkjj, The BHD and 18 others 20 1 Link to comment Share on other sites More sharing options...
Davve95 Posted August 10, 2019 Share Posted August 10, 2019 That's awesome. I have been looking for something like this Link to comment Share on other sites More sharing options...
MatthewFarrell Posted August 10, 2019 Share Posted August 10, 2019 Crash after loading the game. Tried on modded and on a clean game. Link to comment Share on other sites More sharing options...
Irsis Posted August 11, 2019 Author Share Posted August 11, 2019 46 minutes ago, MatthewFarrell said: Crash after loading the game. Tried on modded and on a clean game. Did you install 'lively peds' too? If yes, and if you dont have Limit adjuster installed, it might be you hit the limit of added object in the game. If not, real peds might have a conflict with your other mods.. Its just a simple script, check peds around player -> if they exist -> continue -> if not -> return. I dont see a reason that this will crash on clean game, unless there are other mods that also meddling with random peds and worst, if they use remove references opcode. But i already anticipate the latter. Link to comment Share on other sites More sharing options...
MatthewFarrell Posted August 11, 2019 Share Posted August 11, 2019 (edited) Nvm. Crash happened when I changed model IDs. Can you add an ini file for choosing IDs? Also I found a bug - cellphone doesn't appear if the ped has a bag. Edited August 11, 2019 by MatthewFarrell Link to comment Share on other sites More sharing options...
Irsis Posted August 11, 2019 Author Share Posted August 11, 2019 4 hours ago, MatthewFarrell said: Nvm. Crash happened when I changed model IDs. Can you add an ini file for choosing IDs? Also I found a bug - cellphone doesn't appear if the ped has a bag. I dont know about ini file. Maybe in the future. I believe this game limit only 1 object attached(including weapon) to actor. So its either bag or real ped's object that appear(if the script chose the same ped). There are 2 solutions on my mind right now. 1. I have to combine real peds and lively peds into one script so i can control which ped receiving bag or phone. Which is tiresome, im too lazy to do it 2. I need to check if random actor is attached to object or not, which unfortunately i still dont know how to do it. Link to comment Share on other sites More sharing options...
Junior_Djjr Posted August 14, 2019 Share Posted August 14, 2019 (edited) You are using 0AE1: wrongly, this will cause incompatibilities if using other mod that is also made this mistake. You have seen my message showing how to use it, but I don't know if you already have considered it or not, so I'm repeating here. But also, you can't use wait inside the 0AE1: loop, this is a global opcode, not for each script, that is, if two mods are running this list at the same time, each one will take a ped, causing confusion and malfunction. This is simpler to solve because just don't use wait, load the model instantly with 038B: instead of using model available condition. You are loading just a few models, PCs today can load the model without causing any lag spike. But if you want to use wait inside peds loop, use this very ugly version. Also, 30 meters is too near, and prefer camera position, not player position. Edited August 14, 2019 by Junior_Djjr Irsis 1 Link to comment Share on other sites More sharing options...
Irsis Posted August 14, 2019 Author Share Posted August 14, 2019 2 hours ago, Junior_Djjr said: You are using 0AE1: wrongly, this will cause incompatibilities if using other mod that is also made this mistake. You have seen my message showing how to use it, but I don't know if you already have considered it or not, so I'm repeating here. But also, you can't use wait inside the 0AE1: loop, this is a global opcode, not for each script, that is, if two mods are running this list at the same time, each one will take a ped, causing confusion and malfunction. This is simpler to solve because just don't use wait, load the model instantly with 038B: instead of using model available condition. You are loading just a few models, PCs today can load the model without causing any lag spike. But if you want to use wait inside peds loop, use this very ugly version. Also, 30 meters is too near, and prefer camera position, not player position. Noted! Thanks. I'll update it when i have free time Link to comment Share on other sites More sharing options...
Junior_Djjr Posted August 15, 2019 Share Posted August 15, 2019 It's appearing bags in CJ. RyanDri3957V 1 Link to comment Share on other sites More sharing options...
Irsis Posted August 15, 2019 Author Share Posted August 15, 2019 6 minutes ago, Junior_Djjr said: It's appearing bags in CJ. Yeah sometimes i have that too after teleporting/after get out of interior. I wonder what causing that? I clearly limit only to certain pedtype to hold bag(4 and 5 to be exact). Do you have any idea? Link to comment Share on other sites More sharing options...
Junior_Djjr Posted August 15, 2019 Share Posted August 15, 2019 I was just stopped testing some weapons. Also while driving. Link to comment Share on other sites More sharing options...
Irsis Posted August 15, 2019 Author Share Posted August 15, 2019 My guess is, there is ped on cj's exact position and vanished for whatever reason and leave the bag hanging in the air(eventhough i destroy that object after ped vanished?) Link to comment Share on other sites More sharing options...
Irsis Posted August 16, 2019 Author Share Posted August 16, 2019 (edited) UPDATE: *General - Thanks to cleo global vars, real peds and lively peds no longer choose the same ped, thus avoiding script confusion and keeps objects like bag/phone/bottle/ciggarete from disappearing. (thanks to In45do) - Radius of both script is Increased *Lively peds - Bag no longer appear on Cj's body when driving or onfoot. (like i said earlier, random ped spawn near Cj then vanished(this happen so fast). so i increase the wait times) OP Link updated To Junior about 0AE1, i cant seem to make it work when i use 'find_next 0 until find_next 1' loop? About wait inside 0AE1, i have to use it or the game will crash Edited August 16, 2019 by Irsis AshGamer007 and Honker1944 2 Link to comment Share on other sites More sharing options...
Akiri Posted July 13, 2020 Share Posted July 13, 2020 awesome! Link to comment Share on other sites More sharing options...
Paixetamour Posted August 1, 2020 Share Posted August 1, 2020 If i kill or scare peds they leave their bag on the spot they run away so saving the game causes bags spawn around after loading the game. Is anyone having the same problem ? wwwwandrarijaz 1 Link to comment Share on other sites More sharing options...
Sora94 Posted November 21, 2020 Share Posted November 21, 2020 Is there a way to make the Lively Peds not get baked into your save file? If you remove it trying to load up your save will crash the game. wwwwandrarijaz 1 Link to comment Share on other sites More sharing options...
Irsis Posted November 22, 2020 Author Share Posted November 22, 2020 On Sat Nov 21 2020 at 1:13 PM, Sora94 said: Is there a way to make the Lively Peds not get baked into your save file? If you remove it trying to load up your save will crash the game. I already make sure that the objects of lively peds will get deleted in several circumstances. One of it is when you try to enter interior to save your game. Are you using save anywhere mod? Sora94 1 Link to comment Share on other sites More sharing options...
thalilmythos Posted November 23, 2020 Share Posted November 23, 2020 (edited) You should consider using Cleo+ for this. Edited November 23, 2020 by thalilmythos wwwwandrarijaz and Irsis 2 Link to comment Share on other sites More sharing options...
XG417 Posted November 23, 2020 Share Posted November 23, 2020 Consider creating a version with an increased radius from the player where the script triggers, so items will not spawn right in front of the player's vision And I'm with @thalilmythos - CLEO+ might help a lot with this mod. Other than that, I'm very glad this is getting updated! Link to comment Share on other sites More sharing options...
Irsis Posted November 23, 2020 Author Share Posted November 23, 2020 6 hours ago, thalilmythos said: You should consider using Cleo+ for this. Yeah i thought of that too. I heard you can render new object through script. But then i remember im still noob at coding, so.. 3 hours ago, XG417 said: Consider creating a version with an increased radius from the player where the script triggers, so items will not spawn right in front of the player's vision And I'm with @thalilmythos - CLEO+ might help a lot with this mod. Other than that, I'm very glad this is getting updated! About spawning object, i already anticipate it by making object not spawned inside player field of view. I need to make it spawn further then. XG417 1 Link to comment Share on other sites More sharing options...
Sora94 Posted November 29, 2020 Share Posted November 29, 2020 On 11/22/2020 at 12:42 AM, Irsis said: I already make sure that the objects of lively peds will get deleted in several circumstances. One of it is when you try to enter interior to save your game. Are you using save anywhere mod? ahhh my bad, saving in CJs house was enough for me to be able to remove it and load up the save properly, thanks for remaking this mod btw, its one of my favorites and it was very broken before this update. Link to comment Share on other sites More sharing options...
Akiri Posted December 14, 2020 Share Posted December 14, 2020 thank you!this is super awesome!! Link to comment Share on other sites More sharing options...
Quang Posted December 28, 2020 Share Posted December 28, 2020 (edited) Some entities still appear in map, is there any way to fix this? I tried saving in CJ house and removing the mod but didn't help (All of the mod's files were put in modloader and removing the mod cause crash, i think because the entities are still there) Edited December 28, 2020 by Quang adding image Link to comment Share on other sites More sharing options...
Irsis Posted December 28, 2020 Author Share Posted December 28, 2020 6 hours ago, Quang said: Some entities still appear in map, is there any way to fix this? I tried saving in CJ house and removing the mod but didn't help (All of the mod's files were put in modloader and removing the mod cause crash, i think because the entities are still there) I think that object will stuck in your save game forever only if there is a mod that remove particular object in small radius(i'll try to create it for a remedy)and i still looking for a way to avoid this issue(believe me i do, because there is no opcode to check if player is opening save menu). Next time, try to avoid saving your game using save anywhere mod, or saving in non interior world like doherty, red dragon casino etc. Quang 1 Link to comment Share on other sites More sharing options...
Dr Busta Posted February 9, 2021 Share Posted February 9, 2021 This mod always crashes my game help Even if I have zero mods installed with My PC is good Link to comment Share on other sites More sharing options...
darthpepo1 Posted February 13, 2021 Share Posted February 13, 2021 any news regarding the use of cleo+ for this as you comented some time ago? Link to comment Share on other sites More sharing options...
mrbekirr Posted March 9, 2021 Share Posted March 9, 2021 rez Link to comment Share on other sites More sharing options...
DaryNugraha Posted March 21, 2021 Share Posted March 21, 2021 I desperately need fix for this... please if theres any update for your cleo+ progress i'll be a happy man.. Link to comment Share on other sites More sharing options...
gaerithard64 Posted April 4, 2021 Share Posted April 4, 2021 (edited) Just download a Delete Objects Mod, https://www.mixmods.com.br/2015/06/deletar-objetos-dentro-do-jogo.html I have a problem with this mod too, peds sometimes hold white legs instead of the soda cup Edit: you guys should check the script, it's spawning the "chopcop" leg texture instead of a soda cup or beer. Edited April 5, 2021 by gaerithard64 Link to comment Share on other sites More sharing options...
EpsilonSurv Posted April 6, 2021 Share Posted April 6, 2021 On 4/4/2021 at 9:21 AM, gaerithard64 said: Just download a Delete Objects Mod, https://www.mixmods.com.br/2015/06/deletar-objetos-dentro-do-jogo.html I have a problem with this mod too, peds sometimes hold white legs instead of the soda cup Edit: you guys should check the script, it's spawning the "chopcop" leg texture instead of a soda cup or beer. same problem here Link to comment Share on other sites More sharing options...