Здравствуйте. Сразу извинюсь за возможный повтор темы, потому что я не в силах найти нужную мне информацию на иностранном форуме, так как не владею данным языком.
Hello Immediately apologize for any repetition of themes, because I can not find the information I needed in a foreign forum, because they do not speak that language.
Итак. В главном меню игры Counter-Strike Source есть пустое окно (бывшая проверка видеокарты. Я его почистил). Я хочу добавить в него картинку, код которой указан ниже:
So. In the main menu of the game Counter-Strike Source is a blank window (the former test card. I cleaned it). I want to add a picture, the code mentioned below:
Quote:
"MicMeter"
{
"ControlName" "ImagePanel"
"fieldName" "MicMeter"
"xpos" "40"
"ypos" "148"
"wide" "158"
"tall" "32"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"image" "resource/live"
"barCount" "19"
"barSpacing" "8"
}
|
Как вы поняли, основу я взял из окна настроек. Громкость микрофона.
На настройки можете не обращать внимания, они полностью рабочие.
Проблема в другом.
Чтобы отображалась картинка, она должна быть в формате *.tga
Я пробовал кучу программ, конвертирующих обычный Jpeg в TGA, но ничего не выходило. Итог получался один - изображение выглядело вот так:
As you understand, I took the base of the window. The volume of the microphone.
On the settings can be ignored, they are fully working.
The problem lies elsewhere.
To show the picture, it should be in the format *. Tga
I've tried a bunch of programs that convert a normal Jpeg to TGA, but nothing came of it. Result is a one - the image looked like this:
Что делать? Как правильно конвертировать?
Пробовал по-другому. Брал уже готовую, рабочую картинку. С помощью фотошопа, наложил поверх свое изображение, сохранил ничего не изменяя. Эффект тот же.
What should I do? How to convert?
I tried a different way. He took a ready-made, working image. With the help of Photoshop, laid on top of your image, preserved without changing anything. The effect is the same.