| View previous topic :: View next topic |
| Author |
Message |
Welldigger
Joined: 04 Apr 2004 Posts: 130 Location: Japan
|
Posted: Wed May 26, 2004 9:01 am Post subject: Trespassers Will Be Violated |
|
|
Overjoyed by my first effort at using Kriegstanz Developer, and wanting to create something which would generate different scenarios and give more replayability, I came up with:
:huh: TRESPASSERS WILL BE VIOLATED :huh:
http://www.sunfield.ne.jp/~mike/kriegstanz/trespassers.zip
(18kb)
The core of it is the same as the last mission, but I have figured out how to use the "tag" feature to allow for random inclusion of various other elements.
1. Increased merchant shipping
2. Underway large merchant convoy
3. Underway BB group
4. Anchored BB group
5. Underway CV group
6. Underway MASSIVE troop convoy
Note that you will get only ONE of the above during any particular playing of the theatre....or maybe none of them. One out of seven chance for any of them.
Of course, Kriegstanz randomizes unit locations, group compositions, etc. each time to give an almost endless number of permutations.
I have NOT tested this out, other than to run the mission generator in KD numerous times to make sure they would all actually generate. Again, feedback and advice are welcomed. |
|
| Back to top |
|
 |
Floater
Joined: 14 Sep 2002 Posts: 2300 Location: England
|
Posted: Wed May 26, 2004 10:48 am Post subject: Re: Trespassers Will Be Violated |
|
|
| Welldigger wrote: | | Note that you will get only ONE of the above during any particular playing of the theatre....or maybe none of them. One out of seven chance for any of them. |
I've looked at this in KD, and it really does look good! Not had chance to play it yet, but I certainly will do when I've got more time.
I don't understand why you say a one-in-seven chance, though. It seems to me that you'll always get one of the setups, each of which has a one-in-six probability. Maybe I missed something?
Leaving that aside, on first viewing, I'm extremely impressed. This is exactly what tags were designed for, and you've used them very wisely. This theatre should have plenty of "replayability". I can't wait to give it a go! |
|
| Back to top |
|
 |
Welldigger
Joined: 04 Apr 2004 Posts: 130 Location: Japan
|
Posted: Wed May 26, 2004 2:18 pm Post subject: |
|
|
I was thinking that "no tag" was one of the generation possibilities.
I'm amazed that what comes up as such an amazing screenful of plots in KD boils down to just about 18kb of text in the .kth file. |
|
| Back to top |
|
 |
Floater
Joined: 14 Sep 2002 Posts: 2300 Location: England
|
Posted: Wed May 26, 2004 5:42 pm Post subject: |
|
|
Basically, the generator code just builds up a list of what tags are used in all the plots, and then selects one of them at random. If any tags are specified, it'll always pick one.
Your untagged plots are still useful, though, giving a sort of background traffic - plots without tags are always included. Bases, as you've probably noticed, can't have tags.
As for the file size, there isn't really a huge amount of data in there, even in the largest of theatres. You can open KTH files in a text editor (Notepad, etc) and see what's in there, if you're interested. The files could have been even smaller if I'd not gone for the idea of an "open" text-file format and stored the data as binary. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|