Code: Select all
script 48 ENTER {
sethudsize(640,400,1);
SetFont("MANAI");
while (1)
{
hudmessage (s:"A";0,0,-1,623.1,355.1,1.0);
delay (const:35);
}
}
This is where the icon ends up when I "center" it at 320x200:
Code: Select all
script 48 ENTER {
sethudsize(640,400,1);
SetFont("MANAI");
while (1)
{
hudmessage (s:"A";0,0,-1,623.1,355.1,1.0);
delay (const:35);
}
}
Code: Select all
(in a loop on ijk)
sethudsize(640,400,1);
setfont (asGun1[ijk]);
hudmessage (s:"A";HUDMSG_PLAIN, 900, CR_UNTRANSLATED, 360.0, 300.0, 1);
Code: Select all
hudmessage (text; int type, int id, int color, fixed x, fixed y, fixed holdTime, ...);
Messages types other than 0 also take additional parameters.
Code: Select all
sethudsize(640,400,1);
setfont ("w_359");
hudmessage (s:"A";HUDMSG_PLAIN, 900, CR_UNTRANSLATED, 360.0, 300.0, 1);
Documentation on sethudsize is in the Sept. 25th update.RH-log.txt June 30, 2003 wrote: - Added the ability for the SetFont ACS command to load normal pictures as
fonts. When used this way, it creates a new font with only the letter A
defined, and the letter A is drawn as whatever the picture is. This
effectively allows you to use HudMessage like a HudPic command. The
drawback to this method is that you cannot use any color translations, as
you can with real fonts.