View Single Post
Re: rcbot 2 source base
Old
  (#20)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: rcbot 2 source base - 17-01-2005

ok I'm getting all this info from debugging, the gamevents.h had comments on how to print keys/values.

I also wrote down the evnt id's, I don't know if they are static or not, but will come in useful when comparing the events instead of comparing a whole string you can compare the event id (integer)

I got these:

"weapon_fire"
-------------
userid : int
time : int?
eventid : int (43)

"bullet_impact"
--------------

userid : int
x : float
y : float
z : float
time : int
eventid : int (51)

"player_connect"
----------------

userid : int
index : int
name : string
networkid : string (steam id)
address : string ?
time : int
event id : int (4)

"player_activate"
----------------
userid : int
time: int
eventid : int (7)

"player_team"
-------------
userid : int
team : int
oldteam : int
disconnect : int?
time : int
eventid : int (11)

"bomb_dropped"
---------------
userid : int
time : int
eventid : int (30)

"bomb_pickup"
--------------
userid : int
time : int
eventid : int (31)

"player_footstep"
----------------
userid : int
time : int
eventid : int (52)

"player_death"
-------------
userid : int
attacker : int
weapon : string (e.g. "world")
headshot : int (bool ?)
priority : int
time : int
eventid : int (13)

"round_end"
------------
winner : int (team Index)
reason : int
message : string (e.g. #Game_Commencing, #Round_Draw)
time : int
eventid : int (25)


"round_start"
------------
timelimit : int (time in seconds)
fraglimit : int
objective : string ? (e.g. "BOMB TARGET" for de_ maps, "HOSTAGE_RESCUE" for cs_ maps)
time : int
eventid : int (24)


"player_radio"
-------------
userid : int
slot : int
time : int
eventid : int (41)



=====================

any more that I find i'll put them up

Last edited by Cheeseh; 17-01-2005 at 17:37..
  
Reply With Quote