Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Trespassers Will Be Violated

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH2 Pacific Aces
View previous topic :: View next topic  
Author Message
Welldigger



Joined: 04 Apr 2004
Posts: 130
Location: Japan

PostPosted: Wed May 26, 2004 9:01 am    Post subject: Trespassers Will Be Violated Reply with quote

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
View user's profile Send private message
Floater



Joined: 14 Sep 2002
Posts: 2300
Location: England

PostPosted: Wed May 26, 2004 10:48 am    Post subject: Re: Trespassers Will Be Violated Reply with quote

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? Wink

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
View user's profile Send private message Send e-mail
Welldigger



Joined: 04 Apr 2004
Posts: 130
Location: Japan

PostPosted: Wed May 26, 2004 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Floater



Joined: 14 Sep 2002
Posts: 2300
Location: England

PostPosted: Wed May 26, 2004 5:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH2 Pacific Aces All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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