How to add a custom weapons from Realm667 ?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

How to add a custom weapons from Realm667 ?

Postby skyspear » Fri May 01, 2020 5:29 am

Hello !

I'm pretty new at making wad and I wanted to ask you know how to add a custom weapons ? I use doom builder and slade 3. I also saw this topic on a forum (viewtopic.php?f=3&t=50388) but I'm sadly stuck to how to add the ID weapons (And I dunno if it's the problem)...

Also I have add that custom weapon with slade 3 directly to my wad, at the top of everything because apparently it was recommended to do that.

But It's actually impossible to see the weapons into the "Things mode" tool of doom builder2 or slade3 (I use doom 2 game configuration). However, the weapon appear if you use the cheat code "give all" in gzdoom.

My goal is to make appear this weapon directly on the "Thing mode", as like I can add the weapon where I want.

Thanks for your help ! ^^
skyspear
 
Joined: 01 May 2020
Operating System: Windows 10/8.1/8/201x 64-bit

Re: How to add a custom weapons from Realm667 ?

Postby Gez » Fri May 01, 2020 5:39 am

For things to appear in the editor, it needs to have an editor number -- in the map, it's actually just a number that's written, and the editor, like the game, needs to associate the number with something it knows.

Most resources on Realm667 come without an editor number being given to them, so you've got to add one yourself. You do that in MAPINFO.

For the weapon to work correctly and play nice with other weapons (especially when using next weapon/previous weapon commands), it'll also need a slot number. Weapon slots are also handled through MAPINFO.
Gez
 
 
 
Joined: 06 Jul 2007

Re: How to add a custom weapons from Realm667 ?

Postby skyspear » Fri May 01, 2020 7:07 am

Thank you ! By any chance, do you have a full tutorial to how to do that ?
skyspear
 
Joined: 01 May 2020
Operating System: Windows 10/8.1/8/201x 64-bit

Re: How to add a custom weapons from Realm667 ?

Postby Kappes Buur » Sat May 02, 2020 12:55 pm

skyspear wrote:Thank you ! By any chance, do you have a full tutorial to how to do that ?


Check out WildWeasel's webpage
or Rex's tutorial which also links to further info
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to add a custom weapons from Realm667 ?

Postby skyspear » Sat May 02, 2020 5:27 pm

It's exactly what i needed ! Thanks so much for the help Gez and Kappes buur. :D
skyspear
 
Joined: 01 May 2020
Operating System: Windows 10/8.1/8/201x 64-bit

Re: How to add a custom weapons from Realm667 ?

Postby maf93 » Fri Mar 19, 2021 11:44 am

I downloaded the explosive super shotgun from realm667. I edited the decorate file in slade as follows.
ACTOR ExplosiveSuperShotgun : Weapon 10000
{
Tag "Explosive Super Shotgun"
Weapon.SlotNumber 3

I added all the explosive super shotgun files to my map using slade, and moved the files to the top.

In ultimate doom builder (v. R3720) the new weapon is not showing in Things Mode. If I test my map and type the code idfa, I get the explosive shotgun. Why can't I access/see the new weapon in the Things Mode to be able to add it to my map for pickup?

thanks
maf93
 
Joined: 19 Mar 2021

Re: How to add a custom weapons from Realm667 ?

Postby Kappes Buur » Fri Mar 19, 2021 10:40 pm

maf93 wrote:In ultimate doom builder (v. R3720) the new weapon is not showing in Things Mode.


Works for me™
Spoiler:

While 10000 is used for the HEXEN fogspawner, it will not interfere with DOOM pwads.

However, it is best to always use unique DoomED numbers, for example the range from 15000 to 29999 is safe to use.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to add a custom weapons from Realm667 ?

Postby maf93 » Sun Mar 21, 2021 3:18 am

I tried 20000, but I still do not see User-Defined in Edit Thing window. my last category in edit thing window is Decoration. Is there some configuration in UDB R3720 that is required? my wad has the custom weapon because when I test the map and use idfa code, I get the explosive shotgun.
maf93
 
Joined: 19 Mar 2021

Re: How to add a custom weapons from Realm667 ?

Postby Kappes Buur » Sun Mar 21, 2021 2:18 pm

The weapon will be in User-Defined block if you just copy/paste all lumps into your pwad and give the ESS a unique DoomED number:

Spoiler:


However, you can use //$Category "Weapons" to have the editor show the ESS in the Weapons block:

Spoiler:
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to add a custom weapons from Realm667 ?

Postby maf93 » Sun Mar 21, 2021 3:03 pm

I got it figured out. I was opening my map with doom: doom2 config, once I opened the map with gzdoom: doom2 config the custom items showed up. thanks. thanks the for category tip.
maf93
 
Joined: 19 Mar 2021


Return to Mapping

Who is online

Users browsing this forum: No registered users and 0 guests