1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. Photobucket has changed its policy concerning hotlinking images and now requires an account with a $399.00 annual fee to allow hotlink. More information is available at: this link.
    Dismiss Notice
  3. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  4. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  5. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  6. Dismiss Notice
  7. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

How can I use the Dynamic City Names in another mod?

Discussion in 'Civ4 - Rhye's and Fall of Civilization' started by nvalzxi87, Jul 2, 2013.

  1. nvalzxi87

    nvalzxi87 Chieftain

    Joined:
    Sep 29, 2010
    Messages:
    19
  2. Leoreth

    Leoreth Knight of Time Moderator

    Joined:
    Aug 23, 2009
    Messages:
    28,520
    Gender:
    Male
    Location:
    Land of Heat and Clockwork
    What you need are the event triggers that do the stuff defined in the CNM in the first place. I think the safest way to add that without messing everything up is to copy the CvEventManager.py file from your BtS folder into your mod, then import your CNM module there and call its onCityAcquired() and onCityBuilt() methods in the equivalent methods of the event manager. Look into CvRFCEventHandler.py to see how RFC does it.
     
  3. DrZomboss

    DrZomboss Brrrainz Gourmet

    Joined:
    Mar 21, 2012
    Messages:
    369
    Location:
    Tervuren, Belgium
    Could you explain? It hardly makes sense for a python noob... Perhaps even indicate the place you're talking about?
     

Share This Page