math_counter

  1. Asimuth

    Tracking Control Point Ownership

    Hello! I have a map in which there are 7 control points (all neutral by default), and it's supposed to work in a way that when a team captures all 7, the other team's base barrier is lowered. Tracking which teams owns the control points is a bit tricky. My first naive implementation was having...
  2. Cyberen

    A Math Question

    Say I want to create a vehicle with speeds and gears. Speeds is represented by S. It has six values: 0, 25, 40, 55, 70, 85 Gears is represented by G. It has four values: 1, 1.41, 1.83, 2.25 If I want to output a value based on S multiplied by G, with both variables changing based on hitting...
  3. Sappykun

    Displaying randomly generated number somewhere in map (TF2)

    I have a logic_case -> math_remap -> math_counter setup that effectively generates a random number between 0 and about 530,000 when the map starts. The number is then deposited in a logic_compare where it is used to determine a pattern for a code-breaking game I have created. However, without...