Difference between revisions of "Func platrot"

From Sven Co-op
Jump to navigation Jump to search
m (Formatting, typos, links etc.)
m (Language tweaks)
 
Line 4: Line 4:
 
}}
 
}}
  
Same as [[func_plat]], but it also rotates with customizable rotation speed. 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. This entity requires origin brush tied to it.
+
Same as [[func_plat]], but it also rotates with customizable rotation speed. Vertically moving elevator that moves up automatically when a player steps on it. It's also automatically called when player wait for it at the top of the whole travel altitude. This entity requires an origin brush tied to it.
  
 
== Keyvalues ==
 
== Keyvalues ==

Latest revision as of 15:38, 6 January 2023

func_platrot
Type

brush

Status

supported

 


Same as func_plat, but it also rotates with customizable rotation speed. Vertically moving elevator that moves up automatically when a player steps on it. It's also automatically called when player wait for it at the top of the whole travel altitude. This entity requires an origin brush tied to it.

1 Keyvalues

Move Sound : movesnd

Sound that is played while the 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.

Speed of rotation : speed

Movement-speed in units per second.

Travel altitude : height

How many units func_plat travels up to the top. It CAN'T be negative, the FGD lies!

Spin amount : rotation

Total amount of degrees this entity spins from it's starting to ending position.

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.

64 : X Axis

Enable this to make platform rotate around x axis instead of z axis.

128 : Y Axis

Enable this to make platform rotate around y axis instead of z axis.

3 Changes

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