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. Support

    3. Suggestions

Happy Holidays from the GTANet team!

New gang weapons


Unnoticable
 Share

Recommended Posts

Unnoticable

So recently I've made a new gang but I can't get them to carry weapons, or appear in the actual game. Is there any way I can some how give them territory somewhere on the map so they spawn? And to choose what weapons they use?

 

FYI: I am not using CLEO. I just replaced 3 peds with gang members, changed their stats (with a ped editor,) voices, and cars. (peds.ide, pedgrp.ide, cargrp.ide)

 

I will use CLEO if I have to, though.

Edited by Unnoticable
Link to comment
Share on other sites

Yeah, you need cleo library.

 

Zone Map

{$CLEO .cs}0000: NOP0237: set_gang 1 weapons_to 24 29 4  //sets each gang weapons - the 3 IDs on the end (you can check the weapon IDs in Help > Index > SCM Doc > GTA SA > Weapon numbers076C: set_zone 'ELCO1' gang 1 density_to 40  //look for zone names on the map aboveend_thread

the 1 value is the number of gang - see Gang IDs in SCM Documenation (SA)

Edited by Camil1999
Link to comment
Share on other sites

Unnoticable

Yeah, you need cleo library.

 

Zone Map

{$CLEO .cs}0000: NOP0237: set_gang 1 weapons_to 24 29 4  //sets each gang weapons - the 3 IDs on the end (you can check the weapon IDs in Help > Index > SCM Doc > GTA SA > Weapon numbers076C: set_zone 'ELCO1' gang 1 density_to 40  //look for zone names on the map aboveend_thread

the 1 value is the number of gang - see Gang IDs in SCM Documenation (SA)

 

Thanks, I appreciate it. :cookie:

Link to comment
Share on other sites

Unnoticable

Yeah, you need cleo library.

 

Zone Map

{$CLEO .cs}0000: NOP0237: set_gang 1 weapons_to 24 29 4  //sets each gang weapons - the 3 IDs on the end (you can check the weapon IDs in Help > Index > SCM Doc > GTA SA > Weapon numbers076C: set_zone 'ELCO1' gang 1 density_to 40  //look for zone names on the map aboveend_thread

the 1 value is the number of gang - see Gang IDs in SCM Documenation (SA)

 

 

Hey, so my gang spawns and has the correct weapons but they don't have the correct skins or voice even though both the peds.ide and pedgrp.ide are edited. They don't drive in cars either like they are supposed to because I edited the cargrp.ide

 

Am I missing something?

Link to comment
Share on other sites

Unnoticable

Show all the lines you edited.

 

By the way, yes the skins I edited appear in-game (I tested it with a skin changer.) The gang just doesn't use them for some reason, they retain their default GANG9 skins which is the Varrios Los Aztecas skins. Since they still have the default skins, they also have the default voices aswell. As shown below, they are supposed to drive those cars aswell, but instead they only spawn in groups (on foot) which is default. After editing the ped.ide file, they still hate GANG2 (GSF.) It seems everything except the CLEO script works.

 

EDIT: By the way, I have 2 other questions.

 

  • The gang doesn't use the gang shooting style (holding sideways.) Is there something I can do to fix this?
  • I have a mod which allows me to take over territory of all gangs in San Andreas, including my gang. But my gang doesn't have a zone color on the map. Is there something I can do to fix this?

 

peds.ide

136, SBMYTR3, SBMYTR3, GANG9, STAT_GANG9, gang1, 110F, 1, null, 5, 5, PED_TYPE_GANG, VOICE_GNG_FAM1, VOICE_GNG_FAM2183, VBMYCR, VBMYCR, GANG9, STAT_GANG9, gang1, 110F, 1, null, 5, 5, PED_TYPE_GANG, VOICE_GNG_FAM3, VOICE_GNG_FAM4221, SBMORI, SBMORI, GANG9, STAT_GANG9, gang2, 110F, 1, null, 5, 5, PED_TYPE_GANG, VOICE_GNG_FAM5, VOICE_GNG_FAM5

ped.ide

GANG2    Hate GANG1 GANG3 GANG4 GANG5 GANG6 GANG7 GANG8 GANG10    Respect GANG2    Dislike GANG9GANG9    Hate GANG1 GANG3 GANG4 GANG5 GANG6 GANG7 GANG8 GANG10    Respect GANG9    Dislike GANG2

pedgrp.ide

SBMYTR3, VBMYCR, SBMORI3						    # Gang 9  (SAF - FAM)

(I also removed these skins from their previous places in the pedgrp.ide file.)

 

cargrp.ide

esperant, savanna, voodoo                                                            				 # Gang 9 (SAF - FAM)
Edited by Unnoticable
Link to comment
Share on other sites

ped.ide edits make no changes, use 0746: set_acquaintance 1 of_actors_pedtype 8 to_actors_pedtype 0 // see ped.dat instead (in cleo)
http://gtag.gtagaming.com/opcode-database/opcode/0746/

 

As for the color, edit the hex value in ExGangWars.ini (TurfColour=0x593816)

 

Here's an example of the gang9 I edited some time ago:

111, MAFFA, MAFFA, GANG9, STAT_GANG9, gang1, 110F, 1, man, 2, 2, PED_TYPE_GANG, VOICE_GEN_MAFFA, VOICE_GEN_MAFFA112, MAFFB, MAFFB, GANG9, STAT_GANG9, gang1, 110F, 1, man, 2, 2, PED_TYPE_GANG, VOICE_GEN_MAFFB, VOICE_GEN_MAFFB113, VMAFF2, VMAFF2, GANG9, STAT_GANG9, gang1, 110F, 1, man, 2, 2, PED_TYPE_GANG, VOICE_GEN_MAFFB, VOICE_GEN_MAFFB

Compare it (except the voices) with yours and correct.

Link to comment
Share on other sites

Unnoticable

ped.ide edits make no changes, use 0746: set_acquaintance 1 of_actors_pedtype 8 to_actors_pedtype 0 // see ped.dat instead (in cleo)

http://gtag.gtagaming.com/opcode-database/opcode/0746/

 

As for the color, edit the hex value in ExGangWars.ini (TurfColour=0x593816)

 

Here's an example of the gang9 I edited some time ago:

111, MAFFA, MAFFA, GANG9, STAT_GANG9, gang1, 110F, 1, man, 2, 2, PED_TYPE_GANG, VOICE_GEN_MAFFA, VOICE_GEN_MAFFA112, MAFFB, MAFFB, GANG9, STAT_GANG9, gang1, 110F, 1, man, 2, 2, PED_TYPE_GANG, VOICE_GEN_MAFFB, VOICE_GEN_MAFFB113, VMAFF2, VMAFF2, GANG9, STAT_GANG9, gang1, 110F, 1, man, 2, 2, PED_TYPE_GANG, VOICE_GEN_MAFFB, VOICE_GEN_MAFFB

Compare it (except the voices) with yours and correct.

Thanks for the fix for voices (peds.ide,) and somehow I fixed my cargrp.ide but my pedgrp.ide (which gives them their skins) isn't working. What could possibly be wrong with it?

 

Here's the whole gang part of my pedgrp.ide file: (in notepad++)

BALLAS1, BALLAS2, BALLAS3					# Gang 1 (BALLAS - Rival Black Gang - AKA FLATS)FAM1, FAM2, FAM3							# Gang 2 (THE FAMILIES - PLAYER GANG - AKA GROVE)LSV1, LSV2, LSV3							# Gang 3 ( Los Santos Vagos - AKA Northside Mexicans)SFR1, SFR2, SFR3							# Gang 4  (San Fiero Rifa - proper models: SFR1, SFR2, SFR3)DNB1, DNB2, DNB3							# Gang 5 (Da Nang Boys  - AKA Vietnamese)VMAFF1, VMAFF2, VMAFF3, VMAFF4				# Gang 6 (ITALIAN MAFIA)TRIADA, TRIADB, TRIBOSS						# Gang 7 (TRIADS) VLA1, VLA2, VLA3   							# Gang 8  (Varrio Los Aztecas - AKA SOUTH SIDE MEXICAN)SBMYTR3, VBMYCR, SBMORI3					# Gang 9  (SAF - FAM)VLA1, VLA2, VLA3						    # Gang 10  (UNUSED)
Edited by Unnoticable
Link to comment
Share on other sites

Unnoticable

Remove 3 from SBMORI

Yeah that was a typo lol but it still doesn't work, turns out cargrp.dat still doesn't work either as they still drive sentinels which are by default.

 

Also a minor problem, after changing the HEX values in ExGangWars.ini their zones are still colorless.

Edited by Unnoticable
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.