Meneldil
08-26-2005, 10:22
Editing or adding new quotes is a fairly easy process.
You'll need to edit 3 files :
- descr_quotes_lookup.txt
- descr_transition_screen.txt
(both may be found in the 'Data' folder)
- quotes.txt (found in the text folder)
First, let's have a look at the 'descr_transition_screen.txt' file :
quotes
quote "Quote_1"
quoted "Author_1"
quote "Quote_2"
quoted "Author_2"
quote "Quote_3"
quoted "Author_3"
quote "Quote_4"
quoted "Author_4"
Simply put, the tag Quote_x refers to the quote that may be read on loading screen, and the tag Author_x refers to the author of the Quote_x (whose name may also be read on the loading screen ~;) )
descr_quotes_lookup.txt :
Quote_1
Author_1
Quote_2
Author_2
Quote_3
Author_3
Quote_4
Author_4
In this file, you'll find tags for each quote/author. They must correspond to the transition_screen tags.
The last file, quote.txt, countains all the quotes, listed after their corresponding tags.
If you want to add a new quote, you first have to add new tags in descr_transition_screen.txt and in descr_quotes_lookup.txt. In our exemple, it would look like that :
quote "Quote_x"
quoted "Author_x"
Quote_x
Author_x
Once that's done, go to quotes.txt (in the text folder), and simply add the quote at the bottom of the list.
{Quote_x}
The purpose of all war is ultimately peace.
{Author_x}
Saint Augustine
If you simply want to edit existing quotes, you just have to edit the text in the quotes file.
If you want to delete existing quotes, I think you have to delete them for the 3 files, although I'm not 100% sure about that.
Someone might have already written a tuto for this, but I couldn't find it, so here's mine.
You'll need to edit 3 files :
- descr_quotes_lookup.txt
- descr_transition_screen.txt
(both may be found in the 'Data' folder)
- quotes.txt (found in the text folder)
First, let's have a look at the 'descr_transition_screen.txt' file :
quotes
quote "Quote_1"
quoted "Author_1"
quote "Quote_2"
quoted "Author_2"
quote "Quote_3"
quoted "Author_3"
quote "Quote_4"
quoted "Author_4"
Simply put, the tag Quote_x refers to the quote that may be read on loading screen, and the tag Author_x refers to the author of the Quote_x (whose name may also be read on the loading screen ~;) )
descr_quotes_lookup.txt :
Quote_1
Author_1
Quote_2
Author_2
Quote_3
Author_3
Quote_4
Author_4
In this file, you'll find tags for each quote/author. They must correspond to the transition_screen tags.
The last file, quote.txt, countains all the quotes, listed after their corresponding tags.
If you want to add a new quote, you first have to add new tags in descr_transition_screen.txt and in descr_quotes_lookup.txt. In our exemple, it would look like that :
quote "Quote_x"
quoted "Author_x"
Quote_x
Author_x
Once that's done, go to quotes.txt (in the text folder), and simply add the quote at the bottom of the list.
{Quote_x}
The purpose of all war is ultimately peace.
{Author_x}
Saint Augustine
If you simply want to edit existing quotes, you just have to edit the text in the quotes file.
If you want to delete existing quotes, I think you have to delete them for the 3 files, although I'm not 100% sure about that.
Someone might have already written a tuto for this, but I couldn't find it, so here's mine.