1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

XML - removing diplo message "setting near lands"

Discussion in 'Civ5 - Creation & Customization' started by ispanets, Apr 1, 2013.

  1. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Hello,

    Does anybody know what part of the XML should I change to remove diplo messages about "setting near our lands"?

    Thanks in advance.

    Jose
     
  2. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,410
    Location:
    Near Portsmouth, UK
    Similiar answer to the question about notifications. The diplo messages are generated by the C++ code in the core DLL which are then displayed by the Lua. The diplo screen is already displayed before you can do anything in xml (to change the text displayed) or Lua (to change the responses). Without editing the C++ code, the best you could do would be to intercept the message in Lua and immediately dismiss the diplo screen.
     
  3. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Again, thank you very much.:goodjob::goodjob::goodjob:
     

Share This Page