DEHACKED

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
skib
Posts: 179
Joined: Sat Jan 29, 2011 6:30 pm

DEHACKED

Post by skib »

What does dehacked do and how do I use it?
Also, where do I download it?
User avatar
Remmirath
Posts: 2562
Joined: Sun Dec 23, 2007 3:53 am
Graphics Processor: nVidia with Vulkan support
Location: My house
Contact:

Re: DEHACKED

Post by Remmirath »

DEHACKED is a tool that allows you to modify the original doom executable, by modifying some properties.

Today, source ports integrate the ability to parse .DEH patches automatically, so you can just load the patch with ZDoom and it should work fine.
To edit .DEH patches, i personally suggest you to use WhackED2. You can find a link on /idgames over at Doomworld.
User avatar
Enjay
 
 
Posts: 27169
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: DEHACKED

Post by Enjay »

You may find this useful.

http://www.zen64060.zen.co.uk/dehacked/index.html

It was written for the old DOS Dehacked program. WhackEd is possibly better for newer systems. DECORATE is better and much more powerful if you are doing stuff exclusively for Zdoom engines.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

Re: DEHACKED

Post by Sodaholic »

Yeah, if working on a ZDoom project, don't get in the habit of using DeHacked unless you need to. IIRC, there's a few things that dehacked can do that no other lump at the moment can do. Can't remember what, but point is, use decorate and the language lump instead of dehacked whenever possible.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: DEHACKED

Post by Graf Zahl »

Sigh...

Yet another 'Skib is too lazy to do basic research' thread... :?
plausiblesarge
Posts: 75
Joined: Mon Feb 21, 2011 1:45 pm
Location: Sydney, Aus

Re: DEHACKED

Post by plausiblesarge »

basically this.

From what I have experienced, DEHACKED and BEX are so outdated that there really is no point using them anymore. There was a purpose in the good old days, when they were the only real way to modify weapons or strings, but nowadays that has all been superceded by far more reliable and robust methods.
User avatar
JustinC
Posts: 416
Joined: Tue Feb 23, 2010 11:58 am

Re: DEHACKED

Post by JustinC »

Sodaholic wrote:Yeah, if working on a ZDoom project, don't get in the habit of using DeHacked unless you need to. IIRC, there's a few things that dehacked can do that no other lump at the moment can do. Can't remember what, but point is, use decorate and the language lump instead of dehacked whenever possible.
You can jump into other thing's states with dehacked, for whatever purpose one would use his for. Say you have Actor 1 and Actor 2, instead of ending on actor 1, say instead of the death state of Actor one, you can have the next state go to a state in Actor 2.....I am wording this in a really terrible way, lol....I'm sure there are a couple other strange little things you can do...
User avatar
Enjay
 
 
Posts: 27169
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: DEHACKED

Post by Enjay »

Yeah, DEHACKED is actually pretty powerful and can do a lot of things - some of them far more cunning than you might initially think when looking at what seems to be a relatively limited toolset. However, when it comes down to it, it is just a hacking tool and nowhere near as powerful, flexible or robust as a proper dedicated actor (etc) definition format like decorate.

I think that, these days, there is nothing that dehacked can do that can't be done by native Zdoom systems. Therefore, for a new mod (again, if it is exclusively for Zdoom engines) dehacked is obsolete and using it would be more complicated, less efficient and less powerful than using the native Zdoom alternative.
Sodaholic
Posts: 1959
Joined: Sat Nov 03, 2007 4:13 pm

Re: DEHACKED

Post by Sodaholic »

I heard that there are a few small things dehacked can do that are not covered by any native ZDoom lumps. If there are any, what are they? (I think I remember one of them was to change default friendly fire behavior)
User avatar
Enjay
 
 
Posts: 27169
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: DEHACKED

Post by Enjay »

Monster infighting can be set via a Zdoom lump (MAPINFO IIRC) and, of course, you can do things like far more complicated team damage, species specific damage, monster teams etc etc with a bit of cunning DECORATE.

I *think* that monster infighting was the last significant (or possibly simply the last) DEHACKED feature to be transferred to a Zdoom lump. IIRC, it was done so after a feature request that I made specifically to move it, as the last important DEHACKED feature, so that Zdoom mods no longer needed to use DEHACKED for anything.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: DEHACKED

Post by Gez »

The only thing I can think off: changing max ammo amount without changing the weapons (since changing ammo amount with DECORATE requires defining new ammo types, which means that weapons have to be updated to change what ammo type they're using).
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: DEHACKED

Post by Apothem »

DEHACKED isnt as useless as some would think, it's just most of the things that would initially come to mind to use it for arent needed anymore. Small list of things you can still do:

you can change how much armor you get off of IDFA and IDKFA.
Also the amount of default armor you get from both green and blue, along with the megasphere.
Enables you to change the actual cheat key combos to something different.
And I think you can change the pick up messages as well.
User avatar
Enjay
 
 
Posts: 27169
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: DEHACKED

Post by Enjay »

Apothem wrote:Enables you to change the actual cheat key combos to something different.
Although, in Zdoom, support for this feature has been disabled.
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: DEHACKED

Post by Apothem »

Haha, figures. I never tried using that one myself because I never saw a point.
User avatar
skib
Posts: 179
Joined: Sat Jan 29, 2011 6:30 pm

Re: DEHACKED

Post by skib »

Apothem wrote:And I think you can change the pick up messages as well.
If you mean for weapons, decorate does it.
Locked

Return to “Editing (Archive)”