gameinfo.txt? Created 15 years ago2009-02-21 10:35:45 UTC by crazyb2000 crazyb2000

Created 15 years ago2009-02-21 10:35:45 UTC by crazyb2000 crazyb2000

Posted 15 years ago2009-02-21 10:35:45 UTC Post #263075
does anybody know haow to use gameinfo.txt to create icons for your game.
Posted 15 years ago2009-02-21 10:45:59 UTC Post #263076
The syntax is:

icon "resource\youricon"

Make sure your ico file is placed in the resource directory.
Posted 15 years ago2009-02-21 12:31:46 UTC Post #263078
thanks, but now I have a new problem. I've made it so that when you start up the mod the title just shows pictures of guns and dot. no letters.
Posted 15 years ago2009-02-21 13:08:50 UTC Post #263080
This happened to me aswell.

I just removed the title completely and used a background image instead.
monster_urby monster_urbyGoldsourcerer
Posted 15 years ago2009-02-21 13:13:45 UTC Post #263081
and how do use a background image. because it keeps coming up with that 3d background with the birds flying across
Posted 15 years ago2009-02-21 14:41:07 UTC Post #263082
Posted 15 years ago2009-02-23 13:35:14 UTC Post #263162
Is that the real urb there, or some kind of imposter using a shorter version of his name.

Or did he just have his username changed by a admin?
Posted 15 years ago2009-02-23 15:08:00 UTC Post #263165
It's me. Shorter name is easier to log in with.
monster_urby monster_urbyGoldsourcerer
Posted 15 years ago2009-02-26 10:06:57 UTC Post #263309
The link you gave me didn't tell me what I needed to know. also how can I add my media\gamestartup.mp3 to the game when you turn it on?
Posted 15 years ago2009-02-26 21:35:06 UTC Post #263366
The link you gave me didn't tell me what I needed to know.
Uhm...the link leads to EVERYTHING you need to know about custom menu screens in Source. It's what I used to create my menu screen.

[quote]Menu Background Material

It is also necessary to create background materials for your menu background .BSP. This is the image that is shown when you first launch the game, but before the background .BSP has finished loading. In Half-Life 2, this was a blurred screenshot of the background map (when recreating this, use a 30px Gaussian Blur filter for a 1280x image). When the background .BSP is finished loading, the screen fades from the static background material to the actual 3D background map.

The following two materials are needed:

<game directory>\materials\console\<map name>.vmt

<game directory>\materials\console\<map name>_widescreen.vmt

For example, if you made a background map named sdk_background.bsp, you would need these two materials:

hl2\materials\console\sdk_background.vmt

hl2\materials\console\sdk_background_widescreen.vmt

The background materials are usually a 1024x1024 screenshot of the background map, blurred in an image-editing application.

You can find the key command to take screen shots under Options -> Keyboard when you run the game. The F5 key is the default screenshot key, and saves a .JPG format screen shot to the <game directory>\screenshots directory. You can also bind a key to the screenshot console command, which will save in the .TGA format.

A menu background material .vmt file should look something like this:
"UnlitGeneric"
{
"$basetexture" "console/sdk_background"
"$vertexcolor" 1
"$vertexalpha" 1
"$ignorez" 1
"$no_fullbright" "1"
"$nolod" "1"
}

For information on how to create these materials, see the Material Creation doc.

Sample materials for the sdk_background sample map are located in:

\sourcesdk_content\hl2\materialsrc\console (for the source .TGAs)

\half-life 2\hl2\materials\console (for the .VMT and .VTF files).[/quote]
Disabling Background Maps

If you would like to just use the vmt texture as a background (without loading a map), simply create the file \cfg\valve.rc and add the following:
// load the base configuration
//exec default.cfg
// Setup custom controller
exec joystick.cfg

// run a user script file if present
exec autoexec.cfg

//
// stuff command line statements
//
stuffcmds
Helps if you read things properly I guess :rly:
monster_urby monster_urbyGoldsourcerer
Posted 15 years ago2009-02-28 10:06:04 UTC Post #263440
thanks for that. back to my other quetion the music
Posted 15 years ago2009-02-28 10:08:37 UTC Post #263441
Did you try searching for 'startup' on the Valve Developer Wiki?
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 15 years ago2009-02-28 11:33:26 UTC Post #263446
yeah and did everything it told me... nothing happened
Posted 15 years ago2009-02-28 18:05:37 UTC Post #263462
Make sure it is named gamestartup1.mp3...

Also, as the VDC states, it needs to be in 44100Hz to play properly in the game.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 15 years ago2009-03-02 13:11:03 UTC Post #263589
that's cool... now how do i make it so that click new game and it goes to the first map.
You must be logged in to post a response.