Hipnotic trains (rotating and non)
----------------
autolycus
autolycus@planetquake.com

This map demonstrates two forms of Hipnotic train entities, the func_train2, and the func_rotate_train.  Both types of trains can be made to start and stop (repeatably) with triggers.  The func_rotate_train follows rotate_path entities, which has two fields, Angles and Rotate, which require a special value.  If they are not used, the rotating train will function as a standard train.  The value is in the form of "xz xy yz", and corresponds to the plane you want the rotation to occur in.  To make a train just rotate, you have to check ON the Rotation flag, and fill in the Rotation field. To make it rotate to a certain angle, you have to check ON the Angles flag, and fill in the Angles field.  NOTE that the train's actions will correspond to what is specified in the next path_rotate it will encounter.

The func_train2 is basically the standard func_train, with a few improvements.  These improvements are seen when using the path_corner entity, which has several new options.  For one thing, setting the "wait" value to -1 no longre causes the train to be stopped forever, just until it is retriggered.  Another good improvement is that at each path_corner, the func_train2 can trigger an event (here, "event" is used like a "target").  Also, at each path_corner, you can reset the speed of the train to whatever you like, or put a -1 for speed to make it warp to the next path_corner.