Anonymous

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

From London Hackspace Wiki
no edit summary
No edit summary
No edit summary
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>
1,077

edits