Jump to content

[GTAIV|REL|PRE-ALFA] Speed Meter


Recommended Posts

It is a basic speed meter for gta 4. You can use it with Asi loader.

 

 

i tryed to smooth it

you can change its location by arrow keys and scale +/- keys (Press F10 For Toggle)

it has RPM now.

Download 0.1.4

Download 0.1.5 Src

 

it's For Gta 4 (1.01) WinXP X86

 

Video:

user posted image

Edited by warchild66
Link to comment
https://gtaforums.com/topic/389609-gtaivrelpre-alfa-speed-meter/
Share on other sites

UnknownProjects

 

how did you get your game so ugly? It'd do good for my system, so please tell me biggrin.gif

My game isn't ugly its just the inside of the car looks like that, r* didn't do a good job on the inside textures for the vehicle since you weren't supposed to have a camera view point from there anyway.

And yes i have a 22" monitor, i play in windowed 1440x900.

 

Its just the .bmp i took was 3.58mb so imageshack down scaled the image to meet there requirements on file size.

UnknownProjects

 

medium texture quality ;D

Haha yesss,

i have to for my system specs,

 

amd athlon 64 x2 6400+ black edition

evga 8800gt superclocked

2gb g-skill ram

and im running windows xp pro sp3

 

But anyway not to hijack thread,

its pretty nice for pre-alpha smile.gif good work.

 

and nvm about the video, it seems it does not show on the screen once the video is done, i guess .asi files can't be recorded with the in game recorder, i might have to use fraps or something...

Edited by UnknownProjects
Alexander Blade

2warchild66 : if u are using not recalculated address vista will crash because it loads GTAIV.exe with a different image base (XP loads only at 0x400000)

 

btw nice speedometer !!11oneoneone biggrin.gif

Hey , i want to make a teleport to waypoint with alice, how to do it?

I Try

GET_MAP_AREA_FROM_COORDS

To Get the Map coordinate but nothing done, i seen like this

6,1230123

5,14341234

1,2342344

On Alice.log, i think its not the map coordinates , are there any help to

get a map coordinate(In The Map Waypoint)?

TTKRickJames
i cannot get this to work at all on 32 bit vista

apperently it doesnt work on Vista period. See Alexander Blade's post above....

 

2warchild66 : if u are using not recalculated address vista will crash because it loads GTAIV.exe with a different image base (XP loads only at 0x400000)

 

btw nice speedometer !!11oneoneone colgate.gif

 

Hey , i want to make a teleport to waypoint with alice, how to do it?

I Try

GET_MAP_AREA_FROM_COORDS

To Get the Map coordinate but nothing done, i seen like this

6,1230123

5,14341234

1,2342344

On Alice.log, i think its not the map coordinates , are there any help to

get a map coordinate(In The Map Waypoint)?

 

 

The function From IDA

 

int __cdecl GET_BLIP_COORDS(int a1, int a2)  //0x00A0C430{ int v2; // eax@1 int result; // eax@5 v2 = sub_7B53E0(a1); if ( v2 < 0 ) {   result = a2;   __asm   {     xorps   xmm0, xmm0     movss   dword ptr [eax+8], xmm0     movss   dword ptr [eax+4], xmm0     movss   dword ptr [eax], xmm0   } } else {   _EAX = dword_FB1AF0[v2];   if ( *(_BYTE *)(_EAX + 8) )   {     __asm     {       movss   xmm0, dword ptr [eax+30h]       movss   xmm1, dword ptr [eax+34h]       movss   xmm2, dword ptr [eax+38h]     }   }   else   {     __asm     {       movss   xmm0, dword ptr [eax+1Ch]       movss   xmm1, dword ptr [eax+20h]       xorps   xmm2, xmm2     }   }   result = a2;   __asm   {     movss   dword ptr [eax], xmm0     movss   xmm0, [esp+10h+var_4]     movss   dword ptr [eax+4], xmm1     movss   dword ptr [eax+8], xmm2     movss   dword ptr [eax+0Ch], xmm0   } } return result;}

 

 

 

   int const *Blips = (int*)0x00FB1AF0;   //Blips On The Map   isWpOn = false;   for(int j = 0; j<50; j++)           //I dont know the limit of the array...   {       if(Blips[j] != 0)       {               Wpx = *(float*)(Blips[j] + 0x30);                Wpy = *(float*)(Blips[j] + 0x34);                Wpz = *(float*)(Blips[j] + 0x38);       }       if(Wpz == 0) break;        //It is waypoint. Maybe better solution like blip name.    }   if(isWpOn) PrintText(m_font, "Press F12 For Teleport (%d, %d, %d)", (int)Wpx, (int)Wpy, (int)Wpz); //It is my  function to write text to screen.

 

 

 

and i am hooked directx9 vista using directx10.

Edited by warchild66
and i am hooked directx9 vista using directx10.

Does this mean we Vista x64 users should be able to use this?

And I was under the impression that GTA IV is DX9...

i dont know why it is not run on vista. i compiled with Microsoft DirectX SDK (August 2008)\x64

 

i am using recalculated addresses.

TTKRickJames

 

and i am hooked directx9 vista using directx10.

Does this mean we Vista x64 users should be able to use this?

And I was under the impression that GTA IV is DX9...

i dont know why it is not run on vista. i compiled with Microsoft DirectX SDK (August 2008)\x64

 

i am using recalculated addresses.

i downloaded again, and am trying that Dx file someone else posted , will post back either way.

 

UPDATE: still doesn't work. oh well. Cant wait till it is working though.

 

This is number 1 on my most wanted mods list.

 

Keep up the good work.

Edited by TTKRickJames
and i am hooked directx9 vista using directx10.

Does this mean we Vista x64 users should be able to use this?

And I was under the impression that GTA IV is DX9...

i dont know why it is not run on vista. i compiled with Microsoft DirectX SDK (August 2008)\x64

 

i am using recalculated addresses.

i downloaded again, and am trying that Dx file someone else posted , will post back either way.

 

UPDATE: still doesn't work. oh well. Cant wait till it is working though.

 

This is number 1 on my most wanted mods list.

 

Keep up the good work.

yeah i tried that too, and i agree it is No 1 on my most wanted list as well.

 

Hey , i want to make a teleport to waypoint with alice, how to do it?

I Try

GET_MAP_AREA_FROM_COORDS

To Get the Map coordinate but nothing done, i seen like this

6,1230123

5,14341234

1,2342344

On Alice.log, i think its not the map coordinates , are there any help to

get a map coordinate(In The Map Waypoint)?

 

 

The function From IDA

 

int __cdecl GET_BLIP_COORDS(int a1, int a2)  //0x00A0C430{ int v2; // eax@1 int result; // eax@5 v2 = sub_7B53E0(a1); if ( v2 < 0 ) {   result = a2;   __asm   {     xorps   xmm0, xmm0     movss   dword ptr [eax+8], xmm0     movss   dword ptr [eax+4], xmm0     movss   dword ptr [eax], xmm0   } } else {   _EAX = dword_FB1AF0[v2];   if ( *(_BYTE *)(_EAX + 8) )   {     __asm     {       movss   xmm0, dword ptr [eax+30h]       movss   xmm1, dword ptr [eax+34h]       movss   xmm2, dword ptr [eax+38h]     }   }   else   {     __asm     {       movss   xmm0, dword ptr [eax+1Ch]       movss   xmm1, dword ptr [eax+20h]       xorps   xmm2, xmm2     }   }   result = a2;   __asm   {     movss   dword ptr [eax], xmm0     movss   xmm0, [esp+10h+var_4]     movss   dword ptr [eax+4], xmm1     movss   dword ptr [eax+8], xmm2     movss   dword ptr [eax+0Ch], xmm0   } } return result;}

 

 

 

   int const *Blips = (int*)0x00FB1AF0;   //Blips On The Map   isWpOn = false;   for(int j = 0; j<50; j++)           //I dont know the limit of the array...   {       if(Blips[j] != 0)       {               Wpx = *(float*)(Blips[j] + 0x30);                Wpy = *(float*)(Blips[j] + 0x34);                Wpz = *(float*)(Blips[j] + 0x38);       }       if(Wpz == 0) break;        //It is waypoint. Maybe better solution like blip name.    }   if(isWpOn) PrintText(m_font, "Press F12 For Teleport (%d, %d, %d)", (int)Wpx, (int)Wpy, (int)Wpz); //It is my  function to write text to screen.

 

 

 

and i am hooked directx9 vista using directx10.

I don understand it,

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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