Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Move Radar


direstraits
 Share

Recommended Posts

Remember to relocate a value to new location stored in CLEO script and replacing references to this value.

 

0x858A10 [float] - X position, radar left corner of map part, relative to left side of screen

0x866B70 [float] - Y position, radar top corner of map part, relative to bottom of screen

 

As already written - relocate references to point into new location of CLEO script memory where is your value, you have to do it.

Link to comment
Share on other sites

Sorry, i can't. I have no access to my primary PC at the moment.

Use IDA Pro and IDB to find where are pointers to these 2 float values and point them to CLEO script

 

 

:Radar_Pos_Xhex00 00 00 00end:Radar_Pos_Yhex 00 00 00 00end

 

 

Can't you simply use Interface Editor made by Alexander Blade?

Link to comment
Share on other sites

If you don't know how to practicing what fastman stated, take this script which enables you to move all the related radar components:

 

{$CLEO}0000: NOPconst   fRadarLeft                        = [email protected]   fRadarTop                         = [email protected]   fRadarWidth                       = [email protected]   fRadarHeight                      = [email protected]   fRadarRingPlaneHorzPad            = [email protected]   fRadarRingPlaneVertPad            = [email protected]   fAltimeterRadarLeft               = [email protected]   fAltimeterRadarTop                = [email protected]   fAltimeterRadarHeight             = [email protected]   fAltimeterVertBarLeftMostRadarPos = [email protected]   fAltimeterVertBarLeftRadarPos     = [email protected]   fAltimeterHorzBarLeftMostRadarPos = [email protected]   fAltimeterHorzBarLeftRadarPos     = [email protected]   fAltimeterHorzBarHeight           = [email protected]   fRadarDiscHorzMargin              = [email protected]   fRadarDiscVertMargin              = [email protected]: [email protected] = [email protected] += 0x10 // CScriptThread.m_iBaseAddress0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect [email protected] -= @HudRadarAndComponentsCoords0085: fRadarLeft = [email protected]: fRadarTop = [email protected] + 0x040A8E: fRadarWidth = [email protected] + 0x080A8E: fRadarHeight = [email protected] + 0x0C0A8E: fRadarRingPlaneHorzPad = [email protected] + 0x100A8E: fRadarRingPlaneVertPad = [email protected] + 0x140A8E: fAltimeterRadarLeft = [email protected] + 0x180A8E: fAltimeterRadarTop = [email protected] + 0x1C0A8E: fAltimeterRadarHeight = [email protected] + 0x200A8E: fAltimeterVertBarLeftMostRadarPos = [email protected] + 0x240A8E: fAltimeterVertBarLeftRadarPos = [email protected] + 0x280A8E: fAltimeterHorzBarLeftMostRadarPos = [email protected] + 0x2C0A8E: fAltimeterHorzBarLeftRadarPos = [email protected] + 0x300A8E: fAltimeterHorzBarHeight = [email protected] + 0x340A8E: fRadarDiscHorzMargin = [email protected] + 0x380A8E: fRadarDiscVertMargin = [email protected] + 0x3C// Map and sprites position relative to the radar rectangle.0A8C: write_memory 0x005834C2 size 4 value fRadarWidth virtual_protect 10A8C: write_memory 0x005834D4 size 4 value fRadarLeft virtual_protect 10A8C: write_memory 0x005834F6 size 4 value fRadarHeight virtual_protect 10A8C: write_memory 0x00583500 size 4 value fRadarTop virtual_protect 1// Radar ring plane rectangle.0A8C: write_memory 0x0058A449 size 4 value fRadarWidth virtual_protect 10A8C: write_memory 0x0058A453 size 4 value fRadarRingPlaneHorzPad virtual_protect 10A8C: write_memory 0x0058A469 size 4 value fRadarLeft virtual_protect 10A8C: write_memory 0x0058A47D size 4 value fRadarHeight virtual_protect 10A8C: write_memory 0x0058A489 size 4 value fRadarRingPlaneVertPad virtual_protect 10A8C: write_memory 0x0058A499 size 4 value fRadarTop virtual_protect 1// Altimeter rectangle.0A8C: write_memory 0x0058A5E2 size 4 value fAltimeterRadarLeft virtual_protect 10A8C: write_memory 0x0058A5F0 size 4 value fAltimeterVertBarLeftMostRadarPos virtual_protect 10A8C: write_memory 0x0058A60E size 4 value fAltimeterRadarTop virtual_protect 10A8C: write_memory 0x0058A620 size 4 value fAltimeterVertBarLeftRadarPos virtual_protect 10A8C: write_memory 0x0058A632 size 4 value fAltimeterRadarHeight virtual_protect 10A8C: write_memory 0x0058A6E6 size 4 value fAltimeterRadarLeft virtual_protect 10A8C: write_memory 0x0058A6F2 size 4 value fAltimeterHorzBarLeftMostRadarPos virtual_protect 10A8C: write_memory 0x0058A70E size 4 value fAltimeterRadarHeight virtual_protect 10A8C: write_memory 0x0058A71E size 4 value fAltimeterRadarTop virtual_protect 10A8C: write_memory 0x0058A759 size 4 value fAltimeterHorzBarLeftRadarPos virtual_protect 10A8C: write_memory 0x0058A767 size 4 value fAltimeterHorzBarHeight virtual_protect 1// Upper-left radar disc rectangle.0A8C: write_memory 0x0058A79B size 4 value fRadarLeft virtual_protect 10A8C: write_memory 0x0058A7A9 size 4 value fRadarDiscHorzMargin virtual_protect 10A8C: write_memory 0x0058A7C7 size 4 value fRadarTop virtual_protect 10A8C: write_memory 0x0058A7D9 size 4 value fRadarDiscVertMargin virtual_protect 10A8C: write_memory 0x0058A7E9 size 4 value fRadarWidth virtual_protect 10A8C: write_memory 0x0058A801 size 4 value fRadarHeight virtual_protect 1// Upper-right radar disc rectangle.0A8C: write_memory 0x0058A836 size 4 value fRadarLeft virtual_protect 10A8C: write_memory 0x0058A840 size 4 value fRadarWidth virtual_protect 10A8C: write_memory 0x0058A848 size 4 value fRadarDiscHorzMargin virtual_protect 10A8C: write_memory 0x0058A868 size 4 value fRadarTop virtual_protect 10A8C: write_memory 0x0058A87A size 4 value fRadarDiscVertMargin virtual_protect 10A8C: write_memory 0x0058A8AB size 4 value fRadarHeight virtual_protect 1// Lower-left radar disc rectangle.0A8C: write_memory 0x0058A8E9 size 4 value fRadarLeft virtual_protect 10A8C: write_memory 0x0058A8F9 size 4 value fRadarDiscHorzMargin virtual_protect 10A8C: write_memory 0x0058A913 size 4 value fRadarTop virtual_protect 10A8C: write_memory 0x0058A921 size 4 value fRadarHeight virtual_protect 10A8C: write_memory 0x0058A92D size 4 value fRadarDiscVertMargin virtual_protect 10A8C: write_memory 0x0058A943 size 4 value fRadarWidth virtual_protect 1// Lower-right radar disc rectangle.0A8C: write_memory 0x0058A98A size 4 value fRadarLeft virtual_protect 10A8C: write_memory 0x0058A99D size 4 value fRadarWidth virtual_protect 10A8C: write_memory 0x0058A9AB size 4 value fRadarDiscHorzMargin virtual_protect 10A8C: write_memory 0x0058A9C7 size 4 value fRadarTop virtual_protect 10A8C: write_memory 0x0058A9D5 size 4 value fRadarHeight virtual_protect 10A8C: write_memory 0x0058A9E1 size 4 value fRadarDiscVertMargin virtual_protect 1// Radar searchlight maximum width?0A8C: write_memory 0x0058781B size 4 value fRadarWidth virtual_protect 10A93: end_custom_thread:HudRadarAndComponentsCoordshex   00002042 // ( 40.0f) fRadarLeft   0000D042 // (104.0f) fRadarTop   0000BC42 // ( 94.0f) fRadarWidth   00009842 // ( 76.0f) fRadarHeight   00009041 // ( 18.0f) fRadarRingPlaneHorzPad   00009041 // ( 18.0f) fRadarRingPlaneVertPad   00002042 // ( 40.0f) fAltimeterRadarLeft   0000D042 // (104.0f) fAltimeterRadarTop   00009842 // ( 76.0f) fAltimeterRadarHeight   0000A041 // ( 20.0f) fAltimeterVertBarLeftMostRadarPos   00002041 // ( 10.0f) fAltimeterVertBarLeftRadarPos   0000C841 // ( 25.0f) fAltimeterHorzBarLeftMostRadarPos   0000A040 // (  5.0f) fAltimeterHorzBarLeftRadarPos     // Unscaled, R* bug.   00000040 // (  2.0f) fAltimeterHorzBarHeight           // Unscaled, R* bug.   00008040 // (  4.0f) fRadarDiscHorzMargin   00008040 // (  4.0f) fRadarDiscVertMarginend

 

To convert floating-point values to a 4-byte hexdecimal or viceversa use this online converter and reverse each byte.

Edited by Wesser

012          345
678   9A   BCD
EFG HIJK LMN
OPQR  STUV
WX    YZ

Link to comment
Share on other sites

Interface Editor is buggy to me, And I don't know how use IDA Pro or IDB.

 

But thanks for your efforts even when you are away from the main computer. I know you can do this, I never doubted.

 

EDIT : Wesser replied. LOL

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.