Difference between revisions of "Codename Cure Events"

From AlliedModders Wiki
Jump to: navigation, search
 
(10 intermediate revisions by the same user not shown)
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
 
  
 +
''As of 25.7.17 (V 2.3.1):''
  
 
=== player_death ===
 
=== player_death ===
Line 27: Line 27:
  
 
=== game_win ===
 
=== game_win ===
{{qnotice|}}
+
{{qnotice|Triggered on winning the gamemode Bomb Escape or dying on Survival}}
 
{{begin-hl2msg|game_win|string}}
 
{{begin-hl2msg|game_win|string}}
 
{{hl2msg|string|strMapName|the map name the game was won on}}
 
{{hl2msg|string|strMapName|the map name the game was won on}}
Line 47: Line 47:
 
{{end-hl2msg}}
 
{{end-hl2msg}}
  
 +
 +
{{qnotice|The following events are part of Cures custom achievement system}}
 
=== special_condition ===
 
=== special_condition ===
{{qnotice|}}
+
{{qnotice|A special achievement condition, such as not using the primary weapon, equipment or no friendly fire}}
 
{{begin-hl2msg|special_condition|string}}
 
{{begin-hl2msg|special_condition|string}}
 
{{hl2msg|short|condType|id of the special condition}}
 
{{hl2msg|short|condType|id of the special condition}}

Latest revision as of 10:10, 25 July 2017

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

As of 25.7.17 (V 2.3.1):

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