Quantcast

Jump to content

» «
Photo

GTA SA CLEO SPEEDOMETER

5 replies to this topic
Darkkeness
  • Darkkeness

    The dark is come

  • Members
  • Joined: 31 May 2009

#1

Posted 24 December 2009 - 02:35 AM Edited by Darkkeness, 24 December 2009 - 02:52 AM.

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...how.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....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

ZAZ
  • ZAZ

    Kernlochbohrer

  • Members
  • Joined: 10 Jan 2005
  • European-Union

#2

Posted 24 December 2009 - 09:22 AM

QUOTE (Darkkeness @ Dec 24 2009, 02:35)


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:
CODE
038D: draw_texture 16 position 85.0 375.5 size 165.0 185.5 RGBA 255 255 255 255


strelk:
CODE
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


Waltzing Mouse
  • Waltzing Mouse

    Punk-ass Bitch

  • Members
  • Joined: 27 May 2008

#3

Posted 24 December 2009 - 12:25 PM

The mod was designed to fit an un-modified GTA IV hud - i.e. not including ThePredatorFPSB's additional mod.

Darkkeness
  • Darkkeness

    The dark is come

  • Members
  • Joined: 31 May 2009

#4

Posted 24 December 2009 - 05:08 PM

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
CODE
038D: draw_texture 16 position 87.0 373.0 size 176.5 150.5 RGBA 255 255 255 255


CODE
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

hellcat7
  • hellcat7

    Player Hater

  • Members
  • Joined: 28 Jun 2012

#5

Posted 22 August 2013 - 10:39 AM

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:)

TJGM
  • TJGM

    GTA Mods Led-By

  • Feroci Racing
  • Joined: 14 Jun 2011
  • Ireland

#6

Posted 22 August 2013 - 10:44 AM

QUOTE (hellcat7 @ Thursday, Aug 22 2013, 10:39)
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?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users