Originally Posted by ryleyra
I would like to second this suggestion. While it is possible to randomly generate maps (look at several of my randomized sector scripts, particularly my Sector Generator
) the algorithm is incredibly complex and takes up hundreds of lines of code. It would be much easier to just be able to randomly locate some terrain features with a variation of the create command. Perhaps you could even limit the terrain to a region of the sector.
One suggestion I have made in the past is to give the command to ability to specify a "seed", which will then be used to randomly generate whatever terrain is desired. You can then use the same seed to recreate the exact same sector again, or change to a different seed to produce different results. Using a random seed or leaving the seed blank would result in a totally random sector.
The exact same commands could also be used to add the ability to randomly place items in a Gamemastered script, or linked to GM buttons. (Depending on if you want to build that capability into all Gamemaster modules or rely on the script to code it)