BeBot - An Anarchy Online and Age Of Conan chat automaton
Development => Coding and development discussion => Topic started by: Margon on May 03, 2010, 12:45:17 pm
-
hi, is it possible to send text with custom fonts?
$this->bot->send_output($name, "<font face='hyborianlarge'>test</font>", 'gc');
dont send with the custom font :(
how can i do this?
-
To the best of my knowledge, neither AoC or AO supports this.
-
AoC supports face and color in font tags in script files:
<font color=red face=hyboriansmall>
The BeBot code for theme does allow for faces, only color.
Here is a list of all the faces available:
HYBORIANLARGE
HYBORIANSMALL
LARGE_BOLD
LARGE
NORMAL
NORMAL_BOLD
SMALL
COMBAT_FEEDBACK
FLYING_NUMBERS_SHIELDED_ITALICS
FLYING_NUMBERS_SHIELDED
FLYING_NUMBERS_ITALICS
FLYING_NUMBERS
3D_TEXT_HYB
3D_TEXT_ARIAL
3D_TEXT_SMALL
SCALED
3D_TEXT_BOLD
3D_TEXT
HEADLINE
CHAT
HUGE
-
yes but how can i make a script where the bot sends text with this fonts?
atm my bot only send with the normal font
-
I don't you can directly as it is written now. You can use the scripts module, but I am not sure it will do what you want.
Here are 2 links with some examples and modules:
* http://bebot.link/aoc-modules/script-module/
* http://bebot.link/aoc-0-6-support/scripts-to-module