Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Gianluco

How do I change a monster's obituary?

Question

I want to change the text for when you die by a Nazi (I'm not gonna use them in my map, so I'm creating a new monster to replace them).

 

I'm talking about Zdoom btw

Share this post


Link to post

16 answers to this question

Recommended Posts

  • 3

If you're making a new monster you'll do it in the DECORATE script. Here's an excerpt from the Arachnorb to show you:-

 

actor Aracnorb
{
  MONSTER
  +NOGRAVITY
  +FLOAT
  +FLOATBOB
  Health 170
  Radius 24
  Height 56
  Mass 400
  Speed 12
  PainChance 150
  SeeSound "aracnorb/sight"
  ActiveSound "baby/active"
  PainSound "baby/pain"
  DeathSound "aracnorb/death"
  MeleeSound "aracnorb/melee"
  MeleeDamage 6
  MissileHeight 36
  MissileType AracnorbBall
  Obituary "%o suffered psychic trauma from an aracnorb's brainwaves."
  HitObituary "%o had %p skull chewed by an aracnorb."
  Scale 0.85
  States
  {

 ~~snip~~

 

Basically Obituary & HitObituary, check the wiki's for more info :)

Share this post


Link to post
  • 0
18 minutes ago, NoOne said:

If you're making a new monster you'll do it in the DECORATE script. Here's an excerpt from the Arachnorb to show you:-

 

actor Aracnorb
{
  MONSTER
  +NOGRAVITY
  +FLOAT
  +FLOATBOB
  Health 170
  Radius 24
  Height 56
  Mass 400
  Speed 12
  PainChance 150
  SeeSound "aracnorb/sight"
  ActiveSound "baby/active"
  PainSound "baby/pain"
  DeathSound "aracnorb/death"
  MeleeSound "aracnorb/melee"
  MeleeDamage 6
  MissileHeight 36
  MissileType AracnorbBall
  Obituary "%o suffered psychic trauma from an aracnorb's brainwaves."
  HitObituary "%o had %p skull chewed by an aracnorb."
  Scale 0.85
  States
  {

 ~~snip~~

 

Basically Obituary & HitObituary, check the wiki's for more info :)

What's this DECORATE thing? I always find it mentioned in tutorials etc. but I still don't know what is it. Do you download it? Is it just a thing you put in a .TXT file?

Share this post


Link to post
  • 2

You need a program called Slade 3

 

You can get it here:- https://slade.mancubus.net/

 

Open your .wad with it and it lists all the files you can then edit etc...plenty of tuts about for it, or just ask here;)

Share this post


Link to post
  • 0
7 minutes ago, NoOne said:

You need a program called Slade 3

 

You can get it here:- https://slade.mancubus.net/

 

Open your .wad with it and it lists all the files you can then edit etc...plenty of tuts about for it, or just ask here;)

I already have SLADE, what should I do to make a DECORATE thing? Do I just make a new entry with that name?

Share this post


Link to post
  • 0
1 hour ago, Gianluco said:

What's this DECORATE thing? I always find it mentioned in tutorials etc. but I still don't know what is it. Do you download it? Is it just a thing you put in a .TXT file?

The DECORATE is an in-game file that gives all doom actors their properties, such as their health, speed, obituary, etc.

To change the values you can do two things: Copy and paste the DECORATE of the monster you want to modify and then put it in your WAD using Slade (you can get the DECORATE here: https://zdoom.org/wiki/Category:Doom_II_monster )

Or you can use DeHacked but to be honest I don't know how to do that lmao

Share this post


Link to post
  • 1
2 hours ago, Gianluco said:

I already have SLADE, what should I do to make a DECORATE thing? Do I just make a new entry with that name?

Yep.

 

And then you edit it as text and type (or copy-paste) the code in it.

Share this post


Link to post
  • 6

If you want to replace an existing enemy like the Nazi, here's the way.

 

Using Slade, open your wad, then create a lump called DEHACKED.

 

Edit it like a text file. Add [STRINGS] at the top then change the definitions like so:

 

[STRINGS]
OB_ZOMBIE = %o was shot by a shades-wearing zombieman.
OB_SHOTGUY = %o was blasted by a red shotgunner.
OB_IMP = %o was cooked by a hula imp.
OB_IMPHIT = %o was scratched by a hula imp.
OB_DEMONHIT = %o was chewed on by a demon.
OB_SPECTREHIT = %o thought he saw a demon.
OB_CHAINGUY = %o was shredded by chaingunner.

 

 

Here's a full list of definable strings: https://zdoom.org/wiki/Strings

 

(if you already have a DEHACKED lump in the wad, just add this at the very bottom)

Share this post


Link to post
  • 0
7 hours ago, Gez said:

Yep.

 

And then you edit it as text and type (or copy-paste) the code in it.

Ok, I made the new enemy and I can Summon it just fine with commands, but how do I put it on a map with Ultimate Doom Builder?

Share this post


Link to post
  • 1

Give it an editor number. The simplest way, since you have DECORATE code, is just to put it after the name of the actor. E.g., instead of

actor Aracnorb

you have

actor Aracnorb 1337

and now you can use thing type 1337 to put your custom monster on the map.

Share this post


Link to post
  • 0
4 hours ago, Gez said:

Give it an editor number. The simplest way, since you have DECORATE code, is just to put it after the name of the actor. E.g., instead of


actor Aracnorb

you have


actor Aracnorb 1337

and now you can use thing type 1337 to put your custom monster on the map.

Thanks

Share this post


Link to post
  • 0
On 2/1/2022 at 10:39 AM, Doomkid said:

If you want to replace an existing enemy like the Nazi, here's the way.

 

Using Slade, open your wad, then create a lump called DEHACKED.

 

Edit it like a text file. Add [STRINGS] at the top then change the definitions like so:

 

[STRINGS]
OB_ZOMBIE = %o was shot by a shades-wearing zombieman.
OB_SHOTGUY = %o was blasted by a red shotgunner.
OB_IMP = %o was cooked by a hula imp.
OB_IMPHIT = %o was scratched by a hula imp.
OB_DEMONHIT = %o was chewed on by a demon.
OB_SPECTREHIT = %o thought he saw a demon.
OB_CHAINGUY = %o was shredded by chaingunner.

 

 

Here's a full list of definable strings: https://zdoom.org/wiki/Strings

 

(if you already have a DEHACKED lump in the wad, just add this at the very bottom)

 

This is extremely helpful, thanks! Going to use this for all those wads out there with a custom monster replacing the SS (Cleimos 2, Herian etc) and stuff like 32 Hours in Pain where you play a specific named character (Thanks to Pyroscourge for the hint there!)

Share this post


Link to post
  • 0

You can also define obituaries for actors that don't have one by default (useful for when, say, a candelabra or something is turned into a monster with DEHACKED) with this syntax in LANGUAGE:

Obituary_ClassName = "%o was killed by a ClassName";
Obituary_ClassName_DamageType = "%o received a lethal dose of DamageType from ClassName";

For example, if your mod transformed the Pile of Skulls (thing 122/123) into a monster named the Murderizer, that could look like this:

Obituary_HeadCandle = "%o was murderized by the murderizer";

This can also be used to override existing obits.

Share this post


Link to post
  • 0
6 hours ago, Gez said:

You can also define obituaries for actors that don't have one by default (useful for when, say, a candelabra or something is turned into a monster with DEHACKED) with this syntax in LANGUAGE:


Obituary_ClassName = "%o was killed by a ClassName";
Obituary_ClassName_DamageType = "%o received a lethal dose of DamageType from ClassName";

For example, if your mod transformed the Pile of Skulls (thing 122/123) into a monster named the Murderizer, that could look like this:


Obituary_HeadCandle = "%o was murderized by the murderizer";

This can also be used to override existing obits.

 

So I could give Scythe 2's Afrit and the Scythe X monsters obituaries this way, for example? Neat. I'm not at all familiar with LANGUAGE lumps though yet.

 

Also since my last post here, I now have Cleimos 2's robot, Herian's machinegun zombie and Plutonia 2/Requiem's ghost nazis now with custom obituaries :D

 

EDIT: The above examples by Gez, alongside the ones on the wiki, work in GZDoom when in a DEHACKED lump, you have to remove the "" marks from the sides though

Edited by Devalaous

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×