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. Forum Support

    3. Suggestions

Fake High Priority Phonecalls [GTA SA Classic]


ArmanCan
 Share

Recommended Posts

I think the title is pretty much obvious..😃

 

I'm just wondering.. can i add "Fake Phonecall" function to this game when the "$ONMISSION 0" is? I think it will be useful to trigger OM0 without waiting from contacts a phonecall or hanging the phonecall for a long time.. It will be healthy too because not answering a phonecall too long may boil your system and damages the save file/progress 😉

 

It will be a pretty simple.. This will be activated by a cheat and than a high priority phonecall (Classic 15-20 seconds delay phonecall) will be ringed. After you answer this phonecall the player will hear a randomized or specific audio and the script will complete it's life so it will be disposable.. Adding a cheat opcode is too easy but i have no idea about adding a new phonecall 🙂

Link to comment
Share on other sites

add a "Fake Phone call" ? for what purpose?

scripting a phone call is easy to do as cleo script

adding a script to main.scm is easy too, but it needs to Start New Game

 

Or do you mean the phone calls for trigger originally SA story line?

Link to comment
Share on other sites

Hallo ZAZ 😃

  

2 hours ago, ZAZ said:

add a "Fake Phone call" ? for what purpose?

 

Für eine OM0 Einstellung mit zum Beispiel Quarry oder 8-Track.. 😉 I'm seeing some players waiting an important phonecall and than hanging up too long until they reach their designated missions.. for example Los Desperados duping in order to get rid of Gang Wars.. Sometimes players wants to do EC-EM Conversion after %100 percent and Catalina's unpredictable phonecall doesn't help them.. 😧

 

2 hours ago, ZAZ said:

Or do you mean the phone calls for trigger originally SA story line?

 

No it won't have any affect with progress.. it will be completely independent.. 🙂

Link to comment
Share on other sites

sounds weird

can you give simple answer?

what exactly should the phone call initiate?

just display a text?

start a mission script?

start another script?

start a cleo script?

 

by what script type should the phone call be done?

Cleo script?

script inside main.scm?

 

test the cleo script below

press Backspace to get a phone ringing

press your PED_ANSWER_PHONE -key to accept

press enter/exit to cancel

after 10 sec without keypress, time expired, then it needs again request the phone ringing

after the call a video game mission starts

 

 remove these codes if you not play with  originally main.scm
 $ONMISSION = 1
 0417: start_mission 3

 

 

{$CLEO .cs}
thread 'PHONCAL'
0@ = 20600
1@ = 0


while true
    wait 0

    if 
        0256:   player $PLAYER_CHAR defined
    then
        if and
            1@ == 0
            0AB0:   key_pressed 8 // press Backspace  start call by phone ringing
        then
            0@ = 20600
            gosub @PhoneCall_wav_sound
            03D1: play_wav 1
            03E5: show_text_box 'ANSWER'
            1@ = 1
            33@ = 0        
        end
        if  or
            33@ > 10000 // time expired
            00E1:   player 0 pressed_key 15// enter/exit key
        then
            1@ = 0// cancel phone call
        end        
        if and
            1@ == 1
            00E1:   player 0 pressed_key 4 // TAB - PED_ANSWER_PHONE
        then
            0247: load_model #CELLPHONE
            038B: load_requested_models
            01B4: set_player $PLAYER_CHAR can_move 0 
            0729: AS_actor $PLAYER_ACTOR hold_cellphone 1
            067C: put_camera_on_actor $PLAYER_ACTOR with_offset 0.0 1.5 0.6 rotation 0.0 0.2 0.6 0.0 2 
            wait 250
            03E6: remove_text_box
            33@ = 0 // reset timer
            1@ = 2
            
            
            while 0256:   player $PLAYER_CHAR defined
                wait 0
                if or
                    33@ > 11000// check timer if 5 seconds are passed 
                    00E1:   player 0 pressed_key 14
                    00E1:   player 0 pressed_key 15
                    00E1:   player 0 pressed_key 17
                    00E1:   player 0 pressed_key 6 
                then
                    break
                end
                
                if and
                    1@ == 2
                    33@ > 2000// check timer if 5 seconds are passed                   
                then
                    0@ = 29052
                    gosub @PhoneCall_wav_sound 
                    0949: link_wav 1 to_actor $PLAYER_ACTOR
                    0967: actor $PLAYER_ACTOR move_mouth 2000 ms
                    03D1: play_wav 1
                    1@ = 3
                end
                
                if and
                    1@ == 3
                    33@ > 3000// check timer if 5 seconds are passed                   
                then
                    0@ = 29076
                    gosub @PhoneCall_wav_sound 
                    0949: link_wav 1 to_actor $PLAYER_ACTOR
                    //0967: actor $PLAYER_ACTOR move_mouth 2000 ms
                    03D1: play_wav 1
                    1@ = 4
                end                


                if and
                    1@ == 4
                    33@ > 4000// check timer if 5 seconds are passed                   
                then
                    0968: actor $PLAYER_ACTOR stop_mouth                    
                    0@ = 28405
                    gosub @PhoneCall_wav_sound 
                    0949: link_wav 1 to_actor $PLAYER_ACTOR
                    03D1: play_wav 1                        
                    1@ = 5
                end

                if and
                    1@ == 5
                    33@ > 9000// check timer if 5 seconds are passed                   
                then
                    0968: actor $PLAYER_ACTOR stop_mouth                    
                    0@ = 30415
                    gosub @PhoneCall_wav_sound 
                    0949: link_wav 1 to_actor $PLAYER_ACTOR
                    0967: actor $PLAYER_ACTOR move_mouth 2000 ms
                    03D1: play_wav 1                        
                    1@ = 6
                end

                                                
            end
            
            0729: AS_actor $PLAYER_ACTOR hold_cellphone 0
            wait 500
            0968: actor $PLAYER_ACTOR stop_mouth  
            0373: set_camera_directly_behind_player
            02EB: restore_camera_with_jumpcut
            01B4: set_player $PLAYER_CHAR can_move 1
            //--------------------------------------------------------------
            //   below place code that should start scripts
            //   or other commands which should happen
            //
            //   if you play on originally main.scm, 
            //   then test start_mission 3, it's a  Video Game
            //--------------------------------------------------------------
            00BA: show_text_styled GXT 'FEN_JON' time 2000 style 4  //
            wait 1000
            $ONMISSION = 1 
            0417: start_mission 3// Originally: Video Game: They Crawled From Uranus
            //--------------------------------------------------------------
            //   remove these codes if you not play with  originally main.scm
            //   $ONMISSION = 1
            //   0417: start_mission 3
            //
            //   or if you not wanna play a misssion script
            //   
            //   you can also start a cleo script
            //0A92: create_custom_thread "scriptMod.cs"   
            //   or cleo mission script
            //0A94: start_custom_mission "MissionMod"                                                               
            //--------------------------------------------------------------                               
        end                
    end
end




:PhoneCall_wav_sound
040D: unload_wav 1
03CF: load_wav [email protected] as 1
repeat
wait 0
until 03D0:   wav 1 loaded 
return


 

 

Link to comment
Share on other sites

57 minutes ago, ZAZ said:

can you give simple answer?

what exactly should the phone call initiate?

 

I'm lookig for a phonecall that will aid players to trigger OM0 or make an EC/EM Conversion healthy/safely 🙂 and like i said before it won't have any effects with progress/missions

 

57 minutes ago, ZAZ said:

by what script type should the phone call be done?

Cleo script?

 

Yes cleo script..and i only want a "press key/type cheat code" phonecall so players can use it whenever they want.. the phone will continously ring (Classic ringtone - 10 or 15 seconds delay between calls) until they answer it and when they answer it the players must press the same key or type the same cheat code again in order to get a new phonecall 😉After they pick up the phone the players will hear either a randomized voice (i think there was a library in some files) or a specific voice (preferably a short one and i think this will be easier than randomizing).. They can off course skip it if they want 🙂 

 

Your script seems partly clear for me and i have just one question..

 

Is 5 seconds really a must? I mean it's too short for me.. It would be at least 10 seconds between two unanswered phonecalls...😧  

Link to comment
Share on other sites

2 hours ago, ArmanCan said:

Is 5 seconds really a must? I mean it's too short for me.. It would be at least 10 seconds between two unanswered phonecalls...😧  

 

it's not 5 sec, it's 10 as i said, after 10 sec without keypress, time expired, then it needs again request the phone ringing

but you can modify the script to your desire, make 20 sec, add more conversation, make fade, whatever you want

Edited by ZAZ
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.