showing a math_counter?

Firest0rm

L4: Comfortable Member
Sep 27, 2009
171
33
For a map that I'm making, the objective is to get a math_counter to around 18000. However, i need some way to display it. I was wondering if there was any way to show the number in a math_counter. I don't believe there is a way to make a custom HUD that shows it, and I have tried making a large thing on the wall that showed the number (i failed miserably). So, any help would be appreciated
 

Pseudo

L6: Sharp Member
Jan 26, 2008
319
150
You can output text on the screen via the game_text entity, but I don't think you can send it a value directly. You would need to use several maths and logic entities to display each digit separately.

It also is possible to display it physically as a large thing on the wall, I used this method in my map. I had a func_brush for each digit, the number is a texture and the brush is enabled and disabled as needed. Another method would be to use a 10-sided momentary_rot_button that rotates to the desired number. With either of these you still would have to manipulate each digit individually.

It gets fairly complicated, more so for larger numbers. You might be interested in this prefab for the "Domination" gametype, it displays a score onscreen as a percentage.
 

Firest0rm

L4: Comfortable Member
Sep 27, 2009
171
33
i'll play with the domination prefab thing, it'll probably help

thanks