Changes between Version 3 and Version 4 of Random_Map_Generator


Ignore:
Timestamp:
Feb 28, 2012, 3:13:55 AM (12 years ago)
Author:
historic_bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Random_Map_Generator

    v3 v4  
    1515Basically a random map script is responsible for all the logic of generating a map: modeling terrain, placing units and resources, and then returning the data to the engine. In practice, most of the logic is hidden by APIs also implemented in JavaScript. We have added the concept of libraries for this purpose.
    1616
    17 Random map scripts are placed in the `maps/random/` directory. In addition to the script itself, there is also an associated [http://www.json.org/ JSON] data file. This file is loaded by game setup to recognize a new random map, and it includes various settings.
     17Random map scripts are placed in the `maps/random/` directory. In addition to the script itself, there is also an associated [wiki:JSON] data file. This file is loaded by game setup to recognize a new random map, and it includes various settings, see [wiki:Random_Map_Generator_Internals#DefiningtheMap defining the map] for details.
    1818
    1919== Load libraries ==