Back to the Korax Forum Archives
Crimson Wizard
Firebrand
TranslStart = 246; TranslEnd = 254;These are the pallete colour entries that are "colorized" in the game, each class has these, in the engine these are known as "Default translation", but they can't be used for anything else than players. [quote="Crimson Wizard":22txk3ia]another new one which calles predefined map scripts; last one is made for flags in CTF, this implementation looks ugly, yet it works. Aren't there a way to make this without calling map script? Why can't we call same functions from progs? The second type is the script translations, for which you can get more info in the two following links <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->: [url:22txk3ia]http://www.zdoom.org/wiki/Thing_SetTranslation [url:22txk3ia]http://www.zdoom.org/wiki/CreateTranslation These are the two main ways of doing script translations. The ACS functions use engine methods to translate colours, Janis recommended the second method for CTF flags in KA, that's why the implementation is like that, I don't like it either, but if there's an easier method I'd like to hear it too, since translations are going to be really used in KRPG IMO <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->.