This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Cinematic to 2D art  (Read 8373 times)

Lawes

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 157
    • View Profile
Re: Cinematic to 2D art
« Reply #15 on: October 13, 2013, 09:29:24 pm »
god.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Cinematic to 2D art
« 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:


Code: [Select]
<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 »
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

Lawes

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 157
    • View Profile
Re: Cinematic to 2D art
« Reply #17 on: October 14, 2013, 07:25:32 pm »
Thx ^.^
« Last Edit: January 01, 1970, 01:00:00 am by Admin »