Quantcast

Jump to content

» «
Photo

script for cleaning windows platform

1 reply to this topic
yar_yaroslav
  • yar_yaroslav

    Player Hater

  • Members
  • Joined: 10 Jan 2017
  • NATO

#1

Posted 10 January 2017 - 09:01 PM Edited by yar_yaroslav, 12 January 2017 - 01:14 PM.

Hi everyone

I think not only me, will be interested to look into the script window cleaning platform or elevator, but how it works?
How to make Script to same own window cleaning platform?

  • It is found in the missions:

GTA 4 - Mission 39 - Deconstruction for Beginners (Playboy X)
 
GTA 4 - Mission 58 - Blood Brothers (Francis McReary)
 
GTA 4 - Mission 65 - Late Checkout (Ray Boccino)

  • The name of the object (model):

cj_window_cradle
cj_win_crad_winch
cj_win_cable
dm_wincable1
dm_wincable1
 
fcUei.jpg
 
 
Wjw5H.jpg
 
dVjyI.jpg
 
xftcu.jpg

  • The question is how the script works with object (model) when Niko becomes the platform once the script is activated, and then a prompt by pressing the arrow keys to move, and so on, how does it work?
     
  • Found files txt (attached to the report), Native functions, respectively, to the missions:
    (Manual how to find Native functions take here http://gtaxscripting...-usage-and.html )

1) Francis McReary -
 
francis5.txt  https://drive.google...cndEOTh6QTROWlk
 
window_lift_launcher.txt  https://drive.google...OVZkQmxiWDJhRkU
 
 
SCO ToolBox show: window_lift_launcher.sco

 

Spoiler

yar_yaroslav
  • yar_yaroslav

    Player Hater

  • Members
  • Joined: 10 Jan 2017
  • NATO

#2

Posted 11 January 2017 - 01:21 PM Edited by yar_yaroslav, 12 January 2017 - 01:43 PM.

Animation for Niko whith cleaning windows platform in file - misslift.wad

AzVeT.jpg
 

 

 

}

 
void sub_1824()
{
    REQUEST_ANIMS( "misslift" );
    while (NOT (HAVE_ANIMS_LOADED( "misslift" )))
    {
        WAIT( 0 );
    }
    return;
}

 

}

    if (NOT (IS_CHAR_DEAD( sub_2081() )))
    {
        if ((IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "GET_IN_LIFT_TOP" )) || ((IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "operate_lift_intro" )) || ((IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "OPERATE_LIFT_SWITCH" )) || (IS_CHAR_PLAYING_ANIM( sub_2081(), uParam4, "GET_IN_LIFT_BOTTOM" )))))
        {
            l_U147 = 1;
        }




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users