Difference between revisions of "Game Events (Source)"
(Added Day of Defeat: Source events) |
(Added Dystopia Events) |
||
Line 773: | Line 773: | ||
{{hl2msg|short|userid}} | {{hl2msg|short|userid}} | ||
{{hl2msg|short|victimid}} | {{hl2msg|short|victimid}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | = Dystopia Events = | ||
+ | |||
+ | === player_death === | ||
+ | {{qnotice|Player is killed in "real world"}} | ||
+ | {{begin-hl2msg|player_death|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|short|attacker}} | ||
+ | {{hl2msg|short|weapon_id}} | ||
+ | {{hl2msg|string|weapon}} | ||
+ | {{hl2msg|string|location}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === cyber_frag === | ||
+ | {{qnotice|Player is killed while "hacking"}} | ||
+ | {{begin-hl2msg|cyber_frag|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|short|attacker}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === player_class === | ||
+ | {{qnotice|When a player selects class}} | ||
+ | {{begin-hl2msg|player_class|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|short|class}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === objective === | ||
+ | {{qnotice|When an objective is reached}} | ||
+ | {{begin-hl2msg|objective|string}} | ||
+ | {{hl2msg|short|userid}} | ||
+ | {{hl2msg|string|objective}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === round_restart === | ||
+ | {{qnotice|When round restarts}} | ||
+ | {{begin-hl2msg|round_restart|string}} | ||
+ | {{hl2msg|byte|round}} | ||
+ | {{hl2msg|byte|winner}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === dys_changemap === | ||
+ | {{qnotice|When map changes}} | ||
+ | {{begin-hl2msg|dys_changemap|string}} | ||
+ | {{hl2msg|string|newmap}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === dys_points === | ||
+ | {{qnotice|When points are changed}} | ||
+ | {{begin-hl2msg|dys_points|string}} | ||
+ | {{hl2msg|short|player}} | ||
+ | {{hl2msg|short|points}} | ||
+ | {{hl2msg|short|method}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === dys_weapon_stats === | ||
+ | {{qnotice|When stats are logged for weapons}} | ||
+ | {{begin-hl2msg|dys_weapon_stats|string}} | ||
+ | {{hl2msg|short|player}} | ||
+ | {{hl2msg|long|weapons}} | ||
+ | {{hl2msg|string|p_shots}} | ||
+ | {{hl2msg|string|s_shots}} | ||
+ | {{hl2msg|string|p_hits}} | ||
+ | {{hl2msg|string|s_hits}} | ||
+ | {{hl2msg|string|p_damage}} | ||
+ | {{hl2msg|string|s_damage}} | ||
+ | {{hl2msg|string|p_headshots}} | ||
+ | {{hl2msg|string|s_headshots}} | ||
+ | {{hl2msg|string|p_kills}} | ||
+ | {{hl2msg|string|s_kills}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === dys_implant_stats === | ||
+ | {{qnotice|When stats are logged for implants}} | ||
+ | {{begin-hl2msg|dys_implant_stats|string}} | ||
+ | {{hl2msg|short|player}} | ||
+ | {{hl2msg|short|implants}} | ||
+ | {{hl2msg|string|energy}} | ||
+ | {{hl2msg|string|usage}} | ||
+ | {{end-hl2msg}} | ||
+ | |||
+ | === dys_scoring_stats === | ||
+ | {{qnotice|When stats are stored for scores}} | ||
+ | {{begin-hl2msg|dys_scoring_stats|string}} | ||
+ | {{hl2msg|short|player}} | ||
+ | {{hl2msg|short|methods}} | ||
+ | {{hl2msg|string|points}} | ||
{{end-hl2msg}} | {{end-hl2msg}} |
Revision as of 13:57, 8 June 2007
Contents
- 1 Generic Source Events
- 1.1 team_info
- 1.2 team_score
- 1.3 player_team
- 1.4 player_class
- 1.5 player_death
- 1.6 player_hurt
- 1.7 player_chat
- 1.8 player_score
- 1.9 player_spawn
- 1.10 player_shoot
- 1.11 player_use
- 1.12 player_changename
- 1.13 game_newmap
- 1.14 game_start
- 1.15 game_end
- 1.16 round_start
- 1.17 round_end
- 1.18 game_message
- 1.19 break_breakable
- 1.20 break_prop
- 2 Generic Source Server Events
- 3 Counter-Strike: Source Events
- 3.1 player_death
- 3.2 player_hurt
- 3.3 bomb_beginplant
- 3.4 bomb_abortplant
- 3.5 bomb_plant
- 3.6 bomb_defused
- 3.7 bomb_exploded
- 3.8 bomb_dropped
- 3.9 bomb_pickup
- 3.10 bomb_begindefuse
- 3.11 bomb_abortdefuse
- 3.12 hostage_follows
- 3.13 hostage_hurt
- 3.14 hostage_killed
- 3.15 hostage_rescued
- 3.16 hostage_stops_following
- 3.17 hostage_rescued_all
- 3.18 hostage_call_for_help
- 3.19 vip_escaped
- 3.20 vip_killed
- 3.21 player_radio
- 3.22 bomb_beep
- 3.23 weapon_fire
- 3.24 weapon_fire_on_empty
- 3.25 weapon_reload
- 3.26 weapon_zoom
- 3.27 item_pickup
- 3.28 grenade_bounce
- 3.29 hegrenade_detonate
- 3.30 flashbang_detonate
- 3.31 smokegrenade_detonate
- 3.32 bullet_impact
- 3.33 player_footstep
- 3.34 player_jump
- 3.35 player_blind
- 3.36 player_falldamage
- 3.37 door_moving
- 3.38 round_freeze_end
- 3.39 nav_blocked
- 3.40 nav_generate
- 4 Day of Defeat: Source Events
- 4.1 player_death
- 4.2 player_hurt
- 4.3 player_changeclass
- 4.4 dod_round_start
- 4.5 dod_round_active
- 4.6 dod_hint
- 4.7 dod_warmup_begins
- 4.8 dod_warmup_ends
- 4.9 dod_round_start
- 4.10 dod_restart_round
- 4.11 dod_ready_restart
- 4.12 dod_allies_ready
- 4.13 dod_axis_ready
- 4.14 dod_round_restart_seconds
- 4.15 dod_team_scores
- 4.16 dod_point_captured
- 4.17 dod_capture_blocked
- 4.18 dod_round_win
- 4.19 dod_tick_points
- 4.20 dod_game_over
- 4.21 dod_broadcast_audio
- 4.22 dod_stats_weapon_attack
- 4.23 dod_stats_player_damage
- 4.24 dod_stats_player_killed
- 4.25 dod_win_panel
- 4.26 dod_timer_time_added
- 4.27 dod_timer_flash
- 4.28 dod_map_time_remaining
- 4.29 dod_tnt_pickup
- 4.30 dod_bomb_planted
- 4.31 dod_bomb_exploded
- 4.32 dod_bomb_defused
- 4.33 dod_kill_planter
- 4.34 dod_kill_defuser
- 5 Dystopia Events
Generic Source Events
team_info
Note: Info about team
Name: | team_info | ||||||
Structure: |
|
team_score
Note: Team score changed
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 game event, name may be 32 charaters long
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: Players scores changed
Name: | player_score | ||||||||||||
Structure: |
|
player_spawn
Note: player spawned in game
Name: | player_spawn | |||
Structure: |
|
player_shoot
Note: Player shoot 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_newmap
Note: Send 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: | player_changename | |||||||||
Structure: |
|
round_end
Note: The round ended
Name: | round_end | |||||||||
Structure: |
|
game_message
Note: A game message
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: |
|
Generic Source Server Events
server_spawn
Note: Send once a server starts
Name: | server_start | |||||||||||||||||||||||||||
Structure: |
|
server_shutdown
Note: Server shut down
Name: | server_shutdown | |||
Structure: |
|
server_cvar
Note: A server console var has changed
Name: | server_cvar | ||||||
Structure: |
|
server_msg
Note: A generic server message
Name: | server_message | |||
Structure: |
|
server_addban
Note: When the server has a ban added
Name: | server_addban | |||||||||||||||||||||
Structure: |
|
server_removeban
Note: When the server has a ban removed
Name: | server_removeban | |||||||||
Structure: |
|
player_connect
Note: A new player connected
Name: | player_connect | |||||||||||||||
Structure: |
|
player_info
Note: A player changed his name
Name: | player_info | |||||||||||||||
Structure: |
|
player_disconnect
Note: A client was disconnected
Name: | player_disconnect | ||||||||||||
Structure: |
|
player_activate
Note: A client has entered the game (connected and loaded)
Name: | player_activate | |||
Structure: |
|
player_say
Note: When a client sends a message in chat
Name: | player_say | ||||||
Structure: |
|
Counter-Strike: Source Events
player_death
Note: When a client dies
Name: | player_death | ||||||||||||
Structure: |
|
player_hurt
Note: When a client is damaged
Name: | player_hurt | ||||||||||||||||||||||||
Structure: |
|
bomb_beginplant
Note: When the bomb is starting to get planted
Name: | bomb_beginplant | ||||||
Structure: |
|
bomb_abortplant
Note: When the bomb planter stops planting the bomb
Name: | bomb_abortplant | ||||||
Structure: |
|
bomb_plant
Note: When the bomb has been planted
Name: | bomb_planted | ||||||||||||
Structure: |
|
bomb_defused
Note: When the bomb has been defused
Name: | bomb_defused | ||||||
Structure: |
|
bomb_exploded
Note: When the bomb explodes
Name: | bomb_exploded | ||||||
Structure: |
|
bomb_dropped
Note: When the bomb is dropped by a client
Name: | bomb_dropped | |||
Structure: |
|
bomb_pickup
Note: When the bomb is picked up by a client
Name: | bomb_pickup | |||
Structure: |
|
bomb_begindefuse
Note: When the bomb is started to be defused
Name: | bomb_begindefuse | ||||||
Structure: |
|
bomb_abortdefuse
Note: When the bomb defusal is stopped
Name: | bomb_abortdefuse | |||
Structure: |
|
hostage_follows
Note: When the hostage begins following a client
Name: | hostage_follows | ||||||
Structure: |
|
hostage_hurt
Note: When a hostage is damaged
Name: | hostage_hurt | ||||||
Structure: |
|
hostage_killed
Note: When a hostage is killed
Name: | hostage_killed | ||||||
Structure: |
|
hostage_rescued
Note: When a hostage is rescued
Name: | hostage_rescued | |||||||||
Structure: |
|
hostage_stops_following
Note: When a hostage stops following a client
Name: | hostage_stops_following | ||||||
Structure: |
|
hostage_rescued_all
Note: When all the hostages are rescued
Name: | hostage_rescued_all | |||
Structure: |
|
hostage_call_for_help
Note: When the hostage calls for help
Name: | hostage_call_for_help | |||
Structure: |
|
vip_escaped
Note: When the VIP escapes
Name: | vip_escaped | |||
Structure: |
|
vip_killed
Note: When the VIP is killed
Name: | vip_killed | ||||||
Structure: |
|
player_radio
Note: When the player uses radio commands
Name: | player_radio | ||||||
Structure: |
|
bomb_beep
Note: Every time the bomb beep sound happens
Name: | bomb_beep | |||
Structure: |
|
weapon_fire
Note: Every time a client fires their weapon
Name: | weapon_fire | ||||||
Structure: |
|
weapon_fire_on_empty
Note: Every time a client fires their weapon and it's empty
Name: | weapon_fire_on_empty | ||||||
Structure: |
|
weapon_reload
Note: Every time a client reloads their weapon
Name: | weapon_reload | |||
Structure: |
|
weapon_zoom
Note: Every time a client zooms a scoped weapon
Name: | weapon_zoom | |||
Structure: |
|
item_pickup
Note: Every time an item is picked up (generally weapons)
Name: | item_pickup | ||||||
Structure: |
|
grenade_bounce
Note: Every time a grenade bounces
Name: | grenade_bounce | |||
Structure: |
|
hegrenade_detonate
Note: Every time a hegrenade explodes
Name: | hegrenade_detonate | |||
Structure: |
|
flashbang_detonate
Note: Every time a flashbang detonates
Name: | flashbang_detonate | |||
Structure: |
|
smokegrenade_detonate
Note: Every time a smokegrenade detonates
Name: | flashbang_detonate | |||
Structure: |
|
bullet_impact
Note: Every time a bullet hits something
Name: | bullet_impact | ||||||||||||
Structure: |
|
player_footstep
Note: Every time a player takes a step
Name: | player_footstep | |||
Structure: |
|
player_jump
Note: Every time a player jumps
Name: | player_jump | |||
Structure: |
|
player_blind
Note: Every time a player is blinded by a flashbang
Name: | player_blind | |||
Structure: |
|
player_falldamage
Note: Every time a player takes damage due to a fall
Name: | player_falldamage | ||||||
Structure: |
|
door_moving
Note: Every time a door is put in motion (opened)
Name: | door_moving | ||||||
Structure: |
|
round_freeze_end
Note: When the round's mp_freezetime is up
Name: | round_freeze_end | |||
Structure: |
|
Note: Guess: Called when an area is blocked by the nav of a map
Name: | nav_blocked | ||||||
Structure: |
|
Note: Called when a nav file does not exist for a map and bots are added
Name: | nav_generate | |||
Structure: |
|
Day of Defeat: Source Events
player_death
Note: When a player dies
Name: | player_death | |||||||||
Structure: |
|
player_hurt
Note: When a player is damaged
Name: | player_hurt | ||||||||||||||||||
Structure: |
|
player_changeclass
Note: When a player changes to a different class
Name: | player_changeclass | ||||||
Structure: |
|
dod_round_start
Note: When the round starts
Name: | dod_round_start | |
Structure: |
|
dod_round_active
Note: Unknown
Name: | dod_round_active | |
Structure: |
|
dod_hint
Note: When a hint occurs
Name: | dod_hint | |||
Structure: |
|
dod_warmup_begins
Note: When warmup begins
Name: | dod_warmup_begins | |
Structure: |
|
dod_warmup_ends
Note: When warmup ends
Name: | dod_warmup_ends | |
Structure: |
|
dod_round_start
Note: When round starts
Name: | dod_round_start | |
Structure: |
|
dod_restart_round
Note: When round restarts
Name: | dod_restart_round | |
Structure: |
|
dod_ready_restart
Note: When the ready players trigger restart
Name: | dod_ready_restart | |
Structure: |
|
dod_allies_ready
Note: When allies are ready
Name: | dod_allies_ready | |
Structure: |
|
dod_axis_ready
Note: When axis are ready
Name: | dod_axis_ready | |
Structure: |
|
dod_round_restart_seconds
Note: When round restart is set
Name: | dod_round_restart_seconds | |||
Structure: |
|
dod_team_scores
Note: When a team scores (wins)
Name: | dod_team_scores | ||||||||||||||||||
Structure: |
|
dod_point_captured
Note: When a flag/point is captured
Name: | dod_point_captured | ||||||||||||
Structure: |
|
dod_capture_blocked
Note: When a capture is blocked
Name: | dod_capture_blocked | |||||||||
Structure: |
|
dod_round_win
Note: When a round is won
Name: | dod_round_win | |||
Structure: |
|
dod_tick_points
Note: Unknown
Name: | dod_tick_points | |||||||||
Structure: |
|
dod_game_over
Note: When the map ends
Name: | dod_game_over | |||
Structure: |
|
dod_broadcast_audio
Note: When audio is broadcasted
Name: | dod_broadcast_audio | |||
Structure: |
|
dod_stats_weapon_attack
Note: When a player attacks with a weapon
Name: | dod_stats_weapon_attack | ||||||
Structure: |
|
dod_stats_player_damage
Note: When a player damages another
Name: | dod_stats_player_damage | |||||||||||||||||||||
Structure: |
|
dod_stats_player_killed
Note: When a player kills another
Name: | dod_stats_player_killed | |||||||||
Structure: |
|
dod_win_panel
Note: When the scoreboard is shown after map end
Name: | dod_win_panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Structure: |
|
dod_timer_time_added
Note: When time is added (in bombing maps)
Name: | dod_timer_time_added | |||
Structure: |
|
dod_timer_flash
Note: Unknown
Name: | dod_timer_flash | |||
Structure: |
|
dod_map_time_remaining
Note: Time remaining on map
Name: | dod_map_time_remaining | |||
Structure: |
|
dod_tnt_pickup
Note: When TNT is picked up
Name: | dod_tnt_pickup | |
Structure: |
|
dod_bomb_planted
Note: When TNT is placed on an objective
Name: | dod_bomb_planted | ||||||||||||
Structure: |
|
dod_bomb_exploded
Note: When TNT explodes
Name: | dod_bomb_exploded | |||||||||
Structure: |
|
dod_bomb_defused
Note: When TNT is defused
Name: | dod_bomb_defused | ||||||||||||
Structure: |
|
dod_kill_planter
Note: When the planter of TNT is killed
Name: | dod_kill_planter | ||||||
Structure: |
|
dod_kill_defuser
Note: When the defuser of TNT is killed
Name: | dod_kill_defuser | ||||||
Structure: |
|
Dystopia Events
player_death
Note: Player is killed in "real world"
Name: | player_death | |||||||||||||||
Structure: |
|
cyber_frag
Note: Player is killed while "hacking"
Name: | cyber_frag | ||||||
Structure: |
|
player_class
Note: When a player selects class
Name: | player_class | ||||||
Structure: |
|
objective
Note: When an objective is reached
Name: | objective | ||||||
Structure: |
|
round_restart
Note: When round restarts
Name: | round_restart | ||||||
Structure: |
|
dys_changemap
Note: When map changes
Name: | dys_changemap | |||
Structure: |
|
dys_points
Note: When points are changed
Name: | dys_points | |||||||||
Structure: |
|
dys_weapon_stats
Note: When stats are logged for weapons
Name: | dys_weapon_stats | ||||||||||||||||||||||||||||||||||||
Structure: |
|
dys_implant_stats
Note: When stats are logged for implants
Name: | dys_implant_stats | ||||||||||||
Structure: |
|
dys_scoring_stats
Note: When stats are stored for scores
Name: | dys_scoring_stats | |||||||||
Structure: |
|