Results 1 to 9 of 9

Thread: Modding exp_decr_ancillaries

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member madalchemist's Avatar
    Join Date
    Dec 2006
    Location
    Bologna
    Posts
    84

    Default Modding exp_decr_ancillaries

    In 1.2, I encountered many roblems in modding this file I hadn't in 1.1.

    Which problems? Well, to put it simply, the "trick" to make all ancillaries transferable doesn't work anymore; putting "Transferable 1" Instead of "Transferable 0" has no effect whatsoever and the ones you can transfer remain those you could before modding. Strange.

    Second, the magician_pagan. This is the trigger after my editing:

    -----------------------------------------------------
    Trigger magician_pagan_vnv_trigger
    WhenToTest CharacterTurnEnd
    Condition not AtSea
    and IsGeneral
    and PopulationOwnReligion < 90
    and PopulationHeretic >= 20
    and Trait Superstitious > 0

    AcquireAncillary magician_pagan chance 5

    -----------------------------------------------------

    As you see, I changed the values of Populationownreligion, Poulationheretic and I changed the sentence "not Trait Superstitious > 0" to "Trait Superstitious > 0".

    That should lower the general chance to exist the chance to acquire it, and obviously only if your general is superstitious. Did I make mistakes? Because the magician continues to plague my generals as if the file was not edited.

    Unless I am wrong, export_descr_ancillaries is somehow partly hardcoded?!

    'cause I cannot explain why these changes do not happen, unlike in 1.1.

    Do anyone of you know what's wrong?

  2. #2
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Modding exp_decr_ancillaries

    Are you sure you have the file in the right directory AND are running the switch properly?

    Easy way to test is to give an ancillary on CharacterTurnEnd at 100 chance and start a new campaign and end turn. If you character gets it, its working.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  3. #3
    Member Member madalchemist's Avatar
    Join Date
    Dec 2006
    Location
    Bologna
    Posts
    84

    Default Re: Modding exp_decr_ancillaries

    I'll make some test then write the result. Thanks for the advices.

  4. #4
    Member Member madalchemist's Avatar
    Join Date
    Dec 2006
    Location
    Bologna
    Posts
    84

    Default Re: Modding exp_decr_ancillaries

    You were right. I made the ests you suggested with actor and biograph ancillaries and they both failed to appear; loks like I'm not using properly the file.

    I have it in MTW2/data and I run only one mod (essentially all the contents of the directory "data").

    Could you remind me the easiest way to see if the game plays according to the edited files in "data"?

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Modding exp_decr_ancillaries

    The easiest way is to inject an empty critical file like descr_sm_factions and seeing if the game crashes

  6. #6
    Member Member madalchemist's Avatar
    Join Date
    Dec 2006
    Location
    Bologna
    Posts
    84

    Default Re: Modding exp_decr_ancillaries

    Problem solved. During the last re-install I forgot to make the game start via the batch file required for modding. Now all works fine :). Thanks for the support

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