- Nov 4, 2019
- 13
- 0
TL;DR: I want to control the capture counter on the Payload HUD (the displayed number of people actively capturing the point) with an arbitrary number at any point in time. How would I accomplish this?
----
I am planning a map where the cart can move without having a player in the capture area, similar to wacky_races. The player stands in a trigger_multiple, which increments the speed of the cart by 10 every second up to 200. When there is nobody in the trigger, the speed drops by 10 every second down to 0.
I want to use the PLR HUD to show the progress of the carts. This works for showing the position and speed of the carts, but I want to go one step further and use the HUD to show a numerical representation of the cart's speed. wacky_races accomplishes this by using game_text entities whenever the cart reaches a certain speed, but I don't like this approach.
I would like the capture number to change whenever the cart reaches a certain speed. Would I be able to change this number without a trigger_capture_area? If I do need a trigger_capture_area, can I use entities other than players to increment the counter? That way, I can stick the actual cap zones out of the map and use fake entities to increment/decrement the counter as the cart's speed changes.
----
I am planning a map where the cart can move without having a player in the capture area, similar to wacky_races. The player stands in a trigger_multiple, which increments the speed of the cart by 10 every second up to 200. When there is nobody in the trigger, the speed drops by 10 every second down to 0.
I want to use the PLR HUD to show the progress of the carts. This works for showing the position and speed of the carts, but I want to go one step further and use the HUD to show a numerical representation of the cart's speed. wacky_races accomplishes this by using game_text entities whenever the cart reaches a certain speed, but I don't like this approach.
I would like the capture number to change whenever the cart reaches a certain speed. Would I be able to change this number without a trigger_capture_area? If I do need a trigger_capture_area, can I use entities other than players to increment the counter? That way, I can stick the actual cap zones out of the map and use fake entities to increment/decrement the counter as the cart's speed changes.