Tiled or "tick mark" progress bar

Hi, I’m trying to make a progress bar that’s like the Fallout 3 or New Vegas health and AP bars, where it has “tick marks” instead of being a solid bar, and it fills or depletes based on those tick marks. They have a certain number of tick marks, and they can fill from left to right, right to left, or from the center outward. I’m struggling to find a good solution to implement this, and would appreciate any help. Thanks

can you show me a video how it looks like?

I don’t have a way to take a video, but you can see here how it looks. The HP bar at the bottom left fills from left to right, the enemy’s HP bar in the bottom middle fills from the center, and the AP bar on the bottom right fills from right to left

This easy thing to do
Do you mean Custom Shaped Progress Bar
you could use an image

follow this link and you will get what you want

That’s not quite what I meant, no. The bar itself (if you search youtube you can find gameplay videos and see how it works) depletes in these “ticks” it’s never smooth, that’s what I’m looking to do