func_trackautochange

From Sven Co-op
Revision as of 23:29, 27 January 2019 by GeckonCZ (talk | contribs) (Import of converted entguide pages from Sven Manor.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
func_trackautochange
Type

brush

Status

supported

 


Brush entity that works as a rotating ascending/descending elevator for uncontrollable func_tracktrain. It connects two path_tracks- elevator takes the train from last path_track of the top path, rotating and descending, and then, after finishing, the train is assigned to path_track of the bottom path. This can be reverted for ascending platform. The func_trackautochange platform need origin brush (preferably located at the center of entity), and the top and the bottom path_corners should be centered to this entity for best results. See the picture on the left- the platform with origin brush tied to it (func_trackautochange), and orange cubes that represents the top and the bottom path_track. Similar variant to this entity is func_trackchange which reacts on all triggering inputs so you can move this platform by triggering it, instead of  triggering connected train.

1 Keyvalues

Move sound : movesnd

Sound playing when func_trackautochange is moving:

Move Sound Loops? : movesnd_loop

Sets if Move Sound should be looped during brush movement until it stops.

Stop sound : stopsnd

Sound to play when the func_trackautochange stop moving:

Sound volume : volume

Volume of move and stop sounds.

Sound Replacement File : soundlist

Set the path to a sound replacement file for this entity. The path begins in 'svencoop/sound/mapname', whereas 'mapname' would be your map's name. You can go to the parent directory using '../'. 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 '../' in that case. These sounds do not need to be precached using a custom_precache point entity.

Fire On Open Start : fireonopening

Entity to trigger when platform starts opening.

Fire On Open Start Trigger State : fireonopening_triggerstate

Set the use-type with which the entity specified above will be fired.

Fire On Close Start : fireonclosing

Entity to trigger when platform starts closing.

Fire On Close Start Trigger State : fireonclosing_triggerstate

Set the use-type with which the entity specified above will be fired.

Fire On Open End : fireonopened

Entity to trigger when platform ends opening.

Fire On Open End Trigger State : fireonopened_triggerstate

Set the use-type with which the entity specified above will be fired.

Fire On Close End : fireonclosed

Entity to trigger when platform end closing.

Fire On Close End Trigger State : fireoncloed_triggerstate

Set the use-type with which the entity specified above will be fired.

Damage inflicted when blocked : dmg

Damage to deal when entity is blocked.

Travel Altitude : height

Travel distance, from top to bottom. If "Start at Bottom flag is selected, the travel distance won't change from bottom to top,

it only makes platform start at bottom and awaits for func_tracktrain to arrive.

Spin amount : rotation

The spin done by this platform on entire way up/down.

Train to Switch : train

Name of func_tracktrain this platform will transport to top/bottom track.

Top track : toptrack

Name of last path_track of the top path (if "Start at Bottom" is selected this is the name of the first path_track at the top path).

Bottom track : bottomtrack

Name of first path_track of the bottom track. (if "Start at Bottom" is selected this is the name of the last path_track at the bottom path).

Move/Rotate Speed : speed

Speed in which func_trackautochange travel the whole way up/down (units per seconds).

Move Sound Override : noise

Custom sound file that is playing when entity is moving. Overrides default "Move Sound" sound.

Stop Sound Override : noise1

Custom sound file to play when the entity ends movement. Overrides default "Stop Sound" sound.

Blocked Sound : noise2

Custom sound file to play when train is blocked.

2 Flags

1 : Auto Activate train

If selected, train isn't paused at the top/bottom of the path after func_trackautochange finish it's movement. Instead, it's continue moving forward and don't need to be reactivated by trigger.

2 : Relink track

The functionality of this flag is unknown. However, this entity seems to work fine whenever this flag is selected or not.

8 "Start at Bottom": Platform starts at the bottom instead at the top path_track if this flag is ticked.

16 : Rotate Only

If selected, the platform only rotates in place of it's origin without travelling specified altitude. The top and the bottom path_tracks should have their origin positioned in the same coordinates.

64 : X Axis

Train rotates around X axis instead of Z axis. Can be combined with "Y Axis".

128 : Y Axis

Train rotates around Y axis instead of Z axis. Can be combined with "X Axis".

3 Notes

Remember to create origin brush for this entity around which func_trackautochange rotates.It is said that func_trackautochange works better with non-controllable func_tracktrain however it seems to both controllable and non-controllable func_tracktrains supports both func_trackchange and func_trackautochange.

4 Changes

5.0 Steam Release: Added 'Damage inflicted when blocked', 'Move Sound Override', 'Stop Sound Override' and 'Blocked Sound' keyvalues.