showing a math_counter?

Discussion in 'Mapping Questions & Discussion' started by Firest0rm, Oct 2, 2009.

  1. Firest0rm

    Firest0rm L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    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
     
  2. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    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.
     
  3. Firest0rm

    Firest0rm L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    33
    i'll play with the domination prefab thing, it'll probably help

    thanks