Raised This Month: $32 Target: $400
 8% 

Добавить картинку в окно в главном меню


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KryTwo
New Member
Join Date: Mar 2012
Old 03-01-2012 , 01:23   Добавить картинку в окно в главном меню
Reply With Quote #1

Здравствуйте. Сразу извинюсь за возможный повтор темы, потому что я не в силах найти нужную мне информацию на иностранном форуме, так как не владею данным языком.
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.

Last edited by KryTwo; 03-01-2012 at 01:24.
KryTwo is offline
sergiuung
Junior Member
Join Date: Oct 2011
Old 03-02-2012 , 16:08   Re: Добавить картинку в окно в главном меню
Reply With Quote #2

I added buttons to the menu in tf2 with custom images, cs:s should be similar i think. I'm not 100% sure, but I think that you should use a .vtf (or .vmt) instead of a .tga

Не на 100% уверен, но думаю нужна картинка в формате .vtf (или .vmt). По Крайней мере так в tf2.
sergiuung is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode