Though at one time having come up with a way way back to change music while IN the sim using a simple rcu script....It would be beyond my skills to do the following, yet I'm betting some smart guy here could.
What about a "cycler" for splash screens.......Meaning, sim starts (like for a coop) and you get background1.tga, next time it starts background2.tga, etc. etc. be it unlimited if possible or perhaps even up to 10.....IOW, a script that would select the next splash screen each time, if you have 3 fine, 10 fine, it will with each restart of the sim cycle to the next.
K2
I 'd really like a Splash screen recycler...great idea!
Yes, a very good idea. Beats having to manually change the splashscreen for variation.
Posts: 4.857
Threads: 96
Joined: Jan 2009
Good idea... I could trie some of those picture changing programs for image rotation
Posts: 87
Threads: 3
Joined: Dec 2008
If someone is interested, I found a little MS-DOS utility that may comes handy:
Code:
RANDFILE: RANDOMLY CHOOSES A FILE TO COPY
Copyright (C) 1993 by Zachary G. Ives. All Rights Reserved
DESCRIPTION
This program randomly chooses a file from the source file specification
(which should include wildcards), and copies it to the destination filename
given. It was originally written to randomly choose start-up screens for a
WWIV 4.22 BBS system, but could be used for other tasks which involve
randomly operating on one file.
Syntax:
RANDFILE {source filespec} {destination filename}
Example:
RANDFILE C:\WWIV\ANSI\*.ANS C:\WWIV\GFILES\WELCOME.ANS
I hope you find this program useful!
Download:
http://www.simtel.net/product.php%5Bid%5...simtel.net
So all we need to do is create a batch file with 2 commands. The first one calls this "RANDFILE" executable and the second one will call the IL-2 executable itself.
I
Grabbed the little program as suggested by Ark-iyos and it worked, well sort of, it would only rename the background file to BACKGROU.TGA. Also didn't want to play well if there was a background.tga file already there. The good news is that there is a way around all this. Here's what I did.
1. Downloaded the program from link in previous post - extracted to my ...Mods/SplashScreen/Gui folder
2. Open notepad and enter the following;
[code]del background.tga
RANDFILE *.tga background.tga
rename backgrou.tga background.tga
cd G:\Games\IL2Mod\IL-2 Sturmovik 1946\
Posts: 87
Threads: 3
Joined: Dec 2008
[quote="Quelty"]
[code]del background.tga
RANDFILE *.tga background.tga
rename backgrou.tga background.tga
cd G:\Games\IL2Mod\IL-2 Sturmovik 1946\
Posts: 87
Threads: 3
Joined: Dec 2008
About the error in the output name generated by the RANDFILE exsecutable -> This is due to the 8 chars limit that MS-DOS has in file naming.
I.E. "Background" has more than 8 chars so the output is limited to the first 8 letter: "Backgrou"
A little commented version i
Ok, so I took this basic Idea, based on the random file we have here. I expanded to include all the country mission loadscreens for the campaigns and now my batch file will select a new random mission load screen for every nation at game start up as well.
Next challenge, to get it to change mission load screens between each mission.
Anyone know how?