| View previous topic :: View next topic |
| Author |
Message |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Fri Apr 08, 2005 7:53 am Post subject: How To Spawn A Random Generated Group |
|
|
I see people are still having problems with this option in the ME. Hopefully, this will help.
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 a 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).
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 spawning within this circle. Let's try it. Click on the start icon. The green circle should 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.
Well, that's about enough for now. Enjoy!
Aviar
Last edited by Aviar on Wed Apr 20, 2005 12:09 pm; edited 1 time in total |
|
| Back to top |
|
 |
BBury
Joined: 01 Apr 2005 Posts: 13 Location: Houston, Texas
|
Posted: Fri Apr 08, 2005 4:21 pm Post subject: |
|
|
Thanks Aviar. I messed with it once but hadn't given it any more thought. This will definately come in handy when the inspiration strikes..  |
|
| Back to top |
|
 |
Beery
Joined: 09 Nov 2004 Posts: 2817 Location: Boston, MA, USA
|
Posted: Wed Apr 13, 2005 9:07 am Post subject: Re: How To Spawn A Random Generated Group |
|
|
| Aviar wrote: | | 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. |
So does that mean we'll never see ships in the port from which we start a patrol until we return to it after the mission? |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Wed Apr 13, 2005 6:07 pm Post subject: |
|
|
If the RGG is less than 20km from your sub, you won't see the spawned ship(s).
Aviar |
|
| Back to top |
|
 |
msxyz
Joined: 31 Mar 2005 Posts: 485
|
Posted: Thu Apr 14, 2005 3:29 am Post subject: |
|
|
SH3 does a check to avoid spawning a new ship if there's one (either AI controlled or by the player). Interesting enough, this check is not done when the ship reaches its final destination point and it will simply disappear as if it were swallowed crossing the Bermuda Triangle
Also, you'll have to wait for a whole spawn time before seeing the first ship being generated. Ie: if you create a spawn point generating a Liner every 10 days (=240 hrs) you won't see any before your 10th day into the mission. At least this is what I observed using the traffic simulator included into the editor. Dunno, if in the game it's different |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Thu Apr 14, 2005 4:52 pm Post subject: |
|
|
| msxyz wrote: | SH3 does a check to avoid spawning a new ship if there's one (either AI controlled or by the player). Interesting enough, this check is not done when the ship reaches its final destination point and it will simply disappear as if it were swallowed crossing the Bermuda Triangle  |
The ship(s) disappear because the 'delete on last waypoint' box is checked. This needs to be done with the RGG's in the campaign. Otherwise, they would stop and the next group would eventually come along and crash into them. Then, people would complain that the stupid ships are ramming eachother.
| msxyz wrote: | | Also, you'll have to wait for a whole spawn time before seeing the first ship being generated. Ie: if you create a spawn point generating a Liner every 10 days (=240 hrs) you won't see any before your 10th day into the mission. At least this is what I observed using the traffic simulator included into the editor. Dunno, if in the game it's different |
This is explained in my first post, in step 10 and the sentence below it. It also shows how to get the RGG to spawn at the start of the mission....if that's what the player wants.
Aviar |
|
| Back to top |
|
 |
Pentallion
Joined: 05 Apr 2005 Posts: 383
|
Posted: Thu Apr 14, 2005 5:00 pm Post subject: Re: How To Spawn A Random Generated Group |
|
|
| Beery wrote: | | Aviar wrote: | | 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. |
So does that mean we'll never see ships in the port from which we start a patrol until we return to it after the mission? |
If you want ships to be there when you start a patrol, you'll have to put them in the SCR file. Now I have no proof of this, but I am surmising such because I've seen Merchant Raiders leaving Wilhelmshaven while I am and they certainly weren't 20km away when this happened.
So I'm betting they are in the SCR file. |
|
| Back to top |
|
 |
Aviar
Joined: 17 Mar 2005 Posts: 186 Location: New Jersey, USA
|
Posted: Thu Apr 14, 2005 5:32 pm Post subject: |
|
|
Those are 'Scripted' ships\convoys, not RGG's. That's why you can start them very close to your sub.
It has nothing to do with the layer, per se. You can place Random groups in the scripted layer and Scripted ships\groups in the random layer. Their spawning habits will not change.
I think the layers were made to keep the individual campaign components (Random, Scripted, Land) separated, which would in turn make them easier to work with and view.
Aviar |
|
| Back to top |
|
 |
Beery
Joined: 09 Nov 2004 Posts: 2817 Location: Boston, MA, USA
|
Posted: Thu Apr 14, 2005 5:59 pm Post subject: |
|
|
| Aviar wrote: | | Those are 'Scripted' ships\convoys, not RGG's. That's why you can start them very close to your sub. |
Ah! Now it's all clear to me. I thought that it meant that there was no way at all to add ships in near your sub. |
|
| 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
|