Difference between revisions of "Nuclear Dawn Events"

From AlliedModders Wiki
Jump to: navigation, search
(Created page with '=== player_death === {{qnotice|}}<br> {{begin-hl2msg|player_death|string}} {{hl2msg|short|userid|user ID who died}} {{hl2msg|short|attacker|user ID who killed}} {{hl2msg|string|w...')
 
Line 1: Line 1:
 +
:''Refer back to [[Game Events (Source)]] for more events.''
 +
 
=== player_death ===
 
=== player_death ===
 
{{qnotice|}}<br>
 
{{qnotice|}}<br>

Revision as of 20:21, 25 August 2011

Refer back to Game Events (Source) for more events.

Contents

player_death

Note:

Name: player_death
Structure:
short userid user ID who died
short attacker user ID who killed
string weapon weapon name killed used
short weaponid weapon id
long damagebits bits
long customkill custom bits
short priority


player_changeclass

Note: Called when a player changes class

Name: player_changeclass
Structure:
short userid
short class
short subclass


spec_target_updated

Note:

Name: spec_target_updated
Structure:
None None


achievement_earned

Note:

Name: achievement_earned
Structure:
short player
short achievement


player_spawned_at_tgate

Note:

Name: player_spawned_at_tgate
Structure:
short userid


structure_death

Note: fired when we sell a structure

Name: structure_death
Structure:
short type type of structure sold
short team the team the structure belonged to
short attacker userid of attacking player
string weapon weapon name the attacker used


structure_damage_sparse

Note: is only fired for every 100hp taken. no spamz here

Name: structure_damage_sparse
Structure:
short entindex entity index of structure being damaged
short ownerteam team that owns the structure - Todo: optimize this out!
bool bunker was it the bunker?


structure_sold

Note: fired when we sell a structure

Name: structure_sold
Structure:
short type type of structure sold
short ownerteam the team the structure belonged to


structure_fully_auto_repaired

Note: fired when a damaged structure gets healed to 100% hp using auto repair

Name: structure_fully_auto_repaired
Structure:
short type type of structure repaired
short entindex entity index of repaired structure
short ownerteam team that the structure belongs to


structure_fully_man_repaired

Note: fired when a damaged structure gets healed to 100% hp by supports

Name: structure_fully_man_repaired
Structure:
short type type of structure repaired
short entindex entity index of repaired structure
short ownerteam team that the structure belongs to


structure_built

Note: structure fully built. fired client-side. commander only. same team.

Name: structure_built
Structure:
short entindex structure entity index


structure_power_outage

Note: structure out of power. fired client-side. commander only. same team.

Name: structure_power_outage
Structure:
short entindex structure entity index


resource_start_capture

Note: Used to show the capture hud panel

Name: resource_start_capture
Structure:
short userid user id that is starting the capture
short entindex resource point getting capped
short type type of resource point
short capteam team that is capping
short ownerteam team that currently owns the point (check for unassigned)


resource_end_capture

Note: Used to hide the capture hud panel

Name: resource_end_capture
Structure:
short userid user id that is starting the capture
short entindex resource point that got captured


resource_break_capture

Note:

Name: resource_break_capture
Structure:
short entindex
float time_remaining


resource_extract

Note: Resource point has extracted some resources

Name: resource_extract
Structure:
short entindex resource point that extracted the resources
short amount resource point that extracted the resources


resource_captured

Note: When a resource point gets fully captured by a team

Name: resource_captured
Structure:
short entindex entity index of the captrd point
short type the resource point type that got captured
short team team that captured the point


power_requested

Note: An entity is requesting a power connection

Name: power_requested
Structure:
short teamid The team who's power system got updated
short entid The entity index that is requesting a power connection


power_removed

Note: An entity is requesting a power connection

Name: power_removed
Structure:
short teamid The team who's power system got updated
short entid The entity index that is requesting a power connection


power_updated

Note: When the power nexus gets updated

Name: power_updated
Structure:
None None


enter_pregame

Note:

Name: enter_pregame
Structure:
None None


blueprint_update

Note:

Name: blueprint_update
Structure:
short teamid The team who's power system got updated
short blueprint The blueprint that is updated
earned, 0 = not earned.. state {{{3}}}


enter_vehicle

Note:

Name: enter_vehicle
Structure:
short userid
short seat
short entidx


exit_vehicle

Note:

Name: exit_vehicle
Structure:
short userid
short seat
short entidx


show_freezepanel

Note:

Name: show_freezepanel
Structure:
short killer entindex of the killer entity


hide_freezepanel

Note:

Name: hide_freezepanel
Structure:
None None


freezecam_started

Note:

Name: freezecam_started
Structure:
None None


spawn_map_changed

Note: Called when a tgate is built, removed, or power state changes

Name: spawn_map_changed
Structure:
short teamid


weapon_reload

Note:

Name: weapon_reload
Structure:
short userid
bool manual player manually started the reload


weapon_fire_at_40

Note:

Name: weapon_fire_at_40
Structure:
short userid
string weapon used weapon name
short weaponid used weapon ID
short count number of bullets


entity_visible

Note:

Name: entity_visible
Structure:
short userid The player who sees the entity
long subject Entindex of the entity they see
string classname Classname of the entity they see
string entityname name of the entity they see


player_left_bunker_building

Note:

Name: player_left_bunker_building
Structure:
short userid The player who left the bunker
short entidx The bunker they left


player_entered_bunker_building

Note:

Name: player_entered_bunker_building
Structure:
short userid The player who entered the bunker
short entidx The bunker they entered


player_entered_commander_mode

Note:

Name: player_entered_commander_mode
Structure:
short userid Player who entered commander mode


player_enter_commander_mode_failed

Note:

Name: player_enter_commander_mode_failed
Structure:
short userid Player who tried to enter commander mode


player_left_commander_mode

Note:

Name: player_left_commander_mode
Structure:
short userid Player who left commander mode


player_restocked_from_supply_struct

Note:

Name: player_restocked_from_supply_struct
Structure:
short userid Player who was restocked
short entidx Entity they got supply from


player_opened_armoury_menu

Note:

Name: player_opened_armoury_menu
Structure:
short userid Player opened kit menu from armoury


commander_move_2d

Note:

Name: commander_move_2d
Structure:
1 local Local only
short userid Player that moved the commander camera


commander_move_z

Note:

Name: commander_move_z
Structure:
1 local Local only
short userid Player that moved the commander camera up/down


commander_minimap_move

Note:

Name: commander_minimap_move
Structure:
1 local
short userid Player that moved the commander camera


player_entered_tgate

Note:

Name: player_entered_tgate
Structure:
short userid Player that spawned
short entidx Gate they spawned at


player_exited_tgate

Note:

Name: player_exited_tgate
Structure:
short userid Player that left the gate
short entidx Gate they left


commander_left_valid_area

Note:

Name: commander_left_valid_area
Structure:
short userid The commander that left valid "airspace"


commander_entered_valid_area

Note:

Name: commander_entered_valid_area
Structure:
short userid The commander that entered valid "airspace"


round_win

Note:

Name: round_win
Structure:
short team The winning team
short type Type of win


transport_gate_created

Note:

Name: transport_gate_created
Structure:
short teamid Team that created the gate
short entindex Entity id of the new gate


last_tgate_destroyed

Note:

Name: last_tgate_destroyed
Structure:
short teamid Team who's last tgate got pwnd


player_stats_updated

Note:

Name: player_stats_updated
Structure:
bool forceupload


failed_to_build

Note:

Name: failed_to_build
Structure:
1 local
short userid the commander that tried to build something with no power
short reason (eBuildErrorReason) 0: Ok, 1: No Power, 2: No Line of sight, 3: obstruction, 4: invalid build area


commander_hint_closed

Note: The local commander closed a hint (used to re-evaluate tiered hints)

Name: commander_hint_closed
Structure:
1 local


commander_selected_structure

Note: The local commander selected a structure

Name: commander_selected_structure
Structure:
1 local
short type structure type
short entindex Entity id of the selected structure


commander_flash_assembler_start

Note: Causes the assembler to flash

Name: commander_flash_assembler_start
Structure:
1 local


commander_flash_assembler_stop

Note: Causes the assembler to stop flashing

Name: commander_flash_assembler_stop
Structure:
1 local


commander_start_build_mode

Note: Local commander is in structure placement mode

Name: commander_start_build_mode
Structure:
1 local
short type structure type


commander_flash_supply_icon_start

Note: Start flashing the supply station build icon

Name: commander_flash_supply_icon_start
Structure:
1 local


commander_flash_supply_icon_stop

Note: Stop flashing the supply station build icon

Name: commander_flash_supply_icon_stop
Structure:
1 local


commander_start_structure_build

Note: Start a structure building

Name: commander_start_structure_build
Structure:
short team The team that is building the structure
short type The structure type


Note:

Name: promoted_to_commander
Structure:
short userid The user that got promoted to commander
short teamid The team of the promoted commander


timeleft_10m

Note: 10 minutes left of the round

Name: timeleft_10m
Structure:
1 local


timeleft_5m

Note: 5 minutes left of the round

Name: timeleft_5m
Structure:
1 local


timeleft_1m

Note: 1 minute left of the round

Name: timeleft_1m
Structure:
1 local


timeleft_30s

Note: 30 seconds left of the round

Name: timeleft_30s
Structure:
1 local


timeleft_10s

Note: 10 seconds left of the round

Name: timeleft_10s
Structure:
1 local


timeleft_5s

Note: 5 seconds left of the round

Name: timeleft_5s
Structure:
1 local


ach_hospital_duty_progress

Note: progress towards hospital duty achievement. fired client-side. commander only. same team.

Name: ach_hospital_duty_progress
Structure:
short progress


ach_high_maintenance_progress

Note: progress towards high maintenance achievement. fired client-side. commander only. same team.

Name: ach_high_maintenance_progress
Structure:
short progress