Making Icons and Integrating: Difference between revisions
Jump to navigation
Jump to search
Note:You may need to restart your computer to be able to make the icon visible on your desktop
mNo edit summary |
m (Remove false obsoletion note on hl2.exe icon section) |
||
Line 43: | Line 43: | ||
== Making the hl2.exe Icon == | == Making the hl2.exe Icon == | ||
{{note|You may need to restart your computer to be able to make the icon visible on your desktop}} | {{note|You may need to restart your computer to be able to make the icon visible on your desktop}} | ||
*Take your 256px icon and save it as an interlaced .png | *Take your 256px icon and save it as an interlaced .png |
Revision as of 15:26, 14 December 2022

This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
Making an icon for your mod
For the icon of your mod there are two places it can be displayed: In your steam library and on your desktop. (right)
To make your icon you will need either
Making the Steam Library Icon
- Create a new document with the dimensions 256x256 pixels.
- Create your icon.
- Save your image in a folder (For example "sourcemods/resource/icons_raw/") and call it icon_huge.
- Copy icon_huge, rename it to icon_big and scale its dimensions down to 32x32 pixels.
- Copy icon_big, rename it to just icon, and scale it down to 16x16 pixels.
- Open the icon file and save it as a targa file (.tga) in the "sourcemods/resource/" folder
- Do the same with icon_big
Note:Do not do this with icon_huge
- Open your gameinfo.txt located in "sourcemods/MODNAME/"
It should look similar to this:
"GameInfo" { game "My First HL2MP Mod" title "HALF+LIFE'" title2 "deathmatch mod" type multiplayer_only nomodels 0 nohimodel 1 nocrosshair 1
Add this underneath
"icon" "resource/icon"
Save and restart Steam and your icon should appear in the library
Breakdown
- icon tells Steam where the icon can be found; In this case, in the resource folder: resource\game It should default to looking for icon.tga
Making the hl2.exe Icon

- Take your 256px icon and save it as an interlaced .png
- Find a .ico converting website and make convert the .png to .ico
- Download and save the .ico in "\steamapps\sourcemods\MODNAME\resource" as "game.ico"
Now you can the mod in your steam library and create a desktop shortcut