Home   Help Search Login Register  

Author Topic: Aiming animation  (Read 1367 times)

0 Members and 2 Guests are viewing this topic.

seanver

  • Guest
Aiming animation
« on: 04 Sep 2002, 19:02:05 »
What's the name -because I'm almost sure there is an animation like the one I want- of the animation that makes a solider aim like if he was looking through the weapon's sight?

OPF FREAK

  • Guest
Re:Aiming animation
« Reply #1 on: 04 Sep 2002, 19:45:04 »
do you mean as if hes got his eye on the sight I think this might work
AI switchmove "combattocrouch"
Look for one like that in the animation list  

OPF FREAK

  • Guest
Re:Aiming animation
« Reply #2 on: 04 Sep 2002, 19:46:10 »
do you mean as if hes got his eye on the sight I think this might work
AI switchmove "combattocrouch"
Look for one like that in the animation list and it looks as if hes aiming  

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Aiming animation
« Reply #3 on: 04 Sep 2002, 19:48:36 »
or.... give the unit a waypoint but set it to 'never fire' or 'hold fire'

then let him aim at an enemy - he will take up the aiming stance but not  shoot.
Proud Member of the Volunteer Commando Battalion

Chomps

  • Guest
Re:Aiming animation
« Reply #4 on: 04 Sep 2002, 21:33:06 »
Standing and aiming:
this setBehaviour "COMBAT"; this setUnitPos "UP";

Crouched and aiming:
this setBehaviour "COMBAT"; this setUnitPos "UP"; this switchMove "Crouch";

Prone and aiming:
this setUnitPos "DOWN";
(The soldier looks like he is looking through the sights while he is prone by default.)

Remember if you want the soldier to behave normally afterwards, make him setUnitPos "AUTO";

seanver

  • Guest
Re:Aiming animation
« Reply #5 on: 04 Sep 2002, 21:38:07 »
Thanks for your answers guys.