Quantcast

Jump to content

» «
Photo

[SA]Wars with other gangs

123 replies to this topic
Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#1

Posted 26 January 2014 - 02:37 PM

Hello. My question in this topic is, how can I enable gang-wars with other gangs in the game? It requires .exe editing as far as I know. Someone said once this:

 

I think maybe you can change the territory colors with memory addresses.

 
CODE
0xBA1DF0 - beginning of ZonePop structure
 
ZonePop Structure:
 0x00  byte        Gang 0 Density (set by opcode 076C)
 0x01  byte        Gang 1 Density (set by opcode 076C)
 0x02  byte        Gang 2 Density (set by opcode 076C)
 0x03  byte        Gang 3 Density (set by opcode 076C)
 0x04  byte        Gang 4 Density (set by opcode 076C)
 0x05  byte        Gang 5 Density (set by opcode 076C)
 0x06  byte        Gang 6 Density (set by opcode 076C)
 0x07  byte        Gang 7 Density (set by opcode 076C)
 0x08  byte        Gang 8 Density (set by opcode 076C)
 0x09  byte        Gang 9 Density (set by opcode 076C)
 0x0A  byte        Dealer Density (set by opcode 076A)
 0x0B  byte[4]     RBGA color of zone on map/radar
 0x0F  byte        Popcycle Group (set by opcode 0767)
 0x10  byte        Ped-related (set by opcode 0874)
 0x11  (end)
So, if someone is interested, can someone help me and a friend of mine to make wars with other gangs possible?

 


iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#2

Posted 26 January 2014 - 06:01 PM Edited by iFarbod, 26 January 2014 - 06:01 PM.

You want to provoke gang war with which of these :

 

strength of 0, density is between 1 to 14, armed with Baseball Bats, Pistols, Micro-Uzi/Micro-SMG, and SMG
strength of 1, rival density is between 15 to 29, armed with Pistols, Micro-Uzi/Micro-SMGs, SMGs, and AK-47
strength of 2, rival density is between 30 and above, armed with Micro-Uzi/Micro-SMGs, MP5s/SMGs, and AK-47s
strength of 3, is more than 30, armed with MP5s/SMGs, AK-47s, and Desert Eagles
strength of 4 may crashes Maybe armed with Pump Action Shotguns
strength of 5 may crashes Pump Shotguns M4 AK-47
strength of 6 may crashes Minigun Combat Shotgun RPG
 
The gang wars can do with weapons only. similar this not can doed with sawnoff shotgun.
  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#3

Posted 26 January 2014 - 06:06 PM Edited by Jeansowaty, 26 January 2014 - 06:08 PM.

I meant that I would like to war with gangs like the Aztecas, Rifa, Triads, Vietnamese etc. But thanks for the info.


iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#4

Posted 26 January 2014 - 06:06 PM

Doing driveby in gang wars also (always is) passenger ped armed with Micro-Uzi. Not can be changed without mods.

You can use up to 20 actors (gang peds) for the gang war. and you can select some cars for doing drive-bys.

and you can select wich cars make roadblocks to defend the territory.

  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#5

Posted 26 January 2014 - 06:12 PM

Yeah I knew about that. I'm now trying to figure out on how to do wars with the Rifa. I heard that to trigger a war with any gang you'll have to kill three Ballas/Vagos in any turf. My friend is checking the war with four waves :D, gonna post info about it :D

  • iFarbod likes this

iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#6

Posted 26 January 2014 - 06:21 PM

You want this? :

http://i.imgur.com/H8h8W4R.jpg

H8h8W4R.jpg

  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#7

Posted 26 January 2014 - 06:24 PM

Yes that's what I want! But not that they'll attack me via a glitch gotten by killing 3 Ballas in Rifa turf.


iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#8

Posted 26 January 2014 - 06:33 PM

Yes that's what I want! But not that they'll attack me via a glitch gotten by killing 3 Ballas in Rifa turf.

the gang blip colors is :

Gang0 - Purple (balla)

Gang1 - Light Green (gsf) (if they attack you)

Gang2 - Vagos - yellow

Gang3 - Rifa - Dark Blue

Gang4 - Da Nang boys - light orange

Gang5 - Mafia italian (i don't know)

Gang6 - Triads Light Pink (something like red)

Gang7 - Turquise -aztecas

Gang8 - unused - white

gANG9 - UNUSED - white

  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#9

Posted 26 January 2014 - 06:35 PM

Yep I knew that. What I'm looking for is to have it possible to war with the other gangs like the rifa in their own respective turf. Adding the Ballas/Vagos wouldn't be a big deal to me. Btw, the Mafia's color is white like the unused gangs. I added them to Commerce via CLEO3 and triggered the glitch were they attack me. And, they were white.


Danikov
  • Danikov

    The Fake Russian

  • Members
  • Joined: 27 Aug 2009
  • Israel

#10

Posted 26 January 2014 - 06:39 PM

And, they were white.


Racist :D

Anyways,I can't seem to understand what you want,the gangs to attack each other or attack you?

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#11

Posted 26 January 2014 - 06:42 PM

I want to trigger gang wars with the other gangs. Like in some codes on the PS2 version where after you kill 3 ballas in a Rifa hood (for example), then a gang war is triggered and you'll fight the Rifa. For more information, check this: http://www.gtaforums...c=322332&st=380


iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#12

Posted 26 January 2014 - 06:45 PM

 

And, they were white.


Racist :D

Anyways,I can't seem to understand what you want,the gangs to attack each other or attack you?

 

See the picture.

no i don't use glitches.

also there are some of them easy like kill 3 vagos in aztecas zone.

use one of cheats

Recruit anyone (pistol, ak47, rpg)

recruit aztecas take them to the war area and kill him and disable the cheat.

  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#13

Posted 26 January 2014 - 07:55 PM

Okay, thanks.


Silent
  • Silent

    Moderating Cookie Monster

  • Feroci
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#14

Posted 26 January 2014 - 07:58 PM

That seems like an interesting thing. I should try playing around with it. Not now tho.
  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#15

Posted 26 January 2014 - 08:03 PM Edited by Jeansowaty, 26 January 2014 - 08:04 PM.

Silent, iFarbod posted an idea for a cleo script:

 

not can set the turfs colors in radar. but is posibble in cleo

lateset killed handle as 1@ 2@ 3@ for example.

if the killed guys are aztecas (ped.dat)

get zone name (gan1) e.g.

gang war flash

rivaly to 6 Minigun Combat Shotgun RPG

 set timeout

set the gang bangers.

Maybe try fooling around with that?


Silent
  • Silent

    Moderating Cookie Monster

  • Feroci
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#16

Posted 26 January 2014 - 08:11 PM

Nah. That sounds like a sloppy workaround.
  • Jeansowaty likes this

TheGodfather.
  • TheGodfather.

    Nobody likes me here...I think...

  • Members
  • Joined: 19 Jun 2012

#17

Posted 27 January 2014 - 02:42 AM Edited by TheGodfather., 27 January 2014 - 02:49 AM.

Do you mean something like this :

 

You can change the turf color too if you want.A sneak peek W.I.P. of my mod :)

 

gta_sa17.jpg

 

gta_sa12.png

  • ayushmansen, Jeansowaty and RomanoLegio like this

LINK/2012
  • LINK/2012

    LIVIN' IN CODE

  • Feroci
  • Joined: 30 Jan 2011
  • Brazil

#18

Posted 27 January 2014 - 05:46 AM

One way is to set the float at 0x96AB5C (fGangWarProvocationCount) to a big value so the gang war will get triggered.
0A8C: 0x96AB5C 4 10.0 false
Another way would be to call 0x446050 (CGangWars::ProvokeWar), that is called when the above variable is greater than 3.0
00A5: 0x446050 0 0
PS: You must be inside a zone that can have gang wars.
  • Jeansowaty likes this

iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#19

Posted 27 January 2014 - 11:23 AM

Do you mean something like this :

 

You can change the turf color too if you want.A sneak peek W.I.P. of my mod :)

 

gta_sa17.jpg

 

gta_sa12.png

This is able to use 2 colors in a zone

yellow (vagos) + ballas = a dark red (for triad)

  • ayushmansen and Jeansowaty like this

iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#20

Posted 27 January 2014 - 11:43 AM

raUPBta.jpg


9SEad1z.jpg

 

I started the war by kill 3 triads.

  • Jeansowaty likes this

iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#21

Posted 27 January 2014 - 11:54 AM

IgpmF7Q.jpg

  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#22

Posted 27 January 2014 - 02:00 PM

IgpmF7Q.jpg

Exactly what I'm looking for. Can you PM me the cleo code for this one? Please :)

  • iFarbod likes this

iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#23

Posted 27 January 2014 - 03:04 PM Edited by iFarbod, 27 January 2014 - 03:08 PM.

It had some bugs i'm working on it. if completed i PM you :^:

Have nice time  :colgate:

  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#24

Posted 27 January 2014 - 03:07 PM Edited by Jeansowaty, 27 January 2014 - 03:08 PM.

Dude, you are the best ever if it comes to gang war coding! Have a catloaf and a bunch of cookies ^^ :catloaf: :cookie: :cookie:  :cookie: :cookie:  :cookie:

  • iFarbod likes this

iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#25

Posted 27 January 2014 - 03:12 PM

You mean I publish a mod "War with any gang" Homie?  :)

  • Jeansowaty likes this

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#26

Posted 27 January 2014 - 03:38 PM

What trickery did you use? I'm going to try enabling these strictly via CGangWars editing, as the game can handle these wars well. These gangs just need to be made provoke-able.
  • Jeansowaty likes this

iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#27

Posted 27 January 2014 - 03:59 PM

What trickery did you use? I'm going to try enabling these strictly via CGangWars editing, as the game can handle these wars well. These gangs just need to be made provoke-able.

yes, like gameshark codes in ps2.

i explain my code:

First, If you target a rifa he removed and respawn with that model (#sfr1) but with gang0 (ballas) and have that weapon and that health and attacks player.

next, if three ballas killed gang war provokes. but :

if you are in a rifa density territory more than 20, gang war provokked for rifa.

  • Jeansowaty likes this

Jeansowaty
  • Jeansowaty

    Notorious fan of underground electronic music and Molly Schultz

  • Members
  • Joined: 31 Mar 2013
  • Poland

#28

Posted 27 January 2014 - 04:01 PM Edited by Jeansowaty, 27 January 2014 - 04:02 PM.

You mean I publish a mod "War with any gang" Homie?  :)

yeah, that's a nice idea. I had an idea, how about making the gangs which are friendly respectable:

-Triads, kill DaNangBoys to be their friend

-Aztecas, kill Vagos to be their friend.

Btw, what would happen if we would mix our mods together? As I have the Unused Gangs 9 & 10 made as the Russian Bratva and the Bikers.


iFarbod
  • iFarbod

    King of San Andreas (3D/HD Universe)

  • Members
  • Joined: 17 Dec 2013
  • None

#29

Posted 27 January 2014 - 04:12 PM

Making TRI, GSF, VLA Friendly is very easy:

 

{$CLEO .cs}


//-------------MAIN---------------
0000: NOP 


:NONAME_2
wait 0 
0746: set_acquaintance 1 of_actors_pedtype 8 to_actors_pedtype 0 // gsf respect player 
0746: set_acquaintance 1 of_actors_pedtype 13 to_actors_pedtype 0 // Triads respect player
0746: set_acquaintance 1 of_actors_pedtype 14 to_actors_pedtype 0 // VLA respect player
0746: set_acquaintance 1 of_actors_pedtype 8 to_actors_pedtype 13 // GSF respect Triads
0746: set_acquaintance 1 of_actors_pedtype 8 to_actors_pedtype 14 // GSF respect AZTECAS
0746: set_acquaintance 1 of_actors_pedtype 13 to_actors_pedtype 8 // TRiads  respect GSF
0746: set_acquaintance 1 of_actors_pedtype 13 to_actors_pedtype 14 //TRIADS respect AZTECAS
0746: set_acquaintance 1 of_actors_pedtype 14 to_actors_pedtype 8 // AZTECAS respect GROVE
0746: set_acquaintance 1 of_actors_pedtype 14 to_actors_pedtype 13 //AZTECAS respect TRIADS
jump @NONAME_2
  • Jeansowaty likes this

Silent
  • Silent

    Moderating Cookie Monster

  • Feroci
  • Joined: 01 Feb 2010
  • Poland
  • Most Helpful [GTA] 2013
    Most Helpful [Modding] 2013
    Most Talented [Modding] 2013
    Best Map 2013 "ViceCityStories PC Edition"
    Best Vehicle 2013 "III Aircraft"
    Most Helpful [Modding] 2012
    Modder of the Year 2012

#30

Posted 27 January 2014 - 04:12 PM

Only 2 places in the EXE had to be altered in order to allow wars with them:

gangwar_rifa.jpg

Now gonna try showing their colours on the map. I'm pretty sure they do exist.
  • Jeansowaty likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users