home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2005 October
/
Gamestar_77_2005-10_dvd.iso
/
DVDStar
/
Akce
/
Half-Life2
/
install-at2v4release2005.exe
/
AntTroopDuece
/
scripts
/
plugin_animations.txt
< prev
next >
Wrap
Text File
|
2005-05-08
|
1KB
|
53 lines
// plugin dialog animation script
//
//
// commands:
// Animate <panel name> <variable> <target value> <interpolator> <start time> <duration>
// variables:
// FgColor
// BgColor
// Position
// Size
// Blur (hud panels only)
// TextColor (hud panels only)
// Ammo2Color (hud panels only)
// Alpha (hud weapon selection only)
// SelectionAlpha (hud weapon selection only)
// TextScan (hud weapon selection only)
//
// interpolator:
// Linear
// Accel - starts moving slow, ends fast
// Deaccel - starts moving fast, ends slow
//
// RunEvent <event name> <start time>
// starts another even running at the specified time
//
// StopEvent <event name> <start time>
// stops another event that is current running at the specified time
//
// StopAnimation <panel name> <variable> <start time>
// stops all animations refering to the specified variable in the specified panel
//
// StopPanelAnimations <panel name> <start time>
// stops all active animations operating on the specified panel
//
//
//
event PluginMessageShow
{
Animate PluginHudMessage Alpha 255 Linear 0.0 0.5
}
event PluginMessageSmall
{
Animate PluginHudMessage Size "40 32" Linear 0.0 1.5
}
event PluginMessageHide
{
Animate PluginHudMessage Alpha 0 Linear 0.0 1.0
}