User:Solexious/Open Laser Tag/Protocol
From London Hackspace Wiki
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;