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 |

Anyone know what this line in the Campaign_RND file does?

 
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 -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Pentallion



Joined: 05 Apr 2005
Posts: 383

PostPosted: Wed Apr 20, 2005 3:42 pm    Post subject: Anyone know what this line in the Campaign_RND file does? Reply with quote

ReportPosProbability=#

Is that the line that determines the % chance that a ship will be reported if you get within Opportunity Radio Contacts range or does this line get used for something else?

Anyone know?
Back to top
View user's profile Send private message
Heretic



Joined: 26 Mar 2005
Posts: 26

PostPosted: Wed Apr 20, 2005 6:05 pm    Post subject: Reply with quote

Common sense would say "ReportPosProbability" is the % chance of being reported.

I tried setting all units in Campaign_RND.mis to 0 and ran a few tests. After running for a few days with contact distance set to 6000km, nothing at all show up on the map. I'm not sure yet if the ships are even being spawned.


The line "ReportPosMin" looks to be related to it. In every case of "ReportPosProbability" being set to 100, "ReportPosMin" is set to -1.
Back to top
View user's profile Send private message
Heretic



Joined: 26 Mar 2005
Posts: 26

PostPosted: Wed Apr 20, 2005 7:05 pm    Post subject: Reply with quote

Nice find Pentallion. It looks like this is going to be the key to getting contacts reined in. I've tried 10% and 100% now for all entries in RND and it behaves like you would expect. Still not sure about 0%.

Next I'm going to explore the -1 in ReportPosMin. Since this is used for Icebergs, my hunch it that it will cause a contact to never be reported. It's also used for warships and I've never seen a single ship contact turn out to be a warship. My guess is that ReportPosMin, in spite of the name, is more likely the maximum range at which a contact is reported.

More soon...
Back to top
View user's profile Send private message
Heretic



Joined: 26 Mar 2005
Posts: 26

PostPosted: Wed Apr 20, 2005 8:22 pm    Post subject: Reply with quote

Bingo.

ReportPosMin is not a distance, it is the time interval (in minutes, I think) between contact checks. Set it to something low like 10 and set ReportPosProbability to 100 and you can watch the all the ships spawn and move. A perfect test setting for evaluating the traffic density.

A value of -1 in this will cause the contact check to never happen so the ship will never show on the map.

ReportPosMin=xxx - time interval between contact checks
ReportPosProbability=xxx - % chance of contact
Back to top
View user's profile Send private message
Pentallion



Joined: 05 Apr 2005
Posts: 383

PostPosted: Thu Apr 21, 2005 4:50 am    Post subject: Reply with quote

Got it figured out this morning. Couldn't post all day though.
Back to top
View user's profile Send private message
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Thu Apr 21, 2005 9:41 am    Post subject: Reply with quote

Yep it's the time lapse between SH3 makes a new check vs probability to report the contacts.

In my 100% redone campaign I've set all of them to 720 min (12hrs) (save for the small lone ships or local patrols which have set to -1, thus never being reported). This way every 12 hrs players will get a [/i]simultaneous[/i] report of all important targets in the surroundings. Something closer to what a real uboot commander would have at its disposal.
Back to top
View user's profile Send private message
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 -> SH3 Mods Workshop 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