Black Mesa Events

From AlliedModders Wiki
Revision as of 12:45, 3 June 2015 by RedSword (talk | contribs) (Adding BMS events)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Refer back to Game Events (Source) for more events.

The events are taken from steamapps\common\Black Mesa\bms\bms_misc_dir.vpk\resource\gameevents.res . Note that the file also contains the generic source events (BMS doesn't seem to have a separate modevents.res), which most were removed from this page as they do not differ, and for presentation purpose. Only player_death (which is presented here) seems to differ from the generic source event list.

freezecam_started

Note:

Name: freezecam_started
Structure:


spec_target_updated

Note:

Name: spec_target_updated
Structure:


show_freezepanel

Note:

Name: show_freezepanel
Structure:
long killer


hide_freezepanel

Note:

Name: hide_freezepanel
Structure:


player_dominated

Note:

Name: player_dominated
Structure:
short attacker
short dominated


player_revenge

Note:

Name: player_revenge
Structure:
short attacker
short victim


player_death

Note: a game event, name may be 32 charaters long

Name: player_death
Structure:
short userid user ID who died
short attacker user ID who killed
string weapon name of the weapon used
short customkill
short priority
float victim_x
float victim_y
float victim_z


broadcast_killstreak

Note:

Name: broadcast_killstreak
Structure:
short playerid ID of the player that triggered this event
byte soundid type must be changed if sounds amount exceed 2^8


broadcast_teamsound

Note:

Name: broadcast_teamsound
Structure:
short teamid ID of the team that will hear this sound
byte soundid type must be changed if sounds amount exceed 2^8


player_soda_machine

Note:

Name: player_soda_machine
Structure:


item_pickup

Note:

Name: item_pickup
Structure:
short userid user ID who died
short itemid item ID
short ammoid ammo ID if applicable
short weaponid weapon ID if applicable
short count used for things like ammo on how much was given from this particular item


weapon_pickup

Note:

Name: weapon_pickup
Structure:
short userid user ID who died
short weaponid weapon ID


tram_accelerate

Note:

Name: tram_accelerate
Structure:
long entindex
short level


fire_mortar

Note:

Name: fire_mortar
Structure:
float x
float y
float z


tram_client_state_change

Note:

Name: tram_client_state_change
Structure:
long entindex
short speed
short level
float accel


tram_control_state

Note:

Name: tram_control_state
Structure:
long entindex


weapon_tau_overcharged

Note:

Name: weapon_tau_overcharged
Structure:
long owner


weapon_gluon_fired

Note:

Name: weapon_gluon_fired
Structure:
long owner
long ammo_used


npc_barnacle_grab_victim

Note:

Name: npc_barnacle_grab_victim
Structure:
long entindex
long victim


damage_indicator

Note:

Name: damage_indicator
Structure:
long entindex Player
long type Damage type