Stratos Posted August 6, 2015 Posted August 6, 2015 My idea, is to have a mission that can play in 10 different ways every time is started, let me explain to see If is possible and how it is done. Each time mission starts a random number is picked from 0 to 99 (or DCS uses from 1 to 100?) Imagine the numbe picked is the 44, is possible to activate certain groups that will become active If the random number is between 40 and 49? Other groups are not activated and hence not appear on the mission. You replay the mission, now the number picked is the 78. Groups activated should have a activation number from 70 to 79 and the rest of groups should not be active. I explained myself? I will like to create a mission it plays differently everytime you load it, so to add randomness factor to air and ground grups the player will encounter. Is doable? And If yes, how is done? I don't understand anything in russian except Davai Davai!
mwd2 Posted August 6, 2015 Posted August 6, 2015 Randomizing object placement at beginning of mission: http://forums.eagle.ru/showpost.php?p=1176947&postcount=2 Playing: DCS World Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815
Stratos Posted August 6, 2015 Author Posted August 6, 2015 Will try the mission Druid posted and see If I can replicate on my new missions I don't understand anything in russian except Davai Davai!
Stratos Posted August 6, 2015 Author Posted August 6, 2015 But shouldn't be possible to have the same with triggers? I don't understand anything in russian except Davai Davai!
mwd2 Posted August 6, 2015 Posted August 6, 2015 But shouldn't be possible to have the same with triggers? Yes it is possible Mission Start // // Flag Set Random Value (1,1,100) Once // Flag Eguals(1,1) // Group Activate (Group #001) Once // Flag Eguals(1,2) // Group Activate (Group #002) .... Once // Flag Eguals(1,100) // Group Activate (Group #100) Playing: DCS World Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815
Stratos Posted August 6, 2015 Author Posted August 6, 2015 sounds like an excellent plan! will try it, thanks! I don't understand anything in russian except Davai Davai!
Wrecking Crew Posted August 6, 2015 Posted August 6, 2015 What mwd2 said ^^^ above. You don't need to use such a large range of 0-99 (or 1-100, either will work). Just use 0-9 (or 1-10). Set a random flag with a Mission Start event, like: Random Flag 10, Min 1 Max 10 Then make all of your groups on the map, place them where you want and set them to Late Activation. Make as many groups as you want. Then make ten Once events to use the random Flag 10 with condition Flag 10 = x, where x is 1-10. In Actions, add Group Activate for all those groups you want to have going with each value of Flag 10. Then you will have ten of these instead of a hundred. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Recommended Posts