Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting a monster to run?
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#12
RE: Getting a monster to run?

might want to either have a look at the script function
PlayPropAnimation(string& asProp, string& asAnimation, float afFadeTime, bool abLoop, string& asCallback);
//May or may not work for enemy entities - never used this function myself.
and/or
AddEnemyPatrolNode(string& asName, string& asNodeName, float afWaitTime, string& asAnimation);
//Last argument lets you specify the animation, though not entirely sure if this
//Stops the enemy at the node whilst the animation plays.
For playing the correct animation. Failing that you will want to go into the model editor and open up the grunt's .ent file, navigate to settings->animation and change where the walk animation points to it's animation with the one used in the run spot. You can then go about manipulating speed etc, before saving the edited entity as a new entity called "running_grunt" or something.
(This post was last modified: 05-10-2011, 02:06 PM by Apjjm.)
05-10-2011, 01:58 PM
Find


Messages In This Thread
Getting a monster to run? - by genmills - 04-30-2011, 04:59 PM
RE: Getting a monster to run? - by MrBigzy - 04-30-2011, 05:20 PM
RE: Getting a monster to run? - by genmills - 04-30-2011, 06:44 PM
RE: Getting a monster to run? - by evertuy - 04-30-2011, 06:53 PM
RE: Getting a monster to run? - by NylePudding - 04-30-2011, 07:44 PM
RE: Getting a monster to run? - by Karai16 - 05-01-2011, 01:20 AM
RE: Getting a monster to run? - by palistov - 05-01-2011, 06:29 AM
RE: Getting a monster to run? - by genmills - 05-01-2011, 07:21 AM
RE: Getting a monster to run? - by MrBigzy - 05-01-2011, 02:35 PM
RE: Getting a monster to run? - by genmills - 05-01-2011, 06:11 PM
RE: Getting a monster to run? - by genmills - 05-10-2011, 08:22 AM
RE: Getting a monster to run? - by Apjjm - 05-10-2011, 01:58 PM
RE: Getting a monster to run? - by MrBigzy - 05-10-2011, 02:44 PM
RE: Getting a monster to run? - by genmills - 05-11-2011, 09:17 PM
RE: Getting a monster to run? - by Simpanra - 05-11-2011, 09:22 PM
RE: Getting a monster to run? - by Exostalker - 05-11-2011, 09:24 PM



Users browsing this thread: 1 Guest(s)