Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: MacGyver12345 on Thu 27/08/2009 14:21:38

Title: Using TM after words
Post by: MacGyver12345 on Thu 27/08/2009 14:21:38
How can i get the tm in a smaller font than the dialouge like in monkey island they say    "Melee Island  tm"
Title: Re: Using TM after words
Post by: Gilbert on Thu 27/08/2009 14:44:18
You can make a character of the font to be that small superscript 'TM'.
Title: Re: Using TM after words
Post by: MacGyver12345 on Thu 27/08/2009 15:26:53
what d you mean?
Title: Re: Using TM after words
Post by: Khris on Thu 27/08/2009 15:36:50
Use Radiant's FontEdit to repaint a not needed character ( e.g. / ) into the TM.
In the (dialog) script, write "RTFM/" and in-game, the / is replaced with TM.
Title: Re: Using TM after words
Post by: Dualnames on Thu 27/08/2009 16:01:37
Quote from: KhrisMUC on Thu 27/08/2009 15:36:50
Use Radiant's FontEdit to repaint a not needed character ( e.g. / ) into the TM.
In the (dialog) script, write "RTFM/" and in-game, the / is replaced with TM.

The example is a really good one.
Title: Re: Using TM after words
Post by: Joseph on Fri 28/08/2009 04:06:39
Quote from: KhrisMUC on Thu 27/08/2009 15:36:50
Use Radiant's FontEdit to repaint a not needed character ( e.g. / ) into the TM.
In the (dialog) script, write "RTFM/" and in-game, the / is replaced with TM.

Me tinks ya fergut two put a variable in your script thar.
Title: Re: Using TM after words
Post by: TerranRich on Fri 28/08/2009 15:50:11
If you're using an imported TTF, however, I don't believe it's possible to use any characters beyond ASCI character #128. The â,,¢ symbol is ASCI code 153 (Alt + Num Pad 0 1 5 3 in Windows), whcih is beyond the few characters imported by AGS from the TTF font.

But yeah, if you're using an SCI font (bitmap pixel font), you need to replace one of the characters that you won't be using, with a drawn â,,¢ symbol.
Title: Re: Using TM after words
Post by: Gilbert on Fri 28/08/2009 15:56:25
It's the other way round.

If it's a SCI font, you can only use slots #0-127.
If it's a TTF you can use slots #0-255.

Either way, you can replace the symbols in them (provided you have the tools) and they can be displayed as long as the symbols lie in the corresponding slot range for that kind of font  mentioned above.
Title: Re: Using TM after words
Post by: Dualnames on Fri 28/08/2009 15:58:42
I think the Hypertext module will prove tremendously useful!