NightFright, on 27 March 2024 - 01:51 AM, said:
I'm trying to get a frags display working for Dukematch. So far I got this:
getp[].frag FRGS sub FRGS player[].fraggedself digitalnumber DIGITALNUM 160 183 FRGS 0 0 272 0 0 xdim ydim
Problem:
If player kills themselves when counter is 0, instead of a minus it shows an inventory icon (Steroids in this case).
I guess the problem is there is no minus sign for DIGITALNUM. If a custom one was made, is there a way to display it properly? Maybe digitalnumber also isn't the right approach. Possibly with screentext instead?
Notice that in the regular font (define STARTALPHANUM 2822), the minus sign is 3 tiles before the 0, and in the DIGITALNUM tiles you are using, the steroids icon is 3 tiles before the 0. So the game believes the minus sign is supposed to be 3 tiles before the 0. If you just copy the DIGITALNUM tiles to new tile numbers and add your custom minus sign 3 tiles before the 0 and use the tile of your 0 in the digitalnumber command, it should work.

Help
Duke4.net
DNF #1
Duke 3D #1


