Difference between revisions of "Hat League/Message Format"
Jump to navigation
Jump to search
m |
(message types) |
||
Line 1: | Line 1: | ||
− | + | To ensure that teammates are able to communicate with one another, a set of standard messages has been created, and a library written to assist with transferring the data to and from teammates. | |
+ | |||
+ | The messages types are as follows: | ||
+ | |||
+ | <pre> | ||
+ | PD,time,x,y,h,v,e // personal data | ||
+ | ES,time,x,y,h,v,e,name // enemy scan | ||
+ | BO,time,x,y,h,v // bullet (origin) | ||
+ | EW,time,x,y,v // enemy wave origin | ||
+ | MR,name // my radar target | ||
+ | MB,name // my bullet target | ||
+ | TR,name // suggested radar target | ||
+ | TB,name // suggested bullet target | ||
+ | NA,message // custom message | ||
+ | </pre> |
Revision as of 20:03, 14 January 2008
To ensure that teammates are able to communicate with one another, a set of standard messages has been created, and a library written to assist with transferring the data to and from teammates.
The messages types are as follows:
PD,time,x,y,h,v,e // personal data ES,time,x,y,h,v,e,name // enemy scan BO,time,x,y,h,v // bullet (origin) EW,time,x,y,v // enemy wave origin MR,name // my radar target MB,name // my bullet target TR,name // suggested radar target TB,name // suggested bullet target NA,message // custom message