

Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!// using etc...
#precache( "model", "p6_zm_tm_packapunch" );
#precache( "xanim", "fxanim_zom_tomb_packapunch_pc1_anim");
#precache( "xanim", "fxanim_zom_tomb_packapunch_pc2_anim");
#precache( "xanim", "fxanim_zom_tomb_packapunch_pc3_anim");
#precache( "xanim", "fxanim_zom_tomb_packapunch_pc4_anim");
#precache( "xanim", "fxanim_zom_tomb_packapunch_pc5_anim");
#precache( "xanim", "fxanim_zom_tomb_packapunch_pc6_anim");
#precache( "xanim", "fxanim_zom_tomb_packapunch_pc7_anim");
#using_animtree( "zm_origins_pap" );
// init and other stuffs
function test_pap()
{
n_rate = 1;
// n_blend = .2;
n_blend = 10; // this allow multiple anims for 10 seconds -> after clear all other anims except frst
n_lerp = 0;
n_start_time = 0;
str_notify = undefined;
model = GetEnt("zm_origins_pap", "script_noteworthy");
// model UseAnimTree( "zm_origins_pap" );
model UseAnimTree( #animtree );
for( i = 1; i <= 7; i++ )
{
GetPlayers()[0] waittill("weapon_fired");
str_notify = "pap_part" + i + "_start";
switch( i )
{
case 1:
model AnimScripted( str_notify, model.origin, model.angles, %fxanim_zom_tomb_packapunch_pc1_anim , "normal", %root, n_rate, n_blend, n_lerp, n_start_time);
// model SetAnim( %fxanim_zom_tomb_packapunch_pc1_anim );
break;
case 2:
model AnimScripted( str_notify, model.origin, model.angles, %fxanim_zom_tomb_packapunch_pc2_anim , "normal", %root, n_rate, n_blend, n_lerp, n_start_time);
// model SetAnim( %fxanim_zom_tomb_packapunch_pc2_anim );
break;
case 3:
model AnimScripted( str_notify, model.origin, model.angles, %fxanim_zom_tomb_packapunch_pc3_anim , "normal", %root, n_rate, n_blend, n_lerp, n_start_time);
// model SetAnim( %fxanim_zom_tomb_packapunch_pc3_anim );
break;
case 4:
model AnimScripted( str_notify, model.origin, model.angles, %fxanim_zom_tomb_packapunch_pc4_anim , "normal", %root, n_rate, n_blend, n_lerp, n_start_time);
// model SetAnim( %fxanim_zom_tomb_packapunch_pc4_anim );
break;
case 5:
model AnimScripted( str_notify, model.origin, model.angles, %fxanim_zom_tomb_packapunch_pc5_anim , "normal", %root, n_rate, n_blend, n_lerp, n_start_time);
// model SetAnim( %fxanim_zom_tomb_packapunch_pc5_anim );
break;
case 6:
model AnimScripted( str_notify, model.origin, model.angles, %fxanim_zom_tomb_packapunch_pc6_anim , "normal", %root, n_rate, n_blend, n_lerp, n_start_time);
// model SetAnim( %fxanim_zom_tomb_packapunch_pc6_anim );
break;
case 7:
model AnimScripted( str_notify, model.origin, model.angles, %fxanim_zom_tomb_packapunch_pc7_anim , "normal", %root, n_rate, n_blend, n_lerp, n_start_time);
// model SetAnim( %fxanim_zom_tomb_packapunch_pc7_anim );
break;
default:
IPrintLnBold("ERROR");
break;
}
}
test_pap();
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |