IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (2) [1] 2   ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 Adding custom text on the ingame screen

 custom title while in a car
 
koragg  
Posted: Tuesday, Jun 5 2012, 09:00
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



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: 0@ = 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
1@ = 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
1@ = 0.45
jump @CARJUMP_460

:CARJUMP_202
wait 0
1@ = 0.75
jump @CARJUMP_460

:CARJUMP_223
wait 0
0087: 2@ = 1@ // (float)
2@ *= 133.3333
0090: $2657 = float 2@ 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 > 1@
else_jump @CARJUMP_223
1@ += 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: 0@ = actor $PLAYER_ACTOR car
if or
81F3: not car 0@ in_air
04A7: actor $PLAYER_ACTOR driving_boat
else_jump @CARJUMP_46
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.0 0.0 1@
0407: store_coords_to 14@ 15@ 16@ from_car 0@ with_offset 0.0 0.0 0.0
0063: 11@ -= 14@ // (float)
0063: 12@ -= 15@ // (float)
0063: 13@ -= 16@ // (float)
07D5: set_car 0@ velocity_in_direction_XYZ 11@ 12@ 13@ rotation_velocitiesXY 0.0 0.0 unk 0.0
if
04A7: actor $PLAYER_ACTOR driving_boat
else_jump @CARJUMP_46
0087: 3@ = 1@ // (float)
3@ *= 5000.0
0092: 4@ = float 3@ to_integer
wait 4@
jump @CARJUMP_46

:CARJUMP_656
wait 0
0151: remove_status_text $2657
jump @CARJUMP_46

This post has been edited by koragg on Tuesday, Jun 5 2012, 09:02
Users WebsitePM
  Top
 

 
Deji  
Posted: Tuesday, Jun 5 2012, 10:41
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



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

 
koragg  
Posted: Tuesday, Jun 5 2012, 16:20
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



whats a sprite? (srry for the noob question)
Users WebsitePM
  Top
 

 
Deji  
Posted: Tuesday, Jun 5 2012, 16:35
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Users WebsitePM
  Top
 

 
koragg  
Posted: Tuesday, Jun 5 2012, 17:14
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



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

 
oksa8  
Posted: Tuesday, Jun 5 2012, 17:47
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




QUOTE (koragg @ Tuesday, Jun 5 2012, 20:14)
When I make the script load the .txd my game crashes!!

Post the script?
Users WebsitePM
  Top
 

 
koragg  
Posted: Tuesday, Jun 5 2012, 18:57
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



// 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: 0@ = 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
1@ = 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
1@ = 0.45
jump @CARJUMP_460

:CARJUMP_202
wait 0
1@ = 0.75
jump @CARJUMP_460

:CARJUMP_223
wait 0
0087: 2@ = 1@ // (float)
2@ *= 133.3333
0090: $2657 = float 2@ 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 > 1@
else_jump @CARJUMP_223
1@ += 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: 0@ = actor $PLAYER_ACTOR car
if or
81F3: not car 0@ in_air
04A7: actor $PLAYER_ACTOR driving_boat
else_jump @CARJUMP_46
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.0 0.0 1@
0407: store_coords_to 14@ 15@ 16@ from_car 0@ with_offset 0.0 0.0 0.0
0063: 11@ -= 14@ // (float)
0063: 12@ -= 15@ // (float)
0063: 13@ -= 16@ // (float)
07D5: set_car 0@ velocity_in_direction_XYZ 11@ 12@ 13@ rotation_velocitiesXY 0.0 0.0 unk 0.0
if
04A7: actor $PLAYER_ACTOR driving_boat
else_jump @CARJUMP_46
0087: 3@ = 1@ // (float)
3@ *= 5000.0
0092: 4@ = float 3@ to_integer
wait 4@
jump @CARJUMP_46

:CARJUMP_656
wait 0
0151: remove_status_text $2657
jump @CARJUMP_46
Users WebsitePM
  Top
 

 
Fable11  
Posted: Tuesday, Jun 5 2012, 23:06
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Jun 16, 2009

mw.gif

XXXXX




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: 0@ = 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
1@ = 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
1@ = 0.45
jump @CARJUMP_460

:CARJUMP_202
wait 0
1@ = 0.75
jump @CARJUMP_460

:CARJUMP_223
wait 0
0087: 2@ = 1@ // (float)
2@ *= 133.3333
0090: $2657 = float 2@ 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 > 1@
else_jump @CARJUMP_223
1@ += 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: 0@ = actor $PLAYER_ACTOR car
if or
81F3: not car 0@ in_air
04A7: actor $PLAYER_ACTOR driving_boat
else_jump @CARJUMP_46
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.0 0.0 1@
0407: store_coords_to 14@ 15@ 16@ from_car 0@ with_offset 0.0 0.0 0.0
0063: 11@ -= 14@ // (float)
0063: 12@ -= 15@ // (float)
0063: 13@ -= 16@ // (float)
07D5: set_car 0@ velocity_in_direction_XYZ 11@ 12@ 13@ rotation_velocitiesXY 0.0 0.0 unk 0.0
if
04A7: actor $PLAYER_ACTOR driving_boat
else_jump @CARJUMP_46
0087: 3@ = 1@ // (float)
3@ *= 5000.0
0092: 4@ = float 3@ to_integer
wait 4@
jump @CARJUMP_46



Get those out of the IF AND check
PM
  Top
 

 
koragg  
Posted: Wednesday, Jun 6 2012, 20:25
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



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

 
Fable11  
Posted: Wednesday, Jun 6 2012, 20:59
Quote Post


Square Civilian
Group Icon
Group: Members
Joined: Jun 16, 2009

mw.gif

XXXXX



QUOTE (koragg @ Wednesday, Jun 6 2012, 20:25)
how am I supposed to load the .mp3 if I remove these lines ? ? ?

The script is not well written , you need to simplify
PM
  Top
 

 
koragg  
Posted: Thursday, Jun 7 2012, 06:52
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



does anyone know which camera view is at 1:36 in this video http://www.youtube.com/watch?v=Xr87vrohkFs (when the car jumps)
Users WebsitePM
  Top
 

 
Ashwin the new boy  
Posted: Thursday, Jun 7 2012, 10:06
Quote Post


I am The Most Confused Person
Group Icon
Group: Members
Joined: Nov 14, 2010

ia.gif

XXXXX



you may say it a Custom Camera View lol.gif
use these opcode
CODE
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 34@ 18 2
Users WebsitePM
  Top
 

 
Atwood85  
Posted: Friday, Jun 8 2012, 00:39
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Jun 6, 2012

XXXXX



It's very nice, I like

This post has been edited by Girish on Friday, Jun 8 2012, 06:52
PM
  Top
 

 
koragg  
Posted: Friday, Jun 8 2012, 20:43
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



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.
Users WebsitePM
  Top
 

 
Deji  
Posted: Saturday, Jun 9 2012, 00:36
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



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

 
koragg  
Posted: Monday, Jun 11 2012, 16:20
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



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

 
The Viper Team  
Posted: Sunday, Jun 17 2012, 00:14
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Jun 16, 2012

XXXXX



QUOTE (koragg @ Friday, Jun 8 2012, 20:43)
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
PM
  Top
 

 
koragg  
Posted: Sunday, Jun 17 2012, 10:27
Quote Post


Knight Rider Forever
Group Icon
Group: Members
Joined: Feb 25, 2012

bu.gif

XXXXX



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.
Users WebsitePM
  Top
 

 
Shadowy_Flight  
Posted: Monday, Jun 18 2012, 14:25
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Jun 18, 2012

XXXXX



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.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif

This post has been edited by Shadowy_Flight on Monday, Jun 18 2012, 14:28
PM
  Top
 

 
Bad.boy!  
Posted: Monday, Jun 18 2012, 15:32
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



QUOTE (Shadowy_Flight @ Monday, Jun 18 2012, 16:25)
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.gif rampage_ani.gif rampage_ani.gif rampage_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.
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (2) [1] 2 

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG