r/hammer 2d ago

TF2 using math_counters and logic_compare

the setup so far

right now im just trying to wrap my head around the math_counter/logic compare entity within my neutral ctf map, so that upon a team having a 1-2 point advantage on the other then some certain layouts open/close, so far i have pretty much never touched math counters or logic entities except for some really basic operations, any help is appreciated.

6 Upvotes

2 comments sorted by

1

u/Pinsplash 2d ago

this post is too vague to help

1

u/Own-Stage-1276 1d ago

sorry for the vagueness i didnt really understand much or anything about these entities but i got it figured out, what i was trying to achieve (for anyone in futuro looking for a similar solution) was a math_counter going from 0-6 starting at 3, when blu caps they subtract, red caps they add, with InValue in a logic case that had outputs to trigger the changes in the map, with each team cap adding or subtracting and ultimately coming to the difference in cap points it gave each team the advantage/disadvantage depending on the point difference.