home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 January / Gamestar_80_2006-01_dvd.iso / DVDStar / Akce / Half-Life2 / hl2as_beta7_full.exe / resource / modevents.res < prev    next >
Encoding:
Text File  |  2005-07-06  |  1.3 KB  |  37 lines

  1. //=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. ===========
  2. //
  3. // The copyright to the contents herein is the property of Valve, L.L.C.
  4. // The contents may be used and/or copied only with the written permission of
  5. // Valve, L.L.C., or in accordance with the terms and conditions stipulated in
  6. // the agreement/contract under which the contents have been supplied.
  7. //=============================================================================
  8.  
  9. // No spaces in event names, max length 32
  10. // All strings are case sensitive
  11. //
  12. // valid data key types are:
  13. //   string : a zero terminated string
  14. //   bool   : unsigned int, 1 bit
  15. //   byte   : unsigned int, 8 bit
  16. //   short  : signed int, 16 bit
  17. //   long   : signed int, 32 bit
  18. //   float  : float, 32 bit
  19. //   local  : any data, but not networked to clients
  20. //
  21. // following key names are reserved:
  22. //   local      : if set to 1, event is not networked to clients
  23. //   unreliable : networked, but unreliable
  24. //   suppress   : never fire this event
  25. //   time    : firing server time
  26. //   eventid    : holds the event ID
  27.  
  28. "modevents"
  29. {
  30.     "player_death"                // a game event, name may be 32 charaters long
  31.     {
  32.         "userid"    "short"       // user ID who died                
  33.         "attacker"    "short"         // user ID who killed
  34.         "weapon"    "string"     // weapon name killed used 
  35.     }
  36. }
  37.