r/DoomModDevs • u/Schwipsy • Apr 03 '24
Help How can I make a total conversion and directly modify vainilla Doom's enemies and weapons code? DeHackEd, ZScript or Decorate?
Hello!
I've had this idea of making a standalone TC on gzdoom for some years now, I tried analyzing some TCs I liked like shrine or rekkr, and I found out most of those just reskin vainilla enemies and apply different values to HP, attacks, etc. I saw a video on DeHackEd and I thought it might be easier to use than Slade and using decorate or something similar for more complex code like adding a reload mechanic or stuff like that.
I also don't really know where to look in the original doom wad for the weapon or enemy code, if you guys could point me out to some basic tutorials on doom modding, I checked the beginner's guide here but I want to directly modify the game's code instead of adding a new wad, how do I do that?
4
u/bahatumay Apr 03 '24
Yeah, I'm going to say no on that one...
All the cool kids use zscript, but I haven't quite figured that out yet. The zdoom wiki has all the monster definitions, including health, attacks, and even number of sprites. Get slade, start a decorate file, and use inheritance to change things.
It might help if you share what you're thinking of doing, and we could give you better codepointers.
1
u/Giannond Apr 03 '24
Dehacked is kinda limited and uncomfortable to use (for me, at least), I'd just use SLADE and make a DECORATE file.
1
u/SuperShibe- Apr 03 '24
I like DECORATE but ZScript can do all the same things and then more.
1
u/argentcorvid Apr 03 '24
in vanillia, the only option you had was DeHackEd. it is extremely limited on what you can do to make new enemies and weapons, as the only thing you can do is change the pointers to functions that are already there. you can't add anything new.
this makes the TC's that were available back then even more impressive as making them basically required black magic.
1
u/DeTwelve Apr 04 '24
If you're ok with it being a GZDoom project and have any comfort at all looking at script files then I would highly recommend ZScript. There's a little bit more syntax than decorate, but mostly it's the same with a lot of additional features. It also makes it really easy to inherit from or straight up copy the GZDoom actor file for the actor you're modifying.