Difference between revisions of "FNI Settings"
(Polish. Separate Blender instructions from general information.) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | .fni files are files that go along with every Age | + | <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. |
− | == | + | |
− | + | == Settings == | |
− | === | + | The traditional FNI settings are as follows. |
− | Graphics.Renderer.SetYon '' | + | |
− | This is the maximum distance that | + | === Rendering distance === |
− | ===Graphics.Renderer.Fog.SetDefLinear | + | Graphics.Renderer.SetYon ''[distance]'' |
− | Graphics.Renderer.Fog. | + | 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 ''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 ''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. | ||
− | [[Category: | + | == 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]] |
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.
Contents
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.