Results 1 to 3 of 3

Thread: Create an ancillary

Hybrid View

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

    Default Create an ancillary

    Good morning:

    I'd like to create a new ancillary, an object like the Privy Seal, that passes from one king to another and unique to a faction.

    I've tried to copy the Privy Seal script and modify it, but it does not work. I can overwrite the Privy Seal to make it turn into my object, but it would remove Privy Seal for other factions I'd play. If someone here could help me, I would be very happy.

    Thanks.
    "Déu és beure bé, menjar fresc i llevar-se a les deu"
    (God is to drink well, to eat fresh and to wake up at ten)
    ------ from the Catalan "Inquisition Trials Archive"



    Cèsar de Quart
    Europe 1200 Team Member


  2. #2
    Lonck's Avatar Centenarius
    Join Date
    Jun 2006
    Location
    mah couch
    Posts
    851

    Default Re: Create an ancillary

    Code:
    Trigger privy_seal
        WhenToTest CharacterTurnEnd
        Condition FactionType [faction here]
              and IsFactionLeader
    
    
    		
        AcquireAncillary privy_seal chance  1

  3. #3

    Default Re: Create an ancillary

    Alexios Komnenos
    To create a new ancillary you need to edit

    1) \data\export_descr_ancillaries.txt, placing the ancillary, effects and trigger here eg

    Ancillary privyseal
    Type office
    Transferable 1
    Image privy.tga
    Description privyseal_desc
    EffectsDescription privyseal_effects_desc
    Effect Loyalty 1
    Effect Piety 1

    ;------------------------------------------
    Trigger privy_player
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and IsFactionLeader
    and FactionIsLocal ;for player only
    and not FactionwideAncillaryExists privyseal

    AcquireAncillary privyseal chance 100

    2) now edit the \data\export_descr_ancillary_enums.txt file and place the descriptor headings in here eg

    privyseal
    privyseal_desc
    privyseal_effects_desc

    3) now edit the \data\text\export_ancillaries.txt file and place in the textual descriptions eg

    {privyseal} The Privy Seal
    {privyseal_desc} The Privy Seal can be entrusted to a man you trust... or would hope to be able to trust more...
    {privyseal_effects_desc} +1 Loyalty; also affects piety.

    4) Now create the image mentioned in step 1. I would create this in photoshop and then resize the image down to similar object. Place in the \data\ui\ancillaries folder.

    5) Start a new campaign. Although an existing campaign could be used, the game uses ids, not names to record who has what ancillary, so adding one will throw this system out and you will find characters have strange ancillaries.

    Hope thats clear.
    Last edited by Quark; May 19, 2008 at 05:41 AM.

    To err is human, but to really foul things up you need a computer.
    Paul Ehrlich

Posting Permissions

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