![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Swabbie
![]() Join Date: Feb 2019
Location: East of the Sun, West of the Moon
Posts: 6
Downloads: 8
Uploads: 0
|
![]()
Kaleuns. Recently I've encountered the need to better understand the campaign's randomized behavior.
For single missions, it seems "mission-layer" random groups are spawned during the first midnight, but it's also possible to get God Eye contacts at any time or location. Therefore, how do RG behave within a patrol? Can they spawn at an arbitrary time offset (ie before patrol commences)? Similarly, are they allowed to spawn mid-route (at the beginning), instead of their true initial location? |
![]() |
![]() |
![]() |
#2 |
CTD - it's not just a job
|
![]()
Sorry for the length of this.
The game has Units (single ships) and Groups (one or more ships) in the SCR layer, and random groups in the RND layer, which can be singles or multiples of ships. Single Missions can have both, but you have to be careful how you "Save". The basic structure in all is the same, so a Unit has [Unit 1] - header, numbered incrementallyThere is also a "Commander" in the Group set-ups, but that points to the "command" ship, and starts counting at zero. While the layout of a group or RndGroup are slightly different, all of that basic information is in there. The regular "Group" will have a "naming" segment, then the first ship, all of the waypoints, and then the rest of the ships. Concerning what you are asking, the EvolveFromEntryDate influences whether the scripted [Unit] ship is somewhere along its routing, appropriate to when you enter the game (set to "true"), or if it will start when you start, which is the case with the "false" setting above. RndGroups do not have an "EvolveFromEntryDate" setting. A RndGroup has the Name Grouping, then the ships or planes, then the Waypoints. Besides the info being re-arranged in the RndGroup, the "delay" in the Random Groups "spawning" is found in ..."Orange" lines. The "DelayMin" tells the game how long to count before it begins the GameEntry counting... whuh? In some cases, that figure will default to 1440, or 24 hours... In this case, it is one hour, or 60 Minutes. You can set that to zero (0) if desired. I usually set it to one (1), and it is usually left alone by the ME. The "DelayMinInterv" is the amount of time to count before attempting another "random" spawn. In this case, that would be 37 hours, or a bit over a day and a half. That would make it be later each day... The "SpawnProbability" is almost self-explanatory, so in this case, 9 out of 10 times, after 37 hours has passed, the game will spawn this group... The game tracks the RndGroups by their "CurrentInstanceID" setting, which you should not touch. When dealing with either kind of grouping, make certain that you use enough appropriate spacing between ships in the ColumnsNo=1The game sets the minimum for ships at 500, but 1000m is necessary for the big ships. Airplanes minimum is 300m, but should be at least 700... If you see a group not "convoying" very well, their spacing is too small - they do not maneuver very well... Note also that all of the campaign files do load during SingleMissions, unless the mod makes provisions for two installs, so some of what you see in a SingleMission might actually be part of the game's campaign files. If you want something to run one time, then you use the SCR layer. If you want it to run multiple times, then you use the RND layer. The LND layer is for NavalBases, AirBases, and other shore emplacements. I probably forgot something... |
![]() |
![]() |
![]() |
#3 |
US Navy LT
![]() Join Date: Apr 2004
Location: Bay Area, California
Posts: 119
Downloads: 582
Uploads: 0
|
![]()
ReportPosMin=-1 - any negative number means "No"
Propbeanie, first of all, thank you for the elaborate explanation of the basic structure of a unit in the game. This is very helpful. Not to be argumentative, but regarding the "ReportPosMin=-1", from something GWX Campaign developer "Bigboywooly" wrote back in 2007, I've always been under the impression that the "-1" indicated that the ship or groups of ships would show/be reported when in the radius of the Contacts.cfg values. If this is correct, it would of course make a huge difference vs. always "no". Looking at the early years of GWX RND Campaign file would seem to lead one in this direction. IE if you are sailing in the North Atlantic you are not reported on ships spawning in the Baltic and vise versa, but are reported on ships in your near immediate area. Over the years, I've counted on this interpretation when making a few additions and changes to the RND Capmaign. So I guess the question is, have your own tests been able to confirm your interpretation of "-1" equaling "no" in all cases? Thx, EmeAzul |
![]() |
![]() |
![]() |
#4 |
Gefallen Engel U-666
|
![]()
EmeAzul!
![]() ![]()
__________________
"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe" |
![]() |
![]() |
![]() |
#5 | |
CTD - it's not just a job
|
![]() Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#6 | |
Swabbie
![]() Join Date: Feb 2019
Location: East of the Sun, West of the Moon
Posts: 6
Downloads: 8
Uploads: 0
|
![]() Quote:
I know most of this, it's self-explanatory for the greater part... except DelayMin. Since I made the post, I encountered a task force which spawned 2 complete days after the patrol start, and that doesnt make sense at first. Do you think DelayMin refers to the unique GameEntryDate? In that case the possible spawn dates would be GameEntryDate+DelayMin+enough times of DelayMinInterv, so it doesnt have to be spawned at the patrol beginning. What do you think. |
|
![]() |
![]() |
![]() |
#7 | |
CTD - it's not just a job
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#8 | ||
Officer
![]() Join Date: Jun 2010
Location: Germany
Posts: 243
Downloads: 3
Uploads: 1
|
![]() Quote:
No, before game starts (Campaign or SingleMission) there is nothing. So it is not possible to spawn a unit/group before patrol commences. You may explain what youre understanding of "spawn" means. For me it is the point where the unit/group will be initiated for the first time. This is most of the time a Stub and not a real 3D-unit. No, spawn mid-route is not available for random groups. "EvolveFromEntryDate" in Sh3MissionEditor.exe still exist for scripted units only. another post: Quote:
I recomment creating your own Campaign-files with only one or two entries for testing and see what the game does with youre entries. This way you will learn the most. |
||
![]() |
![]() |
![]() |
|
|