Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 10-16-2017, 05:02 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,725
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Quote:
Originally Posted by MysticalDragon View Post
show me your TextControls
I eventually removed the font type option, but I believe the script looked something like this:

Graal Script Code:
new GuiMLTextCtrl("say3_text") {
  
useownprofile true;
  
profile.fonttype "FONT NAME";
  
profile.fontcolor = { 255255255255 };
  
profile.textshadow true;
  
profile.shadowoffset = { 2};
  
profile.shadowcolor = { 00};
  
profile.fontsize 32;
  
htmllinks true;
  
width say3_scroll.width 10;
  
height say3_scroll.height 10;
  
0;
  
text " ";

In place of FONT NAME I used the font name inside of the .ttf file (in this case I was testing using a Zelda font, Return of Ganon I think). I also used the file name itself (returnofganon.ttf I believe).
__________________
Save Classic!
Reply With Quote
  #17  
Old 10-16-2017, 05:49 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 863
MysticalDragon is just really niceMysticalDragon is just really nice
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
profile.fonttype = ""; is correct but without the extension

you can also do this

text = "<font face=arial>TEXT</font>"; //don't add extensions (if its GUIMLTextCtrl)
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
carlito@graalonline.com



Reply With Quote
  #18  
Old 10-16-2017, 06:04 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,725
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Quote:
Originally Posted by MysticalDragon View Post
profile.fonttype = ""; is correct but without the extension

you can also do this

text = "<font face=arial>TEXT</font>"; //don't add extensions (if its GUIMLTextCtrl)
I tried that as well.
Quote:
Originally Posted by F2 Log
File download: returnofganonbd.ttf not found
folder config has:
file fonts/*.ttf
and the font is uploaded to fonts/

I will try with another font to see if maybe it is an issue with the font itself.

EDIT I've tried a few different fonts and none of them download. I don't know if it has anything to do with it, but occasionally we have an error message about a japanese file type being too large to download in RC.
__________________
Save Classic!
Reply With Quote
  #19  
Old 10-16-2017, 06:59 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 863
MysticalDragon is just really niceMysticalDragon is just really nice
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
I wonder since its G2k1 if the NPC-Server is outdated and doesn't support it. i'll have to investigate more.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
carlito@graalonline.com



Reply With Quote
  #20  
Old 10-16-2017, 09:51 AM
Kamaeru Kamaeru is offline
Sandinista!
Kamaeru's Avatar
Join Date: Dec 2001
Posts: 1,019
Kamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud ofKamaeru has much to be proud of
Quote:
Originally Posted by MysticalDragon View Post
I wonder since its G2k1 if the NPC-Server is outdated and doesn't support it. i'll have to investigate more.
That would be good. We have frequent disconnects and would be cool if possible to have more server memory. For stuff like events, the disconnect issue is a big problem.
__________________
3DS friendcode: 1118-0226-7975
Reply With Quote
  #21  
Old Yesterday, 04:07 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,725
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Quote:
Originally Posted by Kamaeru View Post
That would be good. We have frequent disconnects and would be cool if possible to have more server memory. For stuff like events, the disconnect issue is a big problem.
I agree. The disconnects are a bit tedious. It makes communicating between staff a bit harder when you leave them a message in RC or via PM and they end up being disconnected before they read it. Also annoying when trying to bug fix, because the error is most commonly encountered when a level is updated.
__________________
Save Classic!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:34 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.