View previous topic :: View next topic |
Author |
Message |
Gizzmoe
Joined: 22 Mar 2005 Posts: 3011 Location: Düsseldorf, Germany
|
Posted: Wed Jun 01, 2005 3:01 am Post subject: [FAQ] How to spawn a Random Generated Group |
|
|
[Written by Aviar]
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 Naval RGG.
2.Assign two waypoints at about 50km apart. (This is just an example. There are no restrictions on waypoints.)
3.Make sure your sub is at least 20km from the RGG. If it's too close, the RGG will not spawn. *(For an Air RGG, use 25km as the minimum distance.)
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 'group leader' 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 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. *(If you use a Random Area Radius for your RGG and\or the Player's sub, make sure you measure the minimum 20km distance [from step #3] from the outer edge of the circle(s). Example: Both your sub and the RGG have a Random Area Radius of 5km. The distance between the OUTER EDGES of the two area circles will need to be at least 20km. This would place the actual sub and RGG at least 30 km apart. Obviously, this needs to be done because the unit(s) can spawn anywhere within the Random Area Radius and so the 'minimum 20km rule' needs to be observed.)
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 |
|
Back to top |
|
|
Beltza
Joined: 01 Feb 2003 Posts: 361 Location: España
|
Posted: Tue Aug 23, 2005 12:53 pm Post subject: |
|
|
Good work Aviar.
It works very well. But only for single missions, no for multiplayer :nope: .
Thanks. |
|
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
|