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

How do I use a custom sprite in doombuilder 2?

Recommended Posts

Manhunt21 said:

...but I don't know how to make it appear...?

I assume you mean you want to know how to make it appear in DB, so that you can conveniently use DB to insert the sprite. If that's the case, you'll need to edit the DB configuration file to include the name of the sprite and that of the new "actor", along with its DooMEd Id number, class, and size (radius).

Share this post


Link to post

Or, if it's defined as a DECORATE actor, just insert your DECORATE lump in the map's PWAD. You can even use the "//$Category" system that DB2 uses.

Share this post


Link to post

Get a wad manager. I recommend a recent build of SLADE3. ;)
http://slade.mancubus.net/

Open your map with it. You'll see a bunch of entries, starting with a map marker (e.g., MAP01 or E1M1) and ending with BLOCKMAP, ENDMAP, BEHAVIOR or SCRIPTS depending on the map format.

The important thing is that you should not insert your DECORATE lump in-between the map lumps. They have to be left in the order they are.

So select the very last lump and then click on Archive->Import Files and select the text file containing the code for your actor. Make sure it's named DECORATE; you can rename it otherwise.

Select that new DECORATE lump and edit it. Look for your actor's definition, and right after its first line and its opening bracket, add this:

//$Category Decoration
Save.

Now when you open the map in Doom Builder, the actor is added to the "decoration" category.

In case of problems:
1. Make sure your actor has an editor number. Without one, it's pointless to want to add it to the editor, since you cannot place it in a map anyway.

2. The name of the //$Category may be different. You'll have to look in the DB configuration files to be sure, or if you want to put in another category (e.g., Monsters, Health, etc.).

Share this post


Link to post
Manhunt21 said:

Alright. Is this possible in XWE? That's what I use.

Yes, XWE can be used in essentially the same manner, as the principle is the same.

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  
×