Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,015 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

Sign in to follow this  
BigHomie

[SA] Draw Text

Recommended Posts

BigHomie

Hello,

I need the coords/offset for opcode 033E to have my text show up like the 'You have provoked a gang war' text at the middle lower end of the screen.

If it is to be considered, the text(s) are :

Park your Journey to start cooking Meth

Keep your car parked to continue to cook

Thanks in advance for any help, I really appreciate it.

 

With best regards,

BigHomie

 

Btw: In a few days you may or may not be able to cook some meth ;)

Share this post


Link to post
Share on other sites
TheSiggi

Hi,

 

I am not going to give you the answer right away, instead I'll show you how to find out yourself. It's important that you know how to use all resources available to you as it will a) increase you're understanding of the game and it's structures and b) will help you to find out things like this yourself in the future.

 

You know you're desired text style is used during the gang wars and gang wars are controlled through the main.scm.

So this is how to deal with it:

 

1) get yourself a GXT Editor like the GXT Editor 1.3 by Hammer83 or the A-GXT-Editor by Aschratt and open up the american.gxt and search for the entry of "You have provoked a gang war".

2) Copy the entry and search for it in the decompiled main.scm

3) You'll find the line the developers used, with the exact parameters you're looking for.

Edited by TheSiggi

Share this post


Link to post
Share on other sites
BigHomie

Thanks, I'll try it out. I would have tried it that way already, I already had tried copying it from the Assasination Side Mission. I am indeed familiar with the concept of copying coding structures from the main.scm, it was just very late at night im germany when I asked. Anyway, I'll get back to work then, thanks for your help

Share this post


Link to post
Share on other sites
BigHomie

Well, seemingly the gxt entry 'You have provoked a gang war' is named 'FEC_RAD'. But I can't find it used in the main.scm

Share this post


Link to post
Share on other sites
TheSiggi

Yeah, actually that's my fault. The main.scm handle's the gang wars concerning respect and money, but not the actual gang war. So the text is not triggered by the script but by the game. Sorry for that.

 

Search for 'high priority' in opcode database or or search tool.

Share this post


Link to post
Share on other sites
BigHomie

I already copied it form the Assasination Side Mission. But instesd of looking for a GXT entry, Ilooked for texts. Thanks for your help anyway :)

But now I'm wondering, how come that the game handels the gang war aspect? Is it engraved into the engine?

Share this post


Link to post
Share on other sites
deltaCJ

It's an external script.

Share this post


Link to post
Share on other sites
ZAZ

Gang war is hardcoded (codes of gta_sa.exe).

Main.scm has codes to en/disable Gang war possibility, show or hide colored zones, weapon set for gang member, as well as the gang member setup for each zone.

There's no extern script regarding gang war

Edited by ZAZ

Share this post


Link to post
Share on other sites
deltaCJ

Gang war is hardcoded (codes of gta_sa.exe).

Main.scm has codes to en/disable Gang war possibility, show or hide colored zones, weapon set for gang member, as well as the gang member setup for each zone.

There's no extern script regarding gang war

Hm, my bad thought there was a script regarding spawning the ballas, and triggering the gang wars. (shrug)

Share this post


Link to post
Share on other sites
Sanmodder

Gang war is hardcoded (codes of gta_sa.exe).

Main.scm has codes to en/disable Gang war possibility, show or hide colored zones, weapon set for gang member, as well as the gang member setup for each zone.

There's no extern script regarding gang war

yes you are right gang wars it is hidden code just the same codes for the police :miranda:

 

I have a script made on the same principle

only improved

 

 

this is a mini gang wars side

There are 8 waves of 45 opponents

with every wave of opponents

have better weapons and aggressiveness

Sometimes opponents drive cars to cj

Sometimes the groove drives cars to cj

even ride for cj

At higher levels fly helicopters with gangsters

At higher levels bosses appear in heavily armed vehicles

Scritpt works on all gangs

Ballas

vagos

aztecas

san fierro riffa

da nang boys

triad

--------------------------------------------

link look check and you will not regret it

--------------------------------------------

http://www.gtainside.com/en/sanandreas/mods/111456-gang-wars-mission-drug-wars-mission

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
Sign in to follow this  

×

Important Information

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