Difference between revisions of "Func plat"

From Sven Co-op
Jump to navigation Jump to search
(Import of converted entguide pages from Sven Manor.)
 
m (Formatting, typos, links etc.)
Line 33: Line 33:
 
== Changes ==
 
== Changes ==
  
5.0 Steam Release: Added 'Inventory Rules', 'Damage inflicted when blocked', 'Move Sound Override' and 'Stop Sound Override' keyvalues.
+
* 5.0 Steam Release: Added 'Inventory Rules', 'Damage inflicted when blocked', 'Move Sound Override' and 'Stop Sound Override' keyvalues.
 
 
  
 
{{entity_title}}
 
{{entity_title}}

Revision as of 04:55, 28 January 2019

func_plat
Type

brush

Status

supported

 


Vertically moving elevator that moves up automatically when player step on it. It is also automatically called when player wait for it at the top of the whole travel altitude.

1 Keyvalues

Move Sound : movesnd

Sound that is played while platform is moving.

Move Sound Loops? : movesnd_loop

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

Stop Sound : stopsnd

Sound which is played once as the train stops moving.

Sound Volume : volume

Self-explanatory.

Sound Replacement File : soundlist

Allows you to setup a sound replacement file for the func_plat sounds. 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

How many units func_plat travels up to the top. It can be set to negative only if "toggle" flag is selected.

Speed : speed

Movement-speed in units per second.

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.

2 Flags

1 : Toggle

If selected, the lift is no more automatically called from top and activated by stepping on it. It required trigger to do so.

3 Changes

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