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: [QUESTION] About custom movie  (Read 1348 times)

Guest

  • Guest
[QUESTION] About custom movie
« 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
« Last Edit: November 02, 2012, 11:14:51 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] About custom movie
« Reply #1 on: November 02, 2012, 10:14:48 am »
Without the code you modified and how you modified it: No, nobody can help you.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Guest

  • Guest
Re: [QUESTION] About custom movie
« Reply #2 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! ;)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] About custom movie
« Reply #3 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Guest

  • Guest
Re: [QUESTION] About custom movie
« Reply #4 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!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] About custom movie
« Reply #5 on: November 02, 2012, 04:26:16 pm »
Again, I guess the script modifies that.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »