mucking about with the BBS

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

mucking about with the BBS

Post by cattafett » Fri, 28. Oct 11, 02:06

is it possable to change the BBS
mainly changing the text colour of certain bit like the type of ship needed or station/sector involved
or all the text for the non mission pages.
just to explaine i have no idea what i'm talking about just musing stuff after stopping off at a blissplace for a bit
with the save the boron princess mission for example some of the text is in yellow
is this done by script (in which case this ends here) or is it done on the text file its self
those UFOs you hear about are just what you tried to explaine to me going over my head
Advanced Complex-Hub you know you need it Catta Fett's D.O.G.S Vanilla safe mod collectionyou don't need them but you want them
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings

User avatar
Zeron-mk7
Posts: 571
Joined: Sat, 23. Feb 08, 12:38
x3

Post by Zeron-mk7 » Fri, 28. Oct 11, 08:44

BBS missions descriptions are into the main game description file (440001), but if you change into 440001 file BBS mission descriptions - if add these color codes:
Codes are from this post: http://forum.egosoft.com/viewtopic.php? ... 82#3482282
\033A
\033B
\033C
\033G
\033M
\033O
\033V
\033R
\033W
\033Y

[BLUE]
[CYAN]
[GREEN]
[MAGENTA]
[RED]
[VIOLET]
[WHITE]
[YELLOW]
Maybe these colors will works, not sure (not tested myself yet).
Image

User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi » Fri, 28. Oct 11, 15:02

But be sure to close the color tag, either with \033X or the respective color end tag:

Code: Select all

normal color \033Yyellow text\033X normal text
resp.

Code: Select all

normal text [BLUE]blue text[/BLUE] normal text
--------------------------------

[ external image ]

User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

Post by cattafett » Sat, 29. Oct 11, 01:41

thank for your help both of you
don't know if i'm doing something wrong but if i change something but keep the same number of letters like changing the Y from the ship ID to a F it works fine but if i add stuff like \033Y and \033X to change the colour of something
it seems to mess with the formatting of the BBS page making some of the text disappear
i took the 440001 from the 05 Cat/Dat edited it with notepad and put it in my false patch 06 Cat/Dat

example of what works

Code: Select all

<page id="1263" title="Shipclass IDs" descr="Shortcuts for the various shiptypes">
 <t id="19099">F(your)</t>
 <t id="19100">A(argon)</t>
 <t id="19101">X(xenon)</t>
and so on
example of what don't work

Code: Select all

<page id="1293" title="Generic Trading 1" descr="Mission by Dredge - All generic trade offers ">
<t id="0">Q193_NORMAL_MISSION - Food Rations</t>
some more stuff till
 <t id="55">%d mizuras</t>
 <t id="71">\033Y M5\033X</t>
 <t id="72">\033Y M4\033X</t>
 <t id="73">\033Y M3\033X</t>
 <t id="74">\033Y TS\033X</t>
 <t id="75">\033Y TP\033X</t>
<t id="100">Q193_NORMAL_MISSION - Weapon Interface Chips</t>
any idea why?
those UFOs you hear about are just what you tried to explaine to me going over my head
Advanced Complex-Hub you know you need it Catta Fett's D.O.G.S Vanilla safe mod collectionyou don't need them but you want them
Friendship is like peeing on yourself: everyone can see it, but only you get the warm feeling that it brings

User avatar
Zeron-mk7
Posts: 571
Joined: Sat, 23. Feb 08, 12:38
x3

Post by Zeron-mk7 » Sun, 30. Oct 11, 13:51

I tested color codes (add they to the sector names).
These color codes works into the game:

Code: Select all

 \033R - Red color
 \033A - gray or little bit darker, then white color
 \033B - Blue color
 \033C - Cyan color
 \033G - Green color
 \033M - Violet color
 \033Y - Yellow color
 \033Z - Grey color
Color codes must be the same at the start and the end.
Example:

Code: Select all

<t id="71">\033Y M5\033Y</t>
Image

User avatar
cattafett
Posts: 884
Joined: Thu, 30. Aug 07, 00:40
x3tc

Post by cattafett » Sun, 30. Oct 11, 15:57

Zeron-mk7 wrote:Color codes must be the same at the start and the end.
Example:

Code: Select all

<t id="71">\033Y M5\033Y</t>
can i ask how are you editing the xml file as i did as you did i and i get this
[ external image ]

i'm thinking that notepad is what is messing me up
is the space between the first \033Y and the m5 important

or as i type this maybe i cant just change the ship types but have to go through each message and change each bit where it says $SHIPTYPE$
to \033Y $SHIPTYPE$\033Y

EDIT :
OK ignore most of the above
tryed

Code: Select all

<t id="71">\033Y M5\033X</t>
on a clean 440001.xml and it worked so some how i may have messed up in a way that i have no idea of
thanks for your help

Return to “X²: The Threat - Scripts and Modding”