Flowfield Smooth Switch

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
zilcher06
Posts: 3
Joined: Fri Aug 18, 2006 2:57 am

Flowfield Smooth Switch

Post by zilcher06 »

*Is there a way to get the flowfield to smoothly switch when I press the "S" key without the 7 or 8 second delay in between? I tried turning off the manual flow field switch, but that made it an instantaneous switch. I would love for the flowfield to switch nice and smoothly the second I press the "S" key. If anyone has more knowledge about the matter at hand, I would greatly any information. Thanks.

J-AL

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Here's how I understand it.

Go into the Boot.txt doc in your GF folder and scroll down till you come to the following line:

SetPref( PREF_FLOWFIELD_SMOOTH_SWITCH, false );

Switch the pref to true and see if this works for you.

There are also two lines of code above this parameter that control flowfield transitioning:

SetPref( PREF_FLOWFIELD_MORPH_DURATION, "6 + rnd( 9 )";
and
SetPref( PREF_FLOWFIELD_TRANSITION_FCN, "i^1.35");

For the first, raise the numbers until you find a rate you like. As for the second, I'm not quite sure how "i" factors into it, so I suggest tinkering with the numbers more extensively.
"God is syntax."

zilcher06
Posts: 3
Joined: Fri Aug 18, 2006 2:57 am

Post by zilcher06 »

Yes, thanks for the advice, but it is not the duration of the morph that I am concerned about. It is the timing of when the morph starts from the second I press the "S" key. I don't want there to be a delay between where the morphing begins after I press the key. If I can get the flowfield to smoothly change the second I press the key, that would be great. I tried tinkering with the numbers you gave me, but I couldn't get any results. They just changed the duration of the morph.

Post Reply