Results 1 to 4 of 4

Thread: Ancillary Effect Questions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Ancillary Effect Questions

    Is it possible to alter the effects of an ancillary based on what other traits and ancillaries that character posesses? If so, how do I go about setting it up? Through the triggers?
    Son of PW

  2. #2
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Ancillary Effect Questions

    No. Ancillaries don't have levels and that way cannot change effect. You would need to grant the ancillary and give an additional trait.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  3. #3
    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: Ancillary Effect Questions

    Yes, but not with only an ancillary. The way you'd do it is the ancillary would have no effects on it's own, but you'd have multiple traits that you could give to anybody holding the ancillary. It would of course work best with an non-transferable ancillary.

    Method 1:


    1. Create a hidden trait called acquiredAncillaryXXX (where XXX is the ancillary you want this to work with) with one level with a threshold of 1
    2. Create multiple hidden traits called ancillaryXXXEffect1, ancillaryXXXEffect2, ... and have them all antitraits of each other.
    3. Change the ancillary so it has no effects, change it's descirption to read: +1 Command (if ....), +2 Morale (if ...) , etc. I'd do one conditional effect per line (i.e. use \n in export_VnVs to push the description to multiple lines).
    4. Take the current trigger for ancillary XXX move it to EDCT and change the acquireancillary XXX chance YYY to affects acquiredAncillaryXXX 1 chance YY. Also add a new first condition (i.e. above the existing one) Trait ancquiredAncillaryXXX = 0
    5. Have two triggers for each trait in step 2 which has the conditions you want the effects to be received under. The second trigger has one extra condition, which is that the trait has a value of 0 (so if one of the other ones was active the first trigger would reduce the other to 0 and the second would give it it's level
    6. Change the trigger in EDA to have a single condition Trait acquiredAncillaryXXX = 1 and the percentage changed to 100%

    Method 2:

    Have multiple ancillary that are the same except for their effects and use scripting to remove/add ancillaries as needed. This would work on transferable or non-transferable, but might be a kingdoms only option.
    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

  4. #4

    Default Re: Ancillary Effect Questions

    Quote Originally Posted by Sqυιd View Post
    Yes, but not with only an ancillary. The way you'd do it is the ancillary would have no effects on it's own, but you'd have multiple traits that you could give to anybody holding the ancillary. It would of course work best with an non-transferable ancillary.

    Method 1:


    1. Create a hidden trait called acquiredAncillaryXXX (where XXX is the ancillary you want this to work with) with one level with a threshold of 1
    2. Create multiple hidden traits called ancillaryXXXEffect1, ancillaryXXXEffect2, ... and have them all antitraits of each other.
    3. Change the ancillary so it has no effects, change it's descirption to read: +1 Command (if ....), +2 Morale (if ...) , etc. I'd do one conditional effect per line (i.e. use \n in export_VnVs to push the description to multiple lines).
    4. Take the current trigger for ancillary XXX move it to EDCT and change the acquireancillary XXX chance YYY to affects acquiredAncillaryXXX 1 chance YY. Also add a new first condition (i.e. above the existing one) Trait ancquiredAncillaryXXX = 0
    5. Have two triggers for each trait in step 2 which has the conditions you want the effects to be received under. The second trigger has one extra condition, which is that the trait has a value of 0 (so if one of the other ones was active the first trigger would reduce the other to 0 and the second would give it it's level
    6. Change the trigger in EDA to have a single condition Trait acquiredAncillaryXXX = 1 and the percentage changed to 100%
    Method 2:

    Have multiple ancillary that are the same except for their effects and use scripting to remove/add ancillaries as needed. This would work on transferable or non-transferable, but might be a kingdoms only option.
    Method2 is something I'm considering. Thanks.
    Son of PW

Posting Permissions

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