The "How do I..." Thread

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.
User avatar
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

Post by YukiHerz »

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.
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: The "How do I..." Thread

Post by Blue Shadow »

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.
User avatar
kodi
 
 
Posts: 1361
Joined: Mon May 06, 2013 8:02 am

Re: The "How do I..." Thread

Post by kodi »

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.
User avatar
Disc Primitive
Posts: 156
Joined: Thu Apr 30, 2015 10:52 am
Location: Home

Re: The "How do I..." Thread

Post by Disc Primitive »

Is there a tutorial, text or video, on how to make new monsters with custom graphics?
User avatar
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

Post by kevansevans »

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.
User avatar
Imp Hunter
Posts: 684
Joined: Sat Jul 05, 2008 6:20 am
Location: Brazil

Re: The "How do I..." Thread

Post by Imp Hunter »

How do I make an Item that increases the player.maxhealth?
User avatar
TheBadHustlex
Posts: 1914
Joined: Thu Oct 03, 2013 12:50 am
Location: 'stria

Re: The "How do I..." Thread

Post by TheBadHustlex »

Disc Primitive wrote:Is there a tutorial, text or video, on how to make new monsters with custom graphics?
Maybe this can help.
Imp Hunter wrote:How do I make an Item that increases the player.maxhealth?
Like this.
User avatar
Imp Hunter
Posts: 684
Joined: Sat Jul 05, 2008 6:20 am
Location: Brazil

Re: The "How do I..." Thread

Post by Imp Hunter »

TheBadHustlex wrote:
Imp Hunter wrote:How do I make an Item that increases the player.maxhealth?
Like this.
I see, but now there's a new problem. The UpgradeStamina actor also increases my health too much. :| I wanted to make something like a Health Bonus that also increases my max.health by 1.
User avatar
TheBadHustlex
Posts: 1914
Joined: Thu Oct 03, 2013 12:50 am
Location: 'stria

Re: The "How do I..." Thread

Post by TheBadHustlex »

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.
User avatar
Imp Hunter
Posts: 684
Joined: Sat Jul 05, 2008 6:20 am
Location: Brazil

Re: The "How do I..." Thread

Post by Imp Hunter »

Damn. I didn't wanted to have to use ACS. But ok, thanks :)
User avatar
Disc Primitive
Posts: 156
Joined: Thu Apr 30, 2015 10:52 am
Location: Home

Re: The "How do I..." Thread

Post by Disc Primitive »

TheBadHustlex wrote:
Disc Primitive wrote:Is there a tutorial, text or video, on how to make new monsters with custom graphics?
Maybe this can help.
Thanks :)
User avatar
edward850
Posts: 5889
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: The "How do I..." Thread

Post by edward850 »

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.
As you should only ever be loading only one IWAD, absolutely not.
User avatar
Disc Primitive
Posts: 156
Joined: Thu Apr 30, 2015 10:52 am
Location: Home

Re: The "How do I..." Thread

Post by Disc Primitive »

You can't even load more than one IWAD, right?
mumblemumble
Posts: 927
Joined: Fri Aug 23, 2013 1:59 pm

Re: The "How do I..." Thread

Post by mumblemumble »

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...
User avatar
cocka
Posts: 1520
Joined: Sat Jul 02, 2011 7:21 am
Location: Hungary

Re: The "How do I..." Thread

Post by cocka »

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.
Locked

Return to “Editing (Archive)”