STURMOVIZER: A tool for the creation of randomized missions
#1

Hello everybody,

I am an offline player. Maybe one day I'll try flying online somewhere, but currently it would be too depressing being blown out of the clouds before I even see my opponent. So I play the offline single missions.

Those who play single missions like I do will know the situation: you've got that new mission file from somewhere - or wrote it - and it is pure fun. It is still fun to play it for several times, but after some rounds you know what is happening - it is always the same. It is predictable. Two years ago, after facing such a situation, I thought that this would almost call for some randomization, and I wrote a program for the creation of randomized missions. I called it "Sturmovizer" - for "Sturmovik Mission Randomizer", and after having invested quite a bit of time in the programming I thought that others might be interested in trying my little tool, created a web page and offered the tool for download. I already announced it in other forums, but probably many people didn't yet hear about it - so here a short introduction.

The Sturmovizer was written in PERL, but packed with PAR, so that you can use it like any executable. It takes template files, processes them and thus creates a mission file for use with the Il-2 Sturmovik. Simply spoken the principle is this: take a pot, put 30 or so missions in it, then blindfolded draw one of them, make the trajectory of AIs a bit fuzzy, randomize weather conditions, time, number and type of aircraft, pilot skills, weaponry, ground objects and the like. The outcome will be a mission, from which even if you created the template you won't know what's going to happen during the mission.


[Image: prog-en.jpg]


To give you an example: I wrote templates for Fw-190D, Me-109, Me-410, etc, in which they are briefed to fly against heavy American bombers. Although you know from where they are coming you won't know exactly at which altitude, how many, and whether they have an escort or not. It might, however, in about 30% of the cases happen, that the sirens go, and instead of heavies you have to dogfight against strafing Thunderbolts or Mustangs - and you won't know from where they are coming ... except, obviously, you are cheating yourself by looking into the mission prior to playing.

Another example is a template for a strafing mission with P-38, P-47 or P-51: here I actually used the waypoints merely to outline an area in which to look for targets - here German tanks, trucks and trains. And you won't know where they are, each time after a Sturmovizer run you'll have a brand new distribution of targets ... and sometimes Fw-190 or Me-109 to dart down on you.

I guess you got the idea. More info you'll find on my web page:

http://sturmovizer.de/Sturmovizer-en.html

One more thing I'd like to mention, also an effect of the randomization: it is possible to assign specific skins to the aircraft, depending on the situation. So if, for instance, a P-51 is used as a strafer it might show a 9th AF skin, whereas in an other mission a P-51 which is escorting B-17s is wearing an 8th AF coat. Or you encounter B17s, most of them in NMF, with a few ODs amongst them. It is one of my quirks to create skin sets with individual skins for each of the planes, wearing (as much as possible) historical combinations of paint, serials, and call signs. The skins sets are also for download on my web page.


[Image: heavies-3.jpg]


Well, I hope that some of you might be interested in trying the tool, and that you might have additional fun in playing missions generated by the Sturmovizer.

Best greetings and wishes,

chanklaus

...and always a handful of air beneath the wings...
Reply
#2

Wow!

What a great idea chanklause!

Thank you for sharing it with us and thank you for your hard work :!: Big Grin
Reply
#3

I agree with everything Redcanuck has said...

Thanks for your time and effort......

without missions one is stuck with the QMB and DF servers...
Reply
#4

Do we need to use the skins you give links to ...in order to use your Templates? will the missions crash without them?

At first i thought it would randomize existing missions....but it looks like not......I'll have to study it more closely
Reply
#5

Great idea. Downloaded the first zip but it is corrupted Sad
Reply
#6

Sorry for the inconvenience!

I thought I tested my uploads when last time I changed them - but seemingly I did not. Now I've uploaded the program files again and tested download and unzipping - now it should work. If you find anything still not working please tell me.

@fabianfred: No, you don't need the skins. They are only included to make the missions more colorful. I didn't like it to have missions settled in Berlin, March 1945, with Thunderbolts, Mustangs and Fortresses in olive. Now most of them are in metal (if you use the skins), with some olives interspersed.
It might be that when processing a Sturmovizer template you get a notification that skins are missing, but that doesn't affect the missions, you'll fly them with standard skins them. And if the notifications annoy you too much you can switch them off in the configuration.

@fabianfred: One of my first ideas actually was to use normal Sturmovik missions as an input and then process them for randomization. That would have been possible, but the way I finally did it (with these templates) gives me many more possibilities. It takes quite some time to create such a template, but then playing it won't be boring, because every time you'll encounter something brand new.

One of the nice points of the Sturmovizer is that it is possible to create formations of planes where even plane types are mixed, so for instance mixed units P-51B/P-51D, or P-47 Razorback/Bubbletop, etc. And the spatial orientation of the planes in the formation can be defined, so for instance I tried (as much as I could) to define a B-17 bomber box. This formation unfortunately won't keep entirely stable, but that is not a bug in the Sturmovizer, but results from the fact that in Il-2 300 km/h aren't the same when flown in an altitude of 3000 m or 3300 m.
One favour I would like to ask to anybody who tries these missions with bomber boxes and has the expertise to judge it: I have tried to be as exact as possible with the modeling, but the info I have found wasn't very detailed. So: is the bomber box I modeled more or less accurate in terms of positions and distances between the planes? (But please - check at the very beginning of a mission, when the formation is still as I modeled it, not later, when the higher flying planes are already much ahead to the others...)

Hope now you can try the Sturmovizer.

Best wishes
chanklaus
Reply
#7

thank you m8, this mod is very appreciate by people like me who fly 90%off-line, relly a big thank you for your clever work here.S!.
Reply
#8

The download of the main program from your site is corrupt...opening the zip file it gets the message 'unexpected end to file'

Cry
Reply
#9

It looks interesting, I d/l'd it fine, but i'm not too sure if i'm using it wrong or not yet...
so far, i've got it to create a mission for me, but i have yet to see the random factor working...
the mission seems the same each time...i'm probably doing something wrong.
do i have to exit IL2 each time, then use randomizer again, and start IL2 again?
Must the randomizer be running in the background?
i seem to be failing to grasp the right method, what with the newly-created mission being the same each time, and all...
this could potentially be a great utility, but maybe a more clearly defined guide would be good?
meanwhile, i'll keep plugging away at it, maybe i'll figure it out... 8) :lol: :?:
Reply
#10

This is what I've been looking for! Thank you so much!
Reply
#11

Do you think this will work for online Co-ops? I can see a lot of the guys I fly with using this for that type of gaming. We like to fly together but it gets boring flying the same missions all the time or having to spend hours upon hours making new ones. This would definately speed things up and would make all missions truly different no matter how many times you flew it.
Reply
#12

@BigBossMalone: Sorry for the late reply - I wasn't aware of a post in this thread; somehow the eMail notification didn't work, or the eMail got lost. If you didn't touch the program in the mean time or figured it out on your own, here my comments:
Every time you process a given template with the Sturmovizer, it will create a new mission. What you could do is to start the Sturmovizer, then run it for a given template, open the Il-2 Sturmovik, play the mission, toggle back to Sturmovizer with the key combination, process the template again, switch back to Il-2, ... and so on. However, I also had situations in which it seems that the mission remained somewhere in an internal buffer of the Il-2 and stayed the same for the game until I re-started the Il-2 or temporarily loaded another mission, although on the hard disc it was changed.
I usually process all of my templates before I start the Il-2 and then play a number of the created missions (I should program an option to collectively process all of the templates at a time instead of one after the other).
If you want to watch the randomizing process open your created mission file with a text editor, have a look, leave it opened and then process the respective Sturmovizer template again - the text editor should give you a message that the file "was externally modified". If you do that repeatedly you'll see the file changing.
The Sturmovizer can be closed as soon as you processed all of the desired templates.

@BAD_GRANT: I have absolutely no experience with online coops, so I don't know what's required in the mission file. Could you please mail me a minimalized coop mission, so that I can see how it looks like? If it is not too much effort I should be able to change the Sturmovizer in a way that it creates coop missions. My eMail you'll find on my web page - please click the banner below. I won't promise to be fast, however - we just bought a house and I'm busy to bring a structure into the chaos I call my home ... I do not even have internet access from home... and when I'll have it it will be a slow connection Sad
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)