idefix44 Posted February 11, 2014 Report Share Posted February 11, 2014 I've randomly change the position of the roads in a .rds file. For exemple, [A to B] 1111111111 1111111111 111111111 [b to C] 2222222222 2222222222 2222222222 [C to D] 3333333333 3333333333 333333333 [D to E] 44444444444 444444444 444444444 [E to F] 5555555555 555555555 555555555 become, [C to D] 3333333333 3333333333 333333333 [E to F] 5555555555 555555555 555555555 [b to C] 2222222222 2222222222 2222222222 [A to B] 1111111111 1111111111 111111111 [D to E] 44444444444 444444444 444444444 After that, I've run DCG to create the next mission of the campaign using this .rds file. The result is the end of the campaign. I tried several random .rds file creation and get always the same result. End of the campaign. To randomize the roads order is it a stupid idea or wich are the rules (first and last roads can't move, etc...)? Thanks Quote Link to comment Share on other sites More sharing options...
Spies Posted February 11, 2014 Report Share Posted February 11, 2014 That makes no sense at all, since you have the same roads in a different order. What are you trying to achieve? Quote Link to comment Share on other sites More sharing options...
idefix44 Posted February 11, 2014 Author Report Share Posted February 11, 2014 If you play several times the same campaign you will see that the columns always use the same roads. For example, Blue use the north road and Red the south road. What I want is to try to have the roads less predictable. So I try this way. To change the order of the roads in the .rds file. Thanks. Quote Link to comment Share on other sites More sharing options...
Spies Posted February 12, 2014 Report Share Posted February 12, 2014 You need to learn how to build a roads file. This can be done in the mission editor, you pick up an vehicle, and start placing way points along the road you want units to travel. usually 1Km between each waypoint. then you open the mission file and copy those waypoint into your .rds files and place the start and finish inside brackets. Quote Link to comment Share on other sites More sharing options...
sniperton Posted February 12, 2014 Report Share Posted February 12, 2014 Hey, Ideefix, Make sure to make changes to your campaign files only when you're in the 'debrief' state (after quitting the previous mission and before hitting the 'apply' button generating the next one). Otherwise you'll feed DCG with conflicting data (old and new). Probably it won't work that way either, but worth a try. As to your original problem, try this system in your rds file: [route 1] A to B B to C C to D D to E [route 2] B to F F to G G to D In my experience, randomization works pretty well this way, that is, units have a near equal chance to choose either route 1 or route 2, particularly when branching waypoint directions are aligned to mapaxis. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.