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

 Changing who is armed with which weapon.

 Changing a characters weapon of choice.
 
Jsmith1980  
Posted: Saturday, Apr 14 2012, 18:04
Quote Post


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

XXXXX



Hi all, Im new to these forums and I just had a question about altering the coding on the PC version of Vice City.

I want to be able to alter the weapons the various characters would be carrying at a given time. I dont mean just during a mission, but anytime throughout the game.

For example.

The gangs (Cubans, Haitians and the Wannabes) are all carrying 45 pistols. What if I wanted to give one of the gangs Mac-10s and give another gang Tec-9s? Does anyone know how to do that.

Also during the missions, I would also like to arrange some of the weapon choices. Can this be done easily?

Thanks

Jsmith
PM
  Top
 

 
Bad.boy!  
Posted: Saturday, Apr 14 2012, 18:14
Quote Post


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

nl.gif

XXXXX



QUOTE
I want to be able to alter the weapons the various characters would be carrying at a given time. I dont mean just during a mission, but anytime throughout the game.


You can either use a save game editor, or use this script (if you have cleo installed):
CODE
{$CLEO .cs}

0000: NOP

:NOP
1@ = X //Primary Weapon
2@ = X //Secondary Weapon
3@ = X // Gang

0237: set_gang 3@ primary_weapon_to 1@ secondary_weapon_to 2@
004E: end_thread


Replace X with a weapon or gang number, you can find the weapon and gang numbers in Sanny Builder help-->SCM Documentation-->GTA VC.

QUOTE
Also during the missions, I would also like to arrange some of the weapon choices. Can this be done easily?

You can search for mods for this. And if you want to make your own, no it's not easy (for a beginner).

This post has been edited by Bad.boy! on Saturday, Apr 14 2012, 18:17
PM
  Top
 

 
Jsmith1980  
Posted: Saturday, Apr 14 2012, 18:24
Quote Post


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

XXXXX



Thanks Bad

I am a beginner. The only changes I have made so far are swapping around dff and txd files in the img file and altering the carcols file. I may have to find this CLEO application that you have mentioned.
PM
  Top
 

 
Bad.boy!  
Posted: Saturday, Apr 14 2012, 18:28
Quote Post


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

nl.gif

XXXXX



You can download cleo on this site and Sanny Builder (used to make cleo scripts) here.
PM
  Top
 

 
Jsmith1980  
Posted: Saturday, Apr 14 2012, 18:37
Quote Post


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

XXXXX



Thankyou very much for the info Bad.

I will do a bit of reading on this stuff before I try and change anything. I really dont want to have to reinstall Vice City again.
PM
  Top
 

 
BnB  
Posted: Saturday, Apr 14 2012, 18:49
Quote Post


sh*t Happens
Group Icon
Group: Members
Joined: Jun 28, 2010

gc.gif

Member Award




QUOTE (Jsmith1980 @ Saturday, Apr 14 2012, 20:37)
Thankyou very much for the info Bad.

I will do a bit of reading on this stuff before I try and change anything. I really dont want to have to reinstall Vice City again.

It won't harm your game, you can easily uninstall it if you want. Check the III Coding Directory , where you will find tutorials for CLEO, although, these tutorials are about SA they can be applied to VC as well.
PM
  Top
 

 
Jsmith1980  
Posted: Saturday, Apr 14 2012, 21:31
Quote Post


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

XXXXX



Thanks BnB

Those tutorials look really big. Im sure once I have read through them a couple of times, I will pick it up.

Thanks
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