Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Doom Juan

Can I have more than one DECORATE lump in a wad?

Recommended Posts

Yes.

It's also possible to give them different names (e.g., DEC_MONS, DEC_WEPS, DEC_STUF, etc.) and then #include them from a "master" DECORATE lump.

Share this post


Link to post

Can I have a DECORATE that only activates with Zandronum and not vanilla ZDoom?

Share this post


Link to post
Gez said:

Yes.

It's also possible to give them different names (e.g., DEC_MONS, DEC_WEPS, DEC_STUF, etc.) and then #include them from a "master" DECORATE lump.


Any chance of giving a little more detail with regards that? A thorough step by step guide?

Share this post


Link to post

Assuming you have a set of DECORATE lumps called DEC_MONS, DEC_WEPS and DEC_STUF (to borrow Gez's example), your master lump would look like this -

#include "DEC_MONS"
#include "DEC_WEPS"
#include "DEC_STUF"

Share this post


Link to post

Meh, I'm no good at steps-by-steps guide. I prefer to maintain wiki pages.

But it's as simple as I said:

Step 1: Create a lump called MYWEAPON.
Step 2: Paste some DECORATE code for a weapon in the MYWEAPON lump.
Step 3: Create a lump called DECORATE.
Step 4: Type "#include MYWEAPON" (without the quotes) in the DECORATE lump.

There, done. For additional lumps, you need to list them each on a different line. So for example:
#include MYWEAPON
#include MYMONSTR
#include PLATYPUS
and so on.

Share this post


Link to post

Wonderful explanations, guys. I know I've said it before, but I'll repeat: One of my favourite aspects of this community is how tolerant it is of newbies; even going so far as to soup up WADs, videos, scripts, or just explaining what's already written in the Wiki. You guys are excellent, and patient, mentors.

As it stands, I've only had to make one topic asking for help (hiding secrets... though I still have difficulty with that). Almost every problem I've had has been a quick search function away - either on the forums, the wiki, or through Google, if those two somehow (very rarely) fail.

So my thanks go out to all those that keep this community going strong. :)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×