Attention:
This is for the discussion and releasing of tutorials for modifying GTA. Anything that isn't a tutorial will be deleted without notification.
- Please read the Official Modification Forum Rules & Procedure BEFORE posting!
- Data topics: The following topics contain information for formatting and writing tutorials.
- Requests are to be made in the pinned topic.
- New topics to this forum are subject to moderation, and will not appear immediately. Pending approval by a moderator, if a topic is deemed unsuitable it will be deleted without notification.
|
GTAGarage.com free mod hosting from GTANet, simply login with your GTAForums account details
GTAModding.com GTANet's modding wiki
GTA Modding Chatroom provided by irc.gtanet.com (Don't have an IRC client? Click here)
|
[TUT] Gangs 9 & 10 How to make them work
 |
|
 |
| |
bmb  |
Posted: Saturday, Jan 1 2011, 17:50
|
"Lots of ideas trying to learn the skills"

Group: Members
Joined: Feb 2, 2010


|
 Gangs 9 & 10 are usable you just have to set them up properly. I came across this when changing around my gang areas in the main.scm. I wanted to put the Russians in Ocean Docks and never noticed they were criminals instead of a gang. So I started looking at the other gangs and changed the Russians the same way and it worked! I will show 2 examples of this in this tutorial. One is the Russian Gang, their territory is in Ocean Docks. the other is a Motorcycle Gang, their territory covers all of Terra Robada. BEFORE BEGINNING BACK UP YOUR FILES!!!Open your peds.ide file with notepad located in C:\Program Files\Rockstar Games\GTA San Andreas\data\ Find these 6 lines | CODE | 111, MAFFA, MAFFA, CRIMINAL, STAT_CRIMINAL, man, 110F,1, null,2,2,PED_TYPE_GEN,VOICE_GEN_MAFFA ,VOICE_GEN_MAFFA 112, MAFFB, MAFFB, CRIMINAL, STAT_CRIMINAL, man, 110F,1, null,2,2,PED_TYPE_GEN,VOICE_GEN_MAFFB ,VOICE_GEN_MAFFB 113, MAFBOSS, MAFBOSS, CRIMINAL, STAT_CRIMINAL, man, 110F,1, null,2,2,PED_TYPE_GANG,VOICE_GNG_MAFBOSS ,VOICE_GNG_MAFBOSS
100, WMYCR, WMYCR, CRIMINAL, STAT_CRIMINAL, man, 110F,1, man,2,6,PED_TYPE_GEN,VOICE_GEN_WMYCR ,VOICE_GEN_WMYCR 247, BIKERA, BIKERA , CIVMALE, STAT_TOUGH_GUY, man, 0,1, null,5,2,PED_TYPE_GEN,VOICE_GEN_BIKERA ,VOICE_GEN_BIKERA 248, BIKERB, BIKERB , CIVMALE, STAT_TOUGH_GUY, man, 0,1, null,2,5,PED_TYPE_GEN,VOICE_GEN_BIKERB ,VOICE_GEN_BIKERB
|
And change them to this | CODE | 111, MAFFA, MAFFA, GANG9, STAT_GANG9, man, 110F,1, null,2,2,PED_TYPE_GEN,VOICE_GEN_MAFFA ,VOICE_GEN_MAFFA 112, MAFFB, MAFFB, GANG9, STAT_GANG9, man, 110F,1, null,2,2,PED_TYPE_GEN,VOICE_GEN_MAFFB ,VOICE_GEN_MAFFB 113, MAFBOSS, MAFBOSS, GANG9, STAT_GANG9, man, 110F,1, null,2,2,PED_TYPE_GANG,VOICE_GNG_MAFBOSS ,VOICE_GNG_MAFBOSS
100, WMYCR, WMYCR, GANG10, STAT_GANG10, man, 100,1, man,2,6,PED_TYPE_GEN,VOICE_GEN_WMYCR ,VOICE_GEN_WMYCR 247, BIKERA, BIKERA , GANG10, STAT_GANG10, man, 0,1, null,5,2,PED_TYPE_GEN,VOICE_GEN_BIKERA ,VOICE_GEN_BIKERA 248, BIKERB, BIKERB , GANG10, STAT_GANG10, man, 0,1, null,2,5,PED_TYPE_GEN,VOICE_GEN_BIKERB ,VOICE_GEN_BIKERB
|
SAVE & CLOSE Next open the pedgrp.dat located in the same folder Scroll down till you find these 2 lines | CODE | VLA1, VLA2, VLA3 # Gang 9 (UNUSED)
VLA1, VLA2, VLA3 # Gang 10 (UNUSED) |
And change them to this | CODE | MAFFA, MAFFB, MAFBOSS # Gang 9 (RUSSIANS)
WMYCR, BIKERA, BIKERB # Gang 10 (BIKERS) |
Also while you’re here find criminals and remove WMYCR or he will spawn around Los Santos and be attacked by other gangs. SAVE & CLOSE Now open up the cargrp.dat located in the same folder Scroll down and find these 2 lines | CODE | sentinel # Gang 9 (UNUSED)
sentinel # Gang 10 (UNUSED) |
And change them to whatever you want, mine look like this | CODE | washing, admiral, esperant # Gang 9 (RUSSIANS)
freeway # Gang 10 (BIKERS) |
SAVE & CLOSE ped.dat & pedstats.dat were already completed by Rockstar so you don’t need to edit them. (That’s how I figured it would work) Almost done, you need to set up there weapons and territory. You can make a small cleo script like I did below or edit your main.scm This is the cleo script I made.I forgot a very important part in my script. BnB pointed this out later in the discussion, so here is his script. | CODE | {$CLEO .cs}
//-------------MAIN--------------- thread "GW"
:GW_11 wait 0 if Player.Defined($PLAYER_CHAR) else_jump @GW_11
:GW_34 0237: set_gang 8 weapons_to 23 30 28 0237: set_gang 9 weapons_to 1 24 25 076C: set_zone 'LDOC1A' gang 8 density_to 60 076C: set_zone 'LDOC1B' gang 8 density_to 60 076C: set_zone 'LDOC2' gang 8 density_to 60 076C: set_zone 'LDOC3A' gang 8 density_to 60 076C: set_zone 'LDOC3B' gang 8 density_to 60 076C: set_zone 'LDOC3C' gang 8 density_to 60 076C: set_zone 'LDOC4' gang 8 density_to 60 076C: set_zone 'ROBAD' gang 9 density_to 90 // Tierra Robada 076C: set_zone 'ROBAD1' gang 9 density_to 90 076C: set_zone 'SUNNN' gang 9 density_to 90 // Bayside 076C: set_zone 'SUNMA' gang 9 density_to 90 // Bayside Marina 076C: set_zone 'ELQUE' gang 9 density_to 90 // El Quebrados 076C: set_zone 'BYTUN' gang 9 density_to 90 // Bayside Tunnel 076C: set_zone 'ALDEA' gang 9 density_to 90 // Aldea Malvada 076C: set_zone 'BARRA' gang 9 density_to 90 // Las Barrancas 076C: set_zone 'ROBINT' gang 9 density_to 90 // Robada Intersection 0A93: end_custom_thread |
Terra Robada is a very large territory so the density is set to 90. That’s all there is to it. You can make your gangs as you see fit. Just remember when you change peds to gang 9 or 10 you want to remove them from the ped groups (pedgrp.dat) there already in. If not your game will sort of end up like the cheat “gangs everywhere” when they are in other gang areas. Final notes: 1- If you want to change any area already occupied by the Ballas, Grove, etc. you have to edit the main.scm or both gangs will spawn in the same area. 2. Gangs 9 & 10 are the only ones allowed, you cannot add gang 11 or the game will crash. I tried it. 3. The game uses BIKERA & BIKERB the same way it uses MALE01. They are random peds that get put in by the game. The game will substitute both BIKERA & BIKERB with the white construction workers which looks kinda funny in country areas. 4. After further testing using BIKERA & BIKERB can cause other changes in the game. Ocean Docks had a lot more cops walking around, probably because the construction workers were moved to the country areas. You might want to extract the .dff & .txd for the bikers from your gta3.img file and rename them replace other peds to make a biker gang. If you want a good map (like I used in the pictures above) of GTA SA areas to help you set up your gangs you can download it from www.myepsilon.org linkHave Fun & Happy New Year!!! This post has been edited by bmb on Sunday, Feb 13 2011, 04:18
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
bmb  |
|
"Lots of ideas trying to learn the skills"

Group: Members
Joined: Feb 2, 2010


|
| QUOTE (Cortador @ Jan 31 2011, 10:16) | | Just one question for me to understand how it works. In pedgrp you set gangs 9 and 10, but in the script you use gangs 8 and 9. How is that? Is something like the first gang being "gang 0" when scripting, or something like that? |
Yes, you're on the right track. If you look in the Sanny Builder help section under SCM Documentation/Gang IDs, The Ballas start at 0. Gang0 Ballas Gang1 Grove Street Families Gang2 Los Santos Vagos Gang3 San Fierro Rifa Gang4 Da Nang Boys Gang5 Mafia Gang6 Mountain Cloud Triad Gang7 Varrio Los Aztecas Gang8 (unused) Gang9 (unused) In the pedgrp.dat the Ballas starts with 1.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
bmb  |
|
"Lots of ideas trying to learn the skills"

Group: Members
Joined: Feb 2, 2010


|
| QUOTE (WhiteRoss @ Feb 10 2011, 20:07) | | First let me say thank you for making this tutorial I did most of the steps added the Russians and the bikers into the text file and all of that and the bikers do pop up in-game towards like Glen Park I don't have cleo installed and I really don't intend on using cleo, but if you could explain a way to make the Russians and the Bikers spawn without the use of using a cleo script or even how I could alter the main.scm whatever its called I would really appreciate it 'fam. Bless. |
If you change your main.scm you have to start a new game. Your save files will make the game crash To edit the main.scm you need to use either BW's GTA SA mission Builder or Sanny Builder. BEFORE BEGINNING BACK UP YOUR FILES!!!Start the program, under the file menu click open. Change the file type to All files (*.*) and navigate to C:\Program Files\Rockstar Games\GTA San Andreas\data\script\. When using BW's GTA SA mission Builder it will ask for a save directory you can just use the default or navigate to your desktop and create a new folder so its easier to find. BW's GTA SA mission Builder will take a little while to load so be patient. Under edit menu select find and type in If you are using the original main.scm it should take you to here and Market Station will be highlighted. | CODE | 08CA: (unknown) 0767: set_zone 'MARKST' popcycle_group_for_peds_to 14 ; Market Station 0767: set_zone 'UNITY' popcycle_group_for_peds_to 5 ; Unity Station | On the line above left click with your mouse after (unknown) and press enter to make a new line. it should look like this | CODE | 08CA: (unknown)
0767: set_zone 'MARKST' popcycle_group_for_peds_to 14 ; Market Station | Copy and paste this in the space you just created | CODE | 0237: set_gang 8 weapons_to 23 30 28 0237: set_gang 9 weapons_to 1 24 25 076C: set_zone 'LDOC1A' gang 8 density_to 60 076C: set_zone 'LDOC1B' gang 8 density_to 60 076C: set_zone 'LDOC2' gang 8 density_to 60 076C: set_zone 'LDOC3A' gang 8 density_to 60 076C: set_zone 'LDOC3B' gang 8 density_to 60 076C: set_zone 'LDOC3C' gang 8 density_to 60 076C: set_zone 'LDOC4' gang 8 density_to 60 076C: set_zone 'ROBAD' gang 9 density_to 90 // Tierra Robada 076C: set_zone 'ROBAD1' gang 9 density_to 90 076C: set_zone 'SUNNN' gang 9 density_to 90 // Bayside 076C: set_zone 'SUNMA' gang 9 density_to 90 // Bayside Marina 076C: set_zone 'ELQUE' gang 9 density_to 90 // El Quebrados 076C: set_zone 'BYTUN' gang 9 density_to 90 // Bayside Tunnel 076C: set_zone 'ALDEA' gang 9 density_to 90 // Aldea Malvada 076C: set_zone 'BARRA' gang 9 density_to 90 // Las Barrancas 076C: set_zone 'ROBINT' gang 9 density_to 90 // Robada Intersection | so it looks like this | CODE | 08CA: (unknown) 0237: set_gang 8 weapons_to 23 30 28 0237: set_gang 9 weapons_to 1 24 25 076C: set_zone 'LDOC1A' gang 8 density_to 60 076C: set_zone 'LDOC1B' gang 8 density_to 60 076C: set_zone 'LDOC2' gang 8 density_to 60 076C: set_zone 'LDOC3A' gang 8 density_to 60 076C: set_zone 'LDOC3B' gang 8 density_to 60 076C: set_zone 'LDOC3C' gang 8 density_to 60 076C: set_zone 'LDOC4' gang 8 density_to 60 076C: set_zone 'ROBAD' gang 9 density_to 90 // Tierra Robada 076C: set_zone 'ROBAD1' gang 9 density_to 90 076C: set_zone 'SUNNN' gang 9 density_to 90 // Bayside 076C: set_zone 'SUNMA' gang 9 density_to 90 // Bayside Marina 076C: set_zone 'ELQUE' gang 9 density_to 90 // El Quebrados 076C: set_zone 'BYTUN' gang 9 density_to 90 // Bayside Tunnel 076C: set_zone 'ALDEA' gang 9 density_to 90 // Aldea Malvada 076C: set_zone 'BARRA' gang 9 density_to 90 // Las Barrancas 076C: set_zone 'ROBINT' gang 9 density_to 90 // Robada Intersection 0767: set_zone 'MARKST' popcycle_group_for_peds_to 14 ; Market Station | If your using BW's GTA SA mission Builder press F7 to compile and go to your save folder and copy the main.scm & script.img and navigate to C:\Program Files\Rockstar Games\GTA San Andreas\data\script\ and paste them there. If your using Sanny Builder press F6 to compile and it will over-right the original. If you did something wrong replace the files with your backups and start over.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Pages:
(4) [1] 2 3 ... Last »
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|