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

 San Andreas - Make any car do vigilante missions?

 
s282  
Posted: Saturday, Jul 28 2012, 04:56
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jul 25, 2012

XXXXX



Yo,

I recently downloaded the Tumbler and Batpod models and I'm having a blast rocking around in them. I'd like to do vigilante missions from the vehicles though to replicate the whole chasing criminals thing.

I know a few Batman conversions offer this, but they also add a lot of crap I don't want. is there any way to make any vehicle do vigilante missions? Is it as simple as editing a cfg file?

Thanks, any help would be great
PM
  Top
 

 
fireguy109  
Posted: Saturday, Jul 28 2012, 05:08
Quote Post


Chronic post editor.
Group Icon
Group: Leone Family Mafia
Joined: Aug 30, 2010

us.gif

XXXXX



You should be able to edit the main.scm file and make it work. Search for the vigilante mission trigger and where it says
CODE
00DE:   player $PLAYER_CHAR driving_vehicle_type #POLICE
00DE:   player $PLAYER_CHAR driving_vehicle_type #ENFORCER
00DE:   player $PLAYER_CHAR driving_vehicle_type #RHINO
00DE:   player $PLAYER_CHAR driving_vehicle_type #FBICAR

add your car.
CODE
00DE:   player $PLAYER_CHAR driving_vehicle_type #POLICE
00DE:   player $PLAYER_CHAR driving_vehicle_type #ENFORCER
00DE:   player $PLAYER_CHAR driving_vehicle_type #RHINO
00DE:   player $PLAYER_CHAR driving_vehicle_type #FBICAR
00DE:   player $PLAYER_CHAR driving_vehicle_type #BATPOD

Also, if it says
CODE
80DE:   not player $PLAYER_CHAR driving_vehicle_type #POLICE
80DE:   not player $PLAYER_CHAR driving_vehicle_type #ENFORCER
80DE:   not player $PLAYER_CHAR driving_vehicle_type #RHINO
80DE:   not player $PLAYER_CHAR driving_vehicle_type #FBICAR

add your car
CODE
80DE:   not player $PLAYER_CHAR driving_vehicle_type #POLICE
80DE:   not player $PLAYER_CHAR driving_vehicle_type #ENFORCER
80DE:   not player $PLAYER_CHAR driving_vehicle_type #RHINO
80DE:   not player $PLAYER_CHAR driving_vehicle_type #FBICAR
80DE:   not player $PLAYER_CHAR driving_vehicle_type #BATPOD

Same thing anywhere it checks what the player is driving.

Note this code is just an example I pulled from a III scm, SA will be slightly different but the same principle applies.
Users WebsitePMPlayStation Network
  Top
 

 
SilentPL  
Posted: Saturday, Jul 28 2012, 12:17
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




The problem is, SA has one opcode for checking all police vehicles. Luckily, Hunter isn't considered as a police vehicle, so he needs to change all instances of

CODE
if or
056C:   actor $PLAYER_ACTOR driving_police_car
00DD:   actor $PLAYER_ACTOR driving_car_with_model #HUNTER


to

CODE
if or
056C:   actor $PLAYER_ACTOR driving_police_car
00DD:   actor $PLAYER_ACTOR driving_car_with_model #HUNTER
00DD:   actor $PLAYER_ACTOR driving_car_with_model #BATPOD


Also the global R3 check needs to be expanded:

CODE
:R3_110
if or
0602:   actor $PLAYER_ACTOR driving_taxi
00DD:   actor $PLAYER_ACTOR driving_car_with_model #AMBULAN
00DD:   actor $PLAYER_ACTOR driving_car_with_model #FIRETRUK
00DD:   actor $PLAYER_ACTOR driving_car_with_model #HUNTER
00DD:   actor $PLAYER_ACTOR driving_car_with_model #BOXBURG
056C:   actor $PLAYER_ACTOR driving_police_car
else_jump @R3_2901


->

CODE
:R3_110
if or
0602:   actor $PLAYER_ACTOR driving_taxi
00DD:   actor $PLAYER_ACTOR driving_car_with_model #AMBULAN
00DD:   actor $PLAYER_ACTOR driving_car_with_model #FIRETRUK
00DD:   actor $PLAYER_ACTOR driving_car_with_model #HUNTER
00DD:   actor $PLAYER_ACTOR driving_car_with_model #BATPOD
00DD:   actor $PLAYER_ACTOR driving_car_with_model #BOXBURG
056C:   actor $PLAYER_ACTOR driving_police_car
else_jump @R3_2901


The same applies to negated checks, all instances of

CODE
if and
856C:   not actor $PLAYER_ACTOR driving_police_car
80DD:   not actor $PLAYER_ACTOR driving_car_with_model #HUNTER


need to be changed to

CODE
if and
856C:   not actor $PLAYER_ACTOR driving_police_car
80DD:   not actor $PLAYER_ACTOR driving_car_with_model #HUNTER
80DD:   not actor $PLAYER_ACTOR driving_car_with_model #BATPOD


The problem is, as you were messing with R3 thread (expanding COPCAR mission is fine), you need to start a new game. There IS a workaround for it though - it's possible to port the R3 script into CLEO script and cut it down to only starting Vigilante when you're in your custom vehicle.
Users WebsitePMMSNXbox Live
  Top
 

 

1 User(s) are reading this topic (1 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