The "How do I..." Thread
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.
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.
- YukiHerz
- Global Moderator
- Posts: 1503
- Joined: Mon Dec 02, 2013 6:01 pm
- Graphics Processor: Intel (Modern GZDoom)
- Location: Where corruption is redefined daily.
Re: The "How do I..." Thread
Is it possible to show the amount of one item in the hud?
As in, i have the Quartz Flask icon somewhere and want to have a number at the side showing the remaining quartz flasks.
I've checked DrawNumber but i don't see exactly what i'm looking for.
As in, i have the Quartz Flask icon somewhere and want to have a number at the side showing the remaining quartz flasks.
I've checked DrawNumber but i don't see exactly what i'm looking for.
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: The "How do I..." Thread
DrawNumber accepts inventory items as the <value> parameter, so you pass the class name of the quartz flask ([wiki=Classes:ArtiHealth]ArtiHealth[/wiki]) to it.
Re: The "How do I..." Thread
So A_railattack and A_customrailgun can use models as their particles, but is there a way to give these models the same pitch as the player fires the beam in? If they could just be made to "disperse" forward, the PITCHFROMMOMENTUM flag might sort it out if nothing else.
Edit: It would be even more amazing if it was possible to align each model/particle with the next one in line if MaxDiff is non-zero.
Edit: It would be even more amazing if it was possible to align each model/particle with the next one in line if MaxDiff is non-zero.
- Disc Primitive
- Posts: 156
- Joined: Thu Apr 30, 2015 10:52 am
- Location: Home
Re: The "How do I..." Thread
Is there a tutorial, text or video, on how to make new monsters with custom graphics?
- kevansevans
- Spotlight Team
- Posts: 435
- Joined: Tue Oct 05, 2010 12:04 am
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: The "How do I..." Thread
Is it possible to make a Pwad/Pk3 request to use multiple IWADS as resources? I want to be able to take advantage of both Doom and Doom 2 textures without having to rip one apart to use it's resources.
- Imp Hunter
- Posts: 684
- Joined: Sat Jul 05, 2008 6:20 am
- Location: Brazil
Re: The "How do I..." Thread
How do I make an Item that increases the player.maxhealth?
- TheBadHustlex
- Posts: 1914
- Joined: Thu Oct 03, 2013 12:50 am
- Location: 'stria
Re: The "How do I..." Thread
Maybe this can help.Disc Primitive wrote:Is there a tutorial, text or video, on how to make new monsters with custom graphics?
Like this.Imp Hunter wrote:How do I make an Item that increases the player.maxhealth?
- Imp Hunter
- Posts: 684
- Joined: Sat Jul 05, 2008 6:20 am
- Location: Brazil
Re: The "How do I..." Thread
I see, but now there's a new problem. The UpgradeStamina actor also increases my health too much.TheBadHustlex wrote:Like this.Imp Hunter wrote:How do I make an Item that increases the player.maxhealth?

- TheBadHustlex
- Posts: 1914
- Joined: Thu Oct 03, 2013 12:50 am
- Location: 'stria
Re: The "How do I..." Thread
Inventory.Amount determines how much you want to increase the health. Stamina-Items always completely heal the player.
For your purposes, SetActorProperty and CustomInventory might be for you.
For your purposes, SetActorProperty and CustomInventory might be for you.
- Imp Hunter
- Posts: 684
- Joined: Sat Jul 05, 2008 6:20 am
- Location: Brazil
Re: The "How do I..." Thread
Damn. I didn't wanted to have to use ACS. But ok, thanks 

- Disc Primitive
- Posts: 156
- Joined: Thu Apr 30, 2015 10:52 am
- Location: Home
Re: The "How do I..." Thread
ThanksTheBadHustlex wrote:Maybe this can help.Disc Primitive wrote:Is there a tutorial, text or video, on how to make new monsters with custom graphics?

Re: The "How do I..." Thread
As you should only ever be loading only one IWAD, absolutely not.kevansevans wrote:Is it possible to make a Pwad/Pk3 request to use multiple IWADS as resources? I want to be able to take advantage of both Doom and Doom 2 textures without having to rip one apart to use it's resources.
- Disc Primitive
- Posts: 156
- Joined: Thu Apr 30, 2015 10:52 am
- Location: Home
Re: The "How do I..." Thread
You can't even load more than one IWAD, right?
-
- Posts: 927
- Joined: Fri Aug 23, 2013 1:59 pm
Re: The "How do I..." Thread
How do I, using slade (unfortunately not the new one, which strangely won't boot for me) make doors in UDMF which open / close with the use key? I can open the door fine, but using it will not close it. Apparently its something about a tag i need, but I can't find it...
Re: The "How do I..." Thread
Use [wiki]Door_Raise[/wiki] instead of [wiki]Door_Open[/wiki]. This way you can use both type of doors. If delay is 0, it's equal to the behaviour of Door_Open. If it's >0 then it will wait the tics defined and then close.