Changes between Version 3 and Version 4 of Random_Map_Generator
- Timestamp:
- Feb 28, 2012, 3:13:55 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Random_Map_Generator
v3 v4 15 15 Basically 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. 16 16 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.17 Random 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. 18 18 19 19 == Load libraries ==