View Single Post
  #63  
Unread 02-27-2005, 09:26 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by ger
Two suggestions. First, create your own DDS for the icons. Using the female mugshot DDS means this mod won't work with others like the SaintSinner NatureUI. Second, split the custom button out into its own XML and link it back to the startbutton XML via an include line. Without doing that the parser I'm about to write is going to be useless, since it won't be able to automatically link back the custom file it generates.

Thanks. Yes I was guessing that was going to be the case for the .DDS file.
I threw this together in about two weeks. Going from zero knowledg to this.
So not too terrible bad I think. I've got ALOT to learn.
I'm not sure what you man by splitling the buttons out to there own XMls' someone else mentoned that. I sounds like it should be fairly easy, I just havn't learned that one just yet.
Couple of things I'll do with updates.
Make the a single style for the three custom buttons since they use the same graphics. No point in having three seperate sytles.
Create a seperate DDS file with all my buttons in it.
I was pretty proud of two things I was able to figure out on my own.
How to declare the style inside the document rather than linking back to another style. It wouldn't let me use my own pictures that way. I had to create my own style.

Using the checkboxs as buttons.
Seems the common method is to make a couple of buttons on top of one another and make one hide while the other shows, and vice versa.
I think using the checkboxes as I did works much better.

About perser you are going to right?
It seem to me that one already exist with the game. I am guessing that Xpath is and it's various functuions are used for the Display Options window.
It's basicaly a form and the data types are set in the eq2_options_xml.
So Perhaps you can use code that is already in the game to out put a file with that data on it. Perhaps just set new path or something.

Saving your current setting out to file, and then being able to read them back into the game should be fairly streigh froward, I just simply do not have the knowldege yet. The IDEAL solution I think would be to have a list box inside the options window that you could sect 'custom profile 2' and do a save. and it would save your settings. Then do change your settings and select Custom Profile 3 and save the settings.
Then the buttons could be link to pull the information from those files.
That would be heaven.
This is better than anything we had before. So I'm happy to provide that.

Can you send me a link to the type of script you are using for the parser.
I'm really lost in trying to find any documentation for this sort things.
I don't even know what type of script I should be looking at.
Vbasic? Java? There's been alot of people unable to do anything with strings or if statements in these forums with the game.
Have you found a way around that?
When you say command line script. Do you mean command line script 'in the game' or outside the game?


Also, I still can't understand why the commands must be entered 'twice' to get them to work with the first button click.
Reply With Quote