Results 1 to 4 of 4

Thread: Unit experience

Hybrid View

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

    Default Unit experience

    Is there any way to change the cost of upgrading unit experience in custom and multiplayer battles? Disabling it would also work for my mod.

  2. #2
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Unit experience

    I think it is hard-coded.

    You can eliminate from custom and multiplayer battle by modifying Rome.lnt. If you eliminate the button, it won't be possible to upgrade experience.

    I did the other way, I eliminated weapon and armour upgrades.

  3. #3

    Default Re: Unit experience

    Quote Originally Posted by Monkwarrior
    I think it is hard-coded.

    You can eliminate from custom and multiplayer battle by modifying Rome.lnt. If you eliminate the button, it won't be possible to upgrade experience.

    I did the other way, I eliminated weapon and armour upgrades.
    Um...kinda embarrassed asking this, but how exactly does one eliminate that button. I tried finding "Rome.Int" and couldn't even manage that...yea...I'm definitly a newb to modding...

  4. #4
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Unit experience

    Rome.lnt lives in data/menu folder, you can put a different version in your mod-folder/data/menu to just effect that which is handy.

    Modding it is a little difficult you first need to identify which page you are looking for.

    pages start
    <lpage>
    and end </lpage>

    you should find a page
    <lpage>cb_customize_army

    which ought to be the custom battle one....

    under that you'll find chunks like:
    Code:
        <UI piece>ca_experience_template
          <identifier>UIP_ARMY_EXP_INDICATOR</identifier>
          <Parameters>
            <x>186</x>
            <y>436</y>
            <width>28</width>
            <height>38</height>
            <tool_tip_id>UI_CUSTOM_EXPERIENCE_TOOLTIP</tool_tip_id>
          </Parameters>
          <object_id>ca_experience_template</object_id>
        </UI piece>
        <UI piece>arrow_large_left_discipline
          <identifier>UIP_ARMY_EXP_DECREMENT</identifier>
          <Parameters>
            <x>154</x>
            <y>439</y>
            <width>14</width>
            <height>30</height>
            <tool_tip_id>UI_CUSTOM_EXPERIENCE_TOOLTIP</tool_tip_id>
          </Parameters>
          <object_id>arrow_large_left</object_id>
        </UI piece>
    and
    Code:
        <UI piece>arrow_large_right_discipline
          <identifier>UIP_ARMY_EXP_INCREMENT</identifier>
          <Parameters>
            <x>229</x>
            <y>439</y>
            <width>14</width>
            <height>30</height>
            <tool_tip_id>UI_CUSTOM_EXPERIENCE_TOOLTIP</tool_tip_id>
          </Parameters>
          <object_id>arrow_large_right</object_id>
        </UI piece>
    which I'd suspect are the relevant bits - but it is a bit of a nasty file! Make a back up version of it and try deleting sections making sure you go from
    <UI piece> to </UI piece>
    and see if you can locate the relevant bits.
    Not used mods before? Looking for something small and fun?!
    Download the:

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO