Grid2CS


This is a tool to convert text grid files to Crystal Space Maps.

An example file (Screenshot below):

/*

   A Comment

*/

// another comment

Textures
tex stone /lib/std/stone4.gif
EndTextures

Looks
look . floor 0.0 ceiling 3.0 walltex stone floortex stone ceiltex stone end
look L floor 0.0 ceiling 3.0 walltex stone floortex stone ceiltex stone 
  light radius 5.0 color 1.0 1.0 1.0 lightheight 2.0 endlight 
end
look S floor 0.0 ceiling 3.0 walltex stone floortex stone ceiltex stone 
  start end
EndLooks

Map
mapwidth 10
mapheight 10
mapcontent
          
 S.....   
 ...L..   
 ........ 
 ........ 
 .....L.. 
 ......   
 ..L...   
          
          
EndMap

Screenshot of that map:

Screenshot

(LARGE version 341KB)


Back to Projects with Crystals Space..

Back home..