Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    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. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. 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. Red Dead Redemption 2

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

    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
    1. Announcements

    2. Support

    3. Suggestions

GTA SA Car as boat how i can make this? My script dont work :(


MrGTAmodsgerman
 Share

Recommended Posts

MrGTAmodsgerman

I wanna make a script that makes the rhino swimming in a water like a boat. I know this is workable, i see in the night ride mod that.
How i can make this like in the night rider mod?
I wanna make this but all cars can swim and it doesnt looks like the night rider mod :(

My script:

// 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---------------03A4: name_thread 'RHINOWATER':RHINOWATER_190001: wait 0 ms00D6: if  0AB0:   key_pressed 221  00D6: if0256:   player $PLAYER_CHAR definedthen    if        Actor.DrivingVehicleType($PLAYER_ACTOR, #rhino)004D: jump_if_false @RHINOWATER_1900D6: if and00DF:   actor $PLAYER_ACTOR driving84A9:   not actor $PLAYER_ACTOR driving_heli84AB:   not actor $PLAYER_ACTOR driving_plane84C8:   not actor $PLAYER_ACTOR driving_flying_vehicle89AE:   not actor $PLAYER_ACTOR driving_train004D: jump_if_false @RHINOWATER_1903C0: [email protected] = actor $PLAYER_ACTOR car004D: jump_if_false @RHINOWATER_1903E5: show_text_box 'Aktivadet'0A8C: write_memory 9867602 size 4 value 1 virtual_protect 00001: wait 1000 ms0002: jump @RHINOWATER_75end:RHINOWATER_750001: wait 0 ms00D6: if0AB0:   key_pressed 221004D: jump_if_false @RHINOWATER_7503E5: show_text_box 'Deaktivadet'0A8C: write_memory 9867602 size 4 value 0 virtual_protect 00001: wait 1000 ms0002: jump @RHINOWATER_19

How i can make the script like in the Nightrider mod?

please help ! :(

Edited by MrGTAmodsgerman
Link to comment
Share on other sites

basicly the script works but it's a little bit messed up because of missing or wrong placed els_jumps
also use other keys instead the exotic ] (key 221 = ])

this is what you need

{$CLEO .cs}thread 'RNWATER':RHINOWATER_19wait 0if0256:   player $PLAYER_CHAR definedjf @RHINOWATER_19if  and0AB0:   key_pressed 8// key = backspace00DD:   actor $PLAYER_ACTOR driving_car_with_model #RHINOjf @RHINOWATER_19 03C0: [email protected] = actor $PLAYER_ACTOR car03E5: show_text_box 'fem_on'0A8C: write_memory 9867602 size 4 value 1 virtual_protect 00001: wait 3000 ms :RHINOWATER_75wait 0if  or0AB0:   key_pressed 8// key = backspace80DF: not  actor $PLAYER_ACTOR drivingjf @RHINOWATER_7503E5: show_text_box 'fem_off'0A8C: write_memory 9867602 size 4 value 0 virtual_protect 0wait 1000jump @RHINOWATER_19

btw. you can't insert a text like 'Aktivadet' because it needs to insert a gxt string which is limited to 7 charackter

Link to comment
Share on other sites

MrGTAmodsgerman

basicly the script works but it's a little bit messed up because of missing or wrong placed els_jumps

also use other keys instead the exotic ] (key 221 = ])

 

this is what you need

{$CLEO .cs}thread 'RNWATER':RHINOWATER_19wait 0if0256:   player $PLAYER_CHAR definedjf @RHINOWATER_19if  and0AB0:   key_pressed 8// key = backspace00DD:   actor $PLAYER_ACTOR driving_car_with_model #RHINOjf @RHINOWATER_19 03C0: [email protected] = actor $PLAYER_ACTOR car03E5: show_text_box 'fem_on'0A8C: write_memory 9867602 size 4 value 1 virtual_protect 00001: wait 3000 ms :RHINOWATER_75wait 0if  or0AB0:   key_pressed 8// key = backspace80DF: not  actor $PLAYER_ACTOR drivingjf @RHINOWATER_7503E5: show_text_box 'fem_off'0A8C: write_memory 9867602 size 4 value 0 virtual_protect 0wait 1000jump @RHINOWATER_19

btw. you can't insert a text like 'Aktivadet' because it needs to insert a gxt string which is limited to 7 charackter

THANKS :D it works but how i can set the Rhino a little bit under water like the night rider script?

like this video:

 

this vehicle isnt on water this vehicle is in water like a boat ;)

Link to comment
Share on other sites

seems not possible with cheat adress
try this script:

{$CLEO .cs}:AmphibienRhino03A4: name_thread 'AMPHIBI'wait 100000A1: put_actor $PLAYER_ACTOR at 273.0837 -1788.2213 4.3614 :AMPHIBI_10001: wait 0 msif0256:   player $PLAYER_CHAR definedjf @AMPHIBI_1if00DD:  actor $PLAYER_ACTOR driving_vehicle_type #RHINOjf @AMPHIBI_103C0: [email protected] = actor $PLAYER_ACTOR carif8119:   NOT   car [email protected] wreckedjf @AMPHIBI_23:AMPHIBI_50001: wait 0 msif0256:   player $PLAYER_CHAR definedjf @AMPHIBI_1if 00DF:  actor $PLAYER_ACTOR drivingjf @AMPHIBI_10407: create_coordinate [email protected] [email protected] [email protected] from_car [email protected] offset  0.0  0.0  0.0000F: [email protected] -=  2.0  // floating-point values092E: get_water_height_at [email protected] [email protected] flag 0 store_to [email protected]@ > -100.0jf @AMPHIBI_5if0025:   [email protected] > [email protected]  // floating-point valuesjf @AMPHIBI_50174: [email protected] = car [email protected] z_angleif00E1:   key_pressed  0  16jf @AMPHIBI_70175: set_car [email protected] z_angle_to [email protected]: [email protected] = cosine [email protected]  // sinus swapped with cosine02F7: [email protected] = sinus [email protected] // cosine swapped with sinus 0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  -1.0  // floating-point values07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.010 rotation_velocitiesXY 0.0 0.0 unk 0.0jump @AMPHIBI_11:AMPHIBI_7if00E1:   key_pressed  0  14jf @AMPHIBI_90174: [email protected] = car [email protected] z_angle000B: [email protected] +=  180.0  // floating-point values02F6: [email protected] = cosine [email protected]  // sinus swapped with cosine02F7: [email protected] = sinus [email protected] // cosine swapped with sinus 0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  -1.0  // floating-point values07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.010 rotation_velocitiesXY 0.0 0.0 unk 0.0jump @AMPHIBI_11:AMPHIBI_902F6: [email protected] = cosine [email protected]  // sinus swapped with cosine02F7: [email protected] = sinus [email protected] // cosine swapped with sinus 0013: [email protected] *=  0.001  // floating-point values0013: [email protected] *=  0.001  // floating-point values0013: [email protected] *=  -1.0  // floating-point values07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.007 rotation_velocitiesXY 0.0 0.0 unk 0.0:AMPHIBI_11if00E1:   key_pressed  0  0jf @AMPHIBI_170494: get_joystick_data  0 [email protected] [email protected] [email protected] [email protected]:   [email protected] ==  0  // integer valuesjf @AMPHIBI_13jump @AMPHIBI_17:AMPHIBI_13if 0019:   [email protected] >  0  // integer valuesjf @AMPHIBI_15000F: [email protected] -= 3.5 0175: set_car [email protected] z_angle_to [email protected] @AMPHIBI_17:AMPHIBI_15if 001B:    0 > [email protected]  // integer valuesjf @AMPHIBI_17000B: [email protected] += 3.50175: set_car [email protected] z_angle_to [email protected]:AMPHIBI_17if00E1:   key_pressed  0  15jf @AMPHIBI_50519: lock_vehicle [email protected] in_current_position  10633: AS_actor $PLAYER_ACTOR exit_car:AMPHIBI_200001: wait  0 msif0256:   player $PLAYER_CHAR definedjf @AMPHIBI_23if80DB:  not actor $PLAYER_ACTOR in_car [email protected] @AMPHIBI_20:AMPHIBI_23wait 500jump @AMPHIBI_1
Link to comment
Share on other sites

MrGTAmodsgerman

 

seems not possible with cheat adress

try this script:

{$CLEO .cs}:AmphibienRhino03A4: name_thread 'AMPHIBI'wait 100000A1: put_actor $PLAYER_ACTOR at 273.0837 -1788.2213 4.3614 :AMPHIBI_10001: wait 0 msif0256:   player $PLAYER_CHAR definedjf @AMPHIBI_1if00DD:  actor $PLAYER_ACTOR driving_vehicle_type #RHINOjf @AMPHIBI_103C0: [email protected] = actor $PLAYER_ACTOR carif8119:   NOT   car [email protected] wreckedjf @AMPHIBI_23:AMPHIBI_50001: wait 0 msif0256:   player $PLAYER_CHAR definedjf @AMPHIBI_1if 00DF:  actor $PLAYER_ACTOR drivingjf @AMPHIBI_10407: create_coordinate [email protected] [email protected] [email protected] from_car [email protected] offset  0.0  0.0  0.0000F: [email protected] -=  2.0  // floating-point values092E: get_water_height_at [email protected] [email protected] flag 0 store_to [email protected]@ > -100.0jf @AMPHIBI_5if0025:   [email protected] > [email protected]  // floating-point valuesjf @AMPHIBI_50174: [email protected] = car [email protected] z_angleif00E1:   key_pressed  0  16jf @AMPHIBI_70175: set_car [email protected] z_angle_to [email protected]: [email protected] = cosine [email protected]  // sinus swapped with cosine02F7: [email protected] = sinus [email protected] // cosine swapped with sinus 0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  -1.0  // floating-point values07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.010 rotation_velocitiesXY 0.0 0.0 unk 0.0jump @AMPHIBI_11:AMPHIBI_7if00E1:   key_pressed  0  14jf @AMPHIBI_90174: [email protected] = car [email protected] z_angle000B: [email protected] +=  180.0  // floating-point values02F6: [email protected] = cosine [email protected]  // sinus swapped with cosine02F7: [email protected] = sinus [email protected] // cosine swapped with sinus 0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  0.005  // floating-point values0013: [email protected] *=  -1.0  // floating-point values07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.010 rotation_velocitiesXY 0.0 0.0 unk 0.0jump @AMPHIBI_11:AMPHIBI_902F6: [email protected] = cosine [email protected]  // sinus swapped with cosine02F7: [email protected] = sinus [email protected] // cosine swapped with sinus 0013: [email protected] *=  0.001  // floating-point values0013: [email protected] *=  0.001  // floating-point values0013: [email protected] *=  -1.0  // floating-point values07D5: set_car [email protected] velocity_in_direction_XYZ [email protected] [email protected] 0.007 rotation_velocitiesXY 0.0 0.0 unk 0.0:AMPHIBI_11if00E1:   key_pressed  0  0jf @AMPHIBI_170494: get_joystick_data  0 [email protected] [email protected] [email protected] [email protected]:   [email protected] ==  0  // integer valuesjf @AMPHIBI_13jump @AMPHIBI_17:AMPHIBI_13if 0019:   [email protected] >  0  // integer valuesjf @AMPHIBI_15000F: [email protected] -= 3.5 0175: set_car [email protected] z_angle_to [email protected] @AMPHIBI_17:AMPHIBI_15if 001B:    0 > [email protected]  // integer valuesjf @AMPHIBI_17000B: [email protected] += 3.50175: set_car [email protected] z_angle_to [email protected]:AMPHIBI_17if00E1:   key_pressed  0  15jf @AMPHIBI_50519: lock_vehicle [email protected] in_current_position  10633: AS_actor $PLAYER_ACTOR exit_car:AMPHIBI_200001: wait  0 msif0256:   player $PLAYER_CHAR definedjf @AMPHIBI_23if80DB:  not actor $PLAYER_ACTOR in_car [email protected] @AMPHIBI_20:AMPHIBI_23wait 500jump @AMPHIBI_1

Big script but it is a very crazy,the rhino jump in the water and drive on the water not in there and it controls very difficult.

I have a idea,

a boat attach to the rhino and i automaticly drive the boat but sit in the rihno,and the boat is invisible,but is this possible??

The collision of the boat isnt working,the boat only works as a swimming motor. Hmm but i didnt know where i can find these opcodes :/

But thanks for the help ;)

Link to comment
Share on other sites

  • 2 weeks later...
GtaHellmodded

your idea working man ! but player animation drive boat not like drive bike or car

here i some screenshot of my cleo mod i write using you idea:

gta_sa2014-01-2909-45-04-96_zpsa955d638.

gta_sa2014-01-2909-45-09-45_zps1d87fef3.

Link to comment
Share on other sites

  • 1 month later...
MrGTAmodsgerman

your idea working man ! but player animation drive boat not like drive bike or car

here i some screenshot of my cleo mod i write using you idea:

gta_sa2014-01-2909-45-04-96_zpsa955d638.

gta_sa2014-01-2909-45-09-45_zps1d87fef3.

Thanks but can you help me with it? I cant download your mod and i didnt wanna brake the copyrights of your mod.

Link to comment
Share on other sites

MrGTAmodsgerman

this mod ?? or Ghost Rider mod ?? :barf:

This mod where i can see the way to make my mod with a swimming rhino

Link to comment
Share on other sites

GtaHellmodded
// 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 'RNWATER' :RNWATER_11Model.Load(#DINGHY)038B: load_requested_models 04ED: load_animation "BIKEH" wait 0 if    Player.Defined($PLAYER_CHAR)jf @RNWATER_11 if and   Model.Available(#DINGHY)0AB0:   key_pressed 8    Actor.DrivingVehicleType($PLAYER_ACTOR, #RHINO)jf @RNWATER_11 03C0: [email protected] = actor $PLAYER_ACTOR car 03E5: show_text_box 'FEM_ON'  // ON04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0 [email protected] = Car.Create(#DINGHY, [email protected], [email protected], [email protected])072A: put_actor $PLAYER_ACTOR into_car [email protected] driverseat 0683: attach_car [email protected] to_car [email protected] with_offset 0.0 0.0 0.0 rotation 0.0 0.0 360.0 Model.Destroy(#DINGHY)wait 3000 :RNWATER_196wait 0 if or0AB0:   key_pressed 8    not Actor.Driving($PLAYER_ACTOR)jf @RNWATER_196 03E5: show_text_box 'FEM_OFF'  // OFF05CD: AS_actor $PLAYER_ACTOR exit_car [email protected] 072A: put_actor $PLAYER_ACTOR into_car [email protected] driverseat wait 100 Car.Destroy([email protected])wait 1000 jump @RNWATER_11 

need to make boat that attach to rniho invisible !

Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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