EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   SIDL Question (http://www.eqinterface.com/forums/showthread.php?t=4316)

aeluin 11-24-2002 05:36 PM

SIDL Question
 
I found this in SIDL.xml:

<ElementType name="SuiteDefaults">
<superType type="Class" />
<element name="DefaultWindowDrawTemplate" type="WindowDrawTemplate:item" />
<element name="CursorDefault" type="Ui2DAnimation:item" />
<element name="CursorResizeNS" type="Ui2DAnimation:item" />
<element name="CursorResizeEW" type="Ui2DAnimation:item" />
<element name="CursorResizeNESW" type="Ui2DAnimation:item" />
<element name="CursorResizeNWSE" type="Ui2DAnimation:item" />
<element name="CursorDrag" type="Ui2DAnimation:item" />
</ElementType>


would I be able to define a CursorDefault Item?

puddy 11-25-2002 04:48 AM

Absolutely...

Just go to your EQUI_Animations.xml file and modify the Ui2DAnimation item = "A_DefaultCursor" to be the cursor that you want to use...

You can either modify the .tga file to reflect the cursor you want to use... or create a new one...

>^,,^<

aeluin 11-25-2002 10:24 PM

Nonononono!
I want to do this *without* modifying EQUI_Animations. I know how to do it in the animations file, have done it several times, and in the windowpieces.tga file, but I want a way to change the size and tga file for my cursor without modifying the animations file. My question was: Would it be legal for me, in *another* file, to define something as a CursorDefault Item? Or something similar?

grottel 11-26-2002 07:15 PM

something to play with
 
SIDL.doc doesn't list defaults for these elements. However, since there is no assignment made within the DEFAULT UI's XMLs then we can only assume that at a minimum the SIDL EQUI sets the defaults assingment of these suite elements to appropriate animations.

Is it possible to point cursor suite elements to a different animation? unknown


Assuming that the graphics are already defined.
Even if we had a file that defined a new cursor set (druid in this example) or included the body of the code in the EQUI_Template.xml
Quote:
<?xml version = "1.0"?>
<XML ID = "EQInterfaceDefinitionLanguage">
<Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>

<SuiteDefault item = "SD_Druid">
<DefaultWindowDrawTemplate>WDT_Def</DefaultWindowDrawTemplate>
<CursorDefault>A_CursorDefault_Druid</CursorDefault>
<CursorResizeNS>A_CursorResizeNS_Druid</CursorResizeNS>
<CursorResizeEW>A_CursorResizeEW_Druid</CursorResizeEW>
<CursorResizeNESW>A_CursorResizeNESW_Druid</CursorResizeNESW>
<CursorResizeNWSE>A_CursorResizeNWSE_Druid</CursorResizeNWSE>
<CursorDrag>A_CursorDrag_Druid</CursorDrag>
</SuiteDefault>
</XML>

The problem remains that there are no function calls to set the SuiteDefault there remains no way to assign our newly defined item.

However, this might be possible since its a global item and technically inherited, it might be possible to define a different cursor set to each window.

aeluin 11-26-2002 11:29 PM

this is embarassing but...huh?

er...I kind of see what you're saying...but don't see how I would put it into practice, to test what you're suggesting, unless you're suggesting that I try inserting some variation on the above code into one of my window files?

grottel 11-27-2002 10:50 AM

I did emphasis that this is an unknown area. Since the SIDL schema doesn't include any indication of how SuiteDefaults are implemented, it probably isn't even possible. If you want an exact answer as to what to do - nobody has one because this uncharted territory. The only thing you can do is experiement while following the logic of the schema. I simply dont have the patience to load up a EQ (15 minutes) each time I want to test a mod. So I leave it those with 2 machines that can test stuff quickly to sort it out. However, I'm more than happy to share ideas.

One reason why this is a bit of guess for me is how the SIDL.DOC shows the hierarchy of the SUITEDEFAULTS object. Supposedly this has a supratype of CLASS but the hierarchy shows it above the class level. /shrug

aeluin 11-29-2002 01:43 AM

thank you :)


All times are GMT -5. The time now is 11:31 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.