Jump to content
  • 0

Language lump not being read?


Gianluco

Question

I put a Language lump in my PK3, but every time an obituary is supposed to appear, the game defaults to "%o died" in the respective language.

This is the lump

[enu default]

BLINKY_DEATH = "%o got spooked by Blinky."

[it]

BLINKY_DEATH = "%o e' stato preso da Blinky."

And this is the definition of a monster

ACTOR Blinky : Demon
{
	Translation "16:47=176:191"
	Health 130
	ReactionTime 2
	PainChance 100
	Speed 13
	Mass 200
	HitObituary "$BLINKY_DEATH"
	+JUMPDOWN
	+BRIGHT
	+NEVERRESPAWN
	+NOICEDEATH
	States
  {
  Melee:
    SARG EF 7 Fast A_FaceTarget
    SARG G 5 Fast A_CustomMeleeAttack(6*random(4,10))
    Goto See
  Pain:
    SARG H 1 Fast
    SARG H 1 Fast A_Pain
    Goto See
  Death:
    SARG H 1 A_SpawnItemEx("TeleportFog")
    Stop
  Raise:
	Stop
	}
}

 

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 1
Posted (edited)

The only thing I can see is there should be semicolons at the end of the strings in the LANGUAGE lump like so,
 

[enu default]

BLINKY_DEATH = "%o got spooked by Blinky.";

[it]

BLINKY_DEATH = "%o e' stato preso da Blinky.";

Other than that it should be working. 🤷‍♂️

Screenshot:

https://drive.google.com/file/d/1k12oj5WoeuCHtEx7VthRwOWPs40oQSSD/view?usp=drive_link

 

Edited by JaySmithen
Added google drive link

Share this post


Link to post
  • 0
On 3/24/2024 at 5:16 PM, JaySmithen said:

The only thing I can see is there should be semicolons at the end of the strings in the LANGUAGE lump like so,
 


[enu default]

BLINKY_DEATH = "%o got spooked by Blinky.";

[it]

BLINKY_DEATH = "%o e' stato preso da Blinky.";

Other than that it should be working. 🤷‍♂️

Screenshot_Doom_20240325_021411.png.ea4ffb9545c0f6ad0f99756854ad32df.png

Yeah, I noticed it a while after posting this, but I decided to keep the post up.

Btw, is the italian language [it] or [ita]? The wiki says it's the first, but SLADE only highlights the second one

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
Answer this question...

×   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...