Book Menu Restored Plugin

From GECK
Jump to: navigation, search

A plugin which restores and enhances Book Menu functionality left over from Oblivion. It allows the creation of books, notes, scrolls, posters, etc. More information and download available for Fallout: New Vegas, and Fallout 3.

Includes the ShowBookMenu function.

Creating Your Own Book - Simple

Add text to the 'description' field in the GECK, set skill to NONE and select the checkbox for "scroll" if desired. It is possible to add basic text formatting and embed images; an example of formatting is provided in the optional downloads.

"scroll" type is best suited for posters, maps, blueprints, or other single sheet/paper designs. Four example XML files are provided. To use them prepend [Path=BookBackground1.xml] or [Path=BookBackground2.xml] to the book's description.

Creating Your Own Book - Advanced

You can have custom XML for each type of 'book' your mod adds. When specifying your own XML, you can give your menu any structure.

The hardcoded IDs are: 31: Exit button - closes the menu 32: Take button - closes the menu, adding the book to the player's inventory. Only shows if the book has the canBeTaken flag and was not activated from the inventory.

Scripting

The book menu has ID 1026 and as such will run in MenuMode 1026. Scripted commands such as ClickMenuTile act as expected and UDFs can be registered to run in the menu using commands such as SetOnMenuOpenEventHandler and SetOnMenuCloseEventHandler.

See Also