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

How to use a custom weapon?

Recommended Posts

Not quite.

http://zdoom.org/wiki/DECORATE_format_specification

actor classname [ : parentclassname] [replaces replaceclassname] [doomednum]

So, use this:
Actor UTNTFlamethrower : Weapon 32001

Not trying to be picky but it's not an Actor number, it's a DoomEd number.

I usually use DoomEd numbers starting from 99999 and counting down. That way I'm sure I don't have a duplicate DoomEd number.

Share this post


Link to post
Kappes Buur said:

I usually use DoomEd numbers starting from 99999 and counting down.

The maximum possible editor number is 32767.

Share this post


Link to post

Now that is interesting.



That seemed to work before and now I get all kinds of errors.




I don't remember how I did it, but yes, you are correct.
In view of the evidence, I have to revise my statement to 32767 and down.

Share this post


Link to post
Manhunt21 said:

Alright, it works. But only the weapon shows up. Not the Ammo, I added 32002/3 to the ammo actors, but I dunno...

If you did this

Actor UTNTFlamethrower : Weapon 32001
Actor Gas : Ammo 32002
Actor BigGas : Gas 32003

then you would be able to place them with DB2.

Share this post


Link to post

Simple method: turn on the alternate HUD.

More complicated method: read up everything about SBARINFO.

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  
×