View Single Post
Old 04-01-08, 03:27 AM   #7
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by Able72
beutifull, absoluetly makes perfect sense and I now know where I went wrong.

Since SH3 Commander can take multiple Random folders and I have roughly 100 different splash screens, anyone willing to write me a program that will create the sequential folder structure and rename all the different splash screens appropiatly?
Two lines of code - done and 100 folders sent to SS (I saw his PM before this post).

I have thought of a different, perhaps better, way of handling random files. I mean, SH3Cmdr handles random events through a controlling file, so why can't it handle random files the same way? Well it can. This would mean that you could d/l 50000 loading screens into a folder under SH3 Commander\Random and provided that you add two lines to an SH3Cmdr controlling file (the locations of the source and destination folders) you're all set. You can then add another 1000 screens without needing to make any further changes, or remove likewise. For instance:

Code:
[0]
From=My Loading Screens
To=data\Menu\Loading\intro.tga
 
[1]
ApplyToPeriod=19390101|19421231
From=My Fanfares\Early War
To=data\Sound\Fanfara_01.wav
 
[2]
ApplyToPeriod=19430101|19451231
From=My Fanfares\Late War
To=data\Sound\Fanfara_01.wav
This would also get around a current limitation in that if you have two elements that you wish to randomise, say loading screens and fanfare files, you need to upscale to the largest number of random folders. That is, if you have 100 loading screens but 50 fanfare files, unless you double the number of fanfare files you'll only get a random one every 1 in 2 loads.

I guess the downside is that all files in the source folder would need to be uniquely named.

Anyway, there's a few other features that have been asked for (like a starting at sea option), so I might consider an R3.1. We'll see. In the meantime, SS can continue using the Random folders.
JScones is offline   Reply With Quote