Difference between revisions of "Codename Cure Events"

From AlliedModders Wiki
Jump to: navigation, search
Line 1: Line 1:
 
:''Refer back to [[Game Events (Source)]] for more events.''
 
:''Refer back to [[Game Events (Source)]] for more events.''
The events are taken from SteamApps\common\Codename CURE\cure\resource\modevents.res
+
The events are taken from SteamApps\common\Codename CURE\cure\resource\modevents.res (Build 1154641(31.4.16))
  
  

Revision as of 07:04, 14 February 2017

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

The events are taken from SteamApps\common\Codename CURE\cure\resource\modevents.res (Build 1154641(31.4.16))


player_death

Note: Player died

Name: player_death
Structure:
short userid user ID who died
short attacker user ID who killed
string weapon weapon name killed used
long inflictor needed for sacrifice


zombie_killed

Note: Zombie killed

Name: zombie_killed
Structure:
long entindex_killed
long entindex_attacker
long entindex_inflictor
long damagebits
string victimClassname
string attackerClassname
string inflictorClassname
string ammoName
short zombieType


game_win

Note: Triggered on winning the gamemode Bomb Escape or dying on Survival

Name: game_win
Structure:
string strMapName the map name the game was won on
short difficulty the difficulty
long wave for survival the wave number
short livingplayers for survival last man


game_reset

Note: Current match reseted

Name: game_reset
Structure:
short difficulty the difficulty


game_diff_change

Note: Diffuculty changed

Name: game_diff_change
Structure:
short difficulty the difficulty



Note: The following events are part of Cures custom achievement system

special_condition

Note: A special achievement condition, such as not using the primary weapon, equipment or no friendly fire

Name: special_condition
Structure:
short condType id of the special condition
short playerID user ID who killed


achievement_earned

Note: A event that prints to the chat when a player has earned an achievement

Name: achievement_earned
Structure:
long player the map name the game was won on
long achievement the difficulty


achievement_earned_local

Note: Fired from the local client to the server, so the server can fire it back to the rest of the players

Name: achievement_earned_local
Structure:
long player the map name the game was won on
long achievement the difficulty