Quantcast

Jump to content

» «
Photo

How to change the weapons used by gangs in Vice?

16 replies to this topic
nrdani
  • nrdani

    Player Hater

  • Members
  • Joined: 21 Jan 2012
  • None

#1

Posted 26 April 2012 - 07:55 PM

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?

Jack...
  • Jack...

    Wanted Level modifications

  • Members
  • Joined: 06 Dec 2011
  • Serbia

#2

Posted 26 April 2012 - 08:31 PM

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:
CODE
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.

Jsmith1980
  • Jsmith1980

    Player Hater

  • Members
  • Joined: 18 Feb 2012

#3

Posted 27 April 2012 - 08:07 PM

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

Jack...
  • Jack...

    Wanted Level modifications

  • Members
  • Joined: 06 Dec 2011
  • Serbia

#4

Posted 27 April 2012 - 08:34 PM

Did you find these lines:
CODE
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.


Jsmith1980
  • Jsmith1980

    Player Hater

  • Members
  • Joined: 18 Feb 2012

#5

Posted 27 April 2012 - 08:58 PM

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

Jsmith1980
  • Jsmith1980

    Player Hater

  • Members
  • Joined: 18 Feb 2012

#6

Posted 27 April 2012 - 09:13 PM

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

Do I have to change that also?

I will give that a shot.

Jsmith1980
  • Jsmith1980

    Player Hater

  • Members
  • Joined: 18 Feb 2012

#7

Posted 27 April 2012 - 09:27 PM

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

Jack...
  • Jack...

    Wanted Level modifications

  • Members
  • Joined: 06 Dec 2011
  • Serbia

#8

Posted 28 April 2012 - 04:43 AM

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.

Ashwin.Star
  • Ashwin.Star

    I'm a Business Boy Now !

  • Members
  • Joined: 14 Nov 2010
  • India

#9

Posted 28 April 2012 - 07:02 AM

Find VC Savegame editor,
& there is a option of changing that thing.
good luck

Jsmith1980
  • Jsmith1980

    Player Hater

  • Members
  • Joined: 18 Feb 2012

#10

Posted 28 April 2012 - 07:50 AM

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.


Jack...
  • Jack...

    Wanted Level modifications

  • Members
  • Joined: 06 Dec 2011
  • Serbia

#11

Posted 28 April 2012 - 08:43 AM

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.

Jsmith1980
  • Jsmith1980

    Player Hater

  • Members
  • Joined: 18 Feb 2012

#12

Posted 28 April 2012 - 09:07 AM

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.

Jsmith1980
  • Jsmith1980

    Player Hater

  • Members
  • Joined: 18 Feb 2012

#13

Posted 05 May 2012 - 07:30 PM

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

Bad.boy!
  • Bad.boy!

    SA modder

  • Members
  • Joined: 20 Jun 2010

#14

Posted 05 May 2012 - 08:20 PM

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

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

Taturuman
  • Taturuman

    Player Hater

  • Members
  • Joined: 27 Feb 2013

#15

Posted 27 February 2013 - 01:42 AM Edited by Taturuman, 27 February 2013 - 01:46 AM.

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

Thanks Taturuman

Jack...
  • Jack...

    Wanted Level modifications

  • Members
  • Joined: 06 Dec 2011
  • Serbia

#16

Posted 27 February 2013 - 07:09 AM Edited by JACK JONES, 27 February 2013 - 07:34 AM.

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

maurice16
  • maurice16

    Modder to the Maxx

  • Members
  • Joined: 02 Apr 2013

#17

Posted 15 July 2013 - 04:53 AM

QUOTE (JACK JONES @ Thursday, Apr 26 2012, 20:31)

CODE
0237: set_gang 0 primary_weapon_to 17 secondary_weapon_to 0



If you set
CODE
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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users