User:Createdbyx: Difference between revisions
Createdbyx (talk | contribs) mNo edit summary |
Createdbyx (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
== Changing the appearence and behavior of the HL2 GUI. == | == Changing the appearence and behavior of the HL2 GUI. == | ||
Changing the appearence of the HL2 GUI is as easy as changing the values in the <code>SteamApps\YourMod\Resource\SourceScheme.res</code> using notepad. If you have not started to create your own hl2 mod you will need to extract the SourceScheme.res file from the | Changing the appearence of the HL2 GUI is as easy as changing the values in the <code>SteamApps\YourMod\Resource\SourceScheme.res</code> using notepad. If you have not started to create your own hl2 mod you will need to extract the SourceScheme.res file from the <code>SteamApps\source engine.gcf</code> group file. I personally use [[Gcfscape]] to extract the files I need. Look under <code>root\hl2\resource\SourceScheme.res</code> to find the file. You will need to extract the SourceScheme.res file into the <code>SteamApps\youremail\half-life2\hl2\resource</code> folder. Or if you want to customize your own mod then extract the file to <code>SteamApps\YourMod\Resource\SourceScheme.res</code>. | ||
Lets take a look at changing the color of all GUI items to a blue tint. Open the SourceScheme.res file in notepad and scroll down to about line 63 you should see something like this... | Lets take a look at changing the color of all GUI items to a blue tint. Open the SourceScheme.res file in notepad and scroll down to about line 63 you should see something like this... | ||
Line 20: | Line 20: | ||
Frame.AutoSnapRange "0" | Frame.AutoSnapRange "0" | ||
</pre> | </pre> | ||
Simply change the values for <code>Frame.BgColor</code> to <code>160 160 255 128</code>. Colors are ordered RGBA (Red-Green-Blue-Alpha). Now save the file and run your mod. Voila! You now have | Simply change the values for <code>Frame.BgColor</code> to <code>160 160 255 128</code>. Colors are ordered RGBA (Red-Green-Blue-Alpha). Now save the file and run your mod. Voila! You now have a blue tinted GUI. |
Revision as of 14:26, 30 August 2005
This is the place where I Created by: X will post my tutorials for modding HL2. Please only make changes to this page related to spell checking, and factual errors.
Mini Mods
Changing the appearence and behavior of the HL2 GUI.
Changing the appearence of the HL2 GUI is as easy as changing the values in the SteamApps\YourMod\Resource\SourceScheme.res
using notepad. If you have not started to create your own hl2 mod you will need to extract the SourceScheme.res file from the SteamApps\source engine.gcf
group file. I personally use Gcfscape to extract the files I need. Look under root\hl2\resource\SourceScheme.res
to find the file. You will need to extract the SourceScheme.res file into the SteamApps\youremail\half-life2\hl2\resource
folder. Or if you want to customize your own mod then extract the file to SteamApps\YourMod\Resource\SourceScheme.res
.
Lets take a look at changing the color of all GUI items to a blue tint. Open the SourceScheme.res file in notepad and scroll down to about line 63 you should see something like this...
Frame.TitleTextInsetX 16 Frame.ClientInsetX 8 Frame.ClientInsetY 6 Frame.BgColor "160 160 160 128" Frame.OutOfFocusBgColor "160 160 160 32" Frame.FocusTransitionEffectTime "0.3" // time it takes for a window to fade in/out on focus/out of focus Frame.TransitionEffectTime "0.08" // time it takes for a window to fade in/out on open/close Frame.AutoSnapRange "0"
Simply change the values for Frame.BgColor
to 160 160 255 128
. Colors are ordered RGBA (Red-Green-Blue-Alpha). Now save the file and run your mod. Voila! You now have a blue tinted GUI.