Difference between revisions of "FNI Settings"

(beginning of a page, feel free to edit)
 
(In Blender)
Line 1: Line 1:
 
.fni files are files that go along with every Age that control its fog settings. They are placed in the /dat/ directory and are xTEA encrypted WhatDoYouSee files. Pretty much everything but the actual setting lines should be commented (with a #), but I believe the structure of them is pretty open.
 
.fni files are files that go along with every Age that control its fog settings. They are placed in the /dat/ directory and are xTEA encrypted WhatDoYouSee files. Pretty much everything but the actual setting lines should be commented (with a #), but I believe the structure of them is pretty open.
 
==In Blender==
 
==In Blender==
Just as AlcScript settings are stored in the "AlcScript" text file in Blender, FNI settings are stored in the "init" text file. If you haven't already done so, open up a "Text Editor" window in Blender (just as you would open another "3D View" or an "UV/Image Editor"). The traditional FNI settings are as follows.
+
Just as AlcScript settings are stored in the "AlcScript" text file in Blender, FNI settings are stored in the "init" text file. If you haven't already done so, open up a "Text Editor" panel in Blender (just as you would open another "3D View" or a "Buttons Window"). The traditional FNI settings are as follows.
 
===Graphics.Renderer.SetYon===
 
===Graphics.Renderer.SetYon===
 
  Graphics.Renderer.SetYon ''Distance''
 
  Graphics.Renderer.SetYon ''Distance''

Revision as of 13:19, 9 July 2009

.fni files are files that go along with every Age that control its fog settings. They are placed in the /dat/ directory and are xTEA encrypted WhatDoYouSee files. Pretty much everything but the actual setting lines should be commented (with a #), but I believe the structure of them is pretty open.

In Blender

Just as AlcScript settings are stored in the "AlcScript" text file in Blender, FNI settings are stored in the "init" text file. If you haven't already done so, open up a "Text Editor" panel in Blender (just as you would open another "3D View" or a "Buttons Window"). The traditional FNI settings are as follows.

Graphics.Renderer.SetYon

Graphics.Renderer.SetYon Distance

This is the maximum distance that URU will render. Leaving it at the default value is usually fine.

Graphics.Renderer.Fog.SetDefLinear and Graphics.Renderer.Fog.SetDefExp2

Graphics.Renderer.Fog.SetDef(Linear or Exp2) Start End Density

These are the two types of fog. You must use one or the other, and not both. Exp2 only uses the "end" value, however, and is only used in Er'cana. It is not recommended for use anywhere else.

Graphics.Renderer.Fog.SetDefColor

Graphics.Renderer.Fog.SetDefColor red green blue

This sets the fog color with a traditional 0-1 RGB color.

Graphics.Renderer.SetClearColor

Graphics.Renderer.SetClearColor red green blue

This sets the onscreen color when there is nothing to display (which should never happen, but does when there's an error). A standard 0-1 RGB color.