Book
Books do not have to include text that can be read by the player. Activating the book can "teach" a skill or spell.
Поля данных
- ID: Базовый ID книги
- Name: Отображаемое в игре название
- Weight: Вес книги
- Value: Базовая стоимость (в золотых) предмета для продажи торговцам
- Teaches: Параметр актера, который будет увеличиваться при чтении.
- Inventory image: Не используется
- Message Icon: Не используется
- World Art: 3D модель, отображаемая в мире
- Inventory Art: 3D модель, отображаемая в инвентаре. Содержит дополнительные детали для интерфейса "чтения"
- Destruction Data: Не используется
- Can't Be Taken: Нельзя взять (например на книжной подставке в магазине)
- Pickup Sound: Звук открытия книги
- Putdown Sound: Звук закрытия книги
- Book Text: Если книга не обучает навыку/заклинанию, то будет отображаться этот текст
- Script: Здесь можно прицепить скрипты к книге, а так же редактировать их свойства.
- Keywords: Здесь можно прицепить необходимые ключевые слова
- Description: Используется для описания предмета в его "карточке" в инвентаре (под стоимостью и весом).
Разметка
Книги можно форматирвать используя множество тегов разметки, вот и они:
- Жирный текст (
<b></b>): Текст окруженный тегами bold будет написан жирным. - Курсив (
<i></i>): Текст окруженный тегами italics будет написан курсивом. - Перенос строки (
<br>): Переносит текст на следующую строку. Собственно говоря, этот тег не является необходимым. Вы можете просто добавить пустые строчки в текст книги. - Шрифт (
<font>): Изменяет атрибуты окружаемого текста. Доступные шрифты перечислены ниже. Допустимые атрибуты:- Цвет (
<font color='#FFFFFF'></font>): Изменяет цвет шрифта. - Вид (
<font face='$HandwrittenFont'></font>): Изменяет сам шрифт. На данный момент поддерживаются только слудющие шрифты:$HandwrittenFontи$PrintedFont(по-умолчанию). Большее количество шрифтов, по желанию может быть добавлено в меню, но каждый шрифт занимает дополнительную память, так что не сходите с ума от пожеланий. - Размер (
<font size='20'></font>): Изменяет размер шрифта. Ниже можно ознакомиться с размером строки, которую можно разместить, используя различные размеры шрифта. - Прозрачность (
<font alpha='#FF'></font>): Изменяет прозрачность шрифта. Поддерживается двузначное шестнадцатеричное значение с'#00'(полностью прозрачный) до'#FF'(полностью непрозрачный). Полезно, если хотите показать что у автора заканчивались чернила?
- Цвет (
- Теги картинок (
<img>): Places an image on the page. See Examples below to see different ways of placing images. Supported attributes:- Путь к файлу (
<img src='img://example.dds'>): NECESSARY This attribute specifies the filename of the image you want to show up. You need to use the full pathname of the texture. You also need to make sure the filename begins withimg://. - Высота / ширина (
<img src='example.dds' height='40' width='40'>): Sets the height / width (in pixels) of the image. - Буквица (
<img src='img://Textures/Interface/Books/Illuminated_Letters/X_letter.png'>): Used for adding special illuminated letters at the beginning of books. (Replace the "X" with any letter or number.)
- Путь к файлу (
- Параграф (
<p>): Delineates a block of text as a paragraph. Automatically adds a blank line after the end of the paragraph. Same with the<br>tag, this isn't really necessary unless you're using the following attribute:- Выравнивание (
<p align='center'>): Aligns the surrounded text. Valid values are 'left', 'right', 'justify', 'center',and 'chaotic evil'. - Also, if you want to place an image within some text so that it wraps around it, the text containing the image needs to be within paragraph tags. See Examples below for Examples.
- Выравнивание (
- Перенос на следующую страницу (
[pagebreak]): Breaks to the next page. Must be on its own line. Text automatically breaks to the next page once it reaches the end. Unfortunately, images do not, so if you notice your images running off the edge of the page, manually place a page-break or reduce the size of your image. - Комментарии (<!--Comment text-->): Comments out the "Comment text", i.e. Tells the renderer to not display the text wrapped within the tags, while still retaining the text in the editor.
Размеры шрифта
Naturally, the smaller the font size the longer the lines of text can be before word-wrap kicks in. Listed below are the number of characters per line that you can expect.
A couple of caveats: The font is proportional so lines containing lots of w's and m's will have less characters than lines using lots of i's and l's. The $HandwrittenFont is slightly denser so you can expect one or two characters more per line if you're using that font.
Font Size / Number of characters per line
70 10 50 16 40 18 35 21 30 25 25 30 20 37 18 41 16 47 14 54 12 63 10 77
Font sizes below 10 are really too small for the player to read easily. 70 is useful for that 'WANTED' poster!
Шрифты
These are the font types available for use in the tags and their available characters.
- $SkyrimBooks
- ABCDEFGHIJKLMNOPQRSTUVWXYZ
- abcdefghijklmnopqrstuvwxyz
- 0123456789
- !@#$%^&*(){}[]-=_+:";'<>,./?
- $HandwrittenBold
- ABCDEFGHIJKLMNOPQRSTUVWXYZ
- abcdefghijklmnopqrstuvwxyz
- 0123456789
- !@#$%^&*(){}[]-=_+:";'<>,./?
- $DaedricFont
- ABCDEFGHIJKLMNOPQRSTUVWXYZ
- abcdefghijklmnopqrstuvwxyz
- $DragonFont (Только в верхнем регистре)
- ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 0123456789
- $DwemerFont
- ABCDEFGHIJKLMNOPQRSTUVWXYZ
- abcdefghijklmnopqrstuvwxyz
- !-:";,.?
- $FalmerFont (Только в верхнем регистре)
- ABCDEFGHIJKLMNOPQRSTUVWXYZ
- 1
- SkyrimBooks.png
SkyrimBooks font
- HandwrittenBold.png
HandwrittenBold font
- DaedricFont.png
DaedricFont font
- DragonFont.png
DragonFont font
- DwemerFont.png
DwemerFont font
- FalmerFont.png
FalmerFont font
Примеры и советы
[ToDo: Honor the promise from the img tag above: "See Examples below to see different ways of placing images."]
[ToDo: Honor the promise from the p tag above: "See Examples below for Examples."]
Совет #1:
When writing books in Dragon Language using the $DragonFont typeface, each capital letter represents the corresponding Capital Alphabet Letter in the Dragon language. Special Letter in the Dragon language (such as aa and ii) are mapped to the 1-9 Keys as follows: 1: aa 2: ei 3: ii 4: ah 5: uu 6: ur 7: ir 8: oo 9: ey