CustomCrosshair.xml file is meant to be edited by the user for changing crosshair appearance and behavior.
It can be opened with any text editor like NotePad++ or simply Windows NotePad.
Feel free to post your own crosshair settings or pictures on the mod page =)
- Brief explanation of XML
XML consist of elements containing values or other elements.
Think of them as containers or boxes inside boxes.
Values can be numbers or words.
Elements have a start tag and an end tag.
- Syntax
Each tag start with < followed by its name and end with >
Don't move tags organisation
Example:
<TagName>
There is an exception with the end tag. It need a / before the <
Example:
</TagName>
An element contains what's between the start tag and the end tag.
Don't change TagName. Only Value
Example:
<TagName>Value</TagName>
When an element contains other elements we simply write other elements on other lines for clarity.
Here FirstBox is the root of our xml structure.
Example:
<FirstBox>
<SecondBox>
<ValueBox>Value</ValueBox>
</SecondBox>
<SecondBox2>
<ValueBox>Value</ValueBox>
<ValueBox2>Value</ValueBox2>
</SecondBox2>
</FirstBox>
*With enough perception you can notice how the colors are arranged to make it look like a tree.
- How color values work
Look for tags named RGB like this: <RGB>
They must start with 0x to tell its hexadecimal. No worries just google color picker and copy text under HEX.
Color values follow this arrangement: RRGGBB R=Red, G=Green and B=Blue.
RR, GG or BB go from 0 to 255 in HEXADECIMAL. So 0 to FF.
Color examples: 000000 pure dark, FFFFFF pure white, FF0000 bright red, 00FF00 brigth green, 0000FF pure blue, 770000 dark red
Enable/Disable means you should only put true or false.
true = the setting is on and will take effect.
false = the setting is off and will not take effect.
- That's good but, what should I put in?
For current version https://www.nexusmods.com/fallout76/articles/49
For version 2.0.0 to 2.0.3

0 comments