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
}
}
Question
Gianluco
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.