Showing Images in a Book or Scroll
From FleshWorks
Tutorial by ""GlasWolf"", info from Krypt and Bukary
First of all, follow David's readables tutorial to place your readable and link it to a .sch file. To insert an image instead of text, simply use the following format in the .sch file:
lang_english 2004-01-21 12:08:20 "<img=""YourImageFile"".dds>"
YourImageFile.dds should be located in the CONTENT\T3\PCTextures folder. The image is centered by default, but you can add l or r after the filename to left or right justify it (e.g. <img=""YourImageFile"".dds r>). Just like html code, you can also mix text and images:
Finally, instead of using the normal readables you can also display a message via scripts by using the action
Popup a window with text from the file [yourschfile.txt] (in the Player script group). The file has to be given a .sch extension, but in the script action it must be referred to as .txt for some reason. Using a script does away with the book/scroll background (so you probably only want to display images this way), and obviously has the advantage that you can trigger it however you wish.
Back to Mission Design: World Objects Tutorials Page

