HTML Rules

CobraLAD

Active member
Hi All

I have created a session with rules but using Message Popup. I looked through a few sessions with HTML rules. I can now create HTML pages. I have been struggling a few hours to get the Wait on HTML Pages to work. I also added Ordered List. I only want the Navigation points to show after I closed a specific HTML page. I have tried a few options.

A good example is Coal Slip session from Tidewater South, back in days.

Any help will be appreciated

Screenshot-2025-12-19-100651.jpg
 
Any help will be appreciated

I don't use the Wait on HTML Page rule - I never actually heard of it.

Try this, it works

Screenshot-2025-12-19-223318.png


The Ordered List rule will wait until each child rule is completed, in order, before the next child rule is executed.

So the Message Popup rule will have to be closed (in this case by the user clicking its tick) and then the Navigation Set Hide/Show rule will be executed to reveal its first navigation point. The navigation points are defined by a Navigation Display rule that was executed earlier in the list.

There are some pages on the Trainz Wiki that can provide some assistance. See https://online.ts2009.com/mediaWiki/index.php/HowTo#Content_Creation:_Sessions
 
@pware
Thank you for the response. I did play around further with Message Popup. There is also an option to use HTML Pages. I also see that you can use font size, font color, bold, etc. in the custom option of Message Popup. I think this can work.

A nice to have on Message Popup will be an auto height (this works well if using Display HTML Pages) or option for user to set the height
 
I am only seeing a placeholder that says "imgbb.com upgrade to a Pro account to embed images in emails"
As am I.

I think this can work.
Using session rules is a whole new experience in Trainz. I am currently in the process of creating sessions for a soon to be released (by the end of the year I hope) route and am grappling with the sometimes strange logic of session rules. So far all of the issues I have experienced have been self inflicted by my logic not matching the logic used by the rules.

Perseverance and patience are the keys here.
 
As am I.


Using session rules is a whole new experience in Trainz. I am currently in the process of creating sessions for a soon to be released (by the end of the year I hope) route and am grappling with the sometimes strange logic of session rules. So far all of the issues I have experienced have been self inflicted by my logic not matching the logic used by the rules.

Perseverance and patience are the keys here.
yes I agree, patience. I have learned a lot. I have managed a long session with many rules. Add more than one objective showing them on screen, updating the objectives, with ranked session.

I did notice that some of the rules does not work 100% anymore. I think it has to do with being able to switch between driver and surveyor. These rules work 100% in 2006 & 2010 (Still playing sessions today)

for example, Driver Setup: Focus camera on first Drive does not work once you switched between driver and surveyor. Not sure if it is only me. Cinematic Camera helps with that.
 
Back
Top