IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

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)


  Reply to this topicStart new topicStart Poll

 How to change the weapons used by gangs in Vice?

 I downloaded the gta 3 gangs for vc...
 
nrdani  
Posted: Thursday, Apr 26 2012, 19:55
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 21, 2012

gr.gif

XXXXX



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?
PM
  Top
 

 
JACK JONES  
Posted: Thursday, Apr 26 2012, 20:31
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



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.
PM
  Top
 

 
Jsmith1980  
Posted: Friday, Apr 27 2012, 20:07
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



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
PM
  Top
 

 
JACK JONES  
Posted: Friday, Apr 27 2012, 20:34
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



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.

PM
  Top
 

 
Jsmith1980  
Posted: Friday, Apr 27 2012, 20:58
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



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
PM
  Top
 

 
Jsmith1980  
Posted: Friday, Apr 27 2012, 21:13
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



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

Do I have to change that also?

I will give that a shot.
PM
  Top
 

 
Jsmith1980  
Posted: Friday, Apr 27 2012, 21:27
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



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

 
JACK JONES  
Posted: Saturday, Apr 28 2012, 04:43
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



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.
PM
  Top
 

 
Ashwin the new boy  
Posted: Saturday, Apr 28 2012, 07:02
Quote Post


I am The Most Confused Person
Group Icon
Group: Members
Joined: Nov 14, 2010

ia.gif

XXXXX



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

 
Jsmith1980  
Posted: Saturday, Apr 28 2012, 07:50
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



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.

PM
  Top
 

 
JACK JONES  
Posted: Saturday, Apr 28 2012, 08:43
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



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.
PM
  Top
 

 
Jsmith1980  
Posted: Saturday, Apr 28 2012, 09:07
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



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.
PM
  Top
 

 
Jsmith1980  
Posted: Saturday, May 5 2012, 19:30
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 18, 2012

XXXXX



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
PM
  Top
 

 
Bad.boy!  
Posted: Saturday, May 5 2012, 20:20
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



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.
PM
  Top
 

 
Taturuman  
Posted: Wednesday, Feb 27 2013, 01:42
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Feb 27, 2013

XXXXX



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

Thanks Taturuman

This post has been edited by Taturuman on Wednesday, Feb 27 2013, 01:46
PM
  Top
 

 
JACK JONES  
Posted: Wednesday, Feb 27 2013, 07:09
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



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

This post has been edited by JACK JONES on Wednesday, Feb 27 2013, 07:34
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG