Jump to content

Can't pick up items after launching doom with WHackEd4 patch


Recommended Posts

Hello, folks! Today i faced some problem with Whacked4 patch. At the moment i am working on my first wad and trying to learn as many as possible about Doom modding. So what's the problem? I created a WHackEd4 patch that doesn't change many but weapons frames duration and which type of ammo are weapons fed with (and some messages when you pick up items). In the first map in my wad there is a place where player gets his first weapon - a pistol. There is just a pistol item lying on the floor. But for some reason when i load a game with a patch i can't pick it up. And this problem is only with pistol, everything other works just fine. When i load game without any patches i can grab a pistol properly. Please, help!

 

Info that can be useful:

OS: Win11 64 bit

Engine: GZDoom latest version

Map editor: Ultimate Doom Builder

Patch creator: Whacked4

Patch file format: .bex

Patch engine: Boom

 

Note:

 

I changed sprites of a pistol to my own. Everything with a pistol etself works fine, i just cannot pick up a pistol item.

Edited by LOLviathan

Share this post


Link to post

This might be better off under Editing Questions.

 

Post your WAD? I can take a look at the DEHACKED and see what's wrong.

 

Also may be worth trying a different port. GZDoom should be good about Boom-compatible DEHACKED but it's always a good idea to get a second opinion with a different port just to rule out weirdness.

Share this post


Link to post

Hello there! Sadly i have no possibility to post it right now because it is night in my country. I will do this like on Sunday evening, cause i will not be in city tomorrow. Sorry for this, but i will post my wad and DEHACKED lump here as soon as possible :)

Edited by LOLviathan

Share this post


Link to post

By itself, Dehacked has little capability to create new pickups, which I assume is what you are trying to do. Unless you were to replace your pistol with another weapon (e.g chainsaw is removed in place of pistol), with the according sprite name (you must name your pistol CSAWA0 with the chainsaw replacement), it's not going to work.

 

If what you want is to make the pistol pickup gives ammo, then the simpler method would be replacing the pistol clip with the pickup itself, following the conventions I've just noted above.

 

(commenting before this thread gets migrated)

Share this post


Link to post

One thing to note as well is that Vanilla (and I'm guessing by offset Boom too) only gives items based off of the sprite name itself, not what the actual sprite is. If you have a pistol item but it's using, say, BON1A0, it's not going to work properly. Also make sure that your weapon actually has a Raise / Lower codepointer so that you can switch to and from the weapon. I'm not sure how your WAD looks, but I have a feeling the issue may lie within one of these situations. 

Share this post


Link to post

Hello, people! There is my .bex file:

https://drive.google.com/file/d/1xYByV_eD1wlCwVF3FAvRsEh4Vsz9TrH6/view?usp=drivesdk

And the WAD:

https://drive.google.com/file/d/1xZMC1o66CSuP1Xhyo1swb5vyV1t1hpN7/view?usp=drivesdk

It is work-in-progress, so may look s**tty. Answering your comments:

 

No, i am not trying to create new pickups, in fact, i am not trying to implement any new weapons or items to the game (it's the first wad in my life come on). The only thing i did in the patch file is renamed some levels, changes pickup messages (for example from "picked up cell pack" to "picked up a box of 5,45 and 7,62 ammo"), speed up some weapons by decreasing frames duration, made chainsaw and plasmagun use hitscan attack (cause chainsaw became MP5 and plasmagun became AK-47) and changed which ammo type weapons use. About sprites: i just redesigned already existing weapons, so i dont think that is the problem. 

Edit: i just tested everything and yes, every other weapons can be pucked up and used just fine, but the pistol can't (i mean it can be used just fine but cannot be picked up so i am forced to use "give pistol" command)

Edited by LOLviathan

Share this post


Link to post

Yes! I have just solved this shit! Ot looks like pistol frames duration affected this. You see, i speeded up the pistol by decreasing its frames duration, but now i set them to normal and it worked! I can pick it up and use! However, pistol is now a useless crap because of original frames duration.

Spoiler

It is, uhh, sloo-*yawn*-ooow...

 

Edited by LOLviathan

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...