Home   Help Search Login Register  

Author Topic: Config Animations  (Read 1350 times)

0 Members and 1 Guest are viewing this topic.

StonedSoldier

  • Guest
Config Animations
« on: 04 Jan 2006, 17:57:09 »
ok just to fill you in ive made a model of a windmill (possibly out of pure bordom) and ive successfully got the blades to spin but they spin to slowly, which attribute of the config would i need to edit to make it spin faster??

Code: [Select]
class props
         {
            angle0=0;
            angle1="-20000 * 3.141592654";
            multiplyer=40;
            type="rotation";
            animPeriod=100000;
            selection="prop";
            axis="prop_axis";
         };

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Config Animations
« Reply #1 on: 04 Jan 2006, 18:20:28 »
Hmmm, well, first of all this part is misspelt:

multiplyer=40;

It should read:

multiplier=40;

I know it isn't your mistake, it is present in Brsseb's tutorial anyway.   ;)

Anyway, try playing with the number in 'multiplier' until you get the rotation speed you want.


Planck
« Last Edit: 04 Jan 2006, 18:35:17 by Planck »
I know a little about a lot, and a lot about a little.

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Config Animations
« Reply #2 on: 04 Jan 2006, 18:55:56 »
what's that multiplier value for actually?
AFAIK the animperiod is mostly responsible for the speed, cos when you have a given distance for the anim to go (set by the angle value) and vary the time (-> animperiod) then you get different speeds, don't you... ?
we're looking for members: IM:UC MOD

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Config Animations
« Reply #3 on: 04 Jan 2006, 19:19:29 »
In this case the animation is required to last for a long time.

It is entirely possible that animPeriod AND multiplier would need to be adjusted, but, I think playing with one is easier than playing with two.

Once you know for sure what changing one of them does you can then try changing the other to see what other effects you can accomplish.   ;D


Planck
I know a little about a lot, and a lot about a little.