IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Any way to speed up an animation through coding.
hawkseye17
post 24 Sep 2016, 0:53
Post #1



Group Icon

Group: Members
Posts: 93
Joined: 8 July 2016
Member No.: 13027



Not by using gmax, just through the ini files.
Go to the top of the page
 
+Quote Post
n5p29
post 24 Sep 2016, 6:30
Post #2


Enlima Studios
Group Icon

Group: Project Leader
Posts: 757
Joined: 11 October 2009
From: Jakarta, Indonesia
Member No.: 482



AnimationSpeedFactorRange is what you're looking for.

CODE
  Draw = W3DModelDraw ModuleTag_Whatever
    ConditionState = [conditionstate]
      Model = [modelname]
      Animation = [modelname].[modelname]
      AnimationSpeedFactorRange = [MinFloat] [MaxFloat]
    End
  End


Replace the MinFloat and MaxFloat with desired speed values (decimal):
AnimationSpeedFactorRange = 2.0 2.0 will be twice as fast
AnimationSpeedFactorRange = 0.5 0.5 will slow it down to half speed

This post has been edited by n5p29: 24 Sep 2016, 6:35


--------------------
Go to the top of the page
 
+Quote Post
hawkseye17
post 25 Sep 2016, 2:21
Post #3



Group Icon

Group: Members
Posts: 93
Joined: 8 July 2016
Member No.: 13027



QUOTE (n5p29 @ 24 Sep 2016, 1:30) *
AnimationSpeedFactorRange is what you're looking for.

CODE
  Draw = W3DModelDraw ModuleTag_Whatever
    ConditionState = [conditionstate]
      Model = [modelname]
      Animation = [modelname].[modelname]
      AnimationSpeedFactorRange = [MinFloat] [MaxFloat]
    End
  End


Replace the MinFloat and MaxFloat with desired speed values (decimal):
AnimationSpeedFactorRange = 2.0 2.0 will be twice as fast
AnimationSpeedFactorRange = 0.5 0.5 will slow it down to half speed


Thanks!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 26 April 2024 - 22:55