Quantcast

Jump to content

» «
Photo

[GTA VC]Need a Moving Radar anywhere script.

8 replies to this topic
TommyCJFaann
  • TommyCJFaann

    "Remember the name!"

  • Members
  • Joined: 08 Dec 2013
  • India

#1

Posted 12 January 2014 - 09:34 AM

Hello GTAForums coders!

 

I need a help on my mod:http://gtaforums.com...ectangular-hud/

 

 I want to move the radar to bottom.Could anyone make it?

Also,the requests topic is dead,so please do this as soon as possible!

 

Thank you!


MrGTAmodsgerman
  • MrGTAmodsgerman

    Square Civilian

  • Members
  • Joined: 02 Jan 2012

#2

Posted 12 January 2014 - 01:19 PM

I find this code part in a speedometer mod
i think that will help you

03F0: enable_text_draw 0 
03E3: set_texture_to_be_drawn_antialiased 1 
038D: draw_texture 16 position 550.0 360.0 size 241.0 220.0 RGBA 255 255 255 255 
03E3: set_texture_to_be_drawn_antialiased 1 
074B: draw_texture 15 position 550.0 360.0 scale 241.0 220.0 angle 2@ color_RGBA 255 255 255 255 

:)


TommyCJFaann
  • TommyCJFaann

    "Remember the name!"

  • Members
  • Joined: 08 Dec 2013
  • India

#3

Posted 13 January 2014 - 08:39 AM

Thanks but I need to move radar,not a external texture.Please help!


MasterHK
  • MasterHK

    کیان حامی

  • Members
  • Joined: 20 Mar 2013
  • Iran

#4

Posted 13 January 2014 - 08:57 AM Edited by MasterHK, 13 January 2014 - 08:58 AM.

by Cleo?

if yes, Here you can find a useful func. : )


TommyCJFaann
  • TommyCJFaann

    "Remember the name!"

  • Members
  • Joined: 08 Dec 2013
  • India

#5

Posted 13 January 2014 - 11:07 AM

by Cleo?

if yes, Here you can find a useful func. : )

That one is for SA.I need for GTAVC.


TommyCJFaann
  • TommyCJFaann

    "Remember the name!"

  • Members
  • Joined: 08 Dec 2013
  • India

#6

Posted 16 January 2014 - 12:57 PM

Hello guys,please!


MasterHK
  • MasterHK

    کیان حامی

  • Members
  • Joined: 20 Mar 2013
  • Iran

#7

Posted 16 January 2014 - 04:09 PM

Oh...

I've been found a cs script in my ViceCity Cleo Folder.

I don't know author of it but i think may be useful for your purpose.

 

in this code :Loop makes an GTA_IV_HUD-Like that hud disappears after a few seconds.

OK?

{$CLEO}
0000:
{
0x68FD28 - [float] - Radar Size (XY)
0x68FD2C - [Float] - Radar X Position
0x68FD34 - [Float] - Radar Y Position
0x68FD38 - [Float] - Radar Shape
0x68FD3C - [Float] - Radar Shape
}
05DF: write_memory 0x55879B size 1 value 0x02 virtual_protect 1     //ammo font
05DF: write_memory 0x697B5E size 1 value 0x20 virtual_protect 1

05DF: write_memory 0x697C18 size 4 value 50.0 virtual_protect 0   // Radardisc distance from bottom

//05DF: write_memory 0x697C1C size 4 value 50.0 virtual_protect 0   // Radardisc X Size
//05DF: write_memory 0x697C20 size 4 value 50.0 virtual_protect 0   // Radardisc Y Size        

05DF: write_memory 0x697B6C size 4 value 68.0 virtual_protect 0   // Weapon icon distance from top
05DF: write_memory 0x697B70 size 4 value 70.0 virtual_protect 0   // Weapon icon distance from right

05DF: write_memory 0x697B68 size 4 value 32.0 virtual_protect 0   // Weapon icon scale

05DF: write_memory 0x697B44 size 4 value 1.75 virtual_protect 0   // Weapon ammo text horizontal scale
05DF: write_memory 0x697B74 size 4 value 0.75 virtual_protect 0   // Weapon ammo text vetical scale 

05DF: write_memory 0x697B78 size 4 value 99.0 virtual_protect 0   // Weapon ammo text distance from top 
05DF: write_memory 0x697B7C size 4 value 95.0 virtual_protect 0   // Weapon ammo text distance from right

05DF: write_memory 0x697B20 size 4 value 0.349999994 virtual_protect 0   // HUD Text horizontal scale
05DF: write_memory 0x697B50 size 4 value 0.75 virtual_protect 0   // HUD text vertical scale

05DF: write_memory 0x697B54 size 4 value 40.0 virtual_protect 0   // Money distance from top
05DF: write_memory 0x697B58 size 4 value 40.0 virtual_protect 0   // Money distance from right

05DF: write_memory 0x697BF0 size 4 value 53.0 virtual_protect 0   // Time distance from top
05DF: write_memory 0x697BF4 size 4 value 40.0 virtual_protect 0   // Time distance from right

05DF: write_memory 0x697B88 size 4 value 1000.0 virtual_protect 0   // Health and Armor distance from top
05DF: write_memory 0x697B8C size 4 value 1000.0 virtual_protect 0   // Health and Armor distance from right

05DF: write_memory 0x697B98 size 4 value 27.0 virtual_protect 0   //  Wanted stars distance from top
05DF: write_memory 0x697B9C size 4 value 13.0 virtual_protect 0   //  wanted level stars X spacing between stars                                     
:Loop
wait 0
05E0: 0@ = read_memory 0x86963A size 1 virtual_protect 0
if and
0@ == 0
00E1:   key_pressed 0 17
then
05DF: write_memory 0x86963A size 1 value 1 virtual_protect 0
17@ = 0
end

if and
0@ == 0
00E1:   key_pressed 0 5
then
05DF: write_memory 0x86963A size 1 value 1 virtual_protect 0
17@ = 0
end

if and
0@ == 0
00E1:   key_pressed 0 7
then
05DF: write_memory 0x86963A size 1 value 1 virtual_protect 0
17@ = 0
end

if and
not 0@ == 0
17@ >= 30000
then
05DF: write_memory 0x86963A size 1 value 0 virtual_protect 0
end
jump @Loop

TommyCJFaann
  • TommyCJFaann

    "Remember the name!"

  • Members
  • Joined: 08 Dec 2013
  • India

#8

Posted 17 January 2014 - 10:03 AM

86963A- HUD Switch memory address.It seems a wise idea,but the time is so late.Also,i've found a way to modify them directly in .cs.Thank you!


MasterHK
  • MasterHK

    کیان حامی

  • Members
  • Joined: 20 Mar 2013
  • Iran

#9

Posted 17 January 2014 - 12:45 PM

Thank you but it was not mine, i think original author was ThirteenAg





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users