Thread: Changing Music
View Single Post
Old 01-31-2013, 09:37 PM   #14
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 628
Current Game: Master of Orion 2
Helpful! 
Show spoiler


This is purely abstract theory, so take it if you think it'll help you. When I opened a map file for map editing in KT(after downloading it from the site, which is no longer up. Use Deadlystream.com) a while back, I found an option that set how long a "game hour" is in real-time minutes. I am going out on a limb here and will say that your night track is "X" minutes long(where "X" is an unknown number) and there are six times as many minutes available during a night cycle. And whether the module starts in day/night time is in the .IFO, .ARE, or .GIT files, if I were to guess.

Now a scripting solution you might examine is the PlaySound function and a counter, like this:

Show spoiler


Then use the with ExecuteScript() for the module load script.


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!

Last edited by Fair Strides 2; 01-31-2013 at 09:39 PM. Reason: Added a comment
Fair Strides 2 is offline   you may: quote & reply,