Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

Notification


CrAzY_-7865
 Share

Recommended Posts

Hi, I'm looking for someone who can give me a tip on a type of notification. I also tried to search within the game scripts but I could not find anything. I also tried to look for the string to understand where it took me, but again nothing.
[img=https://prnt.sc/wj6nok]

Edited by CrAzY_-7865
Link to comment
Share on other sites

3 hours ago, CrAzY_-7865 said:

 i'm Sorry for not added much details

 

Then please add some more, because that tiny image doesn't explain what you are looking for.

 

We don't know when it appears, what were you doing to make it appear on screen?

We don't know where on screen it appears, is it a notification above the radar or is it a help message in the top corner?

We don't know if it's the text you are looking for, the icon that's displayed with it, or even the box it is displayed inside.

 

Edit: The actual text string is this but it is stored as a Hash value in the global.gxt2 file, so you won't find the string in the scripts.

~BLIP_INFO_ICON~ Use a flashlight modification on your gun to pick out targets in the dark.

 

The full line in the gxt2 file is this:

0x900C3024 = ~BLIP_INFO_ICON~ Use a flashlight modification on your gun to pick out targets in the dark.

 

It also seems to be stored as a TEXT_LABEL as this:

TOOLTIPS_39 = ~BLIP_INFO_ICON~ Use a flashlight modification on your gun to pick out targets in the dark.

 

Edited by LeeC22
Link to comment
Share on other sites

25 minutes ago, LeeC22 said:

 

Then please add some more, because that tiny image doesn't explain what you are looking for.

 

We don't know when it appears, what were you doing to make it appear on screen?

We don't know where on screen it appears, is it a notification above the radar or is it a help message in the top corner?

We don't know if it's the text you are looking for, the icon that's displayed with it, or even the box it is displayed inside.

 

Edit: The actual text string is this but it is stored as a Hash value in the global.gxt2 file, so you won't find the string in the scripts.

~BLIP_INFO_ICON~ Use a flashlight modification on your gun to pick out targets in the dark.

 

The full line in the gxt2 file is this:

0x900C3024 = ~BLIP_INFO_ICON~ Use a flashlight modification on your gun to pick out targets in the dark.

 

'what were you doing to make it appear on screen' - Nothing because i don't know if is like other notification

'is it a notification above the radar or is it a help message in the top corner' - Just a message help i'll guess

'We don't know if it's the text you are looking for, the icon that's displayed with it, or even the box it is displayed inside. ' - The whole function that makes up that type of notification

Link to comment
Share on other sites

9 minutes ago, CrAzY_-7865 said:

'what were you doing to make it appear on screen' - Nothing because i don't know if is like other notification

'is it a notification above the radar or is it a help message in the top corner' - Just a message help i'll guess

'We don't know if it's the text you are looking for, the icon that's displayed with it, or even the box it is displayed inside. ' - The whole function that makes up that type of notification

 

Have you seen this message appear on your screen while you have been playing the game?

Link to comment
Share on other sites

10 minutes ago, LeeC22 said:

 

Have you seen this message appear on your screen while you have been playing the game?

No, these types of messages show only when I load the game.

Link to comment
Share on other sites

23 minutes ago, CrAzY_-7865 said:

No, these types of messages show only when I load the game.

 

That's the most important piece of information that needed to be in your first post.

 

Based on the name of that text_label, the game appears to have a Tooltip system and the only native that controls it, is this:

THEFEED_ONLY_SHOW_TOOLTIPS

 

It is only used twice in the scripts.

 

That means it is possibly a scaleform function, meaning you will need to decompile the scaleform scripts and search those to try and find any references to tooltips.

 

You will need a gfx script (Flash) decompiler, I use the one from here https://github.com/jindrapetrik/jpexs-decompiler

 

Edit: Unless it is displayed using one of the THEFEED natives, but I have no idea if that's the case or not. Something like this (this is from the scripts)

HUD::BEGIN_TEXT_COMMAND_THEFEED_POST("");
StringCopy(&cVar16, HUD::_GET_LABEL_TEXT(&(Global_8161[1 /*6*/])), 64);
sVar32 = HUD::_GET_LABEL_TEXT("CELL_253");
HUD::END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT(&cVar0, &cVar0, false, 3, sVar32, &cVar16);

 

I am guessing though... it is something I have never used.

Edited by LeeC22
Link to comment
Share on other sites

23 minutes ago, LeeC22 said:

 

That's the most important piece of information that needed to be in your first post.

 

Based on the name of that text_label, the game appears to have a Tooltip system and the only native that controls it, is this:

THEFEED_ONLY_SHOW_TOOLTIPS

 

It is only used twice in the scripts.

 

That means it is possibly a scaleform function, meaning you will need to decompile the scaleform scripts and search those to try and find any references to tooltips.

 

You will need a gfx script (Flash) decompiler, I use the one from here https://github.com/jindrapetrik/jpexs-decompiler

 

Edit: Unless it is displayed using one of the THEFEED natives, but I have no idea if that's the case or not. Something like this (this is from the scripts)

HUD::BEGIN_TEXT_COMMAND_THEFEED_POST("");
StringCopy(&cVar16, HUD::_GET_LABEL_TEXT(&(Global_8161[1 /*6*/])), 64);
sVar32 = HUD::_GET_LABEL_TEXT("CELL_253");
HUD::END_TEXT_COMMAND_THEFEED_POST_MESSAGETEXT(&cVar0, &cVar0, false, 3, sVar32, &cVar16);

 

I am guessing though... it is something I have never used.

Thanks for the info

 

void sub_12166() {
    v_2/*"64"*/ = UI::_GET_LABEL_TEXT(&g_17C49._f744E[g_B85/*29*/]._f7);
    if (g_B98 == 0) {
        UI::_SET_NOTIFICATION_TEXT_ENTRY("");
        v_12/*"64"*/ = UI::_GET_LABEL_TEXT(&g_B39[1/*6*/]);
        v_22 = UI::_GET_LABEL_TEXT("CELL_253");
        UI::_1CCD9A37359072CF(&v_2, &v_2, 0, 3, v_22, &v_12);
    } else { 
        UI::_SET_NOTIFICATION_TEXT_ENTRY("CELL_255");
        UI::_ADD_TEXT_COMPONENT_ITEM_STRING(&g_B39[1/*6*/]);
        UI::_1CCD9A37359072CF(&v_2, &v_2, 0, 3, "", 0);
    }
    GAMEPLAY::CLEAR_BIT(&g_8D7, 0);
}

Could it be something like this?

Edited by CrAzY_-7865
Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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