Jump to content

GTA SA CLEO SPEEDOMETER


Recommended Posts

well, thats the deal, i download the GTA IV HUD By Alexander Blade, and The Predator FPSB resise scale for the iv hud.

now i have a speedometer (http://www.gtagarage.com/mods/show.php?id=5684), but the size is wrong.

 

user posted image

 

i try to resize the speedometer, but i cannot make it fit in the radar.

 

The size of the Speedometer are this.

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

 

{$VERSION 3.1.0027}

{$CLEO .cs}

 

//-------------MAIN---------------

0000: NOP

0A95: enable_thread_saving

 

:NONAME_4

wait 0

if and

Actor.Driving($PLAYER_ACTOR)

$ACTIVE_INTERIOR == 0

84C8: not actor $PLAYER_ACTOR driving_flying_vehicle

84A7: not actor $PLAYER_ACTOR driving_boat

else_jump @NONAME_4

0811: 1@ = actor $PLAYER_ACTOR car // versionC

0390: load_txd_dictionary "SPEED"

038F: load_texture "STRELK" as 15 // Load dictionary with 0390 first

038F: load_texture "CIF" as 16 // Load dictionary with 0390 first

wait 500

jump @NONAME_91

 

:NONAME_91

wait 0

if and

Actor.Driving($PLAYER_ACTOR)

$ACTIVE_INTERIOR == 0

else_jump @NONAME_237

02E3: 2@ = car 1@ speed

2@ *= 3.2

03F0: enable_text_draw 0

03E3: set_texture_to_be_drawn_antialiased 1

038D: draw_texture 16 position 85.0 375.5 size 165.0 185.5 RGBA 255 255 255 255

03E3: set_texture_to_be_drawn_antialiased 1

074B: draw_texture 15 position 85.0 375.5 scale 165.0 185.5 angle 2@ color_RGBA 255 255 255 255

else_jump @NONAME_91

jump @NONAME_91

 

:NONAME_237

wait 0

03F0: enable_text_draw 0

0391: release_txd_dictionary

jump @NONAME_4

 

 

how i can resize it?

 

 

Sorry, i have very bad english rolleyes.gif

Edited by Darkkeness
Link to comment
https://gtaforums.com/topic/436263-gta-sa-cleo-speedometer/
Share on other sites

 

how i can resize it?

 

 

1. It's the wrong place to ask for help because here is the showroom (read the line in yellow fond color, above)

2.Such a tiny script, there just 2 lines which let the speedo show on screen:

 

scale:

 

038D: draw_texture 16 position 85.0 375.5 size 165.0 185.5 RGBA 255 255 255 255

 

 

strelk:

 

074B: draw_texture 15 position 85.0 375.5 scale 165.0 185.5 angle 2@ color_RGBA 255 255 255 255

 

 

 

you can read position 85.0 375.5 ? it means position x coord of screeen and y coord of screeen

 

you can read scale 165.0 185.5 ? it means the size, x dimension, y dimension

 

 

to find the correct values is an annoying work, change values, test ingame, change values, test ingame, and so on

 

 

Link to comment
https://gtaforums.com/topic/436263-gta-sa-cleo-speedometer/#findComment-1059702310
Share on other sites

Hi again biggrin.gif , i made alot of work whit your help, and i resise to fit perfectly, i change the numbers of the speedometer whit ones digitals.

 

look

user posted image

 

here is the code

 

 038D: draw_texture 16 position 87.0 373.0 size 176.5 150.5 RGBA 255 255 255 255 

 

 

 

074B: draw_texture 15 position 87.0 373.0 scale 170.5 150.5 angle 2@ color_RGBA 255 255 255 255

 

 

what do you think about it?

 

 

sorry i have a bad english tounge2.gif

 

Link to comment
https://gtaforums.com/topic/436263-gta-sa-cleo-speedometer/#findComment-1059702847
Share on other sites

  • 3 years later...
Hey i'm sorry i know i an not allowed to post such questions here..but..its important...the fuel gauge that is being used here...next to the speedo ...can anyone tell of which one is it? I want this same fuel gauge...any help appreciated:)

And you couldn't have gone into the request section with a picture instead of bumping a topic from 2009?

Link to comment
https://gtaforums.com/topic/436263-gta-sa-cleo-speedometer/#findComment-1063019932
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
  • 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.