script newbie

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
shawnocean
Posts: 2
Joined: Wed Jul 13, 2005 5:04 pm

script newbie

Post by shawnocean »

Hi, I was just checking out scripts for the first time, and had a problem, probably of my own causing somehow :)

I have tried to run the sample scripts, ctrl f1 - f5 as well as save a script to x and each time I try to run or save one it exits the program and returns me to itunes, I am running gforce 3.0 and itunes 4.9 on win xp, thanks for any help!

Shawn

shawnocean
Posts: 2
Joined: Wed Jul 13, 2005 5:04 pm

answered but one other thing...

Post by shawnocean »

oh answered my own question

iTunes

Run the G-Force installer.
Start iTunes.
From the Visualizer menu, select G-Force.
Note: iTunes for Windows doesn’t pass CTRL keystrokes or mouse clicks to plugins, so G-Force control is limited.

scripts are CTRL driven i suppose, i wonder why it exits though, anyhow, I am having fun exploring the sample scripts, in sample script 4, the one with the count down showing how to use sprites, boom! I got this screen toward the end on gforce platinum standalone

Image

well never mind the image, screen shots don't show text aparently anyways it said 4 times each with a pause between

Undefined Function 'StartOverlayText'
Undefined Function 'StartOverlayText'
Undefined Function 'StartOverlayText'
Undefined Function 'StartOverlayText'

here is the text of the script so you don't have to look for it, if you are interested, thanks for any answers,
make it a great day!
Shawn

0:43
StartOverlayText( "You can also create overlay text on the fly.\rIt can span multiple lines.", 12, 13, 3, 0, -.6 );
0:46
StartOverlayText( "Wham!", 18, 10, 3, 0, -.8 );
0:49
StartOverlayText( "Over here!", 16, 9, 3, .5, .15 );
0:52
StartOverlayText( "Get it yet?", 16, 6, 3, .5, -.15 );

and the whole script below

// A script example...
// Also, don't forget those semi-colons!

0:00

// See comments about stdout() in "CTRL 2.txt"
stdout( "First, let's turn off particles and auto slide show so they don't interfere w/ us...\n" );

SetSlideShow( CONFIG_WAVESHAPE | CONFIG_COLORMAP | CONFIG_FLOWFIELD | CONFIG_SPRITE | CONFIG_PARTICLE, false );



stdout( "Ok, here we go...\n" );


SetWaveShape( "Simple Vertical", 0 );
SetColorMap( "Hero", 0 );
SetFlowField( "Right Turn", 0 );
SetNextFlowField( "Noise", "", 34, 5 );


0:03.5

stdout( "Start a specifically named sprite...\n" );

StartSprite( "Startup Particle 1" );




0:10

stdout( "Morph in a new waveshape...\n" );

// Use a 6-10 sec transition...
SetWaveShape( "Rotating Arcs", 6 + rnd(4) );


stdout( "Start a specifically named particle...\n" );


// Sprinkle in a particle
StartParticle( "Spinning Plane" );

0:20 stdout( "Do cheezy countdown as an example on how to use sprites...\n" );

// Do a cheezy countdown and explosion thing...
0:21 StartSprite( "Msg3" );
0:22 StartSprite( "Msg2" );
0:23 StartSprite( "Msg1" );

0:24

stdout( "Boom!\n" );
StartParticle( "Explosion" );

0:24.5 StartParticle( "Explosion" );
SetWaveShape( "Simple Horizontal", 9 );

0:34

StartSprite( "The End" );
// From time 0:00, "Noise" should start now and morph for 5 secs.


0:41

// Let's not leave the user hanging in non-slideshow mode...
stdout( "Let's turn slideshow mode back on...\n" );


SetSlideShow( CONFIG_WAVESHAPE | CONFIG_COLORMAP | CONFIG_FLOWFIELD | CONFIG_SPRITE | CONFIG_PARTICLE, true );






0:43
StartOverlayText( "You can also create overlay text on the fly.\rIt can span multiple lines.", 12, 13, 3, 0, -.6 );
0:46
StartOverlayText( "Wham!", 18, 10, 3, 0, -.8 );
0:49
StartOverlayText( "Over here!", 16, 9, 3, .5, .15 );
0:52
StartOverlayText( "Get it yet?", 16, 6, 3, .5, -.15 );


/*
In the not to distant future, StartOverlayText() will allow you to
initiate marked up text (as in HTML). Until then, it's limited to
only white text in a single size. Its prototype is:

void StartOverlayText( string inText, int inTextSize, float inDuration, float inFadeDuration, float inXPos, float inYPos );

*/

Post Reply