mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-11-24 21:01:59 +00:00
51 lines
1.6 KiB
Text
51 lines
1.6 KiB
Text
//=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. ===========
|
|
//
|
|
// The copyright to the contents herein is the property of Valve, L.L.C.
|
|
// The contents may be used and/or copied only with the written permission of
|
|
// Valve, L.L.C., or in accordance with the terms and conditions stipulated in
|
|
// the agreement/contract under which the contents have been supplied.
|
|
//=============================================================================
|
|
|
|
// No spaces in event names, max length 32
|
|
// All strings are case sensitive
|
|
//
|
|
// valid data key types are:
|
|
// string : a zero terminated string
|
|
// bool : unsigned int, 1 bit
|
|
// byte : unsigned int, 8 bit
|
|
// short : signed int, 16 bit
|
|
// long : signed int, 32 bit
|
|
// float : float, 32 bit
|
|
// local : any data, but not networked to clients
|
|
//
|
|
// following key names are reserved:
|
|
// local : if set to 1, event is not networked to clients
|
|
// unreliable : networked, but unreliable
|
|
// suppress : never fire this event
|
|
// time : firing server time
|
|
// eventid : holds the event ID
|
|
|
|
"modevents"
|
|
{
|
|
"player_death" // a game event, name may be 32 charaters long
|
|
{
|
|
"userid" "short" // user ID who died
|
|
"attacker" "short" // user ID who killed
|
|
"weapon" "string" // weapon name killed used
|
|
}
|
|
|
|
"teamplay_round_start" // round restart
|
|
{
|
|
"full_reset" "bool" // is this a full reset of the map
|
|
}
|
|
|
|
"spec_target_updated"
|
|
{
|
|
}
|
|
|
|
"achievement_earned"
|
|
{
|
|
"player" "byte" // entindex of the player
|
|
"achievement" "short" // achievement ID
|
|
}
|
|
}
|