coopercobra03 Posted January 26, 2010 Posted January 26, 2010 If you have 5 flags set to random that should give me 32 different (true) and (false) combinations right? For some reason I can only come up with 24 different combinations on paper!:doh: Do any of you mission builders have a list of these combo's or some tips on figuring out these equations?
Grimes Posted January 26, 2010 Posted January 26, 2010 What are you trying to accomplish with it? I use this system for unit placement. IMO, separating a random combination is a far more effective method of creating random results. A system where 4 outcomes (2 flags used) govern the placement of 1 or 2 groups of units. Adding additional sets allows for a more random outcome because you can subdivide it. It basically multiplies the combination by 4 and is easy to modify it later. Think of it as 2 flags = 4 outcomes 4 outcomes for shorads x 4 outcomes for APC unit placement = 16 possible solutions. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Speed Posted January 26, 2010 Posted January 26, 2010 (edited) If you have 5 flags set to random that should give me 32 different (true) and (false) combinations right? For some reason I can only come up with 24 different combinations on paper!:doh: Do any of you mission builders have a list of these combo's or some tips on figuring out these equations? It's not equations, it's simply counting to 32 in binary 00000 0 00001 1 00010 2 00011 3 00100 4 00101 5 00110 6 00111 7 01000 8 01001 9 01010 10 01011 11 01100 12 01101 13 01110 14 01111 15 10000 16 10001 17 10010 18 10011 19 10100 20 10101 21 10110 22 10111 23 11000 24 11001 25 11010 26 11011 27 11100 28 11101 29 11110 30 11111 31 Have fun building 32 different iterations of the same mission! Edited January 26, 2010 by Speed Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
Weta43 Posted January 26, 2010 Posted January 26, 2010 (edited) Ha - apt - you beat me to it Speed :-) 00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 10001 10010 10011 10100 10101 10110 10111 11000 11001 11010 11011 11100 11101 11110 11111 Edited January 26, 2010 by Weta43 Beaten to the gun ... Cheers.
coopercobra03 Posted January 27, 2010 Author Posted January 27, 2010 Weta and Speed thanks for lists! This is for a random/dynamic campaign I'm working on! I'm working on the ground units right now, each group will have at least 32 different waypoints! This should take me about 2 years...:megalol:
Grimes Posted January 27, 2010 Posted January 27, 2010 Yeah wow, I think that is overkill. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
chromium Posted January 28, 2010 Posted January 28, 2010 Weta and Speed thanks for lists! This is for a random/dynamic campaign I'm working on! I'm working on the ground units right now, each group will have at least 32 different waypoints! This should take me about 2 years...:megalol: I tried similar, but other way: more units, random activation. Instead of multiple waypont solution, multiple unit solution... you got also random "density" of units in the scenario Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
coopercobra03 Posted January 30, 2010 Author Posted January 30, 2010 (edited) I tried similar, but other way: more units, random activation. Instead of multiple waypont solution, multiple unit solution... you got also random "density" of units in the scenario I'm only doing it this way because I'm going to have a random mission task generator in game, so you really don't know what your mission will be.. For example your mission might be: Provide close air support for the (Bravo Team) ground units which could be anywhere on the map giving the 32 or 16 waypoints! You will then hit F-10 and find where Bravo team is located on the map and make the necessary waypoints in your ABRIS.. If I had the Bravo teams just set on random there could be a chance of Bravo not being on the map or a chance to have more than 1 Bravo's showing up.. But on the enemy side I won't have to do this! It would be more like what you said above and alot easier.. Edited January 30, 2010 by coopercobra03
nemises Posted January 30, 2010 Posted January 30, 2010 good concept coop! ... look forward to enjoying the results :)
REL Posted January 31, 2010 Posted January 31, 2010 (edited) Hey coopercobra03 I think that you have only 99 flags to spend so you have to plane your moves ahead . :smilewink: Edited January 31, 2010 by REL
Recommended Posts