Logo Khaganat
Translations of this page?:

Text guidelines reference document

Rules and information used in mission creation.

See nomenclature guidelines reference document for help on creating tags for rites.

Generic phrase requirements

  • Using directly a phrase tag that refers to an existing string in the translated file.

Example:
PHRASE_TAG
There must be a phrase in the translated file with the “PHRASE_TAG” tag.

For objectives with several items (kill different creatures, forage different MPs …) the nomenclature would be the following:

PHRASE_TAG _1
PHRASE_TAG _2
PHRASE_TAG _3

  • Using a variable. All that is needed is to have declared the variable, and set it.

Example:
$variable$

  • Using directly a written phrase and a suffix. In that case the compiler will generate an entry in the phrase file with a tag of this structure:

Entered info: “This is the phrase that will be showed to the happy players” MY_PHRASE_SUFFIX
Generated phrase tag: Mission_name_MY_PHRASE_SUFFIX

  • Using variables in a written phrase is possible, whether the variable is custom or default.

Example: for a Give_to mission with 2 objects of one type needed for the npc which name is declared in the $receiver$ custom variable.
Entered info: “You have to bring back $qt1$ $i1$ to $receiver$, the wise man that lives in the other city.” MY_PHRASE_SUFFIX
Generated phrase tag: Mission_name_MY_PHRASE_SUFFIX

For objectives with several items (kill different creatures, forage different MPs …) the nomenclature would be the following.

Entered info:
“phrase one”
“phrase two”
“phrase three”
MY_PHRASE_SUFFIX

Generated tags:
Mission_name_MY_PHRASE_SUFFIX_1
Mission_name_MY_PHRASE_SUFFIX_2
Mission_name_MY_PHRASE_SUFFIX_3

Text overload

All text can be overloaded in case the default phrase doesn’t fit. To do so, you can enter your own phrase in the phrase field. But in case you are using default instruction variable it is recommended that you use the exact spelling of the variable. For any custom variable that you may have, use its own spelling.

See each parameter description for information on related default parameters.

Example:
For a forage where you need to forage 3 MPs of a kind without need for a specific quality, and 1 MP of another kind but with a quality minimum.
Entered info: “You have to forage $qt1$ pieces of $i1$, and one piece of $i2$ of $qual2$ quality.” MY_PHRASE_SUFFIX
Generated phrase tag: Mission_name_MY_PHRASE_SUFFIX

Important notes

  • The compiler doesn’t interpret carrier returns in plain text. If you want to skip to the next line, you have to use the “\n” instruction in your text.
  • Of course, each suffix needs to be unique for a given mission.
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/primitive/mission/text_guidelines.txt · Last modified: 2021/12/03 19:19 by 127.0.0.1

Licences Mentions légales Accueil du site Contact