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

ped.DAT Gang1 Gang2 Gang 3 who's who?


Mark_Purayah_II
 Share

Recommended Posts

Mark_Purayah_II

So I'm trying to code that Ballas should hate all gangs except them self, and like criminals and dealers. But GFS should hate all gangs except Triads and should hate criminals and dealers. In pedgrp.DAT it says that Gang1 is Ballas, and Gang2 is GFS and Gang7 is Triads, but when I in ped.dat changes so Gang2 should hate criminals and dealers, they don't hurt them and they starts shooting at gang7. Is the Gang(1-10)'s in ped.dat the same as in pedgrp.dat or is there a difference so in ped.dat that Gang1 is Ballas Gang2 is Vagos, and Gang3 is then GFS??

Link to comment
Share on other sites

There're also differences in main.scm

for code to give gang to zone

076C: set_zone 'JEF2' gang 0 density_to 40
076C: set_zone 'GAN1' gang 1 density_to 25

gang 0 = Ballas
gang 1 = Homies

 

for code to give pedtype

009A: [email protected] = create_actor_pedtype 7 model #BALLAS1 at [email protected] [email protected] [email protected]

pedtype 7 = Ballas
pedtype 8 = Homies

Spoiler

PEDTYPES

0  PLAYER1  
1  PLAYER2  
2  PLAYER_NETWORK  
3  PLAYER_UNUSED  
4  CIVMALE  
5  CIVFEMALE  
6  COP  
7  GANG1 (Ballas)
8  GANG2 (Grove Street Families)
9  GANG3 (Los Santos Vagos)
10  GANG4 (San Fierro Rifa)
11  GANG5 (Da Nang Boys)
12  GANG6 (Mafia)
13  GANG7 (Mountain Cloud Triad)
14  GANG8 (Varrio Los Aztecas)
15  GANG9 (unused)
16  GANG10 (unused)
17  DEALER  
18  MEDIC  
19  FIREMAN  
20  CRIMINAL  
21  BUM*  
22  PROSTITUTE  
23  SPECIAL  
24  MISSION1  
25  MISSION2  
26  MISSION3  
27  MISSION4  
28  MISSION5  
29  MISSION6  
30  MISSION7  
31  MISSION8

 

 

first gang entry of pedgrp.dat =  gang 0/pedtype 7 of main.scm (Ballas in unmodded game)

second gang entry of pedgrp.dat =  gang 1/pedtype 8 of main.scm (Fam in unmodded game)

third gang entry of pedgrp.dat =  gang 2/pedtype 9 of main.scm (LSV in unmodded game)

 

But the order is always the same, so GANG1 of ped.dat should be Ballas and GANG2 Homies

 

Anyway, i assume that the ped.dat is unused

I think that entries like GANG1, GANG2, MEDIC, CRIMINAL doesn't exist for the game

 

this entry in pedgrp.dat

BALLAS1, BALLAS2, BALLAS3					# Gang 1 (BALLAS - Rival Black Gang - AKA FLATS)

Gang 1 is comment because it's behind #

The game allocates gangs by the order of the entries of pedgrp.dat

Spoiler

 

change these two lines

BALLAS1, BALLAS2, BALLAS3					# Gang 1 (BALLAS - Rival Black Gang - AKA FLATS)

FAM1, FAM2, FAM3							# Gang 2 (THE FAMILIES - PLAYER GANG - AKA GROVE)

to these two lines

FAM1, FAM2, FAM3							# Gang 2 (THE FAMILIES - PLAYER GANG - AKA GROVE)

BALLAS1, BALLAS2, BALLAS3					# Gang 1 (BALLAS - Rival Black Gang - AKA FLATS)

then Fam models will be Ballas and Ballas models will be Homies

 

but not for all pedtypes in general, look to the pedtype list in spoiler above

 

The main.scm starts with these codes

0746: set_acquaintance 1 of_actors_pedtype 8 to_actors_pedtype 0 // see ped.dat  
0746: set_acquaintance 4 of_actors_pedtype 8 to_actors_pedtype 7 // see ped.dat  
0746: set_acquaintance 3 of_actors_pedtype 8 to_actors_pedtype 9 // see ped.dat  
0746: set_acquaintance 3 of_actors_pedtype 8 to_actors_pedtype 14 // see ped.dat 
0746: set_acquaintance 3 of_actors_pedtype 7 to_actors_pedtype 0 // see ped.dat  
0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 8 // see ped.dat  
0746: set_acquaintance 3 of_actors_pedtype 7 to_actors_pedtype 9 // see ped.dat  
0746: set_acquaintance 3 of_actors_pedtype 7 to_actors_pedtype 14 // see ped.dat 
0746: set_acquaintance 3 of_actors_pedtype 9 to_actors_pedtype 0 // see ped.dat  
0746: set_acquaintance 3 of_actors_pedtype 9 to_actors_pedtype 8 // see ped.dat  
0746: set_acquaintance 3 of_actors_pedtype 9 to_actors_pedtype 7 // see ped.dat  
0746: set_acquaintance 4 of_actors_pedtype 9 to_actors_pedtype 14 // see ped.dat 
0746: set_acquaintance 3 of_actors_pedtype 14 to_actors_pedtype 0 // see ped.dat 
0746: set_acquaintance 3 of_actors_pedtype 14 to_actors_pedtype 8 // see ped.dat 
0746: set_acquaintance 3 of_actors_pedtype 14 to_actors_pedtype 7 // see ped.dat 
0746: set_acquaintance 4 of_actors_pedtype 14 to_actors_pedtype 9 // see ped.dat 
0746: set_acquaintance 3 of_actors_pedtype 10 to_actors_pedtype 11 // see ped.dat
0746: set_acquaintance 3 of_actors_pedtype 10 to_actors_pedtype 13 // see ped.dat
0746: set_acquaintance 3 of_actors_pedtype 11 to_actors_pedtype 10 // see ped.dat
0746: set_acquaintance 3 of_actors_pedtype 13 to_actors_pedtype 10 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 13 to_actors_pedtype 11 // see ped.dat
0746: set_acquaintance 4 of_actors_pedtype 11 to_actors_pedtype 13 // see ped.dat

I assume that it manages the gang rivalry

Maybe i'm wrong, try to show me that ped.dat modding have an effect

Or maybe the allocation to criminals and others have another effect

Link to comment
Share on other sites

yep acquaintance manages the relationships between ped types, the example below means Vagos (pedtype 9) hate Aztecas (pedtype 14) and they will shoot them on sight . Acquaintance 3 is the usual relationship most of the gangs have towards CJ, which is that they will approch him when he`s near, maybe ask him about his gang affialtion and attack after a moment

0746: set_acquaintance 4 of_actors_pedtype 9 to_actors_pedtype 14 // see ped.dat 
Link to comment
Share on other sites

  • 3 weeks later...

you can do it in two ways

1 open the data folder is in the game folder and find the file ped.dat

you see gang1 sections add in the hate section add new id CRIMINAL DEALER COP PROSTITUTE
save and end
-------------------------------------------------- ----------------------------------
2

0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 6 // COP
0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 17 // DEALER
0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 20 // CRIMINAL
0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 22 // PROSTITUTE

7 ballas

{Acquaintance options:
# 4 - Hate
# 3 - Dislike
# 1 - Like
# 2 - Respect}

Edited by Sanmodder
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

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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