Quantcast

Jump to content

» «
Photo

TBOGT basejump animations in GTA 4

1 reply to this topic
RyanBurnsRed
  • RyanBurnsRed

    1776

  • Members
  • Joined: 16 Jun 2010
  • United-States

#1

Posted 24 July 2012 - 12:47 AM Edited by brootalperry, 24 July 2012 - 12:53 AM.

Hey guys, I hope I'm in the correct place to post this, but I would like to know if it would be remotely possible to make Niko have the base jumping animations from The Ballad of Gay Tony for a flying mod.

What I'm trying to say is I would like to create a mod similar to this with animations like this in the original GTA 4.

Is it impossible?


jdmalex2
  • jdmalex2

    Player Hater

  • Members
  • Joined: 25 Feb 2012

#2

Posted 27 July 2012 - 01:52 AM

QUOTE (brootalperry @ Tuesday, Jul 24 2012, 00:47)
Hey guys, I hope I'm in the correct place to post this, but I would like to know if it would be remotely possible to make Niko have the base jumping animations from The Ballad of Gay Tony for a flying mod.

What I'm trying to say is I would like to create a mod similar to this with animations like this in the original GTA 4.

Is it impossible?

yes , it worked for me with scocl using c++

CODE
bool randint = 0;
void anims(void)
{
if( IsKeyPressed(STICK_R,CIRCLE) )
{
 if(randint == 0){randint = 1;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "jump_takeoff_l", "parachute", 8, 99999, 1);Print("jump_takeoff_l");}
 else if(randint == 1){randint = 2;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "jump_takeoff_r", "parachute", 8, 99999, 1);Print("jump_takeoff_r");}
 else if(randint == 2){randint = 3;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Free_Fall", "parachute", 8, 99999, 1);Print("Free_Fall");}
 else if(randint == 3){randint = 4;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Free_Fall_Fast", "parachute", 8, 99999, 1);Print("Free_Fall_Fast");}
 else if(randint == 4){randint = 5;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Free_Fall_Veer_Right", "parachute", 8, 99999, 1);Print("Free_Fall_Veer_Right");}
 else if(randint == 5){randint = 6;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Free_Fall_Veer_Left", "parachute", 8, 99999, 1);Print("Free_Fall_Veer_Left");}
 else if(randint == 6){randint = 7;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "free_fall_deccelerate", "parachute", 8, 99999, 1);Print("free_fall_deccelerate");}
 else if(randint == 7){randint = 8;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Open_chute", "parachute", 8, 99999, 1);Print("Open_chute");}
 else if(randint == 8){randint = 9;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Hang_Idle", "parachute", 8, 99999, 1);Print("Hang_Idle");}
 else if(randint == 9){randint = 10;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Land_Fast", "parachute", 8, 99999, 1);Print("Land_Fast");}
 else if(randint == 10){randint = 11;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Land", "parachute", 8, 99999, 1);Print("Land");}
 else if(randint == 11){randint = 12;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Land_Safe", "parachute", 8, 99999, 1);Print("Land_Safe");}
 else if(randint == 12){randint = 13;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Accelerate_Loop", "parachute", 8, 99999, 1);Print("Accelerate_Loop");}
 else if(randint == 13){randint = 14;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "deccelerate", "parachute", 8, 99999, 1);Print("deccelerate");}
 else if(randint == 14){randint = 15;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Steer_R", "parachute", 8, 99999, 1);Print("Steer_R");}
 else if(randint == 15){randint = 16;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Steer_L", "parachute", 8, 99999, 1);Print("Steer_L");}
 else if(randint == 16){randint = 17;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Steer_R_less", "parachute", 8, 99999, 1);Print("Steer_R_less");}
 else if(randint == 17){randint = 18;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Steer_L_less", "parachute", 8, 99999, 1);Print("Steer_L_less");}
 else if(randint == 18){randint = 19;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Full_Brake_Loop", "parachute", 8, 99999, 1);Print("Full_Brake_Loop");}
 else if(randint == 19){randint = 20;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Steer_AB_R", "parachute", 8, 99999, 1);Print("Steer_AB_R");}
 else if(randint == 20){randint = 21;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Steer_AB_L", "parachute", 8, 99999, 1);Print("Steer_AB_L");}
 else if(randint == 21){randint = 22;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "Hang_Idle2", "parachute", 8, 99999, 1);Print("Hang_Idle2");}
 else if(randint == 22){randint = 23;TASK_PLAY_ANIM_WITH_FLAGS(GetPlayerPed(), "jump_out_ds", "parachute", 8, 99999, 1);Print("jump_out_ds");}

 else if(randint == 23){randint = 0;}  
}
}


void main(void)
{
while(true)
{
anims();
}

}


compile that script in scocl ( i used it for testing)

then you need to change images.txt in common.rpf to add your .img with tbogt parashute.img(cant remember name)


thats it..




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users