World class in Visual style definition

Environment properties.

6 members:

type and namedescriptioncomments
integer wrldtyp
integer, 0 .. 2
  • 0 = Flat surface
  • 1 = Blocks
  • 2 = Height field
  • Type  
    float wrldsiz
    floating point, 10 .. 200
    Size Side length of the world 
    string wrldmap
    multiline string
    Map Description of the world (Type: Blocks or Heighfield). Format:
    r <sizex> <sizey> [seed]
    or
    m <sizex> <sizey> digits 
    float wrldwat
    floating point, -20 .. 30
    Water level  
    integer wrldbnd
    integer, 0 .. 2
  • 0 = None
  • 1 = Fence
  • 2 = Teleport
  • Boundaries  
    function wrldchg
    function
    Trigger world update  

    Global context>>Experiment definition>>Visual style definition