| View previous topic :: View next topic |
| Author |
Message |
Pentallion
Joined: 05 Apr 2005 Posts: 383
|
Posted: Wed Apr 20, 2005 3:42 pm Post subject: Anyone know what this line in the Campaign_RND file does? |
|
|
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 |
|
 |
Heretic
Joined: 26 Mar 2005 Posts: 26
|
Posted: Wed Apr 20, 2005 6:05 pm Post subject: |
|
|
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 |
|
 |
Heretic
Joined: 26 Mar 2005 Posts: 26
|
Posted: Wed Apr 20, 2005 7:05 pm Post subject: |
|
|
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 |
|
 |
Heretic
Joined: 26 Mar 2005 Posts: 26
|
Posted: Wed Apr 20, 2005 8:22 pm Post subject: |
|
|
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 |
|
 |
Pentallion
Joined: 05 Apr 2005 Posts: 383
|
Posted: Thu Apr 21, 2005 4:50 am Post subject: |
|
|
| Got it figured out this morning. Couldn't post all day though. |
|
| Back to top |
|
 |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Thu Apr 21, 2005 9:41 am Post subject: |
|
|
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 |
|
 |
|