"DoomImp" what is this?

Ask about ACS, DECORATE, ZScript, or any other scripting questions 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.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
K_Doom
Posts: 1
Joined: Wed Jun 02, 2021 6:49 pm
Graphics Processor: ATI/AMD (Modern GZDoom)

"DoomImp" what is this?

Post by K_Doom »

Hi, I recently had trouble adding new monsters and getting them to work, mainly monsters that contained the "infamous" Zscript and I found a way in my opinion to fix the problem, as all these monsters had a file called "old code" rename to DECORATE and assign an unused number in the things menu and then delete Zscript which gives so many problems for beginners (I am aware that this solution may not be the most suitable and "elegant", let's say Zscript exists for a reason)

Note: I also know how to assign the monster class in a "MAPINFO" file and an unused number in the things menu to not replace anything there. But it only worked with 1 monster and I couldn't add more to the same file without generating errors.

So this method has worked so far, but when trying to add variations of our dear Imp, I noticed they had the Decorate file (oh cool, much easier hehe), but they have a not so "easy" quirk: most of them inherit a class called "DoomImp", and this class does the feat of bugging all the other monsters added before.

So I want to raise the question here: what exactly would this DoomImp be and what to do when a Imp has it? :?:
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: "DoomImp" what is this?

Post by Gez »

It's that little spiky guy we all know and love. Makes sense that imp variants would inherit from it.

Whatever your problem is, inheriting from DoomImp is not the cause.
User avatar
MartinHowe
Posts: 2076
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Location: East Suffolk (UK)

Re: "DoomImp" what is this?

Post by MartinHowe »

Actually, I have often wondered that since Doom came before Heretic, why are they not class "Imp" and gargoyles class "HereticImp" (or even class "Gargoyle", which would have made more sense :p).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "DoomImp" what is this?

Post by Graf Zahl »

These names were given at the same time by Randi. So no game got any preferential treatment.
Don't ask why these precise names were chosen - it happened some 20 years ago,
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: "DoomImp" what is this?

Post by Gez »

ZDoom got Heretic support with v1.23, and the earliest form of DECORATE in v2.0. It's only with 2.3.0 that all actors were transitioned to external DECORATE code.

Note that if you were to go with the internal name of the original source code releases, "imp" would be the Heretic gargoyle, because the Doom imp would be "trooper"...
User avatar
Nash
 
 
Posts: 17498
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: "DoomImp" what is this?

Post by Nash »

Speaking of the internal actor class names - some of these are just darn hilarious... :mrgreen:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "DoomImp" what is this?

Post by Graf Zahl »

1.23 was precisely when the actor names were introduced. Up until 1.22 ZDoom still used the MT_* constants.
Nash wrote:Speaking of the internal actor class names - some of these are just darn hilarious... :mrgreen:
Directly taken from the Hexen source as-is...
Post Reply

Return to “Scripting”