Help with Track Text behaviour I DID IT!! Read ON!

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
PaulE
Posts: 3
Joined: Fri Apr 28, 2006 3:56 pm

Help with Track Text behaviour I DID IT!! Read ON!

Post by PaulE »

I used to be able to get track text to appear repeatedly and intermittently at random throughout a song by editing a line in the old (Pre GForce2.2) prefs file called T?. I stumbled across this by trial and error after skimming through the customization configs docs.

The value I used was T?="rnd (250)-.5", which also enabled track text to float around the screen and occasionally strobe on and off, as well as be acted on by colormaps and deltafields (sorry, flowfields!).

I don't know how to get this effect with GF3.5.2 especially as track text is now overlaid in a box.

Can anyone suggest an answer? Thanks

PS dont boggle me with computer speak I'm not a programmer!!

PaulE
Last edited by PaulE on Wed May 03, 2006 8:06 am, edited 1 time in total.

PaulE
Posts: 3
Joined: Fri Apr 28, 2006 3:56 pm

Hey! I did it!

Post by PaulE »

I have achieved what I want by editing SInt in prefs file to give a shorter but still random interval and creating several instances of "Track Text" file (without parenthesis) in Sprites folder with slightly differing configs.

Then by deleting the other image etc sprites in the same folder (I don't really want them anyway), GF will now auto sprite just the track text files in sprites folder, determined by the SInt in prefs file. All this as a blended sprite just how I want it.

I could have left the other images in Sprite folder but they would have gone into the mix too so it would be difficult to know how often Track text info would comeup during the same song, and in any case I dont want picture sprites coming up as frequently as SInt for "track text" specifies.

Job done!! Please feel free to use this anyone who wants to! :D

PaulE, Worcester UK

User avatar
andy55
Site Admin
Posts: 570
Joined: Sat May 01, 2004 4:38 pm
Contact:

Re: Hey! I did it!

Post by andy55 »

PaulE wrote:I have achieved what I want by editing SInt in prefs file to give a shorter but still random interval and creating several instances of "Track Text" file (without parenthesis) in Sprites folder with slightly differing configs.

Then by deleting the other image etc sprites in the same folder (I don't really want them anyway), GF will now auto sprite just the track text files in sprites folder, determined by the SInt in prefs file. All this as a blended sprite just how I want it.

I could have left the other images in Sprite folder but they would have gone into the mix too so it would be difficult to know how often Track text info would comeup during the same song, and in any case I dont want picture sprites coming up as frequently as SInt for "track text" specifies.

Job done!! Please feel free to use this anyone who wants to! :D

PaulE, Worcester UK

Or you can make a new script, which will save you from mucking up your G-Force install. Make a new script called TrackShow.txt in the Scripts folder:

Code: Select all

// TrackShow.txt

// Wait for the given period...

1:30   // Change this to however often you want to start new text

// Look in Boot.txt to see what the _START_TRACK_TEXT macro expands to
Execute( _START_TRACK_TEXT );

Run( "TrackShow.txt" );

And append the following to the end of Scripts/Startup.txt:

Code: Select all


Run( "TrackShow.txt" );


The above will start the script you made (TrackShow.txt), which in turn causes track info to start after a given delay (1.5 mins in this case) and then starts the script over again (causing it to repeat indefinitely).



Andy

PaulE
Posts: 3
Joined: Fri Apr 28, 2006 3:56 pm

Post by PaulE »

Thanks Andy. Only just received notification of your post. Will try this first chance I get. GF 3.5.2 Gold is superb!!

Post Reply