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 (Language tweaks)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
}}
 
}}
  
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.
+
Vertically moving elevator that moves up automatically when a player steps on it. It's also automatically called when player waits for it at the top of the whole travel altitude.
  
 
== Keyvalues ==
 
== Keyvalues ==
Line 29: Line 29:
 
== Flags ==
 
== Flags ==
  
{{Entity_flag|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.}}
+
{{Entity_flag|1|Toggle|If selected, the lift is not automatically called from top and activated by stepping on it. It requires a trigger to do so.}}
  
 
== 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}}

Latest revision as of 15:34, 6 January 2023

func_plat
Type

brush

Status

supported

 


Vertically moving elevator that moves up automatically when a player steps on it. It's also automatically called when player waits 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 not automatically called from top and activated by stepping on it. It requires a 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.