[T2 help] Crunchys DoubleFavourites

Sly2k
12-31-2002, 07:51 PM
hi, currently reinstalling t2 and managed to get most of the scripts i wanted and a good looking gui set.

Atm im just changing the fonts on some of them but i am stuck with Crunchys doublefavourites. Is there anyway to change the font in this script?

Also diff question , same script...is there anyway to change it to transparent?

thx

Cobra
12-31-2002, 10:51 PM
Originally posted by Sly2k
Also diff question , same script...is there anyway to change it to transparent?
thx

Try this change to the doublefavourite.cs file:
from:
new HudScoreCtrl(DoubleFavour itePopup)
{
profile = "HudScoreProfile";

to:
new ShellFieldCtrl(DoubleFavo uritePopup)
{
profile = "";

Around line 105.

Sly2k
01-01-2003, 09:16 AM
excellent, that made it transparent. thx

Any1 know how to change the font and font size too?

Kaiten Commande
01-01-2003, 09:45 AM
DoubleFavouritePopup.Text[1] = new GuiTextCtrl()
{
profile = "GuiTextObjGreenCenterProf ile";
horizSizing = "center";
vertSizing = "bottom";
position = "3 3";
extent = "122 16";
visible = "1";
};
DoubleFavouritePopup.Text[2] = new GuiTextCtrl()
{
profile = "GuiTextObjHudCenterProfil e";
horizSizing = "center";
vertSizing = "bottom";
position = "3 19";
extent = "122 16";
visible = "1";
};

Change the GuiTextObjGreenCenterProf ile & GuiTextObjHudCenterProfil e to something you like.

Have a look in guiProfiles.cs to see how they are made up. Or create your own.

new GuiControlProfile ("YourNewProfile")
{
fontType = "Univers"; // Font Duh!
fontSize = 14; // Font Size
fontColor = "40 247 113"; // RGB Colours
justify = "left"; // left, right or center
};