Create a HTML Page.

First off all, you'll need to create a HTML Asset, fastest way to do this is to right-click on your desktop and create a new folder. Call this folder the same name as your session/scenario, go into the folder and again right-click create a new text document, call this config.txt.
Open the config.txt and put all this into it:
The config.txt file.

Change ##### to your KUID number, you may have to change 1019 to a number that you havn't used yet as it will conflict in CMP or 'overwrite' the piece of content that has that number. Next, change Name of your Session/Scenario in both cases to the name of your session/scenario, makes it easier to find, of course change the author, organisation, contact-email and contact-website to your details. You can also change the licence too, once done save it. Now what you need is a html page to display, so right-click again and create a new text document, call it intro.txt (for now) then open it, here is a very quick one to get you started, just change where you need to:
The intro.txt file before it is renamed to a html file.

You can add pictures too, but for now that will get you going and started, if you want to know how to do that i'll show you a little further on down the page...

Once finished, save it, now you'll need to rename it, right-click on it and select rename, change the name from intro.txt to intro.html. Windows will ask you if your sure just click Yes, the icon will change, now you have your html asset, you need to import that into TRS with CMP.

Open CMP, once it's started (I know it can be a pain), goto File -> Import Content and select your folder from the desktop and click Ok, then click Done. All that's left is to commit the new asset to CMP, select the Open For Edit tab, select your asset and press CTRL+M (or right-click, highlight Edit, then click Commit).

If your working in TRS2004, just place this folder in C:\Program Files\Auran\TRS2004\World\Custom\HTML Assets folder (or where you have TRS installed), if it does not exsist just create a folder called HTML Assets then place your folder into it.

If all has gone to plan with no errors we are good to go, final step... :)

Start TRS, go into Surveyor and load your session/scenario, once loaded click Edit Session Rules from along the top, click Add, from the list that appears, find Display HTML and click on the green tick, usually if you want the html page to be displayed as soon as the session/scenario starts, the Display HTML rule should be one of the first rules you see (like Startup Options, Driver Setup, Driver Commands). Now select the Display HTML rule in the list if its not already and click Edit, a window will open with the words:

Display page index.html of html asset click to select in a new in-game window.

Click where it says click to select, from the list find your HTML Asset, like I said above, if you named it the same as your session/scenario its easier to find, once you have found it, select it then click on the green tick. Lastly, click on index.html and a little box appears, you must know the name of the html page you wish to be displayed, in this case its intro so type that in, don't put the .html after it, TRS will do that for you.

Well, if everything has gone correctly, there are no errors and my memory is good, save your session/scenario then jump into Driver, the html page should be the first thing you should see, even before you get to select CAB or DCC mode.


For those who would like to know how to add in pictures, you need to add the following, remember though, the .jpg file must be in the same folder as the .html file.

Open your HTML asset in CMP for Edit In Explorer, then to add a picture, edit your *.html page (in this case its intro.html) and add in the following line somewhere:

If your working in TRS2004, just go into C:\Program Files\Auran\TRS2004\World\Custom\HTML Assets then your HTML Asset you created and edit the *.html page and add the following:

The HTML code for adding a picture to the browser.


Of course, it doesn't have to be "picture.jpg" it can be called what you like and i'm not certain about the size it has to be, I just use the above as a guide, you may have to play with the numbers to get a nice fit in the browser window.

After this change, your html page would look something like this:

The intro.html file with the picture added in.


Finally, the picture you would like to use must be placed in the same folder as the intro.html file or it will not be displayed. So in your HTML asset folder you should have a config.txt file, a intro.html file and now a picture.jpg file.

Once done, close the explorer window and 'commit' the changes in CMP by select the HTML asset and press CTRL+M.

If your working in TRS2004, all you need to do is start TRS and it will re-cache your custom folder.