Back to the Vavoom Forum Archives
Crimson Wizard
Firebrand
Crimson Wizard
Janis Legzdinsh
Crimson Wizard
translat.dat raw 0 0 256 22in Korax Arena it is slightly different:
translat.dat raw 0 0 256 43I may guess that "0 0 256" is a "blue color". Am I right? Then, what do 22/43 numbers mean? What's the effective way to make something else?
Firebrand
translat.dat raw 0 0 256 22in Korax Arena it is slightly different:
translat.dat raw 0 0 256 43I may guess that "0 0 256" is a "blue color". Am I right? I don't know what the "0 0 256" values mean... [quote="Crimson Wizard":3qbux7e0]Then, what do 22/43 numbers mean? What's the effective way to make something else? But the important value is the last one, "22" defines how many translations you'll have, then using numbers in the range "0 - 22" will give you a translated sprite for any enemies/players <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->. Lastly, you can translate not only one range of colours in the pallete.pcx file, if you create translations for blue and red for a single entry in the translations table they'll both can be used! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> The only thing I'm not sure about is how many translations are supported by Vavoom, I'm sure Janis can answer this one <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->. Hope my explanation is MORE clear now, heh! <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
Janis Legzdinsh
I don't know what the "0 0 256" values mean...The format of raw command is:
<lumpname> raw <x> <y> <width> <height>Basically it tells vlumpy that it should start reading data from top left corner, each row 256 pixels long (as needed by translation tables).
The only thing I'm not sure about is how many translations are supported by Vavoom, I'm sure Janis can answer this one <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->.Currently there ain't any limits.