HTML Messages in Sessions

chrisracer8903

Michigan Trainz
I need help with a session I am working on. I want my session to have the option to have all the text directions to be able to view whenever I'd like during the session (I believe is an HTML page). Is there a simple rule where I can just type the session breifing and save it, then be able to view it at anytime during the session, or does it require complicated scripting?
 
You need to create an HTML asset. Take a look at some existing sessions that have this feature built-in.

It is not difficult and you do not need to write any "complicated scripting". If you get stuck, post here for more help.
 
Take a look at the thread http://forums.auran.com/trainz/showthread.php?t=60741

Then take a look at the tutorial at http://members.westnet.com.au/nightcrawler/trainz/index.htm - Click on the Click Me icon top left of the page, then on the Tutorial link in the same area and then down towards the bottom of the page click the link Create a HTML Page in Notepad

If you are familiar with HTML then you will discover that the subset of the language used in Trainz is very primitive compared to what you may be used to.

Peter Ware
 
Take a look at the Objective New, Objective Remove and Objective Clear rules. If you only need to display simple instructions, these rules can be quite handy. I don't know why they aren't used more.

William
 
Make sure you check the "Disable closing of browser window by user". This will toggle the window on and off in Driver when the user clicks on the "I" (information) button in the lower right corner of the screen.

Display%20HTML%20Pages.jpg


You can also have multiple pages in this window. The HTML asset for the ECML - Kings Cross - York route has all the buttons and graphics interfaces for multiple pages. If you really want to see what you can do with HTML windows, it is worth the time to study how it was dine for this route.
 
Last edited:
Back
Top