Random map generator

Proposed algorithm

  1. Prepare (define, read) map general info
    1. Zones map
    2. Players disposition wrt zones
    3. Zone types, resource allocation
  2. Determine zone locations on the map
    1. Either use a ‘bubble’ algorithm
    2. Or use ‘circle’- place farthest from all
    3. Add buffer (interconnection) and decoration (islands,lakes,mounts) zones
    4. Determine terrain type for each zone
  3. Build zone borders
    1. Initialize each zone area as ‘impassable’
    2. Carve passages between zones or reserve teleport placement
    3. Check reachability and average path length
  4. Allocate castles
  5. Allocate mines
  6. Allocate additional buildings
  7. Allocate chests, artefacts and such
  8. Allocate guards
  9. Validate

Area-based Terrain Analyzis for AI Spatial Reasoning

Areas and blah blah..

Links to HMM3 RMG Info

 
pocket_heroes_rmg_project.txt · Last modified: 2007.01.18 10:30 by admin
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki