Difference between revisions of "Half-Life 1 Game Events"
(→StatusIcon: +info) |
(info is completely incorrect, fixed) |
||
| Line 29: | Line 29: | ||
== BarTime == | == BarTime == | ||
| − | + | Shows a progress bar which fills from 0% to 100% for the time Duration seconds and then disappears. Set Duration to 0 to hide the bar. | |
{{begin-hl1msg|BarTime|byte, byte}} | {{begin-hl1msg|BarTime|byte, byte}} | ||
| − | {{hl1msg| | + | {{hl1msg|short|Duration}} |
| − | |||
{{end-hl1msg}} | {{end-hl1msg}} | ||
Revision as of 08:34, 24 July 2006
Contents
- 1 Half-Life Events
- 1.1 ADStop
- 1.2 AllowSpec
- 1.3 AmmoPickup
- 1.4 AmmoX
- 1.5 BarTime
- 1.6 BarTime2
- 1.7 Battery
- 1.8 BlinkAcct
- 1.9 BombDrop
- 1.10 BombPickup
- 1.11 BotProgress
- 1.12 BotVoice
- 1.13 Brass
- 1.14 BuyClose
- 1.15 ClCorpse
- 1.16 Crosshair
- 1.17 CurWeapon
- 1.18 CZCareer
- 1.19 CZCareerHUD
- 1.20 Damage
- 1.21 DeathMsg
- 1.22 FlashBat
- 1.23 Flashlight
- 1.24 Fog
- 1.25 ForceCam
- 1.26 HostageK
- 1.27 HostagePos
- 1.28 NVGToggle
- 1.29 ResetHUD
- 1.30 RoundTime
- 1.31 SayText
- 1.32 Scenario
- 1.33 ScoreAttrib
- 1.34 StatusIcon
- 1.35 StatusText
- 1.36 StatusValue
- 1.37 TaskTime
- 1.38 TeamInfo
- 1.39 TeamScore
- 1.40 TextMsg
- 1.41 Train
- 1.42 TutorClose
- 1.43 TutorLine
- 1.44 TutorState
- 1.45 TutorText
- 1.46 VGUIMenu
- 1.47 ViewMode
- 1.48 VoiceMask
- 1.49 WeapPickup
Half-Life Events
Description here
ADStop
Note: No Information available for this event
| Name: | ADStop | |
| Structure: |
|
AllowSpec
Note: No Information available for this event
| Name: | AllowSpec | |
| Structure: |
|
AmmoPickup
Temporary draws ammo amount and ammo type HUD icons in the middle of the right side of the screen (draw time depends on hud_drawhistory_time client CVAR value)
| Name: | AmmoPickup | ||||
| Structure: |
|
AmmoX
Updates green bar indicator in weapon HUD-list and ammo amount in lower right corner of the screen (in case current weapon uses given ammo type)
| Name: | AmmoX | ||||
| Structure: |
|
BarTime
Shows a progress bar which fills from 0% to 100% for the time Duration seconds and then disappears. Set Duration to 0 to hide the bar.
| Name: | BarTime | ||
| Structure: |
|
BarTime2
Note: No Information available for this event
| Name: | BarTime2 | |
| Structure: |
|
Battery
Note: No Information available for this event
| Name: | Battery | ||
| Structure: |
|
BlinkAcct
Note: No Information available for this event
| Name: | BlinkAcct | |
| Structure: |
|
BombDrop
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.
| Name: | BombDrop | ||||||||
| Structure: |
|
BombPickup
This message just tells the game that the bomb has been picked up. It will cause the dropped bomb to disappear from the Terrorist team's radar.
| Name: | BombPickup | |
| Structure: |
|
BotProgress
Note: No Information available for this event
| Name: | BotProgress | |
| Structure: |
|
BotVoice
Note: No Information available for this event
| Name: | BotVoice | ||||
| Structure: |
|
Brass
Note: No Information available for this event
| Name: | Brass | |
| Structure: |
|
BuyClose
Note: No Information available for this event
| Name: | BuyClose | |
| Structure: |
|
ClCorpse
The model name does not have .mdl at the end
| Name: | ClCorpse | ||||||||||||||||||||||||
| Structure: |
|
Crosshair
Note: No Information available for this event
| Name: | Crosshair | ||
| Structure: |
|
CurWeapon
Note: No Information available for this event
| Name: | CurWeapon | ||||||
| Structure: |
|
CZCareer
Note: No Information available for this event
| Name: | CZCareer | |
| Structure: |
|
CZCareerHUD
Note: No Information available for this event
| Name: | CZCareerHUD | |
| Structure: |
|
Damage
Note: No Information available for this event
| Name: | Damage | ||||||||||||
| Structure: |
|
DeathMsg
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the HUD message the client sees in the upper right corner of their screen.
| Name: | DeathMsg | ||||||||
| Structure: |
|
FlashBat
Note: No Information available for this event
| Name: | FlashBat | ||
| Structure: |
|
Flashlight
Flag would be 1 for turning the flashlight on or 0 for turning it off. In my testing the 2nd argument was always 100.
| Name: | Flashlight | ||||
| Structure: |
|
Fog
Note: No Information available for this event
| Name: | Fog | |
| Structure: |
|
ForceCam
Note: No Information available for this event
| Name: | ForceCam | |
| Structure: |
|
HostageK
Note: No Information available for this event
| Name: | HostageK | ||
| Structure: |
|
HostagePos
Note: No Information available for this event
| Name: | HostagePos | ||||||||||
| Structure: |
|
NVGToggle
Note: 1 is on, 2 is off
| Name: | NVGToggle | ||
| Structure: |
|
ResetHUD
Note: No Information available for this event
| Name: | ResetHUD | |
| Structure: |
|
RoundTime
Note: No Information available for this event
| Name: | RoundTime | ||
| Structure: |
|
SayText
Note: The destination can be 1 is notify, 2 is console, 3 is chat, or 4 is center. Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All
| Name: | SayText | ||||||||
| Structure: |
|
Scenario
Note: No Information available for this event
| Name: | Scenario | ||
| Structure: |
|
ScoreAttrib
Note: For the 2nd Argument, 0 is nothing, 1 is dead, 2 is bomb, 3 is VIP
| Name: | ScoreAttrib | ||||
| Structure: |
|
StatusIcon
Note: For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon.
Red, Green and Blue arguments should be specified only if Status is 1 or 2.
A list of usable sprites are in listed at a link below: [Link is missing]
| Name: | StatusIcon | ||||||||||
| Structure: |
|
StatusText
Note: No Information available for this event
| Name: | ScoreAttrib | ||||
| Structure: |
|
StatusValue
Note: No Information available for this event
| Name: | StatusValue | ||||||||||
| Structure: |
|
TaskTime
Note: No Information available for this event
| Name: | TaskTime | |
| Structure: |
|
TeamInfo
Note: Team name is either CT or TERRORIST
| Name: | TeamInfo | ||||
| Structure: |
|
TeamScore
Note: Team name is either CT or TERRORIST
| Name: | TeamScore | ||||
| Structure: |
|
TextMsg
Note: There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:
Arg1: 1
Arg2: #Game_join_ct
Arg3: 4HM
| Name: | TextMsg | ||||||||||||
| Structure: |
|
Train
Note: No Information available for this event
| Name: | Train | ||
| Structure: |
|
TutorClose
Note: No Information available for this event
| Name: | TutorClose | |
| Structure: |
|
TutorLine
Note: No Information available for this event
| Name: | TutorLine | |
| Structure: |
|
TutorState
Note: No Information available for this event
| Name: | TutorState | |
| Structure: |
|
TutorText
Note: No Information available for this event
| Name: | TutorText | |
| Structure: |
|
VGUIMenu
Note: No Information available for this event
| Name: | VGUIMenu | ||||||||||
| Structure: |
|
ViewMode
Note: No Information available for this event
| Name: | ViewMode | |
| Structure: |
|
VoiceMask
Note: No Information available for this event
| Name: | VoiceMask | ||||
| Structure: |
|
WeapPickup
Note: No Information available for this event
| Name: | WeapPickup | ||
| Structure: |
|