Difference between revisions of "FNI Settings"

(In Blender)
Line 14: Line 14:
 
  Graphics.Renderer.SetClearColor ''red green blue''
 
  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.
 
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.
 +
 +
[[Category:AlcScript]]

Revision as of 01:41, 16 April 2011

.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.