Thread: Changing Music
View Single Post
Old 01-31-2013, 08:37 PM   #14
Fair Strides
@Fair Strides 2
Witty Programmer
Fair Strides 2's Avatar
Status: Moderator
Join Date: Jan 2012
Location: Oregon, United States
Posts: 754
Current Game: Master of Orion 2
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 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.7 is LIVE!!! Check it out here.

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