OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: StonedSoldier 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??
class props
{
angle0=0;
angle1="-20000 * 3.141592654";
multiplyer=40;
type="rotation";
animPeriod=100000;
selection="prop";
axis="prop_axis";
};
-
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
-
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... ?
-
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