| View previous topic :: View next topic |
| Author |
Message |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Sun Apr 10, 2005 12:08 pm Post subject: Possible IMPORTANT bug concerning non-spawning escorts. |
|
|
This possible bug concerning certain destroyers not spawning from Random Generated Groups was brought to my attention by this post:
http://subsim.com/phpBB/viewtopic.php?p=274878#274878
I tested the example given by mcoca and found it to be true. Those particular DD's were not spawning in THAT group. Also, some of the merchants that had 100% spawn probabilities also did not spawn (see my first post in that thread).
I did a few very quick tests and there seems to be a problem. If this is indeed a bug, it is a huge problem that will affect the campaign. It may explain why there are so many unescorted convoys.
Here are some quick Random Group tests I did with American ships. All units were set to spawn at 100% probability.:
-----------------------------------
DD Evarts (Leader) *SPAWNED
DD Fletcher *SPAWNED
DD JC Butler *NO SPAWN
-----------------------------------
DD JC Butler (Leader) *SPAWNED
DD Everts *SPAWN
DD Fletcher *SPAWN
-----------------------------------
C3 Cargo (Leader) *SPAWNED
DD Evarts *NO SPAWN
DD Fletcher *NO SPAWN
DD JC Butler *NO SPAWN
-----------------------------------
C3 Cargo (Leader) *SPAWNED
DD Clemson *SPAWNED
DD Buckley *NO SPAWN
DD Somers *SPAWNED
-----------------------------------
DD Buckley (Leader) *SPAWNED
-----------------------------------
C3 Cargo (Leader) *SPAWNED
DD Buckley *NO SPAWN
-----------------------------------
C3 Cargo (Leader) *SPAWNED
DD Buckley *NO SPAWN
DD Somers *SPAWNED
-----------------------------------
The date on my test mission was August 9, 1943. All the units I tested were in service at that time. In any event, they each spawned at least once during the testing, so the dates are not an issue.
The unit in the Leader position is interesting. Look at the JC Butler and Buckley. They did not spawn in the Escort position but did spawn in the Leader position. This may rule out the fact that possibly only certain ships are not spawning.
I think we need some more people testing this. It may be having a huge impact on the campaign, since all of the convoys are generated in this manner (Random Groups). I know that not a lot of players are familiar with how to generate a Random Group, so I will post some basic instructions:
----------------------------------------------------------------------
How to spawn a Random Generated Group (RGG):
I won't go into every little setting. Most of them are simple to understand. However, there are a few points that are critical.
1.Place your RGG.
2.Assign two waypoints at about 50km apart.
3.Make sure your sub is at least 20km from the RGG. If it's too close, you won't see any ships from this RGG.
4.Right-click on the RGG icon and choose 'Define Group Contents'.
5.Choose the ship(s) for the group. You must have a minimum of one ship. You can get very creative here. Each ship can be given an individual spawn probability. The lead ship will always spawn. For instance, you can add 3 separate destroyers at a spawn percentage of 50% each. So, each time this group spawns, you may get 1,2,3 or no destroyers. Same goes for merchants, warships, etc. The other settings are pretty much self-explanatory.
6.Right-click on the RGG icon and choose 'Group Properties'. This is where it gets a little tricky.
7.Look at the 'Repeat Interval(Hours)' setting. This number tells you how often (in hours) this RGG will spawn a group. If you were creative with your spawn percentage probabilities, each group will look a little (or a lot) different than the next.
For this example, we will set the
'Repeat Interval' to 1. A new random group will now spawn every hour.
8.Go to the toolbar and click on 'Mission'. Choose 'Parameters'.
9.The date of your mission is very important. For this example, we will set it to January 1, 1941. Time will be Hours:12 Minutes:0.
10.Go back to 'Group Properties' and look at 'Entry Date'. It should be set to exactly the same as your mission date except for one IMPORTANT setting. Depending on your earlier 'Repeat Interval' setting, you need to minus that amount of time from the 'Entry Date'. Remember, we set the 'Repeat Interval' to 1(hour). So, change the "Entry Date' hour from 12(noon) to 11(11am).
**This is only if you want to spawn a RGG right at the start of the mission. If you leave the 'Entry Date' hour at 12, the RGG will start spawning at 13(1pm). If the 'Repeat Interval' was 24, the first spawn would occur 24 hours after the mission started, unless you changed the 'Entry Date' back 24 hours.
Ok, do you want to see everything in action without going into the game itself? Go to the 'Time Filter Start' on the toolbar and set the year to '1941' and the month to '1' (the 'day' setting will adjust automatically). This is the start time for our mission...remember? You will see the time displayed on the far right.
Now, move to the right on the toolbar and click once on the start icon (black triangle). The time acceleration will now be 1x and the clock is now ticking in your mission.
Click on the pause icon (2 black lines). Look at your RGG icon. There should be a green circle covering the icon. This is your group that has just spawned. Unpause the time and click on the red clock icon twice to speed up the time to 16x. You should see your spawned group moving to it's next WP.
Speed up the time a little and at 1pm you should see another group spawn. This is because we set the 'Repeat Interval' setting to 1, remember?
Ok, let's get more creative here. Click on stop (black square) and go back to 'Group Properties'. Set the Random Area Radius to 20km . You will see a white circle around your RGG. You will now get a random spawing within this circle. Let's try it. Click on the start icon. The green circle shold be spawning within the white circle. If you keep clicking stop and start, you will see the RGG spawn in random locations within the 40km circle. (Radius is measured from the center to the edge, so the circle is actually 40km in diameter.)
Now you have random groups spawning in random locations. Pretty cool. But we can do more.
Right-click on the first WP and choose 'Properties'. Set the 'Radius(KM)' to 20. Each generated group will now choose a random location within this 40km circle as it's first WP. Try the time acceleration and see all the different paths your groups are taking. Of course, you can use values other than 20.
Now, go back to 'Group Properties' and look at 'Group Spawn Probability(%)'. This setting is for the RGG group itself. If you set this to 50%, the RGG will only spawn a group 50% of the time. Try it and use the time acceleration to see how it works.
-----------------------------------------------------
These are just the standard instructions I sometimes post. if you are doing testing on this possible bug, remember to set all spawn probabilities to 100% and keep the Radius settings at 0 (zero).
Aviar
Last edited by Aviar on Mon Apr 11, 2005 2:25 am; edited 5 times in total |
|
| Back to top |
|
 |
von Khan
Joined: 29 Mar 2005 Posts: 194
|
Posted: Sun Apr 10, 2005 12:35 pm Post subject: |
|
|
Whoa... this would explain a lot. Thanks from joe-dont know tech-blow SH3 captians like myself.  |
|
| Back to top |
|
 |
mcoca
Joined: 09 Apr 2005 Posts: 21
|
Posted: Sun Apr 10, 2005 2:37 pm Post subject: |
|
|
Aviar, I think you are on the right track about the leader position. I made a few variations on one of your tests, and the results are interesting:
(All ships are American except when noted otherwise)
-----------------------------------
C3 Cargo (Leader) *SPAWNED
DD Evarts *NO SPAWN
DD Fletcher *NO SPAWN
DD JC Butler *NO SPAWN
-----------------------------------
Victory Cargo (Leader) *SPAWNED
DD Evarts *NO SPAWN
DD Fletcher *SPAWNED
DD JC Butler *NO SPAWN
-----------------------------------
Liberty Cargo (Leader) *SPAWNED
DD Evarts *NO SPAWN
DD Fletcher *NO SPAWN
DD JC Butler *NO SPAWN
-----------------------------------
British Liberty Cargo (Leader) *SPAWNED
DD Evarts *SPAWNED
DD Fletcher *SPAWNED
DD JC Butler *NO SPAWN
-----------------------------------
CVE Casablanca (Leader) *SPAWNED
DD Evarts *SPAWNED
DD Fletcher *SPAWNED
DD JC Butler *SPAWNED
-----------------------------------
It seems that the leader ship determines which of the other ships in the group spawn. Notice the difference between the American and British Liberty Cargo: one is unescorted and the other has two destroyers. The only difference between the two that I can think of is the date in which they enter the game.
I suspect the problem here is that, in a random generated group, ship classes which appear in the game after the class of the leader ship does, are not spawned.
However, it does not seem 100% true, so I think we need some more testing, or analisys. But this would also explain why in the example I posted originally in the other forum, the Victory Cargos are missing from the convoy: they are more modern than the leading Liberty Cargo.
Thanks, |
|
| Back to top |
|
 |
Gizzmoe
Joined: 22 Mar 2005 Posts: 3011 Location: Düsseldorf, Germany
|
Posted: Sun Apr 10, 2005 3:20 pm Post subject: |
|
|
Aviar, thanks for the RGG-howto! Should be part of the FAQ.
Gizzmoe |
|
| Back to top |
|
 |
LuisCamoes
Joined: 24 Mar 2005 Posts: 299
|
Posted: Sun Apr 10, 2005 5:00 pm Post subject: |
|
|
| did you make sure your DD's were historicalt available at your mission date |
|
| Back to top |
|
 |
mcoca
Joined: 09 Apr 2005 Posts: 21
|
Posted: Sun Apr 10, 2005 5:09 pm Post subject: |
|
|
| Aviar wrote: |
-----------------------------------
DD JC Butler (Leader) *SPAWNED
DD Everts *NO SPAWN
DD Fletcher *NO SPAWN
-----------------------------------
|
Aviar, can you please re-test this example? All three destroyers spawn for me. |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Sun Apr 10, 2005 6:10 pm Post subject: |
|
|
| mcoca wrote: | | Aviar wrote: |
-----------------------------------
DD JC Butler (Leader) *SPAWNED
DD Everts *NO SPAWN
DD Fletcher *NO SPAWN
-----------------------------------
|
Aviar, can you please re-test this example? All three destroyers spawn for me. |
I just checked my notes and yes, they did all spawn for me too. I just made an error while posting the info. I already edited my first post.
Did you get the same results for the other groups?
Aviar |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Sun Apr 10, 2005 6:14 pm Post subject: |
|
|
| LuisCamoes wrote: | | did you make sure your DD's were historicalt available at your mission date |
Yes. Did you miss this part of my post?:
"The date on my test mission was August 9, 1943. All the units I tested were in service at that time. In any event, they each spawned at least once during the testing, so the dates are not an issue."
Since I listed my test mision date and the ships I used, anyone can set up the same tests and verify what I found.
Aviar |
|
| Back to top |
|
 |
mcoca
Joined: 09 Apr 2005 Posts: 21
|
Posted: Sun Apr 10, 2005 6:15 pm Post subject: |
|
|
| Aviar wrote: |
Did you get the same results for the other groups?
|
Yes, the ones I tested matched, except for that one. I have some conclusions, and will post them in a few minutes.
Last edited by mcoca on Sun Apr 10, 2005 6:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
mcoca
Joined: 09 Apr 2005 Posts: 21
|
Posted: Sun Apr 10, 2005 6:21 pm Post subject: |
|
|
Well, I think can confirm now that this is a bug, and that it's linked to the appearance dates of the ships. In a random group, no ships will spawn that have a more recent AppearanceDate (defined in the Roster files) than the leader ship, even if they are defined to spawn with 100% probability.
Because most convoys are led by merchants, and most merchants have appearance dates of 1938, only the very old destroyers will spawn as convoy escorts. For example, if a convoy has an assigned escort of a very old destroyer, and a more modern one, only the old one will spawn. Even worse, as the war progresses, there will be no old destroyers defined, only the modern ones that won't spawn. So the convoy will be unescorted. That explains why I regularly find unescorted convoys in 1944.
You might get a temporary relief if the convoy leader happens to be a more modern merchant (say a Liberty or Victory), since then you will at least get some non-obsolete escorts (a Flower Corvette, for example). But the really good warships appear much later than the latest merchant.
To ilustrate the problem, I've built a table from the several random groups I've tested. To test, I created a single mission, set in August 1st, 1943, and added a randomly generated group with the ships listed. The fields are:
- Ship class and country: self explanatory
- Appearance: the AppearanceDate defined in data/Roster/Country/Sea/Ship.cfg.
- Older: Whether or not the ship's Appearance Date is no later than the group leader's.
- Spawns: Whether or not the ship spawns when I start the mission. Note the leader always spawns, so there is no problem with the groups itself.
Now the table:
| Code: |
| Ship Class | Country | Appearance | Older | Spawns |
|-------------------------------------------------------------------------|
| DD Evarts (Leader) | American | 19420724 | X | X |
| DD Fletcher | American | 19420204 | X | X |
| DD JC Butler | American | 19430616 | | |
|-------------------------------------------------------------------------|
| DD JC Butler (Leader) | American | 19430616 | X | X |
| DD Evarts | American | 19420724 | X | X |
| DD Fletcher | American | 19420204 | X | X |
|-------------------------------------------------------------------------|
| C3 Cargo (Leader) | American | 19380101 | X | X |
| DD Evarts | American | 19420724 | | |
| DD Fletcher | American | 19420204 | | |
| DD JC Butler | American | 19430616 | | |
|-------------------------------------------------------------------------|
| C3 Cargo (Leader) | American | 19380101 | X | X |
| DD Clemson | American | 19180101 | X | X |
| DD Buckley | American | 19430109 | | |
| DD Somers | American | 19370313 | X | X |
|-------------------------------------------------------------------------|
| DD Buckley (Leader) | American | 19430109 | X | X |
|-------------------------------------------------------------------------|
| C3 Cargo (Leader) | American | 19380101 | X | X |
| DD Buckley | American | 19430109 | | |
|-------------------------------------------------------------------------|
| C3 Cargo (Leader) | American | 19380101 | X | X |
| DD Buckley | American | 19430109 | | |
| DD Somers | American | 19370313 | X | X |
|-------------------------------------------------------------------------|
| Victory Cargo (Leader) | American | 19420228 | X | X |
| DD Evarts | American | 19420724 | | |
| DD Fletcher | American | 19420204 | X | X |
| DD JC Butler | American | 19430616 | | |
|-------------------------------------------------------------------------|
| Liberty Cargo (Leader) | American | 19410927 | X | X |
| DD Evarts | American | 19420724 | | |
| DD Fletcher | American | 19420204 | | |
| DD JC Butler | American | 19430616 | | |
|-------------------------------------------------------------------------|
| Liberty Cargo (Leader) | British | 19430101 | X | X |
| DD Evarts | American | 19420724 | X | X |
| DD Fletcher | American | 19420204 | X | X |
| DD JC Butler | American | 19430616 | | |
|-------------------------------------------------------------------------|
| CVE Casablanca (Leader) | American | 19430708 | X | X |
| DD Evarts | American | 19420724 | X | X |
| DD Fletcher | American | 19420204 | X | X |
| DD JC Butler | American | 19430616 | X | X |
|-------------------------------------------------------------------------|
|
As you can see, all the Appearance dates are earlier than the mission date. And there is a 100% correlation between the older field and the spawn.
I think this is a huge bug, that makes convoy attacks a lot easier than they should be, and completely destroys the game late in the war for me. So, how do we get around to tell the devs? Being a software developer myself, I expect this will have an easy fix
Meanwhile, we could work around the bug by modding all the units' AppearanceDate's to the earliest possible date. That would mean we could run into a Fletcher destroyer early in the war, if some patrol uses the "GENERIC Destroyer". But I guess that would the lesser of two evils.
What to you people think? |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Sun Apr 10, 2005 6:34 pm Post subject: |
|
|
Yea, I'm getting the same results. No wonder players are racking up 100,000 tons on a patrol.
In case anyone is a little confused about the exact nature of the problem, here it is in simple terms:
**When you set up a Random Group (all convoys in the campaign are Random Groups), one ship must be designated as the 'Leader'. Now comes the bug. If the escort's Entry Date is later than that of the leader, the escort will not spawn. For instance:
-----------------------------------------------------------------------
Mission date: August 1, 1943
Leader Entry Date: January 1, 1938
Escort 1 Entry Date: March 1, 1942
Escort 2 Entry Date: January 1, 1938
Escort 3 Entry Date: April 1, 1941
In this example, only the Leader and Escort 2 will spawn. Escorts 1 & 2 SHOULD also spawn, since the date of the mission comes AFTER their Entry Dates...but they never appear.
------------------------------------------------------------------------
EDIT: It's not only escorts that will not spawn. Any ship that has an Entry Date later than the Leader will not spawn.
I guess we need to let the devs know about this. HUGE bug.
Aviar
Last edited by Aviar on Mon Apr 11, 2005 2:31 am; edited 1 time in total |
|
| Back to top |
|
 |
Jungman
Joined: 03 Apr 2005 Posts: 724 Location: Iowa, USA
|
Posted: Sun Apr 10, 2005 7:41 pm Post subject: |
|
|
Oh my, good catch.
I guess in the mean time, we can use that idea of modified appearance dates, maybe multiple file for each year of the war.
Then just place in the 'better' file manually as the date year increases?
No wonder there are big merchants running around with no escorts!
Early game, convoys have escorts; later years, maybe only one escort. Just now getting to 1943, you would think ALL merchants would have alot of escorts in the war. not less! |
|
| Back to top |
|
 |
akdavis
Joined: 24 Mar 2005 Posts: 171 Location: Fort Worth, Texas
|
Posted: Sun Apr 10, 2005 7:53 pm Post subject: |
|
|
Beta testing is fun, hey Aviar?
This should be stickied until resolved, as it will have a huge impact on many of the ongoing campaign editing efforts. |
|
| Back to top |
|
 |
Jace11
Joined: 16 Mar 2005 Posts: 1091
|
Posted: Sun Apr 10, 2005 8:02 pm Post subject: |
|
|
Quick Fixes?
Are these possible:-
go through RND and change leaders to a late escort, there are a few convoys so it would take a while.....but not too long?
or
Go through Sea and edit destroyer entry dates to 1938 etc.. |
|
| Back to top |
|
 |
GunMod
Joined: 30 Mar 2005 Posts: 104
|
Posted: Sun Apr 10, 2005 8:19 pm Post subject: |
|
|
| Jace I think the first option, while taking longer would work better and be more historically accurate. |
|
| Back to top |
|
 |
|
|
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
|