Jump to content

Jak zrobić przejście do następnej linii i kolorowy tekst bez skryptów?


Guest Diegtiariow

Recommended Posts

Guest Diegtiariow

NAZWA: Jak zrobić przejście do następnej linii i kolorowy tekst bez skryptów?
AUTOR: ?

 

OPERACJE NA PLIKACH:

Spoiler

Wystarczy napisać specjalne komendy w gamedata\configs\text\rus lub pol\dowolny_plik.xml:

    <string id="nazwa">
        <text>%c[ui_2]Szczygieł\n%c[206,0,0]Źle się czuję...</text>
    </string>

Jak będzie to wyglądać w grze:

Cytat

Szyczygieł

Źle się czuję...

\n - przejście do następnej linii

%c[ui_2] - gotowy zestaw kolorów, jest brany z pliku gamedata\configs\ui\color_defs.xml

%c[206,0,0] - kolor w RGB

 

ŹRÓDŁO:

https://ap-pro.ru/forums/topic/1653-kak-sdelat-perenos-i-cvetnoy-tekst-bez-skriptov/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.