Custom Menu

Tutorial collection, comprehensive listings on main site.

Postby 3UNKNOWN3 on Sun Jun 05, 2005 12:01 am

How do you disable the background map all together and just leave the background picture?
"You know, in church they say to forgive."
"Forgiveness is between them and God, it's my job to arrange the meeting."
3UNKNOWN3
Just Joined
Just Joined
 
Joined: Sun Jun 05, 2005 12:00 am

Postby Ophidian on Sun Jun 05, 2005 1:35 am

Ugh... are you talking about in single player hl2? If you are, go to your launch options of HL2, and type +map_background none.
Ophidian
1337 p0st3r
1337 p0st3r
 
Joined: Sat Feb 12, 2005 10:18 pm
Location: In Your Computer

Help!

Postby 1337Elite on Thu Jun 23, 2005 7:01 pm

when i start my mod i get a error... don't know why but i have the error log.
Code: Select all
Both ConVars must be marked FCVAR_REPLICATED for linkage to work (r_VehicleViewDampen)
Warning! Game event listener registerd for all events. Use newer game event interface.
Warning! Game event listener registerd for all events. Use newer game event interface.
Warning! Game event listener registerd for all events. Use newer game event interface.


That's not the usual for my mod
1337Elite
Just Joined
Just Joined
 
Joined: Thu Jun 23, 2005 6:55 pm
Location: Home

Folder Finding

Postby Ice_jack on Thu Jul 07, 2005 10:51 pm

I can't find the vgui/chapters folder and i have looked everywhere, can somebody show me the way
Ice_jack
Just Joined
Just Joined
 
Joined: Thu Jul 07, 2005 10:46 pm

Re: Folder Finding

Postby mr greenfish on Fri Jul 15, 2005 12:39 pm

Ice_jack wrote:I can't find the vgui/chapters folder and i have looked everywhere, can somebody show me the way


Get GCFScape, open source materials.gcf and the folder 'chapters' can be found like so:-

hl2/materials/VGUI/Chapters

---

Also Blink, you need to update this tutorial now, it seems that one of the steam updates has changed the format slightly as 'Ophidian' has discovered. The first part (-Mod Title) should now read like this:

The Game Title for the main menu can be changed by editing the file gameinfo.txt (found in the root of you mod folder). Open up the File and you'll see something like this:

"GameInfo"
{
game "HALF-LIFE 2"
title "HALF-LIFE'"
type singleplayer_only

FileSystem
{
SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.

SearchPaths
{
Game |gameinfo_path|.
Game hl2
}
}
}
---

To change it you'd simply replace the titles for 'game' and/or 'title' with whatever you would like to name your game.

game- is the name of the application, as to be seen in your taskbar
title- is the name as to be seen in the main title text

In my example I shall call the mod Murder William:

"GameInfo"
{
game "Murder William"
title "MURDER WILLIAM"
type singleplayer_only


FileSystem
{
SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.

SearchPaths
{
Game |gameinfo_path|.
Game hl2
}
}
}

If you were to change this now you would probably have some weird shapes as your title, the reason for this is because there is a custom font being used that was created specifically for half-life 2. In that particular font the not-needed letters are replaced by logo's, weapon icons and whatnot. Unless you want to call your mod something like 'All Hail Life 2' you're gonna need to add you own font, You can change the font in the Clientscheme.res file.

Image Available now
User avatar
mr greenfish
1337 p0st3r
1337 p0st3r
 
Joined: Sat Dec 04, 2004 12:05 pm

Postby Cargozer on Sat Jul 16, 2005 11:41 am

How can you change the small chapter icons in the menu?
Cargozer
Dumpling
Dumpling
 
Joined: Sat Jul 16, 2005 11:38 am
Location: Finland

Postby mr greenfish on Sat Jul 16, 2005 9:36 pm

extract them from the .gcf file as i just mentioned in my previous post.
Image Available now
User avatar
mr greenfish
1337 p0st3r
1337 p0st3r
 
Joined: Sat Dec 04, 2004 12:05 pm

Postby ZenMunky on Tue Jul 19, 2005 2:05 pm

gameinfo.txt = a

scripts/gameinfo.txt = b

Extra b content = x

Extra a content = y

b = (b + x) a = (a + y) b => a = (a + y + x)

Rename b to _gameinfo.txt.
User avatar
ZenMunky
Pheropod
Pheropod
 
Joined: Sun Apr 17, 2005 3:31 am
Location: Running From The Unicycling Giant Screaming Purple Bunnies of Doom...

Postby mr greenfish on Tue Jul 19, 2005 9:25 pm

ZenMunky wrote:gameinfo.txt = a

scripts/gameinfo.txt = b

Extra b content = x

Extra a content = y

b = (b + x) a = (a + y) b => a = (a + y + x)

Rename b to _gameinfo.txt.


The tutorial has been corrected now, besides you're wrong on the renaming part. That isn't necessary at all.
Image Available now
User avatar
mr greenfish
1337 p0st3r
1337 p0st3r
 
Joined: Sat Dec 04, 2004 12:05 pm

Postby reaper2 on Sat Jul 23, 2005 2:35 pm

how do you convert tga's t vtf's? :oops:
Image
reaper2
Dumpling
Dumpling
 
Joined: Sat Jul 23, 2005 2:32 pm

Adding music to game menu

Postby SimonR on Sat Jul 23, 2005 9:14 pm

I wasn't sure if this was the best place to post this question, but I thought it was the most relevant topic. Anyway, is there any way to add music to the menu? I remember seeing (well, hearing) it in HL2 CTF, but I have no idea how to do it. Thanks for your help :D
User avatar
SimonR
Dumpling
Dumpling
 
Joined: Sat Jul 23, 2005 9:01 pm
Location: England

Postby MassaCre on Sun Jul 24, 2005 11:14 am

i know how to do it... sorry but im tooooo tired right now to write it, so i'll just link you to my menu-tutorial.

http://forum.leak-free.org/viewtopic.php?t=2221
Linkin Park rules!
MassaCre
Member
Member
 
Joined: Wed May 04, 2005 7:56 pm
Location: Sweden

Postby SimonR on Sun Jul 24, 2005 12:02 pm

Sweet, thanks! Worked perfectly, my menu is much more interesting now. Would it be something similar to this in order to change the sounds of the menu buttons? Both when you mouse-over them, and click on them?
User avatar
SimonR
Dumpling
Dumpling
 
Joined: Sat Jul 23, 2005 9:01 pm
Location: England

Postby MassaCre on Sun Jul 24, 2005 1:19 pm

yes, that is possible... if you look at in the UI folder in the hl2 sound folder. You'll see three files, buttonclick.wav (the sound that is played when clicking on a button), buttonclickrelease.wav (the sound that is played after clicking on the button) and the buttonrollover.wav (the sound that is played when you have the mouse-over them.
Linkin Park rules!
MassaCre
Member
Member
 
Joined: Wed May 04, 2005 7:56 pm
Location: Sweden

Postby RavenofAzerath on Tue Jul 26, 2005 5:33 pm

i have a problem

i have like one font that works and actually shows the title name (its called Abduction), and the other fonts i get all appear as this plain text (arial i think)

can u help me?
RavenofAzerath
Just Joined
Just Joined
 
Joined: Tue Jul 26, 2005 5:30 pm
PreviousNext

Return to Tutorials

Who is online

Users browsing this forum: No registered users