Log in

View Full Version : A question about Campaign_RND.mis


Henri II
02-22-07, 06:53 PM
I would like to tone down the freuquency of single contact reports somewhat. As far as I can tell, I need to modify the Random Groups in the Campaign_RND.mis file for this. Under the tab "Group Properties" there is a line which reads:

Contact automatic report (min) [X] Probability [Y%]

I suppose this means I will get a contact report every X minutes with a probability of Y%, provided I am within range. Some of the groups however have an entry of -1 as X, what exactly does this mean?

Reece
02-22-07, 07:32 PM
Hi, you need the English.cfg files found in data/Roster folder, open this as a guide to the types of ships you wish to see less of or more of!:D
Open the Campaign_RND.mis file with notepad & do a search for "Type=" the type number of the ship you want to adjust, eg "Type=102" for cargo ships, you will notice in the [group] as to the country it belongs to as well!
The adjustment to make:
SpawnProbability=
just change this to a lesser number, you will need a lot of patience as the file is "HUGE", you just have to keep pressing "F3", edit, move on!:up:
Make a backup of the file first & save when your happy with what you have done, but remenber that one slip=CTD's.:yep:
Good Luck!
PS. There may be other methods but that is the way I have done it & works, you can also do a search for taskforce & convoy, here you can edit the SpawnProbability as well as the ReportPosProbability.

Ducimus
02-22-07, 08:18 PM
An easier way might be to edit the single ship contact graphic file so nothing is displayed on the map?

Henri II
02-23-07, 12:53 AM
Thanks for the suggestions.

Reece, I think lowering the Spawn Probability will actually spawn less ships. What I would like to have, is the same number of ships, but less radio reports about them.

Ducimus, I thought about that, but after one patrol whithout ship symbols on the map, I decided it is just not my thing.

GlobalExplorer
02-23-07, 11:21 AM
Thanks for the suggestions.

Reece, I think lowering the Spawn Probability will actually spawn less ships. What I would like to have, is the same number of ships, but less radio reports about them.


The property you must change for that is ReportPosProbability.

Don't forget to use Ctrl-H

I have actually several times written little programs to change those values, and I'm willing to share some of my nice functionality for reading / manipulating inifiles, but you must know how to program for that.

Henri II
02-23-07, 11:38 AM
Thanks for the suggestions.

Reece, I think lowering the Spawn Probability will actually spawn less ships. What I would like to have, is the same number of ships, but less radio reports about them.

The property you must change for that is ReportPosProbability.

Don't forget to use Ctrl-H

I have actually several times written little programs to change those values, and I'm willing to share some of my nice functionality for reading / manipulating inifiles, but you must know how to program for that.

Now I'm not sure, if I open the _RND file with mission editor I don't have anything named ReportPosProbability under Group Properties and Ctrl-H just seems to delete things. Are you talking about some other file?
Sadly my programming knowledge is not much more then zero.

GlobalExplorer
02-23-07, 11:44 AM
It's there .. I am sure. Just try and look a bit harder.

Henri II
02-23-07, 12:09 PM
OK, if I open the file with a text editor I can see it now. Actually the probability thing seems to be pretty clear, what I originally wanted to know is what this line means:

ReportPosMin=-1

This seems to be the time in minutes before a contact report is updated, with the probability wich is defined by ReportPosProbability. Most of those lines have a positive number there, but some have a -1. What does the -1 mean?

bigboywooly
02-23-07, 12:19 PM
Part of GWX Rnd

ReportPosMin=4320 - minutes till next map update
ReportPosProbability=40 - 40% chance of report - Not totally certain about that one