Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Sign in to follow this  
koragg

Adding custom text on the ingame screen

Recommended Posts

koragg

Is there a way to add a custom text (from an image file) in the game.I wanna make a "TURBO BOOST" text appear on the screen when I'm in a car (any car) by pressing the keys in this script (all combinations).It has to be in the center of the screen with capital letters (like the WASTED or BUSTED texts - only with a different font).

 

// 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---------------

thread 'CARJUMP'

0AAC: $HMP3 = load_mp3 "CLEO\PLAYLIST\TURBOBOOST.MP3"

 

:CARJUMP_46

wait 0

if and

Player.Defined($PLAYER_CHAR)

Actor.Driving($PLAYER_ACTOR)

84C8: not actor $PLAYER_ACTOR driving_flying_vehicle

0AAF: [email protected] = get_mp3_length $HMP3

0AB0: key_pressed 16

else_jump @CARJUMP_46

if

8AB0: not key_pressed 88

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_181

if

8AB0: not key_pressed 67

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_202

[email protected] = 0.15

$2657 = 18

04F7: status_text $2657 type 1 line 1 GXT '' // global_variable

059C: enable_status_text $2657 flashing 0 // global_variable

jump @CARJUMP_223

 

:CARJUMP_181

wait 0

[email protected] = 0.45

jump @CARJUMP_460

 

:CARJUMP_202

wait 0

[email protected] = 0.75

jump @CARJUMP_460

 

:CARJUMP_223

wait 0

0087: [email protected] = [email protected] // (float)

[email protected] *= 133.3333

0090: $2657 = float [email protected] to_integer

if

Actor.Driving($PLAYER_ACTOR)

else_jump @CARJUMP_656

if

8AB0: not key_pressed 9

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_351

if

0AB0: key_pressed 16

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_422

if

0.75 > [email protected]

else_jump @CARJUMP_223

[email protected] += 0.02

jump @CARJUMP_223

 

:CARJUMP_351

wait 100

if

Actor.Driving($PLAYER_ACTOR)

else_jump @CARJUMP_656

if

0AB0: key_pressed 16

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_422

if

0AB0: key_pressed 9

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_351

jump @CARJUMP_223

 

:CARJUMP_422

wait 0

0151: remove_status_text $2657

if

8AB0: not key_pressed 82

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_46

jump @CARJUMP_460

 

:CARJUMP_460

wait 0

03C0: [email protected] = actor $PLAYER_ACTOR car

if or

81F3: not car [email protected] in_air

04A7: actor $PLAYER_ACTOR driving_boat

else_jump @CARJUMP_46

0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 [email protected]

0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0

0063: [email protected] -= [email protected] // (float)

0063: [email protected] -= [email protected] // (float)

0063: [email protected] -= [email protected] // (float)

07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] [email protected] rotation_velocitiesXY 0.0 0.0 unk 0.0

if

04A7: actor $PLAYER_ACTOR driving_boat

else_jump @CARJUMP_46

0087: [email protected] = [email protected] // (float)

[email protected] *= 5000.0

0092: [email protected] = float [email protected] to_integer

wait [email protected]

jump @CARJUMP_46

 

:CARJUMP_656

wait 0

0151: remove_status_text $2657

jump @CARJUMP_46

Edited by koragg

Share this post


Link to post
Share on other sites
Deji

Using an image? Add it to a .txd and draw it as a sprite.

Share this post


Link to post
Share on other sites
koragg

whats a sprite? (srry for the noob question)

Share this post


Link to post
Share on other sites
koragg

When I make the script load the .txd my game crashes!!

Share this post


Link to post
Share on other sites
aStiffSausage
When I make the script load the .txd my game crashes!!

Post the script?

Share this post


Link to post
Share on other sites
koragg

// 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---------------

thread 'CARJUMP'

0AAC: $HMP3 = load_mp3 "CLEO\PLAYLIST\TURBOBOOST.MP3"

 

:CARJUMP_46

wait 0

if and

Player.Defined($PLAYER_CHAR)

Actor.Driving($PLAYER_ACTOR)

84C8: not actor $PLAYER_ACTOR driving_flying_vehicle

0AAF: [email protected] = get_mp3_length $HMP3

0AB0: key_pressed 16

else_jump @CARJUMP_46

if

8AB0: not key_pressed 88

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_181

if

8AB0: not key_pressed 67

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_202

[email protected] = 0.15

$2657 = 18

04F7: status_text $2657 type 1 line 1 GXT '' // global_variable

059C: enable_status_text $2657 flashing 0 // global_variable

jump @CARJUMP_223

 

:CARJUMP_181

wait 0

[email protected] = 0.45

jump @CARJUMP_460

 

:CARJUMP_202

wait 0

[email protected] = 0.75

jump @CARJUMP_460

 

:CARJUMP_223

wait 0

0087: [email protected] = [email protected] // (float)

[email protected] *= 133.3333

0090: $2657 = float [email protected] to_integer

if

Actor.Driving($PLAYER_ACTOR)

else_jump @CARJUMP_656

if

8AB0: not key_pressed 9

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_351

if

0AB0: key_pressed 16

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_422

if

0.75 > [email protected]

else_jump @CARJUMP_223

[email protected] += 0.02

jump @CARJUMP_223

 

:CARJUMP_351

wait 100

if

Actor.Driving($PLAYER_ACTOR)

else_jump @CARJUMP_656

if

0AB0: key_pressed 16

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_422

if

0AB0: key_pressed 9

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_351

jump @CARJUMP_223

 

:CARJUMP_422

wait 0

0151: remove_status_text $2657

if

8AB0: not key_pressed 82

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_46

jump @CARJUMP_460

 

:CARJUMP_460

wait 0

03C0: [email protected] = actor $PLAYER_ACTOR car

if or

81F3: not car [email protected] in_air

04A7: actor $PLAYER_ACTOR driving_boat

else_jump @CARJUMP_46

0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 [email protected]

0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0

0063: [email protected] -= [email protected] // (float)

0063: [email protected] -= [email protected] // (float)

0063: [email protected] -= [email protected] // (float)

07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] [email protected] rotation_velocitiesXY 0.0 0.0 unk 0.0

if

04A7: actor $PLAYER_ACTOR driving_boat

else_jump @CARJUMP_46

0087: [email protected] = [email protected] // (float)

3@ *= 5000.0

0092: [email protected] = float [email protected] to_integer

wait [email protected]

jump @CARJUMP_46

 

:CARJUMP_656

wait 0

0151: remove_status_text $2657

jump @CARJUMP_46

Share this post


Link to post
Share on other sites
Shmoopy

thread 'CARJUMP'

0AAC: $HMP3 = load_mp3 "CLEO\PLAYLIST\TURBOBOOST.MP3"

 

:CARJUMP_46

wait 0

if and

Player.Defined($PLAYER_CHAR)

Actor.Driving($PLAYER_ACTOR)

84C8: not actor $PLAYER_ACTOR driving_flying_vehicle

0AAF: [email protected] = get_mp3_length $HMP3

0AB0: key_pressed 16

else_jump @CARJUMP_46

if

8AB0: not key_pressed 88

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_181

if

8AB0: not key_pressed 67

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_202

[email protected] = 0.15

$2657 = 18

04F7: status_text $2657 type 1 line 1 GXT '' // global_variable

059C: enable_status_text $2657 flashing 0 // global_variable

jump @CARJUMP_223

 

:CARJUMP_181

wait 0

[email protected] = 0.45

jump @CARJUMP_460

 

:CARJUMP_202

wait 0

[email protected] = 0.75

jump @CARJUMP_460

 

:CARJUMP_223

wait 0

0087: [email protected] = [email protected] // (float)

[email protected] *= 133.3333

0090: $2657 = float [email protected] to_integer

if

Actor.Driving($PLAYER_ACTOR)

else_jump @CARJUMP_656

if

8AB0: not key_pressed 9

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_351

if

0AB0: key_pressed 16

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_422

if

0.75 > [email protected]

else_jump @CARJUMP_223

[email protected] += 0.02

jump @CARJUMP_223

 

:CARJUMP_351

wait 100

if

Actor.Driving($PLAYER_ACTOR)

else_jump @CARJUMP_656

if

0AB0: key_pressed 16

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_422

if

0AB0: key_pressed 9

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_351

jump @CARJUMP_223

 

:CARJUMP_422

wait 0

0151: remove_status_text $2657

if

8AB0: not key_pressed 82

0AAD: set_mp3 $HMP3 perform_action 1

else_jump @CARJUMP_46

jump @CARJUMP_460

 

:CARJUMP_460

wait 0

03C0: [email protected] = actor $PLAYER_ACTOR car

if or

81F3: not car [email protected] in_air

04A7: actor $PLAYER_ACTOR driving_boat

else_jump @CARJUMP_46

0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 [email protected]

0407: store_coords_to [email protected] [email protected] [email protected] from_car [email protected] with_offset 0.0 0.0 0.0

0063: [email protected] -= [email protected] // (float)

0063: [email protected] -= [email protected] // (float)

0063: [email protected] -= [email protected] // (float)

07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] [email protected] rotation_velocitiesXY 0.0 0.0 unk 0.0

if

04A7: actor $PLAYER_ACTOR driving_boat

else_jump @CARJUMP_46

0087: [email protected] = [email protected] // (float)

[email protected] *= 5000.0

0092: [email protected] = float [email protected] to_integer

wait [email protected]

jump @CARJUMP_46

 

 

 

Get those out of the IF AND check

Share this post


Link to post
Share on other sites
koragg

how am I supposed to load the .mp3 if I remove these lines ? ? ?

Share this post


Link to post
Share on other sites
Shmoopy
how am I supposed to load the .mp3 if I remove these lines ? ? ?

The script is not well written , you need to simplify

Share this post


Link to post
Share on other sites
koragg

does anyone know which camera view is at 1:36 in this video

(when the car jumps)

Share this post


Link to post
Share on other sites
Ashwin.Star

you may say it a Custom Camera View lol.gif

use these opcode

 

015F: set_camera_position 664.9277 -479.6112 16.1668 rotation 0.0 0.0 0.0 0160: set_camera_point_at 665.8948 -479.5685 16.4175 mode 2 // or may be // 0158: camera_on_car [email protected] 18 2 

 

Share this post


Link to post
Share on other sites
Atwood85

It's very nice, I like

Edited by Girish

Share this post


Link to post
Share on other sites
koragg

thanks about the camera view!!

i wanna ask is there a way to modify the ENB Series so that it's activated by pressing F12 instead of SHIFT and F12 ? confused.gif

 

çause when I press SHIFT in a car it jumps (CLEO mod) so it's not so easy to use the ENB Series.

Share this post


Link to post
Share on other sites
Deji

Id blame the cleo script for using 0AB0. If you have a problem regarding a specific mod, contact its author.. It only makes sense.

Share this post


Link to post
Share on other sites
koragg

no what I mean is is there a way to make the ENB Series to be activated only with F12 without pressing SHIFT

Share this post


Link to post
Share on other sites
The Viper Team

 

thanks about the camera view!!

i wanna ask is there a way to modify the ENB Series so that it's activated by pressing F12 instead of SHIFT and F12 ? confused.gif

 

çause when I press SHIFT in a car it jumps (CLEO mod) so it's not so easy to use the ENB Series.

stop stealing knight rider old school and the other mods

Share this post


Link to post
Share on other sites
koragg

i didn't steal the Turbo Boost.I don't know where to find it because it's in the main.scm and not a cleo mod.

Share this post


Link to post
Share on other sites
Shadowy_Flight

koragg. you must be post the original outhor credits before posting it on the forum , Bennington Who Making This Script , Download Link of Vehicle Jump Mod on GTA Garage :http://www.gtagarage.com/mods/show.php?id=13226 .

rampage_ani.giframpage_ani.giframpage_ani.giframpage_ani.gif

Edited by Shadowy_Flight

Share this post


Link to post
Share on other sites
Bad.boy!
koragg. you must be post the original outhor credits before posting it on the forum , Bennington Who Making This Script , Download Link of Vehicle Jump Mod on GTA Garage :http://www.gtagarage.com/mods/show.php?id=13226 .

rampage_ani.giframpage_ani.giframpage_ani.giframpage_ani.gif

And you don't have to keep creating accounts when you're banned. If he wants to edit something for his own use, he can.

Share this post


Link to post
Share on other sites
Shadowy_Flight

@Bad.boy! I knew the rule while any member post a stuff from other ppl , must be post the credits biggrin.gif . But Sorry i didn't banned , i register this day on gta forum , because i worked all time at moddb ,

Edited by Shadowy_Flight

Share this post


Link to post
Share on other sites
Silent

Sure, Ahmed.

Share this post


Link to post
Share on other sites
Shadowy_Flight
Sure, Ahmed.

what !!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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