|
ich komme nicht so ganz klar ... deshalb poste ich einfach mal, was in der RougeHelper XML steht (nur kopiert und eingefügt) wäre super wenn ihr mal einen blick drauf werfen könntet! Wie lautet eurer Meinung nach der "Befehl" um InGame den RougeHelper zu starten und ist COSMOS notwendig?!
VIELEN DANK
RougeHelper XML:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
<script file="RogueHelper.lua"/>s
<Frame name="RHC_Main" frameStrata="BACKGROUND" movable="true" parent="UIParent" >
<Size>
<AbsDimension x="120" y="40"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Frames>
<Frame name="RHC_Back" parent="RHC_MAIN">
<Size>
<AbsDimension x="120" y="40"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="RHC_MAIN" relativePoint="TOP" />
</Anchors>
<Backdrop name="RHC_Backdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<scripts>
<OnLoad>
this:Hide();
</OnLoad>
<OnUpdate>
this:SetPoint("TOP", "RHC_Main", "TOP", 0, 0)
</OnUpdate>
</Scripts>
</Frame>
<Frame name="RHC_Text" parent="RHC_MAIN">
<Size>
<AbsDimension x="120" y="40"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="RHC_MAIN" relativePoint="TOP" />
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="RHC_ChargeVal" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPRIGHT" >
<Offset>
<AbsDimension x="-21" y="-5" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RHC_ChargeDisp" inherits="GameFontNormal">
<Anchors>
<Anchor point="RIGHT" relativeTo="RHC_ChargeVal" relativePoint="LEFT">
<Offset>
<AbsDimension x="-1" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RHC_HealthVal" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOP" relativeTo="RHC_ChargeVal" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-1" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RHC_HealthDisp" inherits="GameFontNormal">
<Anchors>
<Anchor point="RIGHT" relativeTo="RHC_HealthVal" relativePoint="LEFT">
<Offset>
<AbsDimension x="-1" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RHC_EnergyVal" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOP" relativeTo="RHC_HealthVal" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="-4" y="-1" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RHC_EnergyDisp" inherits="GameFontNormal">
<Anchors>
<Anchor point="RIGHT" relativeTo="RHC_EnergyVal" relativePoint="LEFT">
<Offset>
<AbsDimension x="-1" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RHC_THealthVal" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOP" relativeTo="RHC_EnergyVal" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="4" y="-1" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RHC_THealthDisp" inherits="GameFontNormal">
<Anchors>
<Anchor point="RIGHT" relativeTo="RHC_THealthVal" relativePoint="LEFT">
<Offset>
<AbsDimension x="-1" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<scripts>
<OnLoad>
this:SetPoint("TOP", "RHC_Main", "TOP", 0, 0)
</OnLoad>
</Scripts>
</Frame>
</Frames>
<scripts>
<OnLoad>
this:RegisterEvent("VARIABLES_LOADED");
--this:RegisterEvent("PLAYER_ENTERING_WORLD")
</OnLoad>
<OnEvent>
RHC_Event()
</OnEvent>
<OnUpdate>
RHC_Update()
</OnUpdate>
<OnMouseDown>
if ( arg1 == "LeftButton" ) then
if RHC_Loaded and not(GetData("lock")) then
this:StartMoving();
end
end
</OnMouseDown>
<OnMouseUp>
if ( arg1 == "LeftButton" ) then
this:StopMovingOrSizing();
end
</OnMouseUp>
</Scripts>
</Frame>
</Ui>
Bindings XML
<Bindings>
<!-- Toggle ModName On/Off -->
<Binding name="ROGUEHELPER" description="Toggle mod name" header="ROGUEHELPERHEADER">
RogueHelper_Toggle_Enabled(-1);
</Binding>
</Bindings>
|