Mark_Purayah_II Posted September 19, 2018 Share Posted September 19, 2018 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 More sharing options...
ZAZ Posted September 20, 2018 Share Posted September 20, 2018 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 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
don_pedro Posted September 23, 2018 Share Posted September 23, 2018 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 More sharing options...
Sanmodder Posted October 9, 2018 Share Posted October 9, 2018 (edited) you can do it in two ways1 open the data folder is in the game folder and find the file ped.datyou see gang1 sections add in the hate section add new id CRIMINAL DEALER COP PROSTITUTEsave and end-------------------------------------------------- ----------------------------------20746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 6 // COP0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 17 // DEALER0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 20 // CRIMINAL0746: set_acquaintance 4 of_actors_pedtype 7 to_actors_pedtype 22 // PROSTITUTE7 ballas{Acquaintance options:# 4 - Hate# 3 - Dislike# 1 - Like# 2 - Respect} Edited October 9, 2018 by Sanmodder Link to comment Share on other sites More sharing options...