Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Guest on November 02, 2012, 09:43:40 am

Title: [QUESTION] About custom movie
Post by: Guest on November 02, 2012, 09:43:40 am
hi!everyone!
Now I want to add a new movie in game like CG,I want to it shows on account login screen  - movie menu
:
you can see CG in account login screen by click on "movie" button

AND
I tried to modify AccountLogin.xml and add a new button to show movie but failed ,new button doesn't appear and it only shows three buttons in movie menu(account login screen)

Maybe who can help me? :D

EDIT:
I had modified AccountLogin.xml:
you can see original AccountLogin.xml like:
[attachment=0:81zrtrhb]20121102180909.jpg[/attachment:81zrtrhb]
and I modify it: add button 4 for my new movie
[attachment=1:81zrtrhb]20121102181001.jpg[/attachment:81zrtrhb]

but
in game it doesn't show new button and  I don't know why
Title: Re: [QUESTION] About custom movie
Post by: schlumpf on November 02, 2012, 10:14:48 am
Without the code you modified and how you modified it: No, nobody can help you.
Title: Re: [QUESTION] About custom movie
Post by: Guest on November 02, 2012, 11:16:43 am
Quote from: "schlumpf"
Without the code you modified and how you modified it: No, nobody can help you.
ok , :D I have edited my thread, maybe you can help me!
Thanks! ;)
Title: Re: [QUESTION] About custom movie
Post by: schlumpf on November 02, 2012, 12:11:29 pm
Use code bbcodes.
Quote
Code: [Select]
hidden="true"
The lua script for that interface only sets hidden to false on the fly. As the lua file does not know about your id, it will never be false.
Title: Re: [QUESTION] About custom movie
Post by: Guest on November 02, 2012, 01:27:12 pm
Quote from: "schlumpf"
Use code bbcodes.
Quote
Code: [Select]
hidden="true"
The lua script for that interface only sets hidden to false on the fly. As the lua file does not know about your id, it will never be false.
Thanks!
but the background failed
I think the movie menu's background is
Code: [Select]
<Frame name="CinematicsFrame" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
<Frames>
<Frame name="CinematicsBackground">
<Size>
<AbsDimension x="272" y="256"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
And I modify <AbsDimension x="272" y="256"/> to <AbsDimension x="272" y="301"/>
but it doesn't show……
can you help me?
thanks!
Title: Re: [QUESTION] About custom movie
Post by: schlumpf on November 02, 2012, 04:26:16 pm
Again, I guess the script modifies that.