vmapfile

Read vector maps from text files. More...

Read vector maps from text files.

The vmapfile driver reads a vector map from a text file and provides the map to others via the map interface.

The format of the text file is...

Compile-time dependencies
  • None
Provides
Requires
  • None
Configuration requests
  • PLAYER_MAP_REQ_GET_VECTOR
Configuration file options
  • filename (string)
    • Default: NULL
    • The file to read.
  • scale (tuple [double double])
    • Default [1.0 1.0]
    • Multipliers for X,Y of each vector, for the final result to be in meters
Example
driver
(
  name "vmapfile"
  provides ["map:0"]
  filename "mymap.wld"
  scale [1.0 1.0]
)
Author
Brian Gerkey

Last updated 12 September 2005 21:38:45