Tanktrain ai: Difference between revisions
Jump to navigation
Jump to search
Bug:The train won't move any faster than 1 unit per second due to coding mistakes. [todo tested in ?]
m (Link to the other entity in the setup) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{this is a|e0|name=tanktrain_ai}} This is AI to make an associated [[func_tanktrain]] automatically move along its path towards the node closest to a target. | ||
{{bug|The train won't move any faster than 1 unit per second due to coding mistakes.}} | {{bug|The train won't move any faster than 1 unit per second due to coding mistakes.}} | ||
Revision as of 09:26, 3 October 2023
tanktrain_ai
is an e0 available in all Source games. This is AI to make an associated func_tanktrain automatically move along its path towards the node closest to a target.

Keyvalues
- Train Name ([todo internal name (i)]) <targetname>
- The func_tanktrain to move
- Start Moving Sound ([todo internal name (i)]) <sound>
- The sound to play when the train starts moving
- Vehicle Movement Sound ([todo internal name (i)]) <sound>
- The looping sound to play while the train is moving
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities