Wanting to add a few things ..

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

User avatar
Choakster
the antichrist
Posts: 124
Joined: Sat Aug 23, 2003 1:16 pm

Wanting to add a few things ..

Post by Choakster » Fri Mar 26, 2004 4:03 am

Well I made my own spell bar wich is simple and low lag. What Id like to do is add a little box to the spell bar to make a random hotkey ... For instance I wanna make a box similar to the ones in the activities window where you would edit and make hotbuttons. But I wanna be able to edit the box at will the same way we can now edit social buttons. My reasoning behind htis is to be able ti add a /who feature to my spell bar that I can click at will and also be able to edit it to whatever Id like ..

Im not sure if this makes sense I tried to add it already using ASP_SocialButton etc .. Im not quite sure where i went wrong.. Id also like to remove the grey background but cant seem to get rid of it, I tried to make it transparent but it didnt work. THus far I have Target Guildstatus HP % Level and class added to it. Im REALLY REALLY N00b at XML so heres my first shot at it Id appreciate any opinions or help ..

Heres the source Code

Code: Select all


<?xml version="1.0" encoding="us-ascii"?>
<XML ID="EQInterfaceDefinitionLanguage">
  <Schema xmlns="EverQuestData" xmlns:dt="EverQuestDataTypes" />
<Gauge item="Target_HPText">
      <ScreenID>TargetHP</ScreenID>
      <Font>2</Font>
      <TextColor>
        <R>240</R>
        <G>240</G>
        <B>240</B>
      </TextColor>
      <RelativePosition>true</RelativePosition>
      <Location>
        <X>3</X>
        <Y>51</Y>
      </Location>
      <Size>
        <CX>108</CX>
        <CY>24</CY>
      </Size>
      <GaugeOffsetY>16</GaugeOffsetY>
      <TextOffsetX>3</TextOffsetX>
      <TextOffsetY>3</TextOffsetY>
      <Style_VScroll>false</Style_VScroll>
      <Style_HScroll>false</Style_HScroll>
      <Style_Transparent>false</Style_Transparent>
      <TooltipReference />
      <FillTint>
        <R>240</R>
        <G>0</G>
        <B>0</B>
      </FillTint>
      <LinesFillTint>
        <R>220</R>
        <G>105</G>
        <B>85</B>
      </LinesFillTint>
      <DrawLinesFill>true</DrawLinesFill>
      <EQType>6</EQType>
      <GaugeDrawTemplate>
        <Background>A_GaugeBackground</Background>
        <Fill>A_GaugeFill</Fill>
        <Lines>A_GaugeLines</Lines>
        <LinesFill>A_GaugeLinesFill</LinesFill>
        <EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>
        <EndCapRight>A_GaugeEndCapRight</EndCapRight>
      </GaugeDrawTemplate>
    </Gauge>

<Label item="Target_Level">
      <ScreenID>TargetLevel</ScreenID>
      <EQType>2000</EQType>
      <Font>2</Font>
      <RelativePosition>true</RelativePosition>
      <Location>
        <X>-3</X>
        <Y>76</Y>
      </Location>
      <Size>
        <CX>22</CX>
        <CY>14</CY>
      </Size>
      <Text>0</Text>
      <TextColor>
        <R>255</R>
        <G>255</G>
        <B>0</B>
      </TextColor>
      <NoWrap>true</NoWrap>
      <AlignCenter>false</AlignCenter>
      <AlignRight>true</AlignRight>
      <AlignLeft>false</AlignLeft>
    </Label>
   
 <Label item="Target_Class">
      <ScreenID>TargetClass</ScreenID>
      <EQType>2001</EQType>
      <Font>2</Font>
      <RelativePosition>true</RelativePosition>
      <Location>
        <X>28</X>
        <Y>76</Y>
      </Location>
      <Size>
        <CX>78</CX>
        <CY>14</CY>
      </Size>
      <Text>0</Text>
      <TextColor>
        <R>255</R>
        <G>255</G>
        <B>0</B>
      </TextColor>
      <NoWrap>true</NoWrap>
      <AlignCenter>false</AlignCenter>
      <AlignRight>false</AlignRight>
      <AlignLeft>true</AlignLeft>
    </Label>

<Label item="Target_Percent">
      <ScreenID>TargetPercentage</ScreenID>
      <EQType>29</EQType>
      <Font>3</Font>
      <RelativePosition>true</RelativePosition>
      <Location>
        <X>116</X>
        <Y>73</Y>
      </Location>
      <Size>
        <CX>30</CX>
        <CY>14</CY>
      </Size>
      <Text>0</Text>
      <TextColor>
        <R>255</R>
        <G>255</G>
        <B>0</B>
      </TextColor>
      <NoWrap>true</NoWrap>
      <AlignCenter>false</AlignCenter>
      <AlignRight>true</AlignRight>
      <AlignLeft>false</AlignLeft>
    </Label>

<Label item="Target_Guild">
      <ScreenID>TargetGuild</ScreenID>
      <EQType>9999</EQType>
      <TooltipReference>$target(guild)</TooltipReference>
      <Font>2</Font>
      <RelativePosition>true</RelativePosition>
      <Location>
        <X>149</X>
        <Y>63</Y>
      </Location>
      <Size>
        <CX>114</CX>
        <CY>14</CY>
      </Size>
      <Text>0</Text>
      <TextColor>
        <R>255</R>
        <G>255</G>
        <B>0</B>
      </TextColor>
      <NoWrap>true</NoWrap>
      <AlignCenter>true</AlignCenter>
      <AlignRight>false</AlignRight>
      <AlignLeft>false</AlignLeft>
    </Label>

  <SpellGem item="CSPW_Spell0">
    <ScreenID>CSPW_Spell0</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>1</X>
      <Y>19</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell1">
    <ScreenID>CSPW_Spell1</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>36</X>
      <Y>0</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell2">
    <ScreenID>CSPW_Spell2</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>71</X>
      <Y>19</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell3">
    <ScreenID>CSPW_Spell3</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>107</X>
      <Y>0</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell4">
    <ScreenID>CSPW_Spell4</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>149</X>
      <Y>1</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell5">
    <ScreenID>CSPW_Spell5</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>184</X>
      <Y>20</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell6">
    <ScreenID>CSPW_Spell6</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>219</X>
      <Y>0</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <SpellGem item="CSPW_Spell7">
    <ScreenID>CSPW_Spell7</ScreenID>
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>254</X>
      <Y>19</Y>
    </Location>
    <Size>
      <CX>40</CX>
      <CY>32</CY>
    </Size>
    <SpellGemDrawTemplate>
      <Holder>A_SpellGemHolder</Holder>
      <Background>A_SpellGemBackground</Background>
      <Highlight>A_SpellGemHighlight</Highlight>
    </SpellGemDrawTemplate>
    <SpellIconOffsetX>8</SpellIconOffsetX>
    <SpellIconOffsetY>4</SpellIconOffsetY>
  </SpellGem>
  <Button item="CSPW_SpellBook">
    <ScreenID>CSPW_SpellBook</ScreenID>
    <!--<Font>3</Font>-->
    <RelativePosition>true</RelativePosition>
    <Location>
      <X>140</X>
      <Y>31</Y>
    </Location>
    <Size>
      <CX>20</CX>
      <CY>20</CY>
    </Size>
    <Style_Transparent>false</Style_Transparent>
    <TooltipReference>Opens and closes Your Spellbook</TooltipReference>
    <Style_Checkbox>true</Style_Checkbox>
    <!--<RadioGroup/>-->
    <ButtonDrawTemplate>
      <Normal>A_BookBtnNormal</Normal>
      <Pressed>A_BookBtnPressed</Pressed>
      <Flyby>A_BookBtnFlyby</Flyby>
      <Disabled>A_BookBtnDisabled</Disabled>
      <PressedFlyby>A_BookBtnPressedFlyby</PressedFlyby>
    </ButtonDrawTemplate>
  </Button>
  <Screen item="CastSpellWnd">
    <!--<ScreenID/>-->
    <!--<Font/>-->
    <RelativePosition>false</RelativePosition>
    <Location>
      <X>0</X>
      <Y>25</Y>
    </Location>
    <Size>
      <CX>295</CX>
      <CY>100</CY>
    </Size>
    <Text>Spells</Text>
    <Style_Transparent>True</Style_Transparent>
    <TooltipReference>Allows you to cast your memorized spells</TooltipReference>
    <Style_Titlebar>false</Style_Titlebar>
    <Style_Closebox>False</Style_Closebox>
    <Style_Minimizebox>false</Style_Minimizebox>
    <Style_Border>False</Style_Border>
    <Style_Sizable>false</Style_Sizable>
    <Pieces>CSPW_Spell0</Pieces>
    <Pieces>CSPW_Spell1</Pieces>
    <Pieces>CSPW_Spell2</Pieces>
    <Pieces>CSPW_Spell3</Pieces>
    <Pieces>CSPW_Spell4</Pieces>
    <Pieces>CSPW_Spell5</Pieces>
    <Pieces>CSPW_Spell6</Pieces>
    <Pieces>CSPW_Spell7</Pieces>
    <Pieces>CSPW_SpellBook</Pieces>
    <Pieces>Target_HPText</Pieces>
     <Pieces>Target_Level</Pieces>
      <Pieces>Target_Class</Pieces>
     <Pieces>Target_Percent</Pieces>
    <Pieces>Target_Guild</Pieces>
    <Style_HScroll>False</Style_HScroll>
    <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate>
 </Screen>

</XML>




Any suggestions would rock TY ...

noober
a lesser mummy
a lesser mummy
Posts: 71
Joined: Mon Mar 08, 2004 4:09 pm

Post by noober » Fri Mar 26, 2004 3:09 pm

I been thinking about this for some time now , here is my question:

How difficult would it be to make a another hotkey button window(ith same 10 pages) with .ini support(so that you can save your hotkey's{contents} for macros) that would send the command directly to the MQ2chat window?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Mar 26, 2004 5:30 pm

Why would you want that when you can use custom binds..
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

noober
a lesser mummy
a lesser mummy
Posts: 71
Joined: Mon Mar 08, 2004 4:09 pm

Post by noober » Fri Mar 26, 2004 6:16 pm

Let me take a good look at Custom Binds, I have not used them, maybe they do what I want them to do.


Edit:

After checking custom binds I found the reason, I dont want the /CustomBind or /Hotbutton command to go to the EQChatWindow, I want it to go to the MQ2ChatWindow.

daerck
a ghoul
a ghoul
Posts: 134
Joined: Mon Jan 12, 2004 8:44 pm

Post by daerck » Sat Mar 27, 2004 4:35 am

How about using /echo in the custom binds?

I'm not sure what exactly you are trying to do, but if you want to spit out some date you can redirect it to the mq window with /echo.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat Mar 27, 2004 5:56 am

After checking custom binds I found the reason, I dont want the /CustomBind or /Hotbutton command to go to the EQChatWindow, I want it to go to the MQ2ChatWindow.
You make absolutely no sense. When you press a hotbutton or a custom bind the command doesnt go to a window, it just gets executed. You can make a custom bind using whatever method you want.. type it in the MQ2 char window, use a .cfg file, whatever. Then to use it you just hit the fucking key, not type /custombind mybind googleflop retarded monkey like you do to make it. When you use a custom bind it works as if it's a fucking bound key in EQ. The same way you have "a" for attack, you can have "n" to do whatever you want. You could make it /rude if you want.

Code: Select all

/custombind add rude
/custombind set rude /rude
/bind rude n
Do those commands once, and your n key will /rude. And it doesnt go in a window, it just happens.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
Choakster
the antichrist
Posts: 124
Joined: Sat Aug 23, 2003 1:16 pm

THis may explain what Im trying to do a lil better

Post by Choakster » Sat Mar 27, 2004 10:37 am

Im simply trying to add a button to my spell bar. But Im trying to add one of the social buttons, wich when ya right click on it it broings up the edit box. That way I can like name the button Who and in the body /who or if I want to change it I can make a button for snare info like name it snare and in the body /shout Snare has broke etc .. I have added the button to it but I cnat figure out how to make the button bring up the social edit box when Iright click on it in fact the button is pretty much jsut a dead button. I can even figure out how to make the button do a /who .

noober
a lesser mummy
a lesser mummy
Posts: 71
Joined: Mon Mar 08, 2004 4:09 pm

Post by noober » Sat Mar 27, 2004 2:34 pm

Exactly, I am trying to load and unload plugins and macros, set filters and stuff on the fly to MQ2, thats all, I thought would be easy to do this so dont sweat it, was a question only.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat Mar 27, 2004 2:53 pm

You would have to make a custom plugin to handle your window. I really don't understand what the problem is here and I'm just going to lock this thread. Move it to the plugins section if you need to continue because you absolutely have to create a custom plugin if you want to have your own window with its own buttons working.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0