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

kellne

Edit color of Yellow Markers. !

Recommended Posts

kellne

Hi guys :D Please tell me which .txd is for yellow interior markers.

I want to change their colors, thanks :)

Share this post


Link to post
Share on other sites
Ash_735

It's not a texture thing (they use ingame.txd by the way) but a script thing, the textures are white and then a colour is applied to them script wise, e.g. red for mission markers, yellow for interior markers.

Share this post


Link to post
Share on other sites
OrionSR

RGBA colors can also be assigned to radar blip markers without icons, but I think the TC is asking about changing the colors of the yellow enex markers. I remember reading something about this many years ago but don't remember enough clues to track it down.

Edited by OrionSR

Share this post


Link to post
Share on other sites
Jack

The pointer to C3DMarker field is located inside:

C3dMarkers::Render(void)   //  0x725040
{$CLEO}0000:CONST    RED = 0    GREEN = 0    BLUE = 0xFFENDWHILE TRUE    wait 0    0A8D: [email protected] = read_memory 0x7251DE size 4 virtual_protect 0    //  pointer to C3DMarker.rwColour    [email protected] += 0x58    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0    //  C3DMarker.rwColour.Red    [email protected] += 1    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0    //  C3DMarker.rwColour.Green    [email protected] += 1    0A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0    //  C3DMarker.rwColour.Blue    IF OR        [email protected] <> RED        [email protected] <> GREEN        [email protected] <> BLUE    THEN        0A8D: [email protected] = read_memory 0x7251DE size 4 virtual_protect 0    //  C3DMarker.rwColour        [email protected] += 0x58        0A8C: write_memory [email protected] size 1 value RED virtual_protect 0        [email protected] += 1        0A8C: write_memory [email protected] size 1 value GREEN virtual_protect 0        [email protected] += 1        0A8C: write_memory [email protected] size 1 value BLUE virtual_protect 0    ENDEND
Edited by Jack

Share this post


Link to post
Share on other sites
DK22Pac

The pointer to C3DMarker field is located inside:

Won't this replace colors of all game markers?

 

plugin-sdk solution:

 

#include "plugin.h"#include "C3dMarkers.h"const CRGBA c = { 0, 255, 0, 255 }; // greenclass EnExMarkerColor {public:    static void MyCreateEnExMarker(unsigned int i, CVector& p, float s, char, char, char, char, unsigned short pp, float pf, short rr, unsigned char ec) {        C3dMarkers::PlaceMarkerCone(i, p, s, c.red, c.green, c.red, c.alpha, pp, pf, rr, ec);    }    EnExMarkerColor() {        plugin::patch::RedirectCall(0x440F4E, MyCreateEnExMarker);    }} enExMarkerColor;
Edited by DK22Pac

Share this post


Link to post
Share on other sites
kellne

I saw name of .TXD once but it was long time ago -_-

 

I put my idea away until i found the name :D

Share this post


Link to post
Share on other sites
Ash_735

They use ingame.txd as I mentioned in the first reply.

Share this post


Link to post
Share on other sites
Veigar

I believe it's called "diamond.txd"

Share this post


Link to post
Share on other sites
LaDiDa

I believe it's called "diamond.txd"

Those are used as objective markers (above the bike at the start of a new game)

Share this post


Link to post
Share on other sites
ZAZ

I believe it's called "diamond.txd"

diamond.dff and diamond.txd

texture gives only gradient via alpha channel, not the color

Share this post


Link to post
Share on other sites
kellne

So it is not posibble to change color by editing .TXD or .DFF ?

Share this post


Link to post
Share on other sites
ZAZ

So it is not posibble to change color by editing .TXD or .DFF ?

NO

Share this post


Link to post
Share on other sites
Jimmy

So it is not posibble to change color by editing .TXD or .DFF ?

It's a script edit not a texture one. The texture is only based for gradient through alpha channel. However, you can use an external plugin like DK suggested.

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.