Difference between revisions of "Generic Source Events"
m (→teamplay_broadcast_audio) |
m (→player_team) |
||
Line 26: | Line 26: | ||
=== player_team === | === player_team === | ||
− | {{qnotice| | + | {{qnotice|A player changed his team}}<br> |
{{begin-hl2msg|player_team|string}} | {{begin-hl2msg|player_team|string}} | ||
{{hl2msg|short|userid|user ID on the server}} | {{hl2msg|short|userid|user ID on the server}} |
Revision as of 10:20, 15 August 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 teamplay_broadcast_audio
- 4 player_team
- 5 player_class
- 6 player_death
- 7 player_hurt
- 8 player_chat
- 9 player_score
- 10 player_spawn
- 11 player_shoot
- 12 player_use
- 13 player_changename
- 14 game_init
- 15 game_newmap
- 16 game_start
- 17 game_end
- 18 round_start
- 19 round_end
- 20 game_message
- 21 break_breakable
- 22 break_prop
- 23 entity_killed
- 24 bonus_updated
- 25 achievement_event
- 26 achievement_increment
- 27 physgun_pickup
- 28 flare_ignite_npc
- 29 helicopter_grenade_punt_miss
- 30 user_data_downloaded
- 31 ragdoll_dissolved
- 32 hltv_changed_mode
- 33 hltv_changed_target
- 34 vote_ended
- 35 vote_started
- 36 vote_changed
- 37 vote_passed
- 38 vote_failed
- 39 vote_cast
- 40 vote_options
- 41 replay_saved
- 42 entered_performance_mode
- 43 browse_replays
- 44 replay_youtube_stats
- 45 inventory_updated
- 46 cart_updated
- 47 store_pricesheet_updated
- 48 gc_connected
- 49 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: |
|
teamplay_broadcast_audio
Note: emits a sound to everyone on a team. (OB Only)
Name: | teamplay_broadcast_audio | ||||||
Structure: |
|
player_team
Note: A player changed 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: Currently unused. (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)