Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

(SA) Real Peds Overhaul


Irsis
 Share

Recommended Posts

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.

 

gallery23.jpg

gallery20.jpg

gallery19.jpg

gallery17.jpg

gallery16.jpg

gallery14.jpg

gallery11.jpg

gallery10.jpg

 

***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)

 

 

gallery10.jpg

 

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.

 

gallery16.jpg
 

 

 

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 by Irsis
Link to comment
Share on other sites

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

MatthewFarrell

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 by MatthewFarrell
Link to comment
Share on other sites

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

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 by Junior_Djjr
Link to comment
Share on other sites

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

6 minutes ago, Junior_Djjr said:

It's appearing bags in CJ.

0000.jpg

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

I was just stopped testing some weapons. Also while driving.

Link to comment
Share on other sites

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

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 by Irsis
  • Like 2
Link to comment
Share on other sites

  • 10 months later...
  • 3 weeks later...
Paixetamour

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 ?

 

8fuamIq.jpgSW54Bn9.jpg

  • Like 1
Link to comment
Share on other sites

  • 3 months later...

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.

  • Like 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

You should consider using Cleo+ for this.

Edited by thalilmythos
  • Like 2
Link to comment
Share on other sites

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

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.

Link to comment
Share on other sites

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

  • 3 weeks later...
  • 2 weeks later...

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)

SDepO27.jpg

Edited by Quang
adding image
Link to comment
Share on other sites

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)

SDepO27.jpg

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.

Link to comment
Share on other sites

  • 1 month later...

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

  • 4 weeks later...
  • 2 weeks later...
DaryNugraha

I desperately need fix for this... please if theres any update for your cleo+ progress i'll be a happy man..

unknown.png?width=1191&height=670

Link to comment
Share on other sites

  • 2 weeks later...
gaerithard64

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 by gaerithard64
Link to comment
Share on other sites

EpsilonSurv
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.