tlk wrote:I'm guessing the idea is that all the information needed can be gathered from doing that to then write an HTML file to insert into the game like in the "Modifying the UI" page, but I don't understand HTML well enough to do that...at least not yet.
The 'Modifying the UI' page is more straightforward than it looks at first glance I think.
If there aren't other game breaking things holding you back from 5.4 maybe you should just upgrade?
I attempted to write a little how to here for 5.4 (which does away with inserting HTML like the Modifying the UI tutorial), hopefully the more experienced Questers can correct any mistakes
. I cribbed most of it from this thread,
viewtopic.php?f=10&t=3638&hilit=insert+html .
1. add a new object in the Quest GUI called "CSS'
2. go to the 'Attributes' tab of the CSS object and add an attribute called 'custom'
3. look up at the toolbar and hit the 'Code View' button (to the right of the 'Play' button). Or, just hit 'F9'.
4. find the 'CSS' object (if the file is big just hit control-F to search), and make it look like this:
<object name="CSS">
<inherit name="editor_object" />
<custom type="string">
<![CDATA[
<style type = "text/css">
a.cmdlink {color: red;}
</style>
]]>
</custom>
</object>
5. make a game start Print Message script that looks like this:
{CSS.custom}
(note the { } 's)
And you're good to go. Some notes:
1. make sure the {CSS.custom} runs before any wait scripts of course
. Best to put it first in the game start scripts.
2. read this caveat about clearing the screen,
viewtopic.php?f=10&t=3638&hilit=insert+html#p24194 .
3. Sometimes you'll see people referring to things like
msg (object.attribute). That's the same as doing a Print Message script of
{object.attribute}