Difference between revisions of "User:Solexious/Open Laser Tag/Protocol"

From London Hackspace Wiki
Jump to navigation Jump to search
Line 1: Line 1:
TeamID  ppppp = PlayerID
+
'''TeamID  ppppp = PlayerID'''
 
* 001ppppp  Team1 (Red)     
 
* 001ppppp  Team1 (Red)     
 
* 010ppppp  Team2 (Blue)
 
* 010ppppp  Team2 (Blue)
Line 10: Line 10:
  
  
PlayerID  ttt = TeamID / NPC
+
'''PlayerID  ttt = TeamID / NPC'''
 
* ttt00000  Player0       
 
* ttt00000  Player0       
 
* ttt00001  Player1
 
* ttt00001  Player1
Line 18: Line 18:
 
Etc…
 
Etc…
 
* ttt11111  Player31
 
* ttt11111  Player31
 +
 +
'''WeaponID ddddd = Damage'''
 +
* 001ddddd  Main (x1)
 +
* 010ddddd  Side-arm (x1)
 +
* 011ddddd  Thrown weapon (Grenade) (x2)
 +
* 100ddddd  Static Bomb (x4)
 +
* 101ddddd  *free*
 +
* 110ddddd  *free*
 +
* 111ddddd  *free*
 +
* 00000000  none (used to communicate)
 +
 +
 +
'''Example Bullet'''
 +
 +
<font color="red">001</font><font color="blue">00001</font> <font color="green">001</font><font color="purple">00100</font> <font color="orange">0</font>
 +
 +
<font color="red">Team Red; </font><font color="blue">Player 1; </font> <font color="green">Main Weapon; </font><font color="purple">4 damage; </font> <font color="orange">parity;</font>

Revision as of 00:45, 23 May 2011

TeamID ppppp = PlayerID

  • 001ppppp Team1 (Red)
  • 010ppppp Team2 (Blue)
  • 011ppppp Team3 (Green)
  • 100ppppp Team4 (Purple)
  • 101ppppp Team5 (White)
  • 110ppppp NPC
  • 111ppppp NPC
  • 000mmmmm System Message


PlayerID ttt = TeamID / NPC

  • ttt00000 Player0
  • ttt00001 Player1
  • ttt00010 Player2
  • ttt00011 Player3
  • ttt00100 Player4

Etc…

  • ttt11111 Player31

WeaponID ddddd = Damage

  • 001ddddd Main (x1)
  • 010ddddd Side-arm (x1)
  • 011ddddd Thrown weapon (Grenade) (x2)
  • 100ddddd Static Bomb (x4)
  • 101ddddd *free*
  • 110ddddd *free*
  • 111ddddd *free*
  • 00000000 none (used to communicate)


Example Bullet

00100001 00100100 0

Team Red; Player 1; Main Weapon; 4 damage; parity;