Author Topic: Good ol' GTA:SA racing  (Read 5517 times)

0 Members and 1 Guest are viewing this topic.

Offline Karlip

  • Admin
  • Posts: 1,048
  • -something clever-
    • View Profile
Good ol' GTA:SA racing
« on: April 11, 2011, 08:42:43 pm »
Anyone remember those fancy races in the countryside while riding a sanchez?

If so, you must remember the racing hud gta sa used.



Hud functions:
  • The little position showing box
  • 'Informative' boxes in top left corner that give you info: first box shows race name and author, box disappears, 0,5 of a second passes, appears another black box telling the record and recordholder. Also, boxes appearing will have the 'Click' sound heard from GTA:SA

Thoughts?

Offline [MAF]Snoopy

  • Posts: 14,462
    • View Profile
Re: Good ol' GTA:SA racing
« Reply #1 on: April 11, 2011, 08:46:32 pm »
i've wanted that for many years but r can't code it

Offline Speedfire

  • Posts: 111
  • FTW !
    • View Profile
Re: Good ol' GTA:SA racing
« Reply #2 on: April 12, 2011, 11:50:13 am »
It must be Nice..
Fell free to Race !

Offline [MAF]Jur1z

Re: Good ol' GTA:SA racing
« Reply #3 on: April 12, 2011, 10:09:10 pm »

 8)
« Last Edit: April 12, 2011, 10:11:03 pm by FireBox »

Offline [MAF]Snoopy

  • Posts: 14,462
    • View Profile
Re: Good ol' GTA:SA racing
« Reply #4 on: April 12, 2011, 10:14:36 pm »
omg! /huds here i come!!!

aw it's different when i choose it :L

Offline [MAF]Jur1z

Re: Good ol' GTA:SA racing
« Reply #5 on: April 13, 2011, 03:20:41 pm »
I used CLEO to made it and help from ZAZ

press Backspace to enable, Tab to disable <-- i can change keys if you want

I made it for my desktop resolution 1440x900 so in other resolutions maybe it can be different

Cleo script. You can edit it, for your desktop resolution, if you know how to
Code: [Select]
{$CLEO .cs}
:Show_Textur
03A4: name_thread "RACEHUD"
wait 1000

:RACEHUD_2
wait 0
if
0256: player $PLAYER_CHAR defined
jf @RACEHUD_2
if
0AB0:   key_pressed 8//----- press Backspace to enable
jf @RACEHUD_2
0390: load_txd_dictionary "RACEHUD"
038F: load_texture "RACEHUD" as 1 

:RACEHUD_3
wait 0
if
0256: player $PLAYER_CHAR defined
jf @RACEHUD_3
03F0: enable_text_draw 1
038D: draw_texture 1 position 583.0 356.0 size 58.0 64.0 RGBA 255 255 255 255
if
0AB0:   key_pressed 9//----- press Tab to disable
jf @RACEHUD_3

:RACEHUD_4
03F0: enable_text_draw 0
0391: release_txd_dictionary
0002: jump @RACEHUD_2

038D: draw_texture 1 position 583.0 356.0 size 58.0 64.0 RGBA 255 255 255 255

/hud
Position
>   Position 572.0 324.0
>   Font Size 0.7 4.5
Position String
>   Position 585.0 329.0
>   Font Size 0.5 2.0
Total Racers
>   Position 586.0 344.0
>   Font Size 0.35 2.0
Time
>   Position 559.0 359.0
>   Font Size 0.45 2.5


Offline [MAF]Karlis

Re: Good ol' GTA:SA racing
« Reply #6 on: April 13, 2011, 03:42:14 pm »
I used CLEO to made it and help from ZAZ

press Backspace to enable, Tab to disable <-- i can change keys if you want

I made it for my desktop resolution 1440x900 so in other resolutions maybe it can be different

Cleo script. You can edit it, for your desktop resolution, if you know how to
Code: [Select]
{$CLEO .cs}
:Show_Textur
03A4: name_thread "RACEHUD"
wait 1000

:RACEHUD_2
wait 0
if
0256: player $PLAYER_CHAR defined
jf @RACEHUD_2
if
0AB0:   key_pressed 8//----- press Backspace to enable
jf @RACEHUD_2
0390: load_txd_dictionary "RACEHUD"
038F: load_texture "RACEHUD" as 1 

:RACEHUD_3
wait 0
if
0256: player $PLAYER_CHAR defined
jf @RACEHUD_3
03F0: enable_text_draw 1
038D: draw_texture 1 position 583.0 356.0 size 58.0 64.0 RGBA 255 255 255 255
if
0AB0:   key_pressed 9//----- press Tab to disable
jf @RACEHUD_3

:RACEHUD_4
03F0: enable_text_draw 0
0391: release_txd_dictionary
0002: jump @RACEHUD_2

038D: draw_texture 1 position 583.0 356.0 size 58.0 64.0 RGBA 255 255 255 255

/hud
Position
>   Position 572.0 324.0
>   Font Size 0.7 4.5
Position String
>   Position 585.0 329.0
>   Font Size 0.5 2.0
Total Racers
>   Position 586.0 344.0
>   Font Size 0.35 2.0
Time
>   Position 559.0 359.0
>   Font Size 0.45 2.5



that means visual/informative cleo mods, like speedos, are allowed?

Offline [MAF]Snoopy

  • Posts: 14,462
    • View Profile
Re: Good ol' GTA:SA racing
« Reply #7 on: April 13, 2011, 03:49:16 pm »
haha i know i would be contradicting myself in a huge way and going back on a rule i made but that hud is so cool :L

so ima try it ;_;

Offline [MAF]Jur1z

Re: Good ol' GTA:SA racing
« Reply #8 on: April 13, 2011, 05:03:36 pm »
IMO cleo mods that's change visual look should be allowed

Changed keys as suggested Scroll Lock to enable, Num Lock to disable

Also attached little cleo mod, turn off radio by keypress x

Offline [MAF]Snoopy

  • Posts: 14,462
    • View Profile
Re: Good ol' GTA:SA racing
« Reply #9 on: April 13, 2011, 05:06:49 pm »
woop thanks

Offline [MAF]Karlis

Re: Good ol' GTA:SA racing
« Reply #10 on: April 13, 2011, 05:19:38 pm »
so can i use plane hud cleo, with altimeter, radar altimeter, speedo and dmg counter?

Offline [MAF]Jur1z

Re: Good ol' GTA:SA racing
« Reply #11 on: April 13, 2011, 05:44:09 pm »
so can i use plane hud cleo, with altimeter, radar altimeter, speedo and dmg counter?

kuru tieši? es zinu dažādus un citiem ir klāt (speed limiter, autopilot,...)
which one? i know more plane/car speedo mods with speed limiter, autopilot,... if its got these things then not

Offline [MAF]Jur1z

Re: Good ol' GTA:SA racing
« Reply #12 on: April 13, 2011, 06:57:46 pm »
v2 added CP Progress
keys Scroll Lock to enable, Num Lock to disable

/hud
Position
>   Position 564.5 324.0
>   Font Size 0.7 4.5
Position String
>   Position 585.0 329.0
>   Font Size 0.5 2.0
Total Racers
>   Position 586.0 344.0
>   Font Size 0.35 2.0
Time
>   Position 559.0 359.0
>   Font Size 0.45 2.5
CP Progress
>   Position 583.0 384.0
>   Font Size 0.35 3.0



EDIT: is there a way to put this color on numbers Hex: 869BB8 i didnt see this color in /hud
« Last Edit: April 13, 2011, 07:10:00 pm by FireBox »

Offline [MAF]mooman

  • Leader
  • Posts: 6,286
    • View Profile
Re: Good ol' GTA:SA racing
« Reply #13 on: April 13, 2011, 07:24:08 pm »
Quote
EDIT: is there a way to put this color on numbers Hex: 869BB8 i didnt see this color in /hud
not atm
will read and answer your forum PMs when I'm less busy!

Offline [MAF]Snoopy

  • Posts: 14,462
    • View Profile
Re: Good ol' GTA:SA racing
« Reply #14 on: April 13, 2011, 07:29:45 pm »
v2 added CP Progress
keys Scroll Lock to enable, Num Lock to disable

/hud
Position
>   Position 564.5 324.0
>   Font Size 0.7 4.5
Position String
>   Position 585.0 329.0
>   Font Size 0.5 2.0
Total Racers
>   Position 586.0 344.0
>   Font Size 0.35 2.0
Time
>   Position 559.0 359.0
>   Font Size 0.45 2.5
CP Progress
>   Position 583.0 384.0
>   Font Size 0.35 3.0



EDIT: is there a way to put this color on numbers Hex: 869BB8 i didnt see this color in /hud

nice :)