AnvarHunter
02-07-2007, 10:11 AM
This is the Freezehelper Mod, its just like StunWatch but it doesnt work. Here is the link to DL it: http://wowui.incgamers.com/ui.php?id=3394EDIT - removed link and changed for appropriate linkage. Elly
and the 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="FreezeHelper.lua" />
<Script file="localisation.lua" />
- <Frame name="FreezeHelper" parent="UIParent" hidden="true" movable="true">
- <Size>
<AbsDimension x="206" y="26" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="80" />
</Offset>
</Anchor>
</Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture>
- <Size>
<AbsDimension x="195" y="13" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
<Color r="0" g="0" b="0" a="0.5" />
</Texture>
</Layer>
- <Layer level="OVERLAY">
- <FontString name="FreezeHelperText" inherits="GameFontHighlight">
- <Size>
<AbsDimension x="185" y="16" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
- <Texture file="Interface\CastingBar\UI-CastingBar-Border">
- <Size>
<AbsDimension x="256" y="64" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="25" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
- <Frames>
- <StatusBar name="FreezeHelperFrameStatusBar">
- <Size>
<AbsDimension x="195" y="13" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
- <Layers>
- <Layer level="OVERLAY">
- <Texture name="FreezeHelperSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
- <Size>
<AbsDimension x="32" y="32" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
- <Scripts>
<OnLoad>this:SetFrameLevel(this:GetFrameLevel() - 1)</OnLoad>
</Scripts>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar" />
<BarColor r="0.0" g="0.6" b="1.0" />
</StatusBar>
</Frames>
- <Scripts>
<OnLoad>FreezeHelper_OnLoad();</OnLoad>
<OnShow>FreezeHelper_OnShow();</OnShow>
<OnEvent>FreezeHelper_OnEvent();</OnEvent>
<OnUpdate>FreezeHelper_OnUpdate();</OnUpdate>
<OnMouseDown>if ( arg1 == "LeftButton" and FREEZEHELPER_STATUS == 3) then this:StartMoving(); end</OnMouseDown>
<OnMouseUp>if ( arg1 == "LeftButton" ) then this:StopMovingOrSizing(); end</OnMouseUp>
</Scripts>
</Frame>
- <MessageFrame name="FHAMsgFrame" insertMode="TOP" parent="UIParent" frameStrata="LOW" toplevel="true">
- <Size>
<AbsDimension x="512" y="60" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="190" />
</Offset>
</Anchor>
</Anchors>
- <Scripts>
<OnLoad />
<OnUpdate />
</Scripts>
<FontString inherits="SubZoneTextFont" justifyH="CENTER" />
</MessageFrame>
</Ui>
and the 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="FreezeHelper.lua" />
<Script file="localisation.lua" />
- <Frame name="FreezeHelper" parent="UIParent" hidden="true" movable="true">
- <Size>
<AbsDimension x="206" y="26" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="80" />
</Offset>
</Anchor>
</Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture>
- <Size>
<AbsDimension x="195" y="13" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
<Color r="0" g="0" b="0" a="0.5" />
</Texture>
</Layer>
- <Layer level="OVERLAY">
- <FontString name="FreezeHelperText" inherits="GameFontHighlight">
- <Size>
<AbsDimension x="185" y="16" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
- <Texture file="Interface\CastingBar\UI-CastingBar-Border">
- <Size>
<AbsDimension x="256" y="64" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="25" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
- <Frames>
- <StatusBar name="FreezeHelperFrameStatusBar">
- <Size>
<AbsDimension x="195" y="13" />
</Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
- <Layers>
- <Layer level="OVERLAY">
- <Texture name="FreezeHelperSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
- <Size>
<AbsDimension x="32" y="32" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
- <Scripts>
<OnLoad>this:SetFrameLevel(this:GetFrameLevel() - 1)</OnLoad>
</Scripts>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar" />
<BarColor r="0.0" g="0.6" b="1.0" />
</StatusBar>
</Frames>
- <Scripts>
<OnLoad>FreezeHelper_OnLoad();</OnLoad>
<OnShow>FreezeHelper_OnShow();</OnShow>
<OnEvent>FreezeHelper_OnEvent();</OnEvent>
<OnUpdate>FreezeHelper_OnUpdate();</OnUpdate>
<OnMouseDown>if ( arg1 == "LeftButton" and FREEZEHELPER_STATUS == 3) then this:StartMoving(); end</OnMouseDown>
<OnMouseUp>if ( arg1 == "LeftButton" ) then this:StopMovingOrSizing(); end</OnMouseUp>
</Scripts>
</Frame>
- <MessageFrame name="FHAMsgFrame" insertMode="TOP" parent="UIParent" frameStrata="LOW" toplevel="true">
- <Size>
<AbsDimension x="512" y="60" />
</Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
<AbsDimension x="0" y="190" />
</Offset>
</Anchor>
</Anchors>
- <Scripts>
<OnLoad />
<OnUpdate />
</Scripts>
<FontString inherits="SubZoneTextFont" justifyH="CENTER" />
</MessageFrame>
</Ui>