Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Gang Cars


Illusive Prime
 Share

Recommended Posts

Illusive Prime

I know you can change the cars of peds, like Grove Street to drive limos.

 

But I was wondering if it is possible to mod what colour the gang cars have with it effecting the different people.

 

Like Grove street to drive green Greenwoods and civilians and other people who use that vehicle to have random colours.

 

Can it be done?

Link to comment
Share on other sites

The non-hooking way to do this would likely be to create a duplicate of the cars you want (using the usual methods to 'add cars', I don't know how stable they generally are - you could try) and setting the carcols for those models to the gang colors.

SsZgxdL.png

Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding!

Link to comment
Share on other sites

Illusive Prime
The non-hooking way to do this would likely be to create a duplicate of the cars you want (using the usual methods to 'add cars', I don't know how stable they generally are - you could try) and setting the carcols for those models to the gang colors.

How would I do this?

Sorry, I'm not good when it comes to modding.

Link to comment
Share on other sites

Tutorial is about adding new vehicle to game while using an old DFF and TXD.

 

Download last version of Vehicle Audio Loader

 

Download MoreVehicles.asi. Put to GTA SA directory. It is used to hook up limit of max number of vehicles which is 212 vehicles by default, to 1000 vehicles.

 

 

Open cargrp.dat, see what vehicles you want to duplicate

 

greenwoo, savanna, voodoo            # Gang 2 (FAMILIES - PLAYER - BLACK)

 

Let's say it will be greenwoo

 

Open models\gta3.img (or models\vehicles.img if you have IMG Organizer installed).

Extract model greenwoo.dff, greenwoo.txd

Rename it to redwoo.dff, redwoo.txd for instance.

Import redwoo.dff and redwoo.txd to IMG archive.

 

Open data\vehicles.ide

Find greenwoo. It is:

 

492,  greenwoo,  greenwoo,  car,  	GREENWOO,  GREENWO,  null,	poorfamily,	10,  0,	0,  -1, 0.7, 0.7,  0

 

 

Copy it to the place before "end" in vehicles.ide, it's place past the line of 611 vehicle.

 

So it will be:

 

611,  utiltr1,  utiltr1,  trailer,	UTIL_TR1,  UTILTR1,  null,	ignore,  	4,	0,	0,  -1, 0.68, 0.68,  -1492,  greenwoo,  greenwoo,  car,  	GREENWOO,  GREENWO,  null,	poorfamily,	10,  0,	0,  -1, 0.7, 0.7,  0end

 

 

Edit model and TXD name to "redwoo".

ID has to be changed, every new game IDE declared entity must have unique ID. Use any of these IDs:

 

Free IDs in standard unmodified  GTA San Andreas (generated by Free ID list generator on unmodified GTA SA, made by fastman92.tk):2-6, 8, 42, 65, 74, 86, 119, 149, 208, 265-273, 289, 329, 332, 340, 382-383, 398-399, 612-614, 662-663, 665-668, 699, 793-799, 907-909, 965, 999, 1194-1206, 1326, 1573, 1699, 2883-2884, 3136-3166, 3176-3177, 3179-3186, 3188-3192, 3194-3213, 3215-3220, 3222-3240, 3245, 3247-3248, 3251, 3254, 3266, 3348-3349, 3416, 3429, 3610-3611, 3784, 3870-3871, 3883, 3889, 3974, 4542-4549, 4763-4805, 5085, 5090-5104, 5376-5389, 5683-5702, 6011-6034, 6254, 6258-6279, 6348, 6526-6862, 7393-7414, 7974-7977, 9194-9204, 9268, 9479-9481, 10311-10314, 10745-10749, 11418-11419, 11682-12799, 13564-13589, 13668-13671, 13891-14382, 14529, 14555, 14557, 14644-14649, 14658-14659, 14696-14698, 14729-14734, 14766-14769, 14857, 14884, 14899, 14904-15024, 15065-15999, 16791-16999, 17475-17499, 17975, 17977, 17979-17999, 18037, 18103, 18106-18108, 18110-18111, 18113-18199, 18631-19999

 

Keep in mind that some of them may be used on modded game.

 

Let's say i will change it to unused ID 612:

 

612,  redwoo,  redwoo,  car,  	GREENWOO,  GREENWO,  null,	poorfamily,	10,  0,	0,  -1, 0.7, 0.7,  0end

 

Save file vehicles.ide.

 

Open data\carcols.dat.

Find line of greenwoo

 

greenwoo, 30,26, 77,26, 81,27, 24,55, 28,56, 49,59, 52,69, 71,107

 

Copy it. Past it before an end, here:

 

zr350, 92,1, 94,1, 101,1, 121,1, 0,1, 22,1, 36,1, 75,1  end

 

 

So it becomes

 

zr350, 92,1, 94,1, 101,1, 121,1, 0,1, 22,1, 36,1, 75,1  greenwoo, 30,26, 77,26, 81,27, 24,55, 28,56, 49,59, 52,69, 71,107end

 

Change "greenwoo" with "redwoo".

 

Change colors of "redwoo" vehicles to be different from greenwoo now.

Pairs (2 colors) of colors for vehicle are required.

You can copy colors from other vehicle as well.

 

Open data\carmods.dat

Find line of greenwoo.

 

greenwoo, bnt_b_sc_l, bnt_b_sc_m, nto_b_l, nto_b_s, nto_b_tw, rf_b_sc_r, spl_b_bbr_m, spl_b_mar_m

 

Copy it. Paste it before an end:

 

#nrg500, exh_bk_nr_sa, exh_bk_nr_ta, exh_bk_nr_tc, misc_a_bk_nr1, misc_a_bk_nr2, nto_bk_s, nto_bk_tw#pcj600, exh_bk_pc_sa, exh_bk_pc_ta, exh_bk_pc_tc, misc_a_bk_pc1, misc_a_bk_pc2, nto_bk_s, nto_bk_twgreenwoo, bnt_b_sc_l, bnt_b_sc_m, nto_b_l, nto_b_s, nto_b_tw, rf_b_sc_r, spl_b_bbr_m, spl_b_mar_mend

 

 

Change greenwoo to redwoo.

Save carmods.dat file.

 

Unpack latest Vehicle Audio Loader if you didn't do it yet.

Open data\vehicleAudioSettings.cfg, it's best viewed in Notepad++

 

Find an entry of greenwoo

 

greenwoo    0    95  94  0  	0.85000002384186	1.0    	7  	1.1224620342255  2  	6  	0  	45  	0.0

 

 

Copy it. Add this somewhere. Preferably search this text:

 

; you will add entries of new vehicles probably here

 

Remove this comment (comment is ignored anyway).

Paste entry of greenwoo here.

 

Change greenwoo to redwoo.

 

 

; you will add entries of new vehicles probably hereredwoo    	0    95  94  0  	0.85000002384186	1.0    	7  	1.1224620342255  2  	6  	0  	45  	0.0;

 

 

Open data\cargrp.dat again.

Search groups where you want to add redwoo, civil groups and leave greewoo only for gangs. Search for greenwoo and replace to redwoo if it isn't gang group.

Save file.

 

Information: cargrp.dat has limit, 23 vehicles per group. If you put more than 23 vehicles, game won't crash. Simply 24th, 25th, 26th... (23 + n)th vehicle will never appear in game traffic.

 

That's all.

Edited by fastman92
Link to comment
Share on other sites

Or a simple script way:

 

GET_OFFSET_FROM_CHAR_IN_WORLD_COORDS scplayer -100.0 -100.0 0 STORE_TO [email protected] [email protected] [email protected]_OFFSET_FROM_CHAR_IN_WORLD_COORDS scplayer 100.0 100.0 0 STORE_TO [email protected] [email protected] [email protected]_RANDOM_CAR_OF_TYPE_IN_AREA [email protected] [email protected] to [email protected] [email protected] MODEL #GREENWOO STORE_TO [email protected] NOT [email protected] == -1THEN   GET_DRIVER_OF_CAR [email protected] [email protected]   // (no save)   IF NOT [email protected] == -1   THEN       IF NOT IS_CHAR_DEAD [email protected]       THEN           GET_PED_TYPE [email protected] [email protected]           IF [email protected] == PEDTYPE_GROVE           THEN               CHANGE_CAR_COLOUR [email protected] 44 44           END       END   END   MARK_CAR_AS_NO_LONGER_NEEDED [email protected]

 

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.