Difference between revisions of "Documentation/Tools/SCS Blender Tools/Global Settings"

From SCS Modding Wiki
Jump to navigation Jump to search
(SCS Project Base Path)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Global Settings hold common settings to whole SCS Blender Tools addon and are defined either per-machine or per-blender file, depending on user choice.
 
Global Settings hold common settings to whole SCS Blender Tools addon and are defined either per-machine or per-blender file, depending on user choice.
  
'''''Global Settings''''' sub-palette can be found within '''''SCS Tools''''' panel in '''''Scene''''' settings of the Properties window.
+
'''''SCS Global Settings''''' panel can be found inside '''''Workspace''''' settings of the Properties window.
  
[[File:SCS_Tools_Properties_-_icons_01.png]]
+
[[File:SCS_Tools_Globals_01.280.png]]
 
 
There are two sub-panels (categorizing most of the properties into proper layout) and panel for uncategorised global settings.
 
 
 
[[File:SCS_Tools_Globals_01.png]]
 
  
 +
There are three sub-panels categorizing properties into proper layout.
  
 
__TOC__
 
__TOC__
Line 20: Line 17:
 
If paths are set properly is clearly seen from color of its background – if any entry is faulty, the background is in red color and needs to be set to the valid location or valid library file.
 
If paths are set properly is clearly seen from color of its background – if any entry is faulty, the background is in red color and needs to be set to the valid location or valid library file.
  
[[File:SCS_Tools_Globals_Path_01.png]]
+
[[File:SCS_Tools_Globals_Path_01.280.png]]
  
 
=== SCS Project Base Path ===
 
=== SCS Project Base Path ===
Line 27: Line 24:
  
 
'''''This is most important path, which leads to “base” root directory of your mod for any SCS game. Base directory always has to have specific structure, because of relative texture and definition file addressing.''''' So all of the paths of following libraries should continue from this location and should be in relative form. However if you prefer another location for those libraries, you can use it and the path form will be automatically chosen.
 
'''''This is most important path, which leads to “base” root directory of your mod for any SCS game. Base directory always has to have specific structure, because of relative texture and definition file addressing.''''' So all of the paths of following libraries should continue from this location and should be in relative form. However if you prefer another location for those libraries, you can use it and the path form will be automatically chosen.
{{Note|For importing sample models make sure you set SCS Project Base Path to one of the sample base folders inside "data" directory of downloaded SCS Blender Tools package.}}
+
<blockquote>{{Note|For importing sample models make sure you set SCS Project Base Path to one of the sample base folders inside &quot;data&quot; directory of downloaded SCS Blender Tools package.}}</blockquote>
{{Note|You should prefer another location for libraries only if you are using any custom library file.}}
 
  
 
=== Trigger Action Library ===
 
=== Trigger Action Library ===
Line 70: Line 66:
 
''[“*.txt” file, absolute file path]''
 
''[“*.txt” file, absolute file path]''
  
Shader Presets library filepath. This library has been created specially for SCS Blender Tools and thus it is located in its installation folder. The correct path should be set automatically.
+
Shader Presets library loads all effects that can be used in SCS Materials. By default this path will be empty, as SCS Blender Tools is taking internal shader presets library, but if you ever want to use custom library, make sure to tick checkbox on left side of filepath and then search for your custom shader presets library.
 
 
=== Conversion Tools Path ===
 
 
 
Property holding path to directory where you extracted [[Tools/Conversion Tools|Conversion Tools]] and is used by operators from [[Tools/SCS Blender Tools/Conversion Helper|Conversion Helper]]. Also note that you should select proper conversion tools depending on the game you want to use your content for.
 
  
 
== Display Settings ==
 
== Display Settings ==
  
The “Display Settings” sub-palette brings together visual settings for all the special elements that are part of SCS Blender Tools. You can find here a visual settings for Locators, their Curves, Preview Models and other specific elements, which detail explanation follows in the text below.
+
The “Display Settings” sub-panel brings together visual settings for all the special elements that are part of SCS Blender Tools. You can find here a visual settings for Locators, their Curves, Preview Models and other specific elements, which detail explanation follows in the text below.
  
[[File:SCS_Tools_Globals_Display.png]]
+
[[File:SCS_Tools_Globals_Display.280.png]]
  
 
=== Drawing Mode ===
 
=== Drawing Mode ===
Line 86: Line 78:
 
Drawing mode for custom elements (i.e. Locators and Connections). It switches between Normal and X-Ray mode. Normal mode use normal depth testing drawing so all the custom elements are drawn within the scene the same way as the other objects, while the X-Ray mode use X-Ray drawing making all the custom elements visible on top of the other objects.
 
Drawing mode for custom elements (i.e. Locators and Connections). It switches between Normal and X-Ray mode. Normal mode use normal depth testing drawing so all the custom elements are drawn within the scene the same way as the other objects, while the X-Ray mode use X-Ray drawing making all the custom elements visible on top of the other objects.
  
=== Display Locators ===
+
=== Icon Theme ===
 +
 
 +
Here you can select desired icon theme to use for custom SCS Blender Tools icons, depending on which suits to your blender theme the best. By default White theme is used.
 +
 
 +
=== Display Info Texts ===
  
Turns on and off displaying of custom representation of Locators. This can be useful especially when tunning Navigation curves.
+
Switches displaying of different additional information texts for Locators directly in 3D View. This is very useful when you work on Prefab models. For example, you can display only the Locator Names, or Boundary Lanes or Nodes.
 +
 
 +
=== Info Text Color ===
 +
 
 +
Custom color for Info Texts.
 +
 
 +
=== Base Paint Color ===
 +
 
 +
For greater diversity in SCS games there is paintable functionality, which is usually used on AI traffic cars and makes each car using different color based on it's configuration in SII file. However as Blender Tools does not read this kind of SII files, every shader with "paint" flavor will use this base paint color property for previewing.
 +
 
 +
In case you don't want to change look of shaders with this functionality make sure this property in display setting has set complete white color RGB(1.0, 1.0, 1.0).
 +
 
 +
=== Show Preview Models ===
 +
 
 +
Turns on and off displaying of Preview models for Locators.
 +
 
 +
=== Locators Display (Subpanel) ===
 +
 
 +
Turns on and off displaying of custom representation of Locators. This can be useful especially when tuning Navigation curves.
  
 
=== Locator Size ===
 
=== Locator Size ===
Line 98: Line 112:
 
Drawing size ratio of selectable Empty objects in Locators. Alter it if you experience difficulties with selecting of Locators.
 
Drawing size ratio of selectable Empty objects in Locators. Alter it if you experience difficulties with selecting of Locators.
  
=== Prefab Locator Color ===
+
=== Prefab Loc Color ===
  
 
Custom color for Prefab Locators.
 
Custom color for Prefab Locators.
  
=== Model Locator Color ===
+
=== Model Loc Color ===
  
 
Custom color for Model Locators.
 
Custom color for Model Locators.
  
=== Collider Locator Wire Color ===
+
=== Collider Loc Wire Color ===
  
 
Custom color for Collider Locators wire frames.
 
Custom color for Collider Locators wire frames.
  
=== Collider Locator Face Color ===
+
=== Collider Loc Face Color ===
  
 
Custom color for Collider Locators faces.
 
Custom color for Collider Locators faces.
  
=== Display Connections ===
+
=== Connections Display (Subpanel) ===
  
 
Turns on and off displaying of Locators connections - Curves and Lines.
 
Turns on and off displaying of Locators connections - Curves and Lines.
Line 126: Line 140:
 
Number of segments for Navigation Curves. It can improve update speed of 3D View.
 
Number of segments for Navigation Curves. It can improve update speed of 3D View.
  
=== Navigation Curve Base Color ===
+
=== Nav Curves Color ===
  
 
Custom color for Navigation Curves.
 
Custom color for Navigation Curves.
  
=== Map Line Base Color ===
+
=== Map Line Color ===
  
 
Custom color for Map Lines.
 
Custom color for Map Lines.
  
=== Trigger Line Base Color ===
+
=== Trigger Line Color ===
  
 
Custom color for Trigger Lines.
 
Custom color for Trigger Lines.
  
=== Display Text Info ===
+
== Other Settings ==
 
 
Switches displaying of different additional information texts for Locators directly in 3D View. This is very useful when you work on Prefab models. For example, you can display only the Locator Names, or Boundary Lanes or Nodes.
 
 
 
=== Info Text Color ===
 
  
Custom color for Info Texts.
+
[[File:SCS_Tools_Globals_Other.280.png]]
  
=== Show Preview Models ===
+
=== Copy BT Log To Clipboard ===
  
Turns on and off displaying of Preview models for Locators.
+
Simple tool to copy log of Blender Tools to clipboard. Clipboard will have whole Blender Tools log since Blender was started up.
  
== Uncategorised Global Settings ==
+
This tool can be used to easily grab log when you want to report some issues with your usage of Blender Tools.
 
 
[[File:SCS_Tools_Globals_Uncategorised.png]]
 
  
 
=== Log Level ===
 
=== Log Level ===
Line 162: Line 170:
 
Sets place of global settings storage:
 
Sets place of global settings storage:
  
# '''''From Common Config File''''' - will save global settings into one same config.txt file, thus this option will give you same settings for all Blender files you will be working on (global settings per machine).
+
<ol>
 
+
<li>'''''From Common Config File''''' - will save global settings into one same config.txt file, thus this option will give you same settings for all Blender files you will be working on (global settings per machine).
<blockquote>NOTE: Altered items are written to the settings file (config.txt) immediately, so the next time you start Blender all the settings will be preserved, even if application experience crash. If you want to reset settings to default navigate to installed Blender Tools in file browser, delete file &quot;io_scs_tools/config.txt&quot; and restart Blender.
+
<blockquote>{{Note|Altered items are written to the settings file (config.txt) immediately, so the next time you start Blender all the settings will be preserved, even if application experience crash. If you want to reset settings to default navigate to installed Blender Tools in file browser, delete file &quot;io_scs_tools/config.txt&quot; and restart Blender.}}
 
</blockquote>
 
</blockquote>
# '''''From Blend File''''' - will save global settings directly into blend file, giving you opportunity for each saved Blender file to have it's own settings (global settings per blend file).
+
</li>
 +
<li>'''''From Blend File''''' - will save global settings directly into blend file, giving you opportunity for each saved Blender file to have it's own settings (global settings per blend file).</li>
 +
</ol>

Latest revision as of 13:13, 4 December 2019

Global Settings hold common settings to whole SCS Blender Tools addon and are defined either per-machine or per-blender file, depending on user choice.

SCS Global Settings panel can be found inside Workspace settings of the Properties window.

SCS Tools Globals 01.280.png

There are three sub-panels categorizing properties into proper layout.

Path Settings

Before you start to use the tools, it is necessary to specify where to access data sources, which are used for filling up of some library menus and addressing textures.

First of all, you’ll need to set the main folder that contains your project. Do it to the “SCS Project Base Path” entry. Other routes usually proceed from that location, and therefore can be stored in the form of a relative path. However that doesn’t need to be the rule every time and therefore the mechanism for path selection in the SCS Tools will always decide the appropriate form for the path.

If paths are set properly is clearly seen from color of its background – if any entry is faulty, the background is in red color and needs to be set to the valid location or valid library file.

SCS Tools Globals Path 01.280.png

SCS Project Base Path

[folder, always absolute path]

This is most important path, which leads to “base” root directory of your mod for any SCS game. Base directory always has to have specific structure, because of relative texture and definition file addressing. So all of the paths of following libraries should continue from this location and should be in relative form. However if you prefer another location for those libraries, you can use it and the path form will be automatically chosen.

Note: For importing sample models make sure you set SCS Project Base Path to one of the sample base folders inside "data" directory of downloaded SCS Blender Tools package.

Trigger Action Library

[“*.sii” file, absolute or relative path to 'SCS Project Base Path']

Library of predefined trigger actions. You can assign them to Trigger Prefab Locators which are used in game for triggering various actions (for example sleeping areas).

Sign Library

[“*.sii” file, absolute or relative path to 'SCS Project Base Path']

Library of predefined traffic Signs. You can assign them to Sign Prefab Locators which are used in game to create traffic signs or any model defined as sign. Most of them are respected by AI cars and lay the traffic rules for player.

Semaphore Library

[“*.sii” file, absolute or relative path to 'SCS Project Base Path']

Library of predefined Traffic Semaphore profiles. You can assign them to Traffic Semaphore Prefab Locators which are used in game to create traffic semaphores. These are respected by AI cars and should be respected by player as well.

Traffic Rules Library

[“*.sii” file, absolute or relative path to 'SCS Project Base Path']

Library of predefined Traffic Rules. You can assign them to Navigation Point Prefab Locators which are used in game to create traffic routes. These are used mainly by AI cars.

Hookup Library

[folder, absolute or relative path to 'SCS Project Base Path']

Directory containing predefined Hookup files. You can assign them to Model Locators which are used in game to instance other game models within actual model.

Mat Substance Library

[“*.db” file, absolute or relative path to 'SCS Project Base Path']

Library of Material Substances, which defines physical behavior of the material. You can assign them to Materials.

Shader Presets Library

[“*.txt” file, absolute file path]

Shader Presets library loads all effects that can be used in SCS Materials. By default this path will be empty, as SCS Blender Tools is taking internal shader presets library, but if you ever want to use custom library, make sure to tick checkbox on left side of filepath and then search for your custom shader presets library.

Display Settings

The “Display Settings” sub-panel brings together visual settings for all the special elements that are part of SCS Blender Tools. You can find here a visual settings for Locators, their Curves, Preview Models and other specific elements, which detail explanation follows in the text below.

SCS Tools Globals Display.280.png

Drawing Mode

Drawing mode for custom elements (i.e. Locators and Connections). It switches between Normal and X-Ray mode. Normal mode use normal depth testing drawing so all the custom elements are drawn within the scene the same way as the other objects, while the X-Ray mode use X-Ray drawing making all the custom elements visible on top of the other objects.

Icon Theme

Here you can select desired icon theme to use for custom SCS Blender Tools icons, depending on which suits to your blender theme the best. By default White theme is used.

Display Info Texts

Switches displaying of different additional information texts for Locators directly in 3D View. This is very useful when you work on Prefab models. For example, you can display only the Locator Names, or Boundary Lanes or Nodes.

Info Text Color

Custom color for Info Texts.

Base Paint Color

For greater diversity in SCS games there is paintable functionality, which is usually used on AI traffic cars and makes each car using different color based on it's configuration in SII file. However as Blender Tools does not read this kind of SII files, every shader with "paint" flavor will use this base paint color property for previewing.

In case you don't want to change look of shaders with this functionality make sure this property in display setting has set complete white color RGB(1.0, 1.0, 1.0).

Show Preview Models

Turns on and off displaying of Preview models for Locators.

Locators Display (Subpanel)

Turns on and off displaying of custom representation of Locators. This can be useful especially when tuning Navigation curves.

Locator Size

Drawing size of Locators' custom representation.

Locator Empty Object Size

Drawing size ratio of selectable Empty objects in Locators. Alter it if you experience difficulties with selecting of Locators.

Prefab Loc Color

Custom color for Prefab Locators.

Model Loc Color

Custom color for Model Locators.

Collider Loc Wire Color

Custom color for Collider Locators wire frames.

Collider Loc Face Color

Custom color for Collider Locators faces.

Connections Display (Subpanel)

Turns on and off displaying of Locators connections - Curves and Lines.

Optimized Connections Draw

Draw connections only when data are updated. Switching this off might give you FPS (frames per second), especially on heavy Prefab scenes.

Curve Segments

Number of segments for Navigation Curves. It can improve update speed of 3D View.

Nav Curves Color

Custom color for Navigation Curves.

Map Line Color

Custom color for Map Lines.

Trigger Line Color

Custom color for Trigger Lines.

Other Settings

SCS Tools Globals Other.280.png

Copy BT Log To Clipboard

Simple tool to copy log of Blender Tools to clipboard. Clipboard will have whole Blender Tools log since Blender was started up.

This tool can be used to easily grab log when you want to report some issues with your usage of Blender Tools.

Log Level

Sets level of logging inside Blender console. Recommended level for normal usage is 2, however when trying to investigate bugs or errors it is useful to use logging up to level 4.

Use Global Settings

Sets place of global settings storage:

  1. From Common Config File - will save global settings into one same config.txt file, thus this option will give you same settings for all Blender files you will be working on (global settings per machine).

    Note: Altered items are written to the settings file (config.txt) immediately, so the next time you start Blender all the settings will be preserved, even if application experience crash. If you want to reset settings to default navigate to installed Blender Tools in file browser, delete file "io_scs_tools/config.txt" and restart Blender.

  2. From Blend File - will save global settings directly into blend file, giving you opportunity for each saved Blender file to have it's own settings (global settings per blend file).