Difference between revisions of "FNI Settings"

m (FNI Files are definitely not AlcScript)
(Polish. Separate Blender instructions from general information.)
 
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.
+
<code>.fni</code> files are files that go along with every Age. They control its fog settings. They are placed in the <code>dat</code> directory and are xTEA encrypted files. Pretty much everything but the actual setting lines should be commented (with a #), but otherwise the structure of them seems 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.
+
== Settings ==
===Graphics.Renderer.SetYon===
+
The traditional FNI settings are as follows.
  Graphics.Renderer.SetYon ''Distance''
+
 
This is the maximum distance that URU will render. Leaving it at the default value is usually fine.
+
=== Rendering distance ===
===Graphics.Renderer.Fog.SetDefLinear and Graphics.Renderer.Fog.SetDefExp2===
+
  Graphics.Renderer.SetYon ''[distance]''
  Graphics.Renderer.Fog.SetDef''(Linear or Exp2)'' ''Start End Density''
+
This is the maximum distance that Uru will render. Leaving it at the default value is usually fine.
 +
 
 +
=== Fog Types ===
 +
Graphics.Renderer.Fog.SetDefLinear ''[start]'' ''[end]'' ''[density]''
 +
  Graphics.Renderer.Fog.SetDefExp2 ''[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.
 
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''
+
=== Fog Color ===
 +
  Graphics.Renderer.Fog.SetDefColor ''[red]'' ''[green]'' ''[blue]''
 
This sets the fog color with a traditional 0-1 RGB color.
 
This sets the fog color with a traditional 0-1 RGB color.
===Graphics.Renderer.SetClearColor===
+
 
  Graphics.Renderer.SetClearColor ''red green blue''
+
=== Clear Color ===
 +
  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.
 +
 +
== Editing ==
 +
FNI files can of course be manually edited then encrypted. However, you can use the provided tools to edit them too.
 +
 +
=== PyPRP ===
 +
Just as [[AlcScript]] settings are stored in the <code>AlcScript</code> text file in Blender, FNI settings are stored in the <code>init</code> 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"). You can then edit the settings.
  
 
[[Category:Plasma]]
 
[[Category:Plasma]]

Latest revision as of 17:13, 16 May 2012

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

Settings

The traditional FNI settings are as follows.

Rendering distance

Graphics.Renderer.SetYon [distance]

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

Fog Types

Graphics.Renderer.Fog.SetDefLinear [start] [end] [density]
Graphics.Renderer.Fog.SetDefExp2 [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.

Fog Color

Graphics.Renderer.Fog.SetDefColor [red] [green] [blue]

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

Clear Color

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.

Editing

FNI files can of course be manually edited then encrypted. However, you can use the provided tools to edit them too.

PyPRP

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"). You can then edit the settings.