Announce Game

From Lazer Swarm Wiki
Jump to: navigation, search
Infrared Protocol Packet
Name Multiple
PType Multiple
PData Count 8–12
Sent By Host

The Announce Game packet is sent by the host at 1.5 second intervals (from start to start) until it receives a Request Join Game packet from a joining tagger.

Packet Types

PType Name Description Notes
0x02 HOSTING-CUSTOM Announce Custom Lazer Tag Game
0x03 HOSTING-2-TEAMS Announce Custom Lazer Tag (2 Teams) Game
0x04 HOSTING-3-TEAMS Announce Custom Lazer Tag (3 Teams) Game
0x05 HOSTING-HIDE-AND-SEEK Announce Hide and Seek Game Bit 1 of Flags 1 must be set.
0x06 HOSTING-HUNTER-HUNTED Announce Hunt the Prey Game Bit 1 of Flags 1 must be set.
0x07 HOSTING-2-KINGS Announce Kings (2 Teams) Game
0x08 HOSTING-3-KINGS Announce Kings (3 Teams) Game
0x09 HOSTING-OWN-THE-ZONE Announce Own the Zone Game Bits 5 and 7 of Flags 2 must be set.
0x0A HOSTING-2-TEAM-OWN-THE-ZONE Announce Own the Zone (2 Teams) Game Bits 5 and 7 of Flags 2 must be set.
0x0B HOSTING-3-TEAM-OWN-THE-ZONE Announce Own the Zone (3 Teams) Game Bits 5 and 7 of Flags 2 must be set.
0x0C HOSTING-HOOK-GAME Announce Special Game

Packet Data

  • PData0—Game ID
  • PData1—Game length (BCD, 1–99 minutes)
  • PData2—Health (BCD, 1–99 tags)
  • PData3—Reloads (BCD, 0–99 reloads, 0xFF for unlimited)
  • PData4—Shields (BCD, 0–99 seconds)
  • PData5—Mega-Tags (BCD, 0–99 tags, 0xFF for unlimited)
  • PData6—Flags 1
    • Bit 7—Neutralize mode
      • 0—Neutralize players when tagged once
      • 1—Neutralize players when tagged 10 times
        • Bit 5 of Flags 2 must be set.
    • Bit 6—Limited reloads
    • Bit 5—Limited mega-tags
    • Bit 4—Team tags
    • Bit 3—Medic mode
    • Bit 2—Slow tags
    • Bit 1—Hunt the prey
    • Bit 0—Hunt direction
      • 0—Team 1 hunts first
      • 1—Team 2 hunts first
  • PData7—Flags 2
    • Bit 7—Contested zones
    • Bit 6—Zones can be associated with teams
      • "Number of teams" must be greater than 1.
      • If this is set to 0, zones associated with teams will not affect players.
    • Bit 5—Neutralize players for 15 seconds when tagged
    • Bit 4—Supply zones unneutralize players
      • If this is set, players will not be unneutralized automatically after 15 seconds, only by being in a zone.
    • Bit 3—Supply zones refill tags
    • Bit 2—Hostile zones (bits 3 and 4 must not be set)
    • Bits 0–1—Number of teams (1–3 teams)
      • Solo games are considered 1 team. 0 is not valid.
  • PData8–11—Game name (only for PType 0x0C, 4 characters)