View Issue Details

IDProjectCategoryView StatusLast Update
0000448Gameplay + OpenGL[All Projects] Bugpublic2017-03-18 08:07
ReporterTheCamaleonMaligno 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000448: Translations defined in ZScript doesn't support more than one color
Descriptionnot sure how to explain this because my native language is not english but i'll try:
I made a color translation that changes three group of colors from the palette, it works fine in decorate and the TRNSLATE Lump, but if i directly use it in ZScript it only takes the first, and the rest are ignored:
[code=] Class ZSMBaron : BaronOfHell { Default { Translation "16:47=[223,0,179]:[0,24,28]", //This one works "48:79=[128,128,128]:[0,0,0]", // but this one is ignored "112:127=[236,0,255]:[0,0,0]" ; // same ^ } } [/code]
i'll leave an exaple pic and a wad for testing purposes
TagsGZDoom, ZScript

Relationships

Activities

TheCamaleonMaligno

TheCamaleonMaligno

2017-03-18 00:19

reporter  

zscript translation.png (236,297 bytes) ==> SQL => SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_class c where d.adrelid=c.oid and c.relname='mantis_bug_file_table' order by d.adnum
zscript translation.png (236,297 bytes)
TranslationTest.wad (589 bytes)
TheCamaleonMaligno

TheCamaleonMaligno

2017-03-18 01:00

reporter   ~0001035

Last edited: 2017-03-18 01:15

View 2 revisions

Sorry :b
Class ZSMBaron : BaronOfHell
{
    Default
    {
        Translation
"16:47=[223,0,179]:[0,24,28]", //This one works
"48:79=[128,128,128]:[0,0,0]", // but this one is ignored
"112:127=[236,0,255]:[0,0,0]"; // same here
    }
}


current version: gzdoom-x64-2.5pre-73-g309d086

Issue History

Date Modified Username Field Change
2017-03-18 00:19 TheCamaleonMaligno New Issue
2017-03-18 00:19 TheCamaleonMaligno File Added: zscript translation.png
2017-03-18 00:19 TheCamaleonMaligno File Added: TranslationTest.wad
2017-03-18 00:19 TheCamaleonMaligno Tag Attached: GZDoom
2017-03-18 00:19 TheCamaleonMaligno Tag Attached: ZScript
2017-03-18 01:00 TheCamaleonMaligno Note Added: 0001035
2017-03-18 01:15 TheCamaleonMaligno Note Edited: 0001035 View Revisions
2017-03-18 05:14 _mental_ Severity crash => minor
2017-03-18 08:07 Graf Zahl Status new => resolved
2017-03-18 08:07 Graf Zahl Resolution open => fixed