Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Lets say that we'll going to assign a brick to allow a player to use the new title, "Master Helper." Creating the sbrick, which should be located inin code/ryzom/common/data_leveldesign/leveldesign/game_element/sbrick/title is a pretty trivial matter. In the EGS console you can use the learnBrickcommand to 'teach' an entity the brick. Assuming we made pc_master_helper.sbrick here's what the entry in unblock.titles would look like:

...

You can use pre-generated title strings like Title00066 but failing that you will have to add an entry into ECharacterTitle in thecode/ryzom/common/src/game_share/character_title.h file. The title must be added to the end of the enum and the enum name must match the title_id.

Note

We have opened

...

an issue with the goal of eliminating this hard-coded requirement.