Difference between revisions of "Generic Source Events"
(vote_started isn't used in OB. It's a legacy from L4D.) |
(vote_passed and vote_failed events were missing) |
||
Line 256: | Line 256: | ||
{{hl2msg|byte|potentialVotes|}} | {{hl2msg|byte|potentialVotes|}} | ||
{{end-hl2msg}} | {{end-hl2msg}} | ||
+ | |||
+ | === vote_passed === | ||
+ | {{qnotice|Currently unused. See the VotePass UserMessage instead. (OB only)}}<br> | ||
+ | {{begin-hl2msg|vote_passed|string}} | ||
+ | {{hl2msg|string|details|}} | ||
+ | {{hl2msg|string|param1|}} | ||
+ | {{hl2msg|byte|team|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | |||
+ | === vote_failed === | ||
+ | {{qnotice|Currently unused. See the VoteFailed UserMessage instead. (OB only)}}<br> | ||
+ | {{begin-hl2msg|vote_failed|string}} | ||
+ | {{hl2msg|byte|team|}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
=== vote_cast === | === vote_cast === |
Revision as of 23:37, 13 July 2011
- Refer back to Game Events (Source) for more events.
These should apply to all Source engine games. It is taken from the Orange Box resource\gameevents.res list.
Contents
- 1 team_info
- 2 team_score
- 3 player_team
- 4 player_class
- 5 player_death
- 6 player_hurt
- 7 player_chat
- 8 player_score
- 9 player_spawn
- 10 player_shoot
- 11 player_use
- 12 player_changename
- 13 game_init
- 14 game_newmap
- 15 game_start
- 16 game_end
- 17 round_start
- 18 round_end
- 19 game_message
- 20 break_breakable
- 21 break_prop
- 22 entity_killed
- 23 bonus_updated
- 24 achievement_event
- 25 achievement_increment
- 26 physgun_pickup
- 27 flare_ignite_npc
- 28 helicopter_grenade_punt_miss
- 29 user_data_downloaded
- 30 ragdoll_dissolved
- 31 hltv_changed_mode
- 32 hltv_changed_target
- 33 vote_ended
- 34 vote_started
- 35 vote_changed
- 36 vote_passed
- 37 vote_failed
- 38 vote_cast
- 39 vote_options
- 40 replay_saved
- 41 entered_performance_mode
- 42 browse_replays
- 43 replay_youtube_stats
- 44 inventory_updated
- 45 cart_updated
- 46 store_pricesheet_updated
- 47 gc_connected
- 48 item_schema_initialized
team_info
Note: Info about team
Name: | team_info | ||||||
Structure: |
|
team_score
Note: Team score changed
Note: This is not called in Counter-Strike: Source
Name: | team_info | ||||||
Structure: |
|
player_team
Note: Player change his team
Name: | player_team | |||||||||||||||||||||
Structure: |
|
player_class
Note: A player changed his class
Name: | player_class | ||||||
Structure: |
|
player_death
Note: A player has died
Name: | player_death | ||||||
Structure: |
|
player_hurt
Note: A player was hurt
Name: | player_hurt | |||||||||
Structure: |
|
player_chat
Note: A public player chat
Name: | player_chat | |||||||||
Structure: |
|
player_score
Note: Player's scores changed
Name: | player_score | ||||||||||||
Structure: |
|
player_spawn
Note: Player spawned in game
Name: | player_spawn | |||
Structure: |
|
player_shoot
Note: Player shot his weapon
Name: | player_shoot | |||||||||
Structure: |
|
player_use
Note: When a player uses an option
Name: | player_use | ||||||
Structure: |
|
player_changename
Note: Player changed name
Name: | player_changename | |||||||||
Structure: |
|
game_init
Note: Sent when a new game is started (OB only)
game_newmap
Note: Sent when new map is completely loaded
Name: | game_newmap | |||
Structure: |
|
game_start
Note: A new game starts
Name: | game_start | ||||||||||||
Structure: |
|
game_end
Note: A game ended
Name: | game_end | |||
Structure: |
|
round_start
Note: The round started
Name: | round_start | |||||||||
Structure: |
|
round_end
Note: The round ended
Name: | round_end | |||||||||
Structure: |
|
game_message
Note: A message sent by game logic to everyone
Name: | game_message | ||||||
Structure: |
|
break_breakable
Note: A breakable (func_break) is broken.
Name: | break_breakable | |||||||||
Structure: |
|
break_prop
Note: A breakable prop is broken.
Name: | break_prop | ||||||
Structure: |
|
entity_killed
Note: An entity has been killed (OB only)
Name: | entity_killed | ||||||||||||
Structure: |
|
bonus_updated
Note: ??? (OB only)
Name: | bonus_updated | ||||||||||||
Structure: |
|
achievement_event
Note: A player has received an achievement (OB only)
Name: | achievement_earned | |||||||||
Structure: |
|
achievement_increment
Note: Sent whenever an achievement that's tracked on the HUD increases (OB only)
Name: | achievement_increment | |||||||||
Structure: |
|
physgun_pickup
Note: Player picked up a physgun (OB only)
Name: | physgun_pickup | |||
Structure: |
|
flare_ignite_npc
Note: A flare has ignited a NPC (OB only)
Name: | flare_ignite_npc | |||
Structure: |
|
helicopter_grenade_punt_miss
Note: ??? (OB only)
user_data_downloaded
Note: Fired when achievements/stats are downloaded from Steam or XBOX Live (OB only)
ragdoll_dissolved
Note: A ragdoll has dissolved (OB only)
Name: | ragdoll_dissolved | |||
Structure: |
|
hltv_changed_mode
Note: ??? (OB only)
Name: | hltv_changed_mode | |||||||||
Structure: |
|
hltv_changed_target
Note: ??? (OB only)
Name: | hltv_changed_target | |||||||||
Structure: |
|
vote_ended
Note: Not currently implemented. See VotePass and VoteFailed UserMessages instead. (OB only)
vote_started
Note: Currently unused. See the VoteStart UserMessage instead. (OB only)
Name: | vote_started | ||||||||||||
Structure: |
|
vote_changed
Note: Called when a Yes/No vote is cast or changed. Not called for multiple-choice votes. (OB only)
Name: | vote_changed | ||||||||||||||||||
Structure: |
|
vote_passed
Note: Currently unused. See the VotePass UserMessage instead. (OB only)
Name: | vote_passed | |||||||||
Structure: |
|
vote_failed
Note: Currently unused. See the VoteFailed UserMessage instead. (OB only)
Name: | vote_failed | |||
Structure: |
|
vote_cast
Note: Sent to all players when a player chooses a vote option (or more specifically, the server receives a vote command) (OB only)
Name: | vote_cast | |||||||||
Structure: |
|
vote_options
Note: Sent to players before VoteStart UserMessage to populate choices for a multiple choice vote (OB only)
Name: | vote_options | ||||||||||||||||||
Structure: |
|
replay_saved
Note: ??? (OB only)
entered_performance_mode
Note: ??? (OB only)
browse_replays
Note: ??? (OB only)
replay_youtube_stats
Note: ??? (OB only)
Name: | replay_youtube_stats | |||||||||
Structure: |
|
inventory_updated
Note: ??? (OB only)
cart_updated
Note: ??? (OB only)
store_pricesheet_updated
Note: ??? (OB only)
gc_connected
Note: ??? (OB only)
item_schema_initialized
Note: ??? (OB only)