Page 5 of 6 FirstFirst 123456 LastLast
Results 81 to 100 of 107

Thread: Modding Rome.LNT

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Modding Rome.LNT

    For any of those in need of such a thing, it is possible to create and link to new pages within the menu.
    RIP Calvin, you won't be forgotten.

  2. #2
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    after redesigning the main menu and various buttons, I came back to editing the file again to redesign the way the imperial campaign setup looks like, and decided I would try changing the position of the faction info and so I place a random number, and so I saved the file and when into the game and nothing had happened. So I quit and then tried deleting the map.rwm file and like I though nothing happened.

    Original

    <UI piece>imperial_campaign_description
    <identifier>UIP_IMPERIAL_CAMPAIGN_DESCRIPTION</identifier>
    <Parameters>
    <x>193</x>
    <y>480</y>
    <width>640</width>
    <height>224</height>
    </Parameters>
    <object_id>empty_art</object_id>
    </UI piece>
    Edited
    <UI piece>imperial_campaign_description
    <identifier>UIP_IMPERIAL_CAMPAIGN_DESCRIPTION</identifier>
    <Parameters>
    <x>193</x>
    <y>600</y>
    <width>640</width>
    <height>224</height>
    </Parameters>
    <object_id>empty_art</object_id>
    </UI piece>
    It's just strange as I've been able to re-position various other items in the main menu, and when this didn't work I tried editing the map preview and once again nothing happened.....

    I though it might be because its for some reason related to the vanilla rome.lnt file, but it can't be as the file I am editing is in a mod and its the same file that I used to edit the other buttons,

  3. #3
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    for some reason it hasn't shown that I have posted here.....

  4. #4

    Default Re: Modding Rome.LNT

    Does any other modification in this file work ?
    Under the patronage of apple.
    Patron of ybbon66.

  5. #5
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    yeah, I tested it on moving the historical battle back button and I was able to move it to another position on the screen.

  6. #6
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    ^^^^(Not showing I posted in forum)

  7. #7

    Default Re: Modding Rome.LNT

    Can you move it around?
    Also, are you sure it's correspond to what you think it is? There are some entries that have a name really different from what they actually do.
    Under the patronage of apple.
    Patron of ybbon66.

  8. #8
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    yeah like I said I can move it in directions of X and Y.

    It states it's the campaign description which I assume is the faction info when choosing any faction

    <UI piece>imperial_campaign_description
    <identifier>UIP_IMPERIAL_CAMPAIGN_DESCRIPTION</identifier>


    For some reason editing anything related to the campaign menu just wont work....
    Last edited by The Roman Republic; April 10, 2013 at 05:42 PM.

  9. #9

    Default Re: Modding Rome.LNT

    Oh, I think I know what the problem is.
    There are several lpage called imperial campaign IIRC, you might not be editing the correct one.
    Under the patronage of apple.
    Patron of ybbon66.

  10. #10
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    yes!, I copied lpage and searched for each one in the file until I came across
    </lpage>
    <lpage>ImpCam_choose_faction_v2


    and below were the same input datas and so I edited one of the values and it changed thank you.

    Anyone stuck on this, go to line 17967

  11. #11
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    Another problem,

    Ok, so I've redesigned everything on the imperial campaign, and I would like a sperate background asaposed to the menu main background. So I followed the small tutorial on page 1.

    Firstly I created a new background in Menu/textures called backdropcamp.tga

    Then in the rome.lnt file in the <UI object section I added this in,
    <UI object>backdropcamp
    <type>art</type>
    <UI region>art
    <page>textures\backdropcamp.tga</page>
    <region>backdropcamp</region>
    </UI region>
    </UI object>
    Then in the <texture section I added this
    <texture>textures\backdropcamp.tga
    <path>textures</path>
    <region>backdropcamp
    <left>0</left>
    <top>0</top>
    <right>1024</right>
    <bottom>768</bottom>
    </region>
    </texture>

    Then I looked for the main background code and found this
    <lpage>background
    <UI piece>backdrop
    <identifier>UIP_EMPTY_ART</identifier>
    <Parameters>
    <x>0</x>
    <y>0</y>
    <width>1024</width>
    <height>768</height>
    </Parameters>
    <object_id>backdrop</object_id>
    </UI piece>
    and a few lines down is this, and as I want the background only for the imperial campaign page I added the code their
    <lpage>imperial_campaign
    <UI piece>imperial_campaign_title
    <identifier>UIP_EMPTY_ART</identifier>
    <Parameters>
    <x>758</x>
    <y>31</y>
    <width>43</width>
    <height>29</height>
    <UI text>UI_IMPERIAL_CAMPAIGN_TITLE
    <font_id>arial_split_CAF</font_id>
    <align>centre</align>
    </UI text>
    </Parameters>
    <object_id>empty_art</object_id>
    </UI piece>



    This was the code I added in
    <lpage>imperial_campaign
    <UI piece>backdropcamp
    <identifier>UIP_EMPTY_ART</identifier>
    <Parameters>
    <x>0</x>
    <y>0</y>
    <width>1024</width>
    <height>768</height>
    </Parameters>
    <object_id>backdropcamp</object_id>
    </UI piece>


    I've check through the main menu background code and everything is the same except for the name of the file. I though it might have something to do with the image size but the new background size is the same as the main menu background size.

    Thanks for any advice.

  12. #12
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    Double Post.

  13. #13

    Default Re: Modding Rome.LNT

    Have you tried to just replace the old background image with your own ?
    Under the patronage of apple.
    Patron of ybbon66.

  14. #14
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    The old background is replaced anyway, what I wanted was a separate background just for the imperial campaign menu page.

  15. #15
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    anyone got any idea?
    Post #91

  16. #16
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Modding Rome.LNT

    You added a new imperial campaign section? You'd need to alter the existing one and not add a new one.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  17. #17
    The Roman Republic's Avatar Alea iacta est
    Citizen Content Emeritus

    Join Date
    Apr 2011
    Location
    Lost in History.
    Posts
    3,396

    Default Re: Modding Rome.LNT

    Doesn't matter now I fixed it, but thanks anyway.

  18. #18
    Foederatus
    Join Date
    Jul 2013
    Location
    Hellas
    Posts
    26

    Default Re: Modding Rome.LNT

    Hi mates!
    does anyone knows what is the entry (if there is any at LNT) to get rid of the annoying videos (ATVI_Spinning_Logo_640x480 & rome_title) ?
    I use a mod switch folder but those 2 videos run from the vanilla fmv folder.... any advise?

  19. #19

    Default Re: Modding Rome.LNT

    Can't get rid of those from Rome.lnt. Just add " -nm" to your shortcut's Target line.

  20. #20
    Foederatus
    Join Date
    Jul 2013
    Location
    Hellas
    Posts
    26

    Default Re: Modding Rome.LNT

    ok but that will disable and the wonder-capture videos right ?
    but what else can i do...
    anyway thanx for your help my friend ! good night!

Page 5 of 6 FirstFirst 123456 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •