RPTools.net

Discussion and Support

Skip to content

It is currently Sat May 25, 2013 7:28 am 






Reply to topic  [ 4 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Fri Jul 06, 2007 3:28 pm
Posts: 4
 Post subject: Silly XML... pics are for kids
PostPosted: Fri Jul 06, 2007 3:33 pm 
Ok... newbie question.

Init Tool is awesome so far, but I want to include some local jpg's for permanent tokens in the defaultMonsters.rpdat file. I have been placing NPCs in there and my complete OCD requires me to attach their pics. So, for each stat block, I have something like:

<itToken>file:/C:/Documents and Settings/Me/My Documents/Gaming/npcname.jpg</itToken>

Unfortunately, this is not allowing me to "Lookup" any monsters. Take this code out and I'm cool, but no personalized NPC pics. What to do, what to do?

Any help would be appreciated.

Thanks
Roy


Top
 Profile  
 
 Offline
Kobold
 
Joined: Fri Jul 06, 2007 3:28 pm
Posts: 4
 Post subject:
PostPosted: Fri Jul 06, 2007 3:55 pm 
Oh... and the filename and path are correct..


Top
 Profile  
 
User avatar  Offline
RPTools Team
 
Joined: Tue Feb 07, 2006 1:07 am
Posts: 1739
Location: Austin, Tx
 Post subject:
PostPosted: Fri Jul 06, 2007 4:39 pm 
Try this:
Code:
<itToken>url:file:/C:/Documents and Settings/Me/My Documents/Gaming/npcname.jpg</itToken>

The itToken element can contain other types of images including inline and images on the Java classpath. It uses the url: to say that it is an image from the file system or net.


Top
 Profile  
 
 Offline
Kobold
 
Joined: Fri Jul 06, 2007 3:28 pm
Posts: 4
 Post subject:
PostPosted: Fri Jul 06, 2007 8:34 pm 
jay wrote:
Try this:
Code:
<itToken>url:file:/C:/Documents and Settings/Me/My Documents/Gaming/npcname.jpg</itToken>

The itToken element can contain other types of images including inline and images on the Java classpath. It uses the url: to say that it is an image from the file system or net.



That worked... thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 4 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman