====Environment Construction==== This is an advanced guide to constructing ARDI environments by directly editing the text-files involved in producing the environment information. ===Warning=== Incorrectly altering these files may cause significant issues for the server and clients, so please be extremely careful in making modifications. ===Folder=== Environment data is stored in /////**media/layouts/**//// Here you will find all of the media files (ie. PNG images, SVG files, FBX 3D models), as well as **details.inc**, which is the master file that describes your environment layers. The file is in PHP format. A sample file showing the layers of a building appears below... ===A Sample File=== ===Notes=== You **must** retain the leading " $lev = array(); $lev["name"] = "Basement"; $lev["path"] = "5.png"; $lev["options"] = "photo"; $lev["id"] = 5; $lev["z"] = -3; $levels[] = $lev; The first line creates a new level. The next set the options for the level. It's critical to at least have.... * Name * Path * Options * ID * Z (depth) The last line adds the layer to the list of layers. The **Options** section contains what //type// of layer you are working with. These can include... ^Option^Meaning^ |photo|A raster image or photograph (PNG or JPG)| |map|A 3D OBJ file with optional colour information| |svgmap|A 2D SVG vector image| |ply|A 3D PLY model containing additional data|