IL-GSC/BO1/PC/ZM/animscripts/traverse/crouch_jump_down_40.gsc
2024-02-18 17:32:07 -05:00

33 lines
863 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include animscripts\utility;
#include animscripts\traverse\zombie_shared;
#using_animtree ("generic_human");
main()
{
switch (self.type)
{
case "human": human(); break;
case "dog": dog(); break;
case "zombie": human(); break;
case "zombie_dog": dog(); break;
}
}
human()
{
self.desired_anim_pose = "crouch";
animscripts\utility::UpdateAnimPose();
self endon("killanimscript");
self.a.movement = "walk";
self.a.alertness = "alert";
self traverseMode("nogravity");
startnode = self getnegotiationstartnode();
assert( isdefined( startnode ) );
self OrientMode( "face angle", startnode.angles[1] );
self setFlaggedAnimKnoballRestart("stepanim",%ai_jump_across_72, %body, 1, .1, 1);
wait .15;
self traverseMode("gravity");
self animscripts\shared::DoNoteTracks("stepanim");
}
dog()
{
dog_jump_down( 96, 7 );
}