<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Func_tracktrain</id>
	<title>Func tracktrain - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Func_tracktrain"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Func_tracktrain&amp;action=history"/>
	<updated>2026-04-29T11:05:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Func_tracktrain&amp;diff=218&amp;oldid=prev</id>
		<title>GeckonCZ: Import of converted entguide pages from Sven Manor.</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Func_tracktrain&amp;diff=218&amp;oldid=prev"/>
		<updated>2019-01-27T22:29:19Z</updated>

		<summary type="html">&lt;p&gt;Import of converted entguide pages from Sven Manor.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Entity_Infobox&lt;br /&gt;
| title=&lt;br /&gt;
| type=b&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This is a func_train with a greater set of features (like auto-rotation). Func_tracktrains are supposed to be controlled by players. Triggering them manually to get them moving works once. Any further triggering is ignored. Origin brush is required for this entity.&lt;br /&gt;
To make it controllable you must use func_traincontrols as well.&lt;br /&gt;
&lt;br /&gt;
== Keyvalues ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_keyvalue|First stop target|target|The name of the first path_track (where the train starts). Train is teleported to this position on map start, no matter where &lt;br /&gt;
&lt;br /&gt;
it&amp;#039;s placed.}}&lt;br /&gt;
{{Entity_keyvalue|Sound|sounds|Sound group (move, break, start) to use on that train.}}&lt;br /&gt;
{{Entity_keyvalue|Distance between the wheels|wheels|Distance between the virtual track train wheels. Set to higher value for smoother track train turning, but the best value &lt;br /&gt;
&lt;br /&gt;
is a func_tracktrain length.}}&lt;br /&gt;
{{Entity_keyvalue|Initial speed|startspeed|It&amp;#039;s a starting speed of func_tracktrain. Set it to &amp;#039;0&amp;#039; so the track train is not moving at map start. Path_track and player controls &lt;br /&gt;
&lt;br /&gt;
may override this.}}&lt;br /&gt;
{{Entity_keyvalue|Speed (units per seconds)|speed|Maximum speed of the track train. If player controllable, this is a maximum speed level of the train.}}&lt;br /&gt;
{{Entity_keyvalue|Damage on crush|dmg|Damage to deal to entities that attempts to block it.}}&lt;br /&gt;
{{Entity_keyvalue|Volume|volume|Volume of sounds produced by this train selected in &amp;quot;Sound&amp;quot;.}}&lt;br /&gt;
{{Entity_keyvalue|Bank angle on turns|bank|When func_trackrain is turning left of right, this is an bank angle (in degrees), e.g. when turning, the train will also rotate itself around track axis (by this value) in a moment of turning. To explain this, image a roller coaster cart that banks itself whenever it&amp;#039;s at turning point.}}&lt;br /&gt;
{{Entity_keyvalue|Sound Replacement File|soundlist|Allows you to setup a sound replacement file for the func_tracktrain sounds. The path begins in &amp;#039;svencoop/sound/mapname&amp;#039;, whereas &amp;#039;mapname&amp;#039; would be your map&amp;#039;s name. You can go to the parent directory using &amp;#039;../&amp;#039;. A valid sound replacement file contains one or more lines with two sound-paths, which are separated by a space and wrapped into quotes. The first sound is the sound to be replaced. The second sound is the new sound. Sound-paths start in the sound directory. You cannot go to the parent directory using &amp;#039;../&amp;#039; in that case. These sounds do not need to be precached using a custom_precache point entity.}}&lt;br /&gt;
{{Entity_keyvalue|Move Sound Override|noise|Custom sound file that is playing when track train is moving. Overrides default &amp;quot;Sound&amp;quot; sounds.}}&lt;br /&gt;
{{Entity_keyvalue|Brake Sound Override|noise1|Custom sound file to play when track train stops. Overrides default &amp;quot;Sound&amp;quot; sounds.}}&lt;br /&gt;
{{Entity_keyvalue|Start Sound Override|noise2|Custom sound file to play when track start it&amp;#039;s movement. Overrides default &amp;quot;Sound&amp;quot; sounds.}}&lt;br /&gt;
&lt;br /&gt;
== Flags ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_flag|1|No Pitch (X-rot)|Prevents train from auto-rotating around X axis. If path_tracks are on the same level, this flag is obsolete.}}&lt;br /&gt;
{{Entity_flag|2|No User Control|Func_tracktrain cannot be controlled by player.}}&lt;br /&gt;
{{Entity_flag|4|Forward Only|Train can&amp;#039;t travel backward.}}&lt;br /&gt;
{{Entity_flag|8|Passable|Disable collision of train.}}&lt;br /&gt;
{{Entity_flag|16|No Yaw (Y-rot)|Prevents train from auto-rotating around Y axis. If path_tracks are on the same level, this flag is obsolete.}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
Func_tracktrain must face west (90 degrees) at editor position. At map start the trach train automatically rotates to face next path_track.&lt;br /&gt;
Func_tracktrain supports clip brushes tied onto it.&lt;br /&gt;
&lt;br /&gt;
== Changes ==&lt;br /&gt;
&lt;br /&gt;
5.0 Steam Release: Added &amp;#039;Sound Replacement File&amp;#039;, &amp;#039;Move Sound Override&amp;#039;, &amp;#039;Brake Sound Override&amp;#039; and &amp;#039;Start Sound Override&amp;#039; keyvalues.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{entity_title}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Entities]]&lt;br /&gt;
[[Category:Brush entities]]&lt;/div&gt;</summary>
		<author><name>GeckonCZ</name></author>
	</entry>
</feed>