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  
frankhack

Need Help with CLEO3 Conversion

Recommended Posts

frankhack

Need Help with CLEO3 Conversion

 

Yes coder.....I realy need a help from you guys pls...

 

Ok...actualy...I am not a fulfill coder..i am learing and testing some codes my self.. and I am not goin to distribute any code without owner concent............

 

Ok..This the probleme i am haveing........I took this folowin code as my testing code of conversion.....Main code is here

 

First Person View Code By spaceeinstein

 

Find

 

 

004F: create_thread @MS_BIKE_MISSIONS 

 

 

Add below

 

 

004F: create_thread @CAMERAM0005: $160 =  0.00005: $166 = -.10005: $167 =  .69 

 

 

Find

 

 

//-------------Mission 0--------------- 

 

 

Add above

 

 

:CAMERAM03A4: name_thread 'CAMERAM' :CAMERAM_110001: wait 10 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @CAMERAM_11 0050: gosub @CAMERAM_117 00D6: if and00DF:   actor $PLAYER_ACTOR driving 00E1:   player 0 pressed_key 11 004D: jump_if_false @CAMERAM_81 0004: $705 = 1 0050: gosub @CAMERAM_117 0002: jump @CAMERAM_11 :CAMERAM_8100D6: if and00DF:   actor $PLAYER_ACTOR driving 00E1:   player 0 pressed_key 10 004D: jump_if_false @CAMERAM_11 0050: gosub @CAMERAM_342 0002: jump @CAMERAM_11 :CAMERAM_11700D6: if and00DF:   actor $PLAYER_ACTOR driving 09E7:   player $PLAYER_CHAR not_frozen 004D: jump_if_false @CAMERAM_375 00D6: if 0038:   $705 == 1 004D: jump_if_false @CAMERAM_449 0004: $159 = 1 00D6: if and80E1:   not player 0 pressed_key 5 80E1:   not player 0 pressed_key 7 004D: jump_if_false @CAMERAM_411 0004: $640 = 1 067C: put_camera_on_actor $PLAYER_ACTOR with_offset $160 $166 $167 rotation 0.0 90.0 0.0 0.0 2 00D6: if 00E1:   player 0 pressed_key 11 004D: jump_if_false @CAMERAM_449 0494: get_joystick 0 data_to [email protected] [email protected] [email protected] [email protected] 0093: [email protected] = integer [email protected] to_float 0093: [email protected] = integer [email protected] to_float 0093: [email protected] = integer [email protected] to_float 0017: [email protected] /= 2000.0 0017: [email protected] /= 2000.0 0017: [email protected] /= 2000.0 005B: $160 += [email protected] // @ += @ (float) 0063: $166 -= [email protected] // @ -= @ (float) 005B: $167 += [email protected] // @ += @ (float) 0051: return :CAMERAM_34200D6: if 0038:   $705 == 1 004D: jump_if_false @CAMERAM_449 02EB: restore_camera_with_jumpcut 09AD: vehicle_camera_mode 3 0004: $705 = 0 0051: return :CAMERAM_37500D6: if and0038:   $705 == 1 0038:   $159 == 1 004D: jump_if_false @CAMERAM_449 02EB: restore_camera_with_jumpcut 0004: $159 = 0 0051: return

 

 

:CAMERAM_411

00D6: if and

0038: $705 == 1

0038: $640 == 1

004D: jump_if_false @CAMERAM_449

015A: restore_camera

09AD: vehicle_camera_mode 0

0004: $640 = 0

 

:CAMERAM_449

0051: return

 

 

Ok first i insert into main.scm file following the given instruction..And its working fine..

But few Bugs..

Bug No1.The Goods Delivery .cs script is not running properly after i changed the .scm file..game geting crashed.

 

 

So i decided to convert this code in to .cs formate like cleo script...So i made modify this script like this

 

 

// 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 'CAMERAM' 0005: $160 = 0.0 0005: $166 = -0.1 0005: $167 = 0.69 :CAMERAM_410001: wait 10 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @CAMERAM_41 0050: gosub @CAMERAM_147 00D6: if and00DF:   actor $PLAYER_ACTOR driving 00E1:   player 0 pressed_key 11 004D: jump_if_false @CAMERAM_111 0004: $705 = 1 0050: gosub @CAMERAM_147 0002: jump @CAMERAM_41 :CAMERAM_11100D6: if and00DF:   actor $PLAYER_ACTOR driving 00E1:   player 0 pressed_key 10 004D: jump_if_false @CAMERAM_41 0050: gosub @CAMERAM_372 0002: jump @CAMERAM_41 :CAMERAM_14700D6: if and00DF:   actor $PLAYER_ACTOR driving 09E7:   player $PLAYER_CHAR not_frozen 004D: jump_if_false @CAMERAM_405 00D6: if 0038:   $705 == 1 004D: jump_if_false @CAMERAM_479 0004: $159 = 1 00D6: if and80E1:   not player 0 pressed_key 5 80E1:   not player 0 pressed_key 7 004D: jump_if_false @CAMERAM_441 0004: $640 = 1 067C: put_camera_on_actor $PLAYER_ACTOR with_offset $160 $166 $167 rotation 0.0 90.0 0.0 0.0 2 00D6: if 00E1:   player 0 pressed_key 11 004D: jump_if_false @CAMERAM_479 0494: get_joystick 0 data_to [email protected] [email protected] [email protected] [email protected] 0093: [email protected] = integer [email protected] to_float 0093: [email protected] = integer [email protected] to_float 0093: [email protected] = integer [email protected] to_float 0017: [email protected] /= 2000.0 0017: [email protected] /= 2000.0 0017: [email protected] /= 2000.0 005B: $160 += [email protected] // (float) 0063: $166 -= [email protected] // (float) 005B: $167 += [email protected] // (float) 0051: return :CAMERAM_37200D6: if 0038:   $705 == 1 004D: jump_if_false @CAMERAM_479 02EB: restore_camera_with_jumpcut 09AD: set_vehicle_camera_mode 3 0004: $705 = 0 0051: return :CAMERAM_40500D6: if and0038:   $705 == 1 0038:   $159 == 1 004D: jump_if_false @CAMERAM_479 02EB: restore_camera_with_jumpcut 0004: $159 = 0 0051: return :CAMERAM_44100D6: if and0038:   $705 == 1 0038:   $640 == 1 004D: jump_if_false @CAMERAM_479 015A: restore_camera 09AD: set_vehicle_camera_mode 0 0004: $640 = 0 :CAMERAM_4790051: return 004E: end_thread 

 

 

After i made this conversion ,i dint start a new game ,i ran my saved game...so the script is workin fine...But more bugs

Bug no1.After instal this script i could,nt do a mission ..any mission..as soon as i enter the mission game is getting crashed.......

 

Bug no2: If i start a new game i can do my mission,but the script[the FPCV] is not running properly...

 

 

So what is this?what kinda mistake did i do?Is that conversion ok?

 

Help me..i want to learn pls

 

Thanks

Frankhack

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.