Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 02-28-2015, 01:47 AM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
Any way to do custom fonts with something like this as well?
Reply With Quote
  #17  
Old 02-28-2015, 04:37 AM
Elk Elk is offline
Sr Marketing Strategist
Elk's Avatar
Join Date: Nov 2005
Location: Deerland
Posts: 3,829
Elk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant future
Send a message via ICQ to Elk Send a message via AIM to Elk Send a message via MSN to Elk Send a message via Yahoo to Elk
Quote:
Originally Posted by Draenin View Post
Any way to do custom fonts with something like this as well?
I'm fairly certain that you can just use
PHP Code:
this.fimg.font "custom font name here" 
for this specific example
and use a ttf uploaded on the server
(referenced from http://wiki.graal.net/index.php/Particle_Engine)

Havent tried yet though 8-D
__________________
iEra IGN: *Elk (Darkshire)
iCla. IGN: *Elk (Darkshire)
iZone IGN: *Elk (Darkshire)




Reply With Quote
  #18  
Old 02-28-2015, 10:38 PM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
Quote:
Originally Posted by Elk View Post
I'm fairly certain that you can just use
PHP Code:
this.fimg.font "custom font name here" 
for this specific example
and use a ttf uploaded on the server
(referenced from http://wiki.graal.net/index.php/Particle_Engine)

Havent tried yet though 8-D
Trying that out at the moment, but no luck yet. Do the fonts need to be in a specific folder?

I've already added one under levels/fonts and gave myself rights to upload fonts to that folder as well, but the TTF file I'm wanting to display isn't coming up yet. Just the default font.
Reply With Quote
  #19  
Old 03-01-2015, 12:25 AM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is just really niceMysticalDragon is just really nice
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
Are you using GUIControls or showimg? for the fonts folder make sure you have this in folder configuration.

PHP Code:
  file fonts/*.ttf 
Also if your using a GUIProfile that already is setup using another profile, try this.

PHP Code:
  useownprofile true;
  
profile.fonttype "arial"// Or whatever your font type is. 
If your using showimg/find image it might be this, not to sure havn't used showimg in a long time.

PHP Code:
  findimg(index).font "arial"
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
  #20  
Old 03-01-2015, 12:35 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Draenin View Post
Trying that out at the moment, but no luck yet. Do the fonts need to be in a specific folder?

I've already added one under levels/fonts and gave myself rights to upload fonts to that folder as well, but the TTF file I'm wanting to display isn't coming up yet. Just the default font.
Everything that MD said, but also check F2 "Files" tab to see if it's trying to download the file at all (and failing). That might give you a hint.
__________________
Reply With Quote
  #21  
Old 03-01-2015, 01:53 AM
Draenin Draenin is offline
Magnificent Bastard
Draenin's Avatar
Join Date: Dec 2004
Location: Bermuda Triangle
Posts: 6,790
Draenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud ofDraenin has much to be proud of
Send a message via AIM to Draenin Send a message via MSN to Draenin Send a message via Yahoo to Draenin
Got it working with this.fimg.font = "fontname";

I think it just stemmed from a problem with the font itself. But the good news is that it does work.

Last edited by Draenin; 03-01-2015 at 02:32 AM..
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 09:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.