Skip to content

Commit

Permalink
Minor tooltips changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbn3D committed Jan 5, 2017
1 parent bff8604 commit ea12f72
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ bld/
[Oo]bj/
[Ll]og/

#Libs folder
[Ll]ib/

# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
Expand Down
5 changes: 3 additions & 2 deletions HandlingMixer/HandlingMixer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="SimpleExpressionEvaluator">
<HintPath>D:\Trabajo\Dev\Math-Expression-Evaluator\SimpleExpressionEvaluator\bin\Release\SimpleExpressionEvaluator.dll</HintPath>
<Reference Include="SimpleExpressionEvaluator, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\SimpleExpressionEvaluator.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
18 changes: 9 additions & 9 deletions HandlingMixer/Metadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace HandlingMixer
{
public class Metadata
{
public const string PROPNAME_COL = "propName";
public const string DATATYPE_COL = "dataType";
public const string PROPNAME_COL = "propName";
public const string DATATYPE_COL = "dataType";
public const string MIXTYPE_COL = "mixType";
public const string MIXEDVAL_COL = "mixedValue";
public const string VALOFFSET_COL = "valueOffset";
Expand Down Expand Up @@ -95,7 +95,7 @@ public static string getHelpStringForColumn(string columnName)
if (columnName == MIXTYPE_COL)
{
return
@"Mix type: This value determine how values from A and B handling files will be mixed for this handling property.
@"Mix type: This modifier determines how values from A and B handling files will be mixed for the current handling property.
Possible values are:
- Mix: Use to linearly interpolate value between A and B handling
Expand All @@ -107,7 +107,7 @@ public static string getHelpStringForColumn(string columnName)
else if(columnName == MIXEDVAL_COL)
{
return @"Mixed Value (Float)
This value only applies for ""Mix"" and ""Fixed Value"" mix types:
This modifier only applies for ""Mix"" and ""Fixed Value"" mix types:
- When mixType = ""Mix"": This value is the interpolation factor between A and B, where 0.0 means 100% A, 0.5 means perfect mix, and 1 means 100% B. Interpolation is not clamped, so values below 0.0 and above 1.0 are also supported.
- When mixType = ""FixedValue"": This value will be set directly to handling (the one you type)
Expand All @@ -126,17 +126,17 @@ public static string getHelpStringForColumn(string columnName)
return @"Value multiplier (Float)
A float value, usually positive, that will be multiplied to the mix value
(higher than 1.0 increases final value, lower than 1.0 will desecrease value, 0 will set value to zero, lower than 0 is not recommended, 1.0 won't have any effect)
(higher than 1.0 increases final value, lower than 1.0 will decrease value, 0 will set value to zero, lower than 0 is not recommended, 1.0 won't have any effect)
";
}
else if (columnName == CUSTOMFORM_COL)
{
return @"Custom Formula (String, can be empty)
A custom math formula that (if set) will be evaluated to calculate the final value. You have to use ""x"" variable, which stores the value for this property.
A custom math formula that (if set) will be evaluated to calculate the final value. You have to use ""x"" variable, which stores the value for this property, and/or ""a"" and ""b"" variables.
If you don't use variables in the formula, the generated value may be the same for all vehicles.
Only set this value if the other columns (offset, multiplier, etc) cannot suit your needs. Also, use only if you know what you are doing.
Only use this modifier if the other ones (offset, multiplier, etc) cannot suit your needs. Also, use only if you know what you are doing.
Defined variables are:
- x: The current calculated value for this property (this is, the value already mixed and with offset and multiplier applied)
Expand All @@ -154,13 +154,13 @@ public static string getHelpStringForColumn(string columnName)
{
return @"Minimum Value (Float, can be empty)
Setting this value will make the calculated final value to never be lower than the minimum set here";
Setting this modifier will make the calculated final value to never be lower than the minimum set here";
}
else if (columnName == MAXVAL_COL)
{
return @"Maximum Value (Float, can be empty)
Setting this value will make the calculated final value to never be higher than the maximum set here";
Setting this modifier will make the calculated final value to never be higher than the maximum set here";
}

return "";
Expand Down

0 comments on commit ea12f72

Please sign in to comment.