38 lines
861 B
Plaintext
38 lines
861 B
Plaintext
#using_animtree( "generic_human" );
|
|
|
|
main()
|
|
{
|
|
// do not do code prone in this script
|
|
self.desired_anim_pose = "prone";
|
|
animscripts\utility::UpdateAnimPose();
|
|
|
|
// It'd be nice if I had an animation to get to stand without moving...
|
|
self.a.movement = "stop";
|
|
|
|
turret = self getTurret();
|
|
turret thread turretInit( self );
|
|
|
|
self.primaryTurretAnim = %proneSAWgunner_aim;
|
|
self.additiveTurretIdle = %saw_gunner_prone_idle;
|
|
self.additiveTurretFire = %saw_gunner_prone_firing;
|
|
|
|
thread animscripts\saw\common::main( turret );
|
|
}
|
|
|
|
//=====================================
|
|
#using_animtree( "mg42" );
|
|
|
|
turretInit( owner )
|
|
{
|
|
self UseAnimTree( #animtree );
|
|
|
|
self.additiveTurretIdle = %saw_gunner_prone_idle_mg;
|
|
self.additiveTurretFire = %saw_gunner_prone_firing_mg;
|
|
|
|
self endon( "death" );
|
|
owner waittill( "killanimscript" );// code
|
|
|
|
self stopUseAnimTree();
|
|
}
|
|
|