Kill Counter is limited?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
DevilHunter
Posts: 29
Joined: Tue Apr 03, 2007 1:37 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Fairbanks, Alaska
Contact:

Kill Counter is limited?

Post by DevilHunter »

Hey there, I recenetly updated ZenHud awhile back, and I noticed something. When using said hud, the Kills will only go up to 999, and stay there, yet the Monster Count goes above that. Is there any reason why? This is how I have it set up in the Hud...

Code: Select all

// Kills - Singleplayer, Cooperative, Survival
		gamemode singleplayer, cooperative
	{
		drawstring SMALLFONT, red, "K:", 40, -36;
		drawnumber 3, SMALLFONT, Grey, kills, 65, -36;
		drawstring SMALLFONT, White, "/", 72, -36;
		drawnumber 4, SMALLFONT, Grey, monsters, 104, -36;
	}[code]

I'm sure I set it right.. Just now started out with Sbarinfo. Here is the wad in question [url=http://devilhunter.rfc1337.net/random/stuff/XenHudFace-FV2-7WIPGZ.zip]XenHudFace-FV2-7WIPGZ.zip[/url] I'm still working on it hence the name, and seeing as having Score in sbarinfo, it won't load up in Gzdoom. 

So yea.. I'm stumped, and have no clue why this happens. If anyone knows whats up, plz tell me :/
Blue Shadow
Posts: 4949
Joined: Sun Nov 14, 2010 12:59 am

Re: Kill Counter is limited?

Post by Blue Shadow »

You have the kills counter set so it goes up to 999. See this line:

Code: Select all

drawnumber 3, SMALLFONT, Grey, kills, 65, -36;
The "3" next to [wiki=DrawNumber]drawnumber[/wiki] is the 'digit size'. Changing it to 4, for instance, will make the counter goes up to 9999.
User avatar
DevilHunter
Posts: 29
Joined: Tue Apr 03, 2007 1:37 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Fairbanks, Alaska
Contact:

Re: Kill Counter is limited?

Post by DevilHunter »

I see.. Ok then I'll try that tomorrow. Just got back from being out all day after I made that post. Thanks a bunch.
Locked

Return to “Editing (Archive)”