Results 1 to 11 of 11

Thread: Adding experience points to ships for different port levels

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Adding experience points to ships for different port levels

    I have tried to add experience points to the different ship models for the different port levels. I am playing as Rome if this makes any difference to the equation. I was able to change the ones for Barbarian, Eastern, Egyptian, and Greek cultures without a crash. I try to give the Roman bireme a +1 upgrade in Shipwright and just as soon as it is built, ctd. No show error message. Any clues?

  2. #2
    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: Adding experience points to ships for different port levels

    There's a nasty CTD with rome, it works as follows:

    For example, if in barracks level 1 you have unit A with 0 experience and in barracks level 2 you have unit A with 1 experience. The CTD will happen if you have the first level of barracks, and the second level of barracks will be completed, and you also have unit A being completed the same turn as the barracks upgrade.
    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

  3. #3
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Adding experience points to ships for different port levels

    Quote Originally Posted by SquidSK View Post
    There's a nasty CTD with rome, it works as follows:

    For example, if in barracks level 1 you have unit A with 0 experience and in barracks level 2 you have unit A with 1 experience. The CTD will happen if you have the first level of barracks, and the second level of barracks will be completed, and you also have unit A being completed the same turn as the barracks upgrade.
    I can confirm the ship one. I had a shipwright which builds level 1 biremes complete at the same time I have a level 0 bireme being built next. This caused a ctd. I removed the bireme and the shipwright finished without a ctd. Why?

  4. #4
    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: Adding experience points to ships for different port levels

    Problem with the engine, nothing that can be done about it, except don't change experience on a unit from building level to building level.
    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

  5. #5
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Adding experience points to ships for different port levels

    Quote Originally Posted by SquidSK View Post
    Problem with the engine, nothing that can be done about it, except don't change experience on a unit from building level to building level.
    Instead of using the building tree, have you tried using ancillaries?

  6. #6
    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: Adding experience points to ships for different port levels

    But that has no effect on any unit except the general's units (the character with the ancillary), and there is no experience attribute that an ancillary can effect.
    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

  7. #7
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Adding experience points to ships for different port levels

    Is there any other way to make this work?

  8. #8
    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: Adding experience points to ships for different port levels

    Quote Originally Posted by irishron View Post
    Is there any other way to make this work?
    Please read post #4 above, it is hardcoded and cannot be changed, it can only be worked around either by not giving experience bonuses to units at higher building levels, or having multiple copies of the same unit as suggested by Aradan, both avoid the problem but both have their significant down sides.
    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

  9. #9
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Adding experience points to ships for different port levels

    Thank you to both of you.

  10. #10
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Adding experience points to ships for different port levels

    Just spotted this and wanted to add a note to it:

    The problem with adding experience bonuses to units by building level does not exist in Barbarian Invasion (I'm not disputing that it does in RTW though, quite a few odd things are different between the two .exes).

    Barbarian Invasion does still have the problem if you add experience bonuses to ships though. (which came as a bit of a surprise to some of us who'd been merrily using exp upgrades in barracks on mods for years with BI)....

  11. #11

    Default Re: Adding experience points to ships for different port levels

    You could try different EDU entries, where the second one will already have the +1 incorporated into its stats... But that would make you unable to merge the two different ships, as they will be considered different unit types.

Posting Permissions

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