Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,220 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Jeansowaty

[SA]Wars with other gangs

Recommended Posts

Jeansowaty

I think that they are defined by RGBA values.

Share this post


Link to post
Share on other sites
iFarbod

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.

This will better than my cleo script. I Use Cheat Engine too!

Share this post


Link to post
Share on other sites
Silent

OK, so the formula for zone RGB colour is

 

(Groves RGB * Groves density + Ballas RGB * Ballas density + Vagos RGB * Vagos density) / (Groves density + Ballas density + Vagos density)

 

Therefore, when this is rewritten to take all 10 gangs into account, their colours should appear on the map just fine :)

Too boring to do via CLEO hooking. Moving to ASI now.

Share this post


Link to post
Share on other sites
Jeansowaty

I think that it would be kinda cool to combine my mod with those gang wars. Think, have 10 gangs to war with, with them having turf all over SA. Wow. This would be a lot of fun :devil:. Btw, Silent, take use of the PS2 codes by ric-013 for their colors, you can find them in my topic too ;)

Edited by Jeansowaty

Share this post


Link to post
Share on other sites
Silent

Btw, Silent, take use of the PS2 codes by ric-013 for their colors, you can find them in my topic too ;)

The colours are inside the EXE already...

Share this post


Link to post
Share on other sites
Jeansowaty

OK.

Share this post


Link to post
Share on other sites
Silent

Defensive gang wars (gang-attack-your-turf one) may be a bit harder to implement... Still doable though.

Edited by SilentPL

Share this post


Link to post
Share on other sites
Jeansowaty

Yes, there is a glitch which lets you others attack you. Simply kill 3 Ballas/Vagos in Azteca's turf, then drive to the attack and see them Aztecas fight you :)

Share this post


Link to post
Share on other sites
Silent

That's an offensive gang war, not a defensive one.

 

Anyway, Triads attacking Groves turf:

 

defensive_gangwar1.jpg

 

defensive_gangwar2.jpg

Share this post


Link to post
Share on other sites
iFarbod

Tahoma for Triads??? or you edited it? please give me the .asi file to test it

Share this post


Link to post
Share on other sites
Silent

Tahoma for Triads??? or you edited it? please give me the .asi file to test it

 

I forced a defensive gang war just moments before this, the Tahoma is from the Ballas attack. Triads used Stratums.

 

And I don't have it as an ASI yet, that's why I didn't show gang colours on the map yet. That one is too complex to be done on the fly with Cheat Engine.

Edited by SilentPL

Share this post


Link to post
Share on other sites
Jinx.

That's an offensive gang war, not a defensive one.

 

Anyway, Triads attacking Groves turf:

 

defensive_gangwar1.jpg

 

defensive_gangwar2.jpg

Awesome! If you want I can edit the cargrp for new cars.

Edited by darthvader20011

Share this post


Link to post
Share on other sites
Jeansowaty

That's interesting. Could it be possible to add special icons for other enemy gangs? I remember there is an icon for the Rifa and the Aztecas.

Share this post


Link to post
Share on other sites
Silent

That's interesting. Could it be possible to add special icons for other enemy gangs? I remember there is an icon for the Rifa and the Aztecas.

Yep, game will select these. And if there is no dedicated icon for a gang, it'll select Enemy gang instead. It's all using existing SA functionality, just unlocking it ;)

Share this post


Link to post
Share on other sites
Jeansowaty

That means... there were gang wars with all gangs in the beta? O_O

Share this post


Link to post
Share on other sites
Silent

Maybe. Either that or R* devs were bored and 'proofed' the gang wars code against all gangs. Just like ALL gangs theoretically can have Empires in VCS (even Golfers) and I REALLY don't think it was a beta feature :pp

Share this post


Link to post
Share on other sites
Jeansowaty

Still, this is a very nice find. It would be cool for the other gangs to have their unique icons, I can design them ;)

Share this post


Link to post
Share on other sites
Silent

Adding more supported icons to hud.txd is boring (requires plenty of space expansion in the code). IMO not worth it.

 

Although, gangN and gangG icons are unused despite being loaded. I could make gangN be used by Aztecas (they use a generic flag now).

Share this post


Link to post
Share on other sites
Jeansowaty

Oh, okay. GangG is used actually, in Doberman Glen Park is marked with the GangG icon, same as Beat Down on B Dup ^^. GangB are the Rifa then?

Share this post


Link to post
Share on other sites
Silent

Actually, looking at the GXT entries, R* confused them. gangB should be Aztecas and gangN should be Rifa. Also Da Nang Boys use Vagos blip although it makes little sense. I will correct these and make the rest use a generic attack blip.

Edited by SilentPL

Share this post


Link to post
Share on other sites
iFarbod

SilentPL YOU provoked the wars with Cheat Engine?

Share this post


Link to post
Share on other sites
Silent

SilentPL YOU provoked the wars with Cheat Engine?

I forced a gang to try to take their turf back by setting a TimeTillNextAttack variable to 0.

Edited by SilentPL

Share this post


Link to post
Share on other sites
Jeansowaty

The DNB use Vagos blips because their color is Orange as I suppose ;) Maybe, use the red Triad blip for the Triads, the game cube from the casino missions for the Mafia, Russian Mafia (Unused 9) could use the Emmet Pistol blip, The Bikers (Unused 10) could use the gray-white flag used for racing missions.

Edited by Jeansowaty

Share this post


Link to post
Share on other sites
iFarbod

 

SilentPL YOU provoked the wars with Cheat Engine?

I forced a gang to try to take their turf back by setting a TimeTillNextAttack variable to 0.

 

0x96ab84

0x96ab50

0x96ab58

i played with this adresses one for density two for gangs (e.g. 3 for rifa)

Share this post


Link to post
Share on other sites
Jeansowaty

Something found out?

Share this post


Link to post
Share on other sites
Silent

Working on the ASI plugin atm. No idea when I'll finish it though, I recently got some tight schedules regarding schoolwork and such.

Share this post


Link to post
Share on other sites
zmudziak32

Great. Just waiting for this mod.

Share this post


Link to post
Share on other sites
Jeansowaty

Silent, I'm sorry for you, I'm lucky, winter holidays start at this Monday :D

Share this post


Link to post
Share on other sites
Silent

SUCH MAP, MUCH COLOURS

 

muchcolours.jpg

Share this post


Link to post
Share on other sites
Danikov

SUCH MAP, MUCH COLOURS

 

 

Haha,this looks pretty damn neat,good work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.