More actions
| Line 24: | Line 24: | ||
==== File structure ==== | ==== File structure ==== | ||
The overview used to be stored in .xml files where you had to hide brackets, tags and other things by rewriting them as < or > for it to parse correctly by the game engine. With the new .yaml files you can write plain html-code and it'll be parsed just fine. | The overview used to be stored in .xml files where you had to hide brackets, tags and other things by rewriting them as < or > for it to parse correctly by the game engine. With the new .yaml files you can write plain html-code and it'll be parsed just fine. | ||
==== | ==== Example ==== | ||
This is an example of one of the pre-saved overviews that were available at the time of writing this guide. On the left is the unedited version of the overview, on the right is the code with the changes {{co|slateblue|highlighted in blue}} that enables the colour-coding and font-changes. | |||
===== Tab appearance | |||
The changes are simple html-coding using normal {{co|violet|<color></color>}} and {{co|violet|<font></font>}} tags, but can include things like linebreaks {{co|violet|<br>}}, bold {{co|violet|<b></b>}} etc. For colours, use the {{co|violet|0xFF}}{{co|magenta|RRGGBB}} format, so if you wanted the colour {{co|green|green}} you'd use {{co|violet|0xFF}}{{co|magenta|008000}}. See [http://en.wikipedia.org/wiki/Web_colors Web colors] for inspiration. | |||
===== Tab appearance ===== | |||
These changes are possible to do ingame, albeit tricky since the window and editing fields are extremely limited. But the game will accept and change these values from inside the game, so there's technically no need to export and edit the files if this is all you want to edit. | |||
In this example I removed the bolding and simply made the font a little larger (works better for me since I scale the interface to 90% and then the text is slightly smaller), added some colours and rearranged the tab order. | |||
{| | {| | ||
! Original version | ! Original version | ||
| Line 70: | Line 75: | ||
- 5 - pod saver</pre> | - 5 - pod saver</pre> | ||
| valign="top" nowrap | | | valign="top" nowrap | | ||
<pre<noinclude></noinclude> | <pre<noinclude></noinclude>> | ||
tabSetup: | tabSetup: | ||
- - 0 | - - 0 | ||
| Line 76: | Line 81: | ||
- null | - null | ||
- - name | - - name | ||
- | - {{co|slateblue|<color=0xffffffff><font size=11> Travel </font></color> }} | ||
- - overview | - - overview | ||
- | - 2 - pvp travel | ||
- - 1 | - - 1 | ||
- - - bracket | - - - bracket | ||
- null | - null | ||
- - name | - - name | ||
- | - {{co|slateblue|<color=0xffff99ff><font size=11> Fleet members </font></color> }} | ||
- - overview | - - overview | ||
- | - 7 - fleetmates | ||
- - 2 | - - 2 | ||
- - - bracket | - - - bracket | ||
- null | - null | ||
- - name | - - name | ||
- | - {{co|slateblue|<color=0xffff6600><font size=11> It depends!™ </font></color> }} | ||
- - overview | - - overview | ||
- 3 - missioning | - 3 - missioning | ||
| Line 97: | Line 102: | ||
- null | - null | ||
- - name | - - name | ||
- < | - {{co|slateblue|<color=0xffffffff><font size=11> Looting </font></color> }} | ||
- - overview | - - overview | ||
- | - 5 - looting | ||
- - 4 | - - 4 | ||
- - - bracket | - - - bracket | ||
- null | - null | ||
- - name | - - name | ||
- < | - {{co|slateblue|<color=0xff00ff33><font size=11> Planets </font></color> }} | ||
- - overview | - - overview | ||
- 5 - pod saver | - 5 - pod saver | ||
</pre<noinclude></noinclude>> | |||
|} | |} | ||
===== Ship | ===== Ship labels ===== | ||
The format of this is pretty straight forward. The {{co|violet|shipLabels:}} tag marks the beginning of the settings for labels and the {{co|violet|-}} indentations breaks up the various attributes. The {{co|violet|pre}} attributes add stuff before the label while the {{co|violet|post}} attribute add stuff after the label. The {{co|violet|state}} attribute is a simple integer showing if it's enabled (1) or disabled (0) while the {{co|violet|type}} attribute is the name of the attribute. The value for each attribute ends up on the line below, after the {{co|violet|-}} indentation. Text doesn't have to be wrapped in {{co|violet|''}}s, but can if you feel that makes it easier to read. | |||
Depending on the order of these labels and the fact that some labels might not show all the time (not all corporations belong to an alliance and not all players will have a corporation tag), take a few minutes to decide if and where you'd your space. In this example, I moved the space from after the player name to before the corporation ticker, so that if the player isn't in a player corporation I won't get a superfluous space added. | |||
{| | {| | ||
! Original version | ! Original version | ||
! Modified version | ! Modified version | ||
|- | |- | ||
| valign="top" nowrap | | | valign="top" nowrap | | ||
<pre> | <pre> | ||
shipLabels: | shipLabels: | ||