EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Request

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-19-2007, 03:22 AM
ObsidianDragon ObsidianDragon is offline
A Berserk Golem
 
Join Date: Aug 2005
Server: Oasis
Posts: 57
Question button + textbox waypoints?

It would be lovely to have a waypoints window that was just a half dozen text boxes with 'go' buttons next to them so you could paste in waypoints and click the button to command a "/waypoint " with the text appended.

Thanks in advance to anyone willing to attempt this, if it's feasible. Sadly my ancient VB skills don't help me at all trying to figure out the syntax of EQ2's xml files - no idea at all how to make a button press do a command that is part literal string and part value reference.
Reply With Quote
  #2  
Unread 05-19-2007, 11:09 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

You mean a textbox + button like EQ2map already has?
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 05-19-2007, 07:33 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

Here you go.

Add to to your eq2ui_mainhud.xml file

Code:
<included>eq2ui_mainhud_waypointfinder.xml</include>
Copy and past in a new file, save as eq2ui_mainhud_waypointfinder.xml using UTF8 in your custom UI directory.

Code:
<?xml version="1.0" encoding="utf-8"?>
<Page Location="262,142" Name="WayPointFinder" ScrollExtent="174,188" Size="174,188">
<Page Name="Waypoint0" ScrollExtent="174,36" Size="174,36">
<Button LocalText="GO&gt;" Location="133,3" MaximumSize="16384,32" MinimumSize="32,32" Name="Go" OnPress="waypoint Parent.Location.LocalText" ScrollExtent="38,32" Size="38,32" Style="PushButton.data.style">GO&gt;</Button>
<Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" Location="4,4" MaximumSize="16384,30" MinimumSize="30,30" Name="Location" RStyleActivated="Textfield.data.selected.rect" RStyleDefault="Textfield.data.default.rect" RStyleDisabled="Textfield.data.disabled.rect" RStyleDisabledActivated="Textfield.data.disabled.rect" RStyleMouseOver="Textfield.data.mouseover.rect" RStyleMouseOverActivated="Textfield.data.selected.rect" RStyleMouseOverSelected="Textfield.data.selected.rect" RStyleSelected="Textfield.data.selected.rect" ScrollExtent="130,30" Size="130,30" Style="Textfield.data.style"></Textbox>
</Page>
<Page Location="0,30" Name="Waypoint1" ScrollExtent="174,36" Size="174,36">
<Button LocalText="GO&gt;" Location="133,3" MaximumSize="16384,32" MinimumSize="32,32" Name="Go" OnPress="waypoint Parent.Location.LocalText" ScrollExtent="38,32" Size="38,32" Style="PushButton.data.style">GO&gt;</Button>
<Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" Location="4,4" MaximumSize="16384,30" MinimumSize="30,30" Name="Location" RStyleActivated="Textfield.data.selected.rect" RStyleDefault="Textfield.data.default.rect" RStyleDisabled="Textfield.data.disabled.rect" RStyleDisabledActivated="Textfield.data.disabled.rect" RStyleMouseOver="Textfield.data.mouseover.rect" RStyleMouseOverActivated="Textfield.data.selected.rect" RStyleMouseOverSelected="Textfield.data.selected.rect" RStyleSelected="Textfield.data.selected.rect" ScrollExtent="130,30" Size="130,30" Style="Textfield.data.style"></Textbox>
</Page>
<Page Location="0,60" Name="Waypoint2" ScrollExtent="174,36" Size="174,36">
<Button LocalText="GO&gt;" Location="133,3" MaximumSize="16384,32" MinimumSize="32,32" Name="Go" OnPress="waypoint Parent.Location.LocalText" ScrollExtent="38,32" Size="38,32" Style="PushButton.data.style">GO&gt;</Button>
<Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" Location="4,4" MaximumSize="16384,30" MinimumSize="30,30" Name="Location" RStyleActivated="Textfield.data.selected.rect" RStyleDefault="Textfield.data.default.rect" RStyleDisabled="Textfield.data.disabled.rect" RStyleDisabledActivated="Textfield.data.disabled.rect" RStyleMouseOver="Textfield.data.mouseover.rect" RStyleMouseOverActivated="Textfield.data.selected.rect" RStyleMouseOverSelected="Textfield.data.selected.rect" RStyleSelected="Textfield.data.selected.rect" ScrollExtent="130,30" Size="130,30" Style="Textfield.data.style"></Textbox>
</Page>
<Page Location="0,90" Name="Waypoint3" ScrollExtent="174,36" Size="174,36">
<Button LocalText="GO&gt;" Location="133,3" MaximumSize="16384,32" MinimumSize="32,32" Name="Go" OnPress="waypoint Parent.Location.LocalText" ScrollExtent="38,32" Size="38,32" Style="PushButton.data.style">GO&gt;</Button>
<Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" Location="4,4" MaximumSize="16384,30" MinimumSize="30,30" Name="Location" RStyleActivated="Textfield.data.selected.rect" RStyleDefault="Textfield.data.default.rect" RStyleDisabled="Textfield.data.disabled.rect" RStyleDisabledActivated="Textfield.data.disabled.rect" RStyleMouseOver="Textfield.data.mouseover.rect" RStyleMouseOverActivated="Textfield.data.selected.rect" RStyleMouseOverSelected="Textfield.data.selected.rect" RStyleSelected="Textfield.data.selected.rect" ScrollExtent="130,30" Size="130,30" Style="Textfield.data.style"></Textbox>
</Page>
<Page Location="0,119" Name="Waypoint4" ScrollExtent="174,36" Size="174,36">
<Button LocalText="GO&gt;" Location="133,3" MaximumSize="16384,32" MinimumSize="32,32" Name="Go" OnPress="waypoint Parent.Location.LocalText" ScrollExtent="38,32" Size="38,32" Style="PushButton.data.style">GO&gt;</Button>
<Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" Location="4,4" MaximumSize="16384,30" MinimumSize="30,30" Name="Location" RStyleActivated="Textfield.data.selected.rect" RStyleDefault="Textfield.data.default.rect" RStyleDisabled="Textfield.data.disabled.rect" RStyleDisabledActivated="Textfield.data.disabled.rect" RStyleMouseOver="Textfield.data.mouseover.rect" RStyleMouseOverActivated="Textfield.data.selected.rect" RStyleMouseOverSelected="Textfield.data.selected.rect" RStyleSelected="Textfield.data.selected.rect" ScrollExtent="130,30" Size="130,30" Style="Textfield.data.style"></Textbox>
</Page>
<Page Location="0,149" Name="Waypoint5" ScrollExtent="174,36" Size="174,36">
<Button LocalText="GO&gt;" Location="133,3" MaximumSize="16384,32" MinimumSize="32,32" Name="Go" OnPress="waypoint Parent.Location.LocalText" ScrollExtent="38,32" Size="38,32" Style="PushButton.data.style">GO&gt;</Button>
<Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" Location="4,4" MaximumSize="16384,30" MinimumSize="30,30" Name="Location" RStyleActivated="Textfield.data.selected.rect" RStyleDefault="Textfield.data.default.rect" RStyleDisabled="Textfield.data.disabled.rect" RStyleDisabledActivated="Textfield.data.disabled.rect" RStyleMouseOver="Textfield.data.mouseover.rect" RStyleMouseOverActivated="Textfield.data.selected.rect" RStyleMouseOverSelected="Textfield.data.selected.rect" RStyleSelected="Textfield.data.selected.rect" ScrollExtent="130,30" Size="130,30" Style="Textfield.data.style"></Textbox>
</Page>
<Page BackgroundOpacity="1.000" Location="14,47" Name="bkg" PackSize="absolute,absolute" PackSizeProp="0029/0001,0104/0001" RStyleDefault="/CommonElements.RoundedGrouper.data.rect" ScrollExtent="219,315" Size="219,315"/><Page AbsorbsInput="false" Name="WindowFrame" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="248,419" Size="248,419"/>
</Page>
In game use /show_window MainHud_WayPointFinder to view the page.

Disclaimer: Never tested I just whipped it up for ya..
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 05-19-2007 at 07:40 PM.
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 02:35 AM.


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