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

Title: sending text with custom fonts
Post 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?
Title: Re: sending text with custom fonts
Post by: Khalem on May 05, 2010, 01:53:33 pm
To the best of my knowledge, neither AoC or AO supports this.
Title: Re: sending text with custom fonts
Post by: Kyr on May 05, 2010, 06:24:04 pm
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
Title: Re: sending text with custom fonts
Post by: Margon on May 05, 2010, 06:38:57 pm
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
Title: Re: sending text with custom fonts
Post by: Kyr on May 05, 2010, 07:25:44 pm
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
SimplePortal 2.3.7 © 2008-2024, SimplePortal