Tuesday, March 27, 2012

Guide - Text (Standard)

This is the second part of using the text system. For information about how to use image, text, and variable replacement please look at the other section on text. Special float text options are not listed here please see section on float text.

First off lets look at the top level options. There are a lot of them. But most of them are pretty self explanatory.

--- SYSTEM COMMANDS ----

label = "runningthistext" -- and identification to know what text to run must be unique
worksafe = "false" --- Defaults true, if in worksafe mode and false then text is only displayed "work safe"
"next" = "anothertextlabel" --- go play another text when the next button is pressed. Useful when you wan to change images and text but not go back to the event system, such as a conversation. USE "end" IF NOTHING ELSE.

--- TEXT COMMANDS ----

name = "talker" --- Who is talking displayed in the little box
namecolor = "#ff6699" --- Hex color the advantage is if multiple people are talking we can different colors for there names.
color = "#ff6699" --- Hex color for the main block of text will default to the otherworld yellow if you do nothing.

--- IMAGE COMMANDS ----

bg = "#image" --- the back ground image either a file path or an image replacer
fg = "#image" --- the fore ground image either a file path or an image replacer
fgleft = "#image" --- the left fore ground left image either a file path or an image replacer
fgright = "#image" --- the left fore ground right image either a file path or an image replacer
fgcenter = "#image" --- the left fore ground center image either a file path or an image replacer
fgleftflip = "true" --- default false if true image is mirrored or flipped to look the other way.
fgrightflip = "true" --- default false if true image is mirrored or flipped to look the other way.
fgcenterflip = "true" --- default false if true image is mirrored or flipped to look the other way.
reload = "true" ---- default false force the engine to reload all images... as a time saver the engine normally only reloads different images if its not working right there is a safety net.

So all those are just are basic set up. Most don't have to be used though.

Next up lets look at text. There is two ways to do text, one is line command the other is the lline command. Each has there own special use.

Best to show these the line command specifically forces the text engine to stop and then display your line exactly as you have it. If it's to long you are out of luck. On the other hand you know exactly where its going to break up the different texts.




The lline command on the other hand automates the break up at around 260 chars. Saves time will always do a full word but other then that it's up the engine where to break up your text.




That's it on text believe it or not don't forget that you can use variable and text replacement inside of it.

Next up is choices. That's right those wonderful choice questions made famous by galges. There actually very simple to set up. These are refereed to as pageevents not sure why did that months ago. Can have a max of 5.

page = "No" --- Displayed Text
label = "blacksmithintrochoiceno" - the event that is pulled if the button is selected
color = "#ff6699" --- the color of the text hex

That's it for those. Let's take a look at an example.


That's about it for text. As always if you have questions leave a commend and I will try my best to answer.

Daisy

No comments:

Post a Comment