Template:PatchDiff/October 4, 2011 Patch/update/pak01 dir.vpk/resource/modevents.res

From the Portal Wiki
Jump to navigation Jump to search
N/A1//=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. ===========
N/A2//
N/A3// The copyright to the contents herein is the property of Valve, L.L.C.
N/A4// The contents may be used and/or copied only with the written permission of
N/A5// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
N/A6// the agreement/contract under which the contents have been supplied.
N/A7//=============================================================================
N/A8 
N/A9// No spaces in event names, max length 32
N/A10// All strings are case sensitive
N/A11//
N/A12// valid data key types are:
N/A13// string : a zero terminated string
N/A14// bool  : unsigned int, 1 bit
N/A15// byte  : unsigned int, 8 bit
N/A16// short  : signed int, 16 bit
N/A17// long  : signed int, 32 bit
N/A18// float  : float, 32 bit
N/A19// local  : any data, but not networked to clients
N/A20//
N/A21// following key names are reserved:
N/A22// local  : if set to 1, event is not networked to clients
N/A23// unreliable : networked, but unreliable
N/A24// suppress  : never fire this event
N/A25// time  : firing server time
N/A26// eventid  : holds the event ID
N/A27 
N/A28"ModEvents"
N/A29{
N/A30 "portal_player_touchedground" // player landed
N/A31 {
N/A32 "userid" "short" // user ID on server
N/A33 }
N/A34 
N/A35 "portal_player_ping" // player pinged
N/A36 {
N/A37 "userid" "short" // user ID on server
N/A38 "ping_x" "float"
N/A39 "ping_y" "float"
N/A40 "ping_z" "float"
N/A41 }
N/A42 
N/A43 "portal_player_portaled" // player traveled through a portal
N/A44 {
N/A45 "userid" "short" // user ID on server
N/A46 "portal2" "bool" // false for portal1 (blue)
N/A47 }
N/A48 "turret_hit_turret"
N/A49 {
N/A50 }
N/A51 "security_camera_detached"
N/A52 {
N/A53 }
N/A54 "challenge_map_complete"
N/A55 {
N/A56 "numbronze" "short"
N/A57 "numsilver" "short"
N/A58 "numgold" "short"
N/A59 }
N/A60 "advanced_map_complete"
N/A61 {
N/A62 "numadvanced" "short"
N/A63 }
N/A64 "quicksave"
N/A65 {
N/A66 }
N/A67 "autosave"
N/A68 {
N/A69 }
N/A70 "slowtime"
N/A71 {
N/A72 }
N/A73 
N/A74 "portal_enabled"
N/A75 {
N/A76 "userid" "short" // user ID on server
N/A77 "leftportal" "bool"
N/A78 }
N/A79 
N/A80 "portal_fired"
N/A81 {
N/A82 "userid" "short" // user ID on server
N/A83 "leftportal" "bool"
N/A84 }
N/A85 
N/A86 "gesture_earned"
N/A87 {
N/A88 "userid" "short" // user ID on server
N/A89 "teamtaunt" "bool"
N/A90 }
N/A91 
N/A92 "player_gesture"
N/A93 {
N/A94 "userid" "short" // user ID on server
N/A95 "air" "bool"
N/A96 }
N/A97 
N/A98 "player_zoomed"
N/A99 {
N/A100 "userid" "short"
N/A101 }
N/A102 
N/A103 "player_unzoomed"
N/A104 {
N/A105 "userid" "short"
N/A106 }
N/A107 
N/A108 "player_countdown"
N/A109 {
N/A110 "userid" "short" // user ID on server
N/A111 }
N/A112 
N/A113 "player_touched_ground"
N/A114 {
N/A115 "userid" "short"
N/A116 }
N/A117 
N/A118 "player_long_fling"
N/A119 {
N/A120 "userid" "short"
N/A121 }
N/A122 
N/A123 "remote_view_activated"
N/A124 {
N/A125 }
N/A126 
N/A127 "touched_paint"
N/A128 {
N/A129 "userid" "short"
N/A130 "painttype" "short"
N/A131 "surfacedir" "short"
N/A132 }
N/A133 "player_paint_jumped"
N/A134 {
N/A135 "userid" "short"
N/A136 }
N/A137 "move_hint_visible"
N/A138 {
N/A139 "userid" "short" //The player who sees the entity
N/A140 "subject" "long" //Entindex of the entity they see
N/A141 }
N/A142 "movedone_hint_visible"
N/A143 {
N/A144 "userid" "short" //The player who sees the entity
N/A145 "subject" "long" //Entindex of the entity they see
N/A146 }
N/A147 "counter_hint_visible"
N/A148 {
N/A149 "userid" "short" //The player who sees the entity
N/A150 "subject" "long" //Entindex of the entity they see
N/A151 }
N/A152 "zoom_hint_visible"
N/A153 {
N/A154 "userid" "short" //The player who sees the entity
N/A155 "subject" "long" //Entindex of the entity they see
N/A156 }
N/A157 "jump_hint_visible"
N/A158 {
N/A159 "userid" "short" //The player who sees the entity
N/A160 "subject" "long" //Entindex of the entity they see
N/A161 }
N/A162 "partnerview_hint_visible"
N/A163 {
N/A164 "userid" "short" //The player who sees the entity
N/A165 "subject" "long" //Entindex of the entity they see
N/A166 }
N/A167 "paint_cleanser_visible"
N/A168 {
N/A169 "userid" "short" //The player who sees the entity
N/A170 "subject" "long" //Entindex of the entity they see
N/A171 }
N/A172 "paint_cleanser_not_visible"
N/A173 {
N/A174 "userid" "short"
N/A175 }
N/A176 "player_touch_paint_cleanser"
N/A177 {
N/A178 "userid" "short"
N/A179 "subject" "long" //Entindex of the cleanser
N/A180 }
N/A181 "bounce_count"
N/A182 {
N/A183 "userid" "short"
N/A184 "bouncecount" "short"
N/A185 }
N/A186 "player_landed"
N/A187 {
N/A188 "userid" "short"
N/A189 }
N/A190 "player_suppressed_bounce"
N/A191 {
N/A192 "userid" "short"
N/A193 }
N/A194 "OpenRadialMenu"
N/A195 {
N/A196 "target" "string"
N/A197 }
N/A198 "AddLocator"
N/A199 {
N/A200 "userid" "short"
N/A201 "subject" "short"
N/A202 "caption" "string"
N/A203 }
N/A204 "player_spawn_blue"
N/A205 {
N/A206 }
N/A207 "player_spawn_orange"
N/A208 {
N/A209 }
N/A210 "map_already_completed"
N/A211 {
N/A212 }
N/A213 
N/A214 "achievement_earned"
N/A215 {
N/A216 "player" "byte" // entindex of the player
N/A217 "achievement" "short" // achievement ID
N/A218 }
N/A219 
N/A220 "replay_status"
N/A221 {
N/A222 }
N/A223 
N/A224 "spec_target_updated"
N/A225 {
N/A226 }
N/A227 
N/A228 "player_fullyjoined"
N/A229 {
N/A230 "userid" "byte" // entindex of the player
N/A231 "name" "string"
N/A232 }
N/A233 
N/A234 "achievement_write_failed"
N/A235 {
N/A236 }
N/A237 
N/A238 "player_stats_updated"
N/A239 {
N/A240 "forceupload" "bool"
N/A241 }
N/A242 
N/A243 "round_start_pre_entity"
N/A244 {
N/A245 }
N/A246 
N/A247 "teamplay_round_start" // round restart
N/A248 {
N/A249 "full_reset" "bool" // is this a full reset of the map
N/A250 }
N/A251 
N/A252 "client_disconnect"
N/A253 {
N/A254 }
N/A255 
N/A256 "server_pre_shutdown" // server is about to be shut down
N/A257 {
N/A258 "reason" "string" // reason why server is about to be shut down
N/A259 }
N/A260 
N/A261 "difficulty_changed"
N/A262 {
N/A263 "newDifficulty" "short"
N/A264 "oldDifficulty" "short"
N/A265 "strDifficulty" "string" // new difficulty as string
N/A266 }
N/A267 
N/A268 "finale_start"
N/A269 {
N/A270 "rushes" "short"
N/A271 }
N/A272 
N/A273 "finale_win"
N/A274 {
N/A275 "map_name" "string"
N/A276 "difficulty" "short"
N/A277 }
N/A278 
N/A279 "vote_passed"
N/A280 {
N/A281 "details" "string"
N/A282 "param1" "string"
N/A283 "team" "byte"
N/A284 "reliable" "1" // this event is reliable
N/A285 }
N/A286 
N/A287 "portal_stats_ui_enable"
N/A288 {
N/A289 "lifetime" "float"
N/A290 "endoflevel" "bool"
N/A291 }
N/A292 
N/A293 "portal_stats_update"
N/A294 {
N/A295 }
N/A296 
N/A297//////////////////////////////////////////////////////////////////////
N/A298// Economy events
N/A299//////////////////////////////////////////////////////////////////////
N/A300 "inventory_updated"
N/A301 {
N/A302 }
N/A303 "cart_updated"
N/A304 {
N/A305 }
N/A306 "store_pricesheet_updated"
N/A307 {
N/A308 }
N/A309 "gc_connected"
N/A310 {
N/A311 }
N/A312 "item_schema_initialized"
N/A313 {
N/A314 }
N/A315 "client_loadout_changed"
N/A316 {
N/A317 }
N/A318 "gameui_activated"
N/A319 {
N/A320 }
N/A321 "gameui_hidden"
N/A322 {
N/A323 }
N/A324}
N/A325