EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-15-2005, 02:56 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default <include> txt files?

I'm trying to use <include> to insert text from text files, but how to do it is escaping me...

I have my XML file in my custom ui folder, and I would think I could just do:

<include>spells/main.txt</include>

But when I go and look in other mods that do it, it's something like:

<include>something/../something/main.txt</include>

So what's the deal? I'm a little confused
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 11-16-2005 at 12:27 AM.
Reply With Quote
  #2  
Unread 11-16-2005, 11:05 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Still having no luck here. Either I'm missing something easy, or there's some kind of trick to it.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #3  
Unread 11-16-2005, 11:15 AM
Sir Taleisin The Seer's Avatar
Sir Taleisin The Seer Sir Taleisin The Seer is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: The Bazaar
Posts: 338
Default

been trying myself drum, no luck
__________________
DawnTide
Reply With Quote
  #4  
Unread 11-16-2005, 08:32 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

from what I can figure you can't just include a text file. One it needs to be in UTF-8 format and if the script engin don't detect tags it ignores any info that isn't in a tag.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #5  
Unread 11-16-2005, 10:35 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Wierd.

But other mods that I'm talking about, I mean such as the journal mods that have all those heritage and writ text files in them. As well as all the info stuff, like the cookbooks, ect.

I'm just wondering, trying to have my own spelllist window, but dont' feel like having a 100,000 line file if you get what I mean
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #6  
Unread 11-16-2005, 11:12 PM
PaulGHarrison PaulGHarrison is offline
A Young Mystail Rat
 
Join Date: Feb 2005
Server: Antonia Bayle
Posts: 4
Default

Hi Drumstix42,
I use the following construction to put random text files in a window, is that what you need?

<Text ......><include>xyzzy/xyzzy</include></Text>

Paul
Reply With Quote
Reply



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:43 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI