« Reply #16 on: October 14, 2013, 09:58:31 am »
Here our script Mordred did for Maruum.
All credits to him
Just add on right place in
InterfaceGlueXMLAccountLogin.xml and change your pathes:
<Frame name="BGAccountLoginFrame" setAllPoints="true" toplevel="true" frameStrata="LOW" frameLevel="3">
<Layers>
<Layer level="BACKGROUND">
<Texture name="BGTexture" file="ModcraftLoginScreenAnimMaruumLogin_0000.blp">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-130"/>
</Offset>
</Anchor>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="130"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
BG_pic = 0;
BG_maxpics = 72;
BG_fps = 24;
BG_time = GetTime();
BG_elapsed = 0;
</OnLoad>
<OnUpdate>
if (GetTime()+BG_elapsed>BG_time+(1/BG_fps)) then
BGTexture:SetTexture("Modcraft\LoginScreenAnim\MaruumLogin_000"..BG_pic..".blp");
BGTexture:Show();
BG_pic = BG_pic + 1;
if BG_pic>BG_maxpics then
BG_pic = 0;
end
BG_elapsed = 0;
BG_time = GetTime();
else
BG_elapsed = BG_elapsed + 0,01666;
end
</OnUpdate>
</Scripts>
</Frame>
<Frame name="AccountLoginUI" setAllPoints="true">
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Logged
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954