Game events added: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==point_captured== | |||
{{qnotice|Team captured a capture point}}<br> | |||
{{begin-hl2msg|point_captured|string}} | |||
{{hl2msg|bool|team|Team that captured the point}} | |||
{{hl2msg|short|location|Location where the point was captured}} | |||
{{end-hl2msg}} | |||
== | ==point_neutral== | ||
{{qnotice|Team neutralized a capture point}}<br> | |||
{{begin-hl2msg|point_neutral|string}} | |||
{{hl2msg|bool|team|Team that neutralized the point}} | |||
{{hl2msg|short|location|Location where the point was neutralized}} | |||
{{end-hl2msg}} | |||
== | ==player_death== | ||
{{qnotice|A player has died}}<br> | |||
{{begin-hl2msg|player_death|string}} | |||
{{hl2msg|short|userid|User ID who died}} | |||
{{hl2msg|short|attacker|User ID who killed}} | |||
{{hl2msg|byte|hide|Team to hide the message from}} | |||
{{hl2msg|sstring|weapon|Weapon name killed used}} | |||
{{end-hl2msg}} | |||
=== | ==game_end== | ||
{{qnotice|Triggered at game end}}<br> | |||
{{begin-hl2msg|game_end|string}} | |||
{{hl2msg|bool|team|The team that won}} | |||
{{hl2msg|short|entity|Entity to watch}} | |||
{{end-hl2msg}} | |||
==voice_command== | |||
{{qnotice|Triggered when a player uses a voice command}}<br> | |||
{{begin-hl2msg|voice_command|string}} | |||
{{hl2msg|bool|team|Which team message is for}} | |||
{{hl2msg|short|command|What message to play}} | |||
{{hl2msg|byte|sub|Sub identifier for some messages}} | |||
{{end-hl2msg}} | |||
==commander_alert== | |||
{{qnotice|Triggered when a commander alert is played}}<br> | |||
{{begin-hl2msg|commander_alert|string}} | |||
{{hl2msg|bool|team|Which team message is for}} | |||
{{hl2msg|short|command|What message to play}} | |||
{{hl2msg|float|coord_x|X coordinate of alert}} | |||
{{hl2msg|float|coord_y|Y coordinate of alert}} | |||
{{hl2msg|float|coord_z|Z coordinate of alert}} | |||
{{end-hl2msg}} | |||
==commander_vote_time== | |||
{{qnotice|When the vote for a commander begins (This fires every second the of the vote time)}}<br> | |||
{{begin-hl2msg|commander_vote_time|string}} | |||
{{hl2msg|short|time|Time left in the vote}} | |||
{{hl2msg|bool|commander_exists|Whether or not a command vehicle is present}} | |||
{{end-hl2msg}} | |||
==commander_vote== | |||
{{qnotice|When a player casts a vote for a player to be the commander}}<br> | |||
{{begin-hl2msg|commander_vote|string}} | |||
{{hl2msg|bool|team|Which team}} | |||
{{hl2msg|short|voter_id|Voting player}} | |||
{{hl2msg|short|player_id|Votee}} | |||
{{end-hl2msg}} | |||
==player_class== | |||
{{qnotice|Triggered when a player changes classes}}<br> | |||
{{begin-hl2msg|player_class|string}} | |||
{{hl2msg|local|userid|User Id}} | |||
{{hl2msg|local|class|Class changed to}} | |||
{{end-hl2msg}} | |||
==player_score== | |||
{{qnotice|Triggered when a player retrieves points}}<br> | |||
{{begin-hl2msg|player_score|string}} | |||
{{hl2msg|local|userid|User ID}} | |||
{{hl2msg|local|amount|Amount of points received}} | |||
{{hl2msg|local|reason|The reason the player received points}} | |||
{{end-hl2msg}} | |||
==vehicle_purchase== | |||
{{qnotice|Triggered when a player purchases a vehicle}}<br> | |||
{{begin-hl2msg|vehicle_purchase|string}} | |||
{{hl2msg|local|userid|User ID}} | |||
{{hl2msg|local|recustomized|Is the vehicles new or recustomized?}} | |||
{{hl2msg|local|cost|Resource cost}} | |||
{{hl2msg|local|chassis|Chassis Type}} | |||
{{end-hl2msg}} | |||
==vehicle_enter== | |||
{{qnotice|Triggered when a player enters a vehicle}}<br> | |||
{{begin-hl2msg|vehicle_enter|string}} | |||
{{hl2msg|local|userid|User ID}} | |||
{{hl2msg|local|vehicleid|ID of vehicle the player entered}} | |||
{{hl2msg|local|seat|Seat of the vehicle the player entered}} | |||
{{end-hl2msg}} | |||
==vehicle_exit== | |||
{{qnotice|Triggered when a player exits a vehicle}}<br> | |||
{{begin-hl2msg|vehicle_exit|string}} | |||
{{hl2msg|local|userid|User ID}} | |||
{{hl2msg|local|vehicleid|ID of vehicle the player exited}} | |||
{{end-hl2msg}} |
Latest revision as of 14:26, 5 May 2010
point_captured
Note: Team captured a capture point
Name: | point_captured | ||||||
Structure: |
|
point_neutral
Note: Team neutralized a capture point
Name: | point_neutral | ||||||
Structure: |
|
player_death
Note: A player has died
Name: | player_death | ||||||||||||
Structure: |
|
game_end
Note: Triggered at game end
Name: | game_end | ||||||
Structure: |
|
voice_command
Note: Triggered when a player uses a voice command
Name: | voice_command | |||||||||
Structure: |
|
commander_alert
Note: Triggered when a commander alert is played
Name: | commander_alert | |||||||||||||||
Structure: |
|
commander_vote_time
Note: When the vote for a commander begins (This fires every second the of the vote time)
Name: | commander_vote_time | ||||||
Structure: |
|
commander_vote
Note: When a player casts a vote for a player to be the commander
Name: | commander_vote | |||||||||
Structure: |
|
player_class
Note: Triggered when a player changes classes
Name: | player_class | ||||||
Structure: |
|
player_score
Note: Triggered when a player retrieves points
Name: | player_score | |||||||||
Structure: |
|
vehicle_purchase
Note: Triggered when a player purchases a vehicle
Name: | vehicle_purchase | ||||||||||||
Structure: |
|
vehicle_enter
Note: Triggered when a player enters a vehicle
Name: | vehicle_enter | |||||||||
Structure: |
|
vehicle_exit
Note: Triggered when a player exits a vehicle
Name: | vehicle_exit | ||||||
Structure: |
|