Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Using black color in item miniatures?
Using black color in item miniatures?[message #357183] Fri, 12 April 2019 18:41 Go to next message
CareBear is currently offline CareBear

 
Messages:137
Registered:April 2016
Ive tried to edit some miniatures for items, but i cant use black color since its used as a transparency background. Ive made a workaround of applying some slight color change to black color and thus the transparency wont catch. Is there any other way of doing this? Why items have black transparency and guns have blue?

[Updated on: Fri, 12 April 2019 19:04]

Report message to a moderator

Sergeant
Re: Using black color in item miniatures?[message #357185 is a reply to message #357183] Sat, 13 April 2019 04:50 Go to previous messageGo to next message
Hawkeye is currently offline Hawkeye

 
Messages:2476
Registered:October 2005
Location: Australia
Not really, I'm not sure why pure 0,0,0 black becomes a mask colour by default but you are correct in just adjusting any you have to avoid this. On another note any colour can be used as a mask colour if it's the first in the sti's palette. Also blues are sometimes used as shadows.

Report message to a moderator

Lieutenant

Re: Using black color in item miniatures?[message #357190 is a reply to message #357185] Sat, 13 April 2019 13:52 Go to previous messageGo to next message
CareBear is currently offline CareBear

 
Messages:137
Registered:April 2016
How to change the first color in STI palette? I use import from BMP option from GIMP, i dont use STI editor to make miniatures.

Report message to a moderator

Sergeant
Re: Using black color in item miniatures?[message #357197 is a reply to message #357190] Sat, 13 April 2019 18:50 Go to previous message
townltu

 
Messages:384
Registered:December 2017
Location: here
I think the darkest black in the Gimp picture must not be below (03 03 03),
as the game respectively sti format will show pixels with e.g. (02 02 02) distance to transparency color also as transparent,
for safety measures my pics usually do not contain pixels "closer" than (05 05 05) to the background/transparency color,
in this case black (00 00 00)


When I import the palette in StiEditor, from the bmp which was saved by the gimp as 16bit r5g6b5 .bmp,
the 1st color in the sti palette is often "wrong", i.e. not the desired transparency color.
In that case I click on the 1st color and check the values.
Now I select a color from the palette which is not contained in the picture (best do not touch 2nd, 3rd and last 2 colors)
and assign the color values from the 1st slot.
Now i change the 1st slot to the given transparency color, here black (00 00 00)
Then i select another palette color which does appear in pic and assign my darkest black in pic, e.g. (05 05 05).
For safety measures I may even assign a dummy black of (03 03 03) to another abundant slot as "buffer" between transparency and darkest black in my pic.

[Updated on: Sat, 13 April 2019 18:51]

Report message to a moderator

Master Sergeant
Previous Topic: Battlesounds for 081 & 146 ?
Next Topic: Problems setting IMP starting gear.
Goto Forum:
  


Current Time: Fri Jun 12 19:46:30 GMT+3 2026

Total time taken to generate the page: 0.00638 seconds