View Issue Details

IDProjectCategoryView StatusLast Update
0000625Gameplay + OpenGL[All Projects] Bugpublic2017-04-29 08:28
Reporterd2jk 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Summary0000625: Translation property in the Default-block does not always work
DescriptionTranslation property in the Default-block is sometimes ignored, while calling A_SetTranslation function, using the exact same string, works just fine.
Steps To ReproduceThe following code is supposed to be tested in Heretic.
First create a translation string in TRNSLATE lump.


Class NewBlood : Blood replaces Blood
 {
  Default
   {
    Translation "MyRed";
   }
  States
   {
    Spawn: //TNT1 A 0 NoDelay A_SetTranslation("MyRed");
                FX17 IJKL 4;
                Stop;
   }
 }
TagsNo tags attached.

Relationships

Activities

_mental_

_mental_

2017-04-29 08:28

developer   ~0001583

Translations work as intended.

Damaged actor's blood translation overrides the same values of blood actor itself.
In other words, blood "inherits" its translation from BloodTranslation property of hit actor.
To make this example to work like you want add +DONTTRANSLATE flag to a blood class.

Issue History

Date Modified Username Field Change
2017-04-25 09:30 d2jk New Issue
2017-04-29 08:28 _mental_ Status new => closed
2017-04-29 08:28 _mental_ Resolution open => no change required
2017-04-29 08:28 _mental_ Note Added: 0001583