Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (84,921 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

nrdani

How to change the weapons used by gangs in Vice?

Recommended Posts

nrdani

I downloaded the gta 3 gangs for vice city, and i want to change their weapons like in gta 3. I saw a video where it was done, but i don't really know how to. confused.gif

Can you help me guys?

 

Share this post


Link to post
Share on other sites
Jack

It's easy. Just download Sanny Builder program and open "C:\Program Files\Rockstar Games\Grand Theft Auto Vice City\data\main.scm" (don't forget to select Vice City in the lower right corner of Sanny Builder). The text will show up - find this line:

 

0237: set_gang 0 primary_weapon_to 17 secondary_weapon_to 0

 

You'll see more of these similar lines for all gangs below that line. All weapons and gangs have their numbers. Use Sanny Builder help (contents, SCM documentation, GTA VC, weapon numbers and gang numbers) to change them as you like. After you finish click run-compile. That's it.

Share this post


Link to post
Share on other sites
Jsmith1980

I had tried this and I made the changes as you instructed, but when I start up the game, the changes are not there.

 

Is there something else I need to do?

 

Thanks

 

JSmith

Share this post


Link to post
Share on other sites
Jack

Did you find these lines:

 

0237: set_gang 0 primary_weapon_to 17 secondary_weapon_to 0 0237: set_gang 1 primary_weapon_to 17 secondary_weapon_to 0 0237: set_gang 2 primary_weapon_to 17 secondary_weapon_to 0 0237: set_gang 3 primary_weapon_to 17 secondary_weapon_to 17 0237: set_gang 4 primary_weapon_to 17 secondary_weapon_to 17 0237: set_gang 5 primary_weapon_to 17 secondary_weapon_to 0 0237: set_gang 6 primary_weapon_to 17 secondary_weapon_to 17

 

If you did then just change the number 17 (which is colt45 weapon) to a weapon you want. For example we want to change the Cuban (gang 0) pistols(17) to m4(26). Change number 17 to 26. And did you click run - compile after you finished? Also my answer is for Vice City only.

 

 

Share this post


Link to post
Share on other sites
Jsmith1980

Hi Jack

 

Yes I did.

 

I just checked the file again this minute and the changes I have made are still there. The only problem is when I load up the game, all the gangs are still carrying handguns.

 

Thanks

 

JSmith

Share this post


Link to post
Share on other sites
Jsmith1980

There is a text file also in the data folder!!!

 

Do I have to change that also?

 

I will give that a shot.

Share this post


Link to post
Share on other sites
Jsmith1980

Nah, the text matched the .scm file. I hope this doesnt mean a reinstall.

Share this post


Link to post
Share on other sites
Jack

Well you can't expect that changes happen when you load a game. You have to start a new game and then the gangs will have a new weapons. And next time when you want to write more text use EDIT instead of ADD REPLY.

 

Share this post


Link to post
Share on other sites
Ashwin.Star

Find VC Savegame editor,

& there is a option of changing that thing.

good luck

Share this post


Link to post
Share on other sites
Jsmith1980

I started a new game and it seems to have worked so far. I just wondered how I could change the weapons of the ....

 

1) SWAT team

2) National guard

3) Vice cops

 

They arent listed under the gangs category, I have had a look around that whole file but cant find them anywhere.

 

 

Share this post


Link to post
Share on other sites
Jack

They are hardcoded - not located in main.scm file but in gta vc.exe. Only professional coders could change their weapons via coding. But if you want to change their textures and models then download a few weapon mods. Same for a weapon sounds - download a mod.

Share this post


Link to post
Share on other sites
Jsmith1980

Thanks Jack

 

I will continue on with what I have done so far.

 

Im not sure what the coding means by the term "secondary weapon" when each character was only given one weapon to begin with. I have given each gang both a primary and a secondary weapon to make things more interesting.

 

I wanted to keep things within the borders of reality and not have street gangs walking around with high powered assault weapons.

 

I have realistic weapon mods for every single firearm in the game. The Ruger now looks awesome and the "M4" is now an M16-A1.

 

All the sound effects are now different too.

Share this post


Link to post
Share on other sites
Jsmith1980

Would anyone in these forums know how I could change the coding in the gta vc.exe file?

 

I have changed the firearms in almost every mission in the game so far. Some of the weapon choices in the game by the coders just never made any sense to me.

 

I want to change the firearms for the SWAT guys and the national guard. Surely it cant be that much more difficult than altering the main.scm file?

 

Thanks

 

John

Share this post


Link to post
Share on other sites
Bad.boy!

 

Im not sure what the coding means by the term "secondary weapon" when each character was only given one weapon to begin with.

 

Each gangmember has one weapon. Some have the primary weapon and others have the secondary weapon, it's random.

 

 

I want to change the firearms for the SWAT guys and the national guard. Surely it cant be that much more difficult than altering the main.scm file?

 

As JACK JONES already told you it's stored in vc.exe . You need to locate the memory adress that contains the weapons of the police and change it.

Share this post


Link to post
Share on other sites
Taturuman

What Gang is which in the set because I would like to change the vercetti gangs gun

 

Thanks Taturuman

Edited by Taturuman

Share this post


Link to post
Share on other sites
Jack

A year old bump - nice one icon14.gif. Go Sanny Builder help - contents - SCM documentation - GTA VC - gang IDs.

Edited by JACK JONES

Share this post


Link to post
Share on other sites
maurice16

 

0237: set_gang 0 primary_weapon_to 17 secondary_weapon_to 0

 

 

 

If you set

secondary_weapon_to 0

to a weapon number, the gang members will be carry either or? Or will this mean each gang member will have 2 weapons

Share this post


Link to post
Share on other sites
ChpokXxX

A year old bump - nice one icon14.gif. Go Sanny Builder help - contents - SCM documentation - GTA VC - gang IDs.

 

 

 

Hey jack sorry for bump, but I did changed the gang weapons to (26) but they are just using their pistols, and I started a new game and nada.
please help, I might think that it's something with main.text and main[0].txt
thanks jack.

Share this post


Link to post
Share on other sites
Jack

ChpokXxX don't bump a thousand year old topics. Create your own topic and there you can mention this topic (for example).
And this is the last time I'm posting here:
Forget main.scm - you'll ruin your save games. There's much quicker and easier way - CLEO for VC - download it here:
http://cleo.li/download
Use this after you install CLEO:

{$CLEO}0000: GWREPEAT    wait 250                              UNTIL 0256: player $PLAYER_CHAR defined0237: set_gang 0 primary_weapon_to 26 secondary_weapon_to 26  // Cubans0237: set_gang 1 primary_weapon_to 26 secondary_weapon_to 26  // Haitians0237: set_gang 2 primary_weapon_to 26 secondary_weapon_to 26  // Army gang and the Street wannabees0237: set_gang 3 primary_weapon_to 26 secondary_weapon_to 26  // Columbians (Diaz's)0237: set_gang 4 primary_weapon_to 26 secondary_weapon_to 26  // Renta Cops (PIGs)0237: set_gang 5 primary_weapon_to 26 secondary_weapon_to 26  // Bikers (not on foot)0237: set_gang 6 primary_weapon_to 26 secondary_weapon_to 26  // Vercetti (yours)0237: set_gang 7 primary_weapon_to 26 secondary_weapon_to 26  // Golfers0237: set_gang 8 primary_weapon_to 26 secondary_weapon_to 26  // Army 2 - Not present in game (not able to shoot on long distances)05DC: end_custom_thread

And here's the best CLEO tutorial:
http://gtaforums.com/topic/403594-gta-sa-cleo-script-tutorial/

 

EDIT: To bellow:

*enormous facepalm*

Edited by Jack...

Share this post


Link to post
Share on other sites
ChpokXxX

ChpokXxX don't bump a thousand year old topics. Create your own topic and there you can mention this topic (for example).

And this is the last time I'm posting here:

Forget main.scm - you'll ruin your save games. There's much quicker and easier way - CLEO for VC - download it here:

http://cleo.li/download

Use this after you install CLEO:

{$CLEO}0000: GWREPEAT    wait 250                              UNTIL 0256: player $PLAYER_CHAR defined0237: set_gang 0 primary_weapon_to 26 secondary_weapon_to 26  // Cubans0237: set_gang 1 primary_weapon_to 26 secondary_weapon_to 26  // Haitians0237: set_gang 2 primary_weapon_to 26 secondary_weapon_to 26  // Army gang and the Street wannabees0237: set_gang 3 primary_weapon_to 26 secondary_weapon_to 26  // Columbians (Diaz's)0237: set_gang 4 primary_weapon_to 26 secondary_weapon_to 26  // Renta Cops (PIGs)0237: set_gang 5 primary_weapon_to 26 secondary_weapon_to 26  // Bikers (not on foot)0237: set_gang 6 primary_weapon_to 26 secondary_weapon_to 26  // Vercetti (yours)0237: set_gang 7 primary_weapon_to 26 secondary_weapon_to 26  // Golfers0237: set_gang 8 primary_weapon_to 26 secondary_weapon_to 26  // Army 2 - Not present in game (not able to shoot on long distances)05DC: end_custom_thread

And here's the best CLEO tutorial:

http://gtaforums.com/topic/403594-gta-sa-cleo-script-tutorial/

 

 

 

i am rokie with this things, i have done what you said copy paste your code to sanny then opened and saved (wrong maybe?) started new game and nothing changed

Edited by ChpokXxX

Share this post


Link to post
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

×

Important Information

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