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 make gangs automatically attack me? (Vice)

 it's too easy by default
 
nrdani  
Posted: Saturday, Aug 4 2012, 11:17
Quote Post


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

gr.gif

XXXXX



I would like to make all gangs except Vercetti gang to attack me autmatically not only when i shot/punch/knock over one of them, i tried some ways but it didn't works, so guys can you give me advice?
PM
  Top
 

 
Ashwin the new boy  
Posted: Saturday, Aug 4 2012, 12:52
Quote Post


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

ia.gif

XXXXX



after completing the game,
i have noticed that "Haitians" attack player without any reason,
exactly like you want
Am i right ???
Users WebsitePM
  Top
 

 
JACK JONES  
Posted: Saturday, Aug 4 2012, 13:36
Quote Post


firearms and adrenaline
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



Yes but he wants that all gangs are aggressive (except his):
CODE
{$CLEO .cs}
thread 'Jack'

:0
wait 250
if
0256:   player $PLAYER_CHAR defined
jf @0

:Cubans
wait 0
05E0: 0@ = read_memory 0xA0DA80 size 4 virtual_protect 0
000A: 0@ += 0x18 // integer values
05E0: 1@ = read_memory 0@ size 1 virtual_protect 0
if
8039:   NOT   1@ == 1 // integer values
jf @Haitians
05DF: write_memory 0@ size 1 value 1 virtual_protect 0      

:Haitians
wait 0
05E0: 3@ = read_memory 0xA0DA84 size 4 virtual_protect 0
000A: 3@ += 0x18 // integer values
05E0: 4@ = read_memory 3@ size 1 virtual_protect 0
if
8039:   NOT   4@ == 127 // integer values
jf @SW
05DF: write_memory 3@ size 1 value 127 virtual_protect 0

:SW
wait 0
05E0: 5@ = read_memory 0xA0DA88 size 4 virtual_protect 0
000A: 5@ += 0x18 // integer values
05E0: 6@ = read_memory 5@ size 1 virtual_protect 0
if
8039:   NOT   6@ == 127 // integer values
jf @Diaz
05DF: write_memory 5@ size 1 value 127 virtual_protect 0

:Diaz
wait 0
05E0: 7@ = read_memory 0xA0DA8C size 4 virtual_protect 0
000A: 7@ += 0x18 // integer values
05E0: 8@ = read_memory 7@ size 1 virtual_protect 0
if
8039:   NOT   8@ == 127 // integer values
jf @Pigs
05DF: write_memory 7@ size 1 value 127 virtual_protect 0

:Pigs
wait 0
05E0: 9@ = read_memory 0xA0DA90 size 4 virtual_protect 0
000A: 9@ += 0x18 // integer values
05E0: 10@ = read_memory 9@ size 1 virtual_protect 0
if
8039:   NOT   10@ == 127 // integer values
jf @Bikers
05DF: write_memory 9@ size 1 value 127 virtual_protect 0
 
:Bikers
wait 0
05E0: 11@ = read_memory 0xA0DA94 size 4 virtual_protect 0
000A: 11@ += 0x18 // integer values
05E0: 12@ = read_memory 11@ size 1 virtual_protect 0
if
8039:   NOT   12@ == 127 // integer values
jf @Golfers
05DF: write_memory 11@ size 1 value 127 virtual_protect 0
 
:Golfers
wait 0
05E0: 13@ = read_memory 0xA0DA9C size 4 virtual_protect 0
000A: 13@ += 0x18 // integer values
05E0: 14@ = read_memory 13@ size 1 virtual_protect 0
if
8039:   NOT   14@ == 127 // integer values
jf @Check1
05DF: write_memory 13@ size 1 value 127 virtual_protect 0

:Check1
wait 0
if
8256:   not player $PLAYER_CHAR defined
jf @Cubans
jump @0

It also works with the original PC game (if you have xbox it ain't gonna work).

EDIT: If you don't have the PC version then you can input the codes I gave into the main.scm. If you have PC game then just install Sanny Builder and CLEO setup for VC, put the code into some text document, save it, place the document into the CLEO folder of VC root, open it with SB, run, compile - you're done. Also you asked abot the police weapons - I can change that too - I already made a mod on the gtagarage but it's not released yet.

This post has been edited by JACK JONES on Saturday, Aug 4 2012, 14:17
PM
  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