|
Page 1 of 1
|
[ 4 posts ] |
|
Previous topic | Next topic
Print view
woodroy
Kobold
|
|
Joined: Fri Jul 06, 2007 3:28 pm Posts: 4
|
|
Post subject: Silly XML... pics are for kids Posted: 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
|
|
woodroy
Kobold
|
|
Joined: Fri Jul 06, 2007 3:28 pm Posts: 4
|
|
Post subject: Posted: Fri Jul 06, 2007 3:55 pm |
|
|
Oh... and the filename and path are correct..
|
|
 |
jay
RPTools Team
|
|
Joined: Tue Feb 07, 2006 1:07 am Posts: 1739 Location: Austin, Tx
|
|
Post subject: Posted: 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.
|
|
woodroy
Kobold
|
|
Joined: Fri Jul 06, 2007 3:28 pm Posts: 4
|
|
Post subject: Posted: 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.
|
|
|
Page 1 of 1
|
[ 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
|
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