Need help with First Unitcombattype messages

Discussion in 'Civ4 - Creation & Customization' started by Darque, Jan 11, 2008.

  1. Darque

    Darque Chaotic Lord of Dragonia

    Joined:
    Oct 15, 2004
    Messages:
    1,147
    Location:
    Illinois
    Where are the "First gunpowder unit, first helicopter unit", etc messages defined?

    Since I removed gunpowder and helicopter unitcombat types, I need to remove the unneccesary messages, as they pop up after the first settler is created.
     
  2. Refar

    Refar Deity

    Joined:
    Apr 10, 2005
    Messages:
    4,608
    Those are either Sid's Tips or Avisor popups - since playing with both disabled i never seen any.

    My guess are Sid's Tips.

    I don;t know what file they are defined it, but maybe knowing what it is will help you narrowing it down :p

    Edit:

    I looked through some files, and i think CvAdvisorUtils.py might be responcible for poping those messages.
    def unitBuiltFeats(pCity, pUnit) - method i.e.
     
  3. Darque

    Darque Chaotic Lord of Dragonia

    Joined:
    Oct 15, 2004
    Messages:
    1,147
    Location:
    Illinois
    I'm fairly certain that it is a python function that is calling the messages. While doing som hunting, I did find a hardcoded enumeration called FeatTypes...but I still haven't found any xml that defines these FeatTypes.
     
  4. Refar

    Refar Deity

    Joined:
    Apr 10, 2005
    Messages:
    4,608
    See my edit above...

    unitBuiltFeats method in CvAdvisorUtils.py

    From the look of the method ther emight be no other XML on this...
     
  5. Darque

    Darque Chaotic Lord of Dragonia

    Joined:
    Oct 15, 2004
    Messages:
    1,147
    Location:
    Illinois
    That would be it. Thank you for your assistance. :goodjob:
     

Share This Page