Results 1 to 2 of 2

Thread: Modding Lesson 1 - Ancillaries

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    b0Gia de Bodemloze's Avatar Europa Barbarorum Dev
    Patrician Artifex

    Join Date
    Dec 2012
    Makedonia, Greece

    Default Modding Lesson 1 - Ancillaries

    Hello students, i decided to start the first lesson with ancillaries. First of all what is an ancillary (Archistrategos):
    Here is the first part general about ancillaries, the second tomorrow.

    Image 1

    Characters are gaining ancillaries with a max of 8 ancillaries per character. Ancillaries are usefull, informative and they use ui so they could be beautiful too. Also they are easier to develop than traits. Now let's look how to create our first ancillary.

    These files are the ones that we need to backup first and then work the ancillaries. data/export_descr_ancillaries and data/text/export_ancillaries.

    Let's start a bit of code:

    ;Ancillary: seleukid_dioiketes
    ;seleukid_dioiketes : <Influence> 1, <Construction> 5, <TaxCollection> 5
    Ancillary seleukid_dioiketes
    Type faction_office
    Transferable 0
    Image Seleukid_Office.tga
    Description seleukid_dioiketes_desc
    EffectsDescription seleukid_dioiketes_effects_desc
    Effect Piety 1
    Effect Construction 5
    Effect TaxCollection 5
    The first 2 lines are comments:
    ;Ancillary: seleukid_dioiketes
    ; o seleukid_dioiketes : <Influence> 1, <Construction> 5, <TaxCollection> 5

    That means that we can write something to help us understand our ancillaries more easy. We can always of course skip these comments and don't use. But i recommend to use comments. For example the first line says the name of the ancillary and the second the bonuses that it gives.

    Ancillary seleukid_dioiketes <--- Here in this line is the name of the ancillary
    Type faction_office <--- Here is the type of the ancillary, if the ancillary is unique we could use again the name of ancillary as type. But if we want for example to make many ancillaries of the same type for example governor of town x, we need to name the type king in order to restrict later one ancillary of this type per character.
    Transferable 0 <--- Here we can decide if we want the ancillary to be transferable from character to character or not. If we want the ancillary to be transferable we must change the 0 to 1.
    Image Seleukid_Office.tga <--- Here is where is the ui for our ancillary. The location is inside data/ui/ancillaries. Attention we must use exactly the same name in order the game to find the image. Not for example Seleukid_office.tga

    Description seleukid_dioiketes_desc <--- Here and
    EffectsDescription seleukid_dioiketes_effects_desc <--- Here are the lines that we must write to the other file the text for our ancillary. In the first we must write the text of the description and in the second the text of the bonuses. We would see them later.

    Attention remember always to keep backups and use notepad++

    Finally here are the effects:

    Effect Piety 1
    Effect Construction 5
    Effect TaxCollection 5

    Attention Piety is for Medieval 2 only, in the Rome Total War is Influence
    Attention download Docudemons from here:

    Under the Patronage of Veteraan.
    Proud member of Europa Barbarorum 2 team, developer of EBNOM, developer of EB 1.21, developer of Diadochi Total War, developer of Hegemonia City States and creator of one modpack for Megas Alexandros.

  2. #2
    ♔atthias♔'s Avatar dutch speaking

    Join Date
    Mar 2013

    Default Re: Modding Lesson 1 - Ancillaries

    what are we supposed to do now sorry for being late and having a dumb question
    Last edited by ♔atthias♔; April 26, 2017 at 02:21 PM.
    Rise of Mordor 3D Modelers Wanted
    Total War - Rise of Mordor
    Are you a 3D Environment and Character artist, or a Character Animator?

    If yes, then the Rise of Mordor team linked above is looking for you!
    Massive Overhaul Submod Units!
    D you want some units back in MOS 1.7? Install this mod
    It adds back units who were deleted from the campaign in MOS 1.7, namely the Winged Swordsmen, the Citadel Guard Archers and the Gondor Dismounted Bodyguard.

    Under the proud patronage of
    Frunk of the house of Siblesz

Posting Permissions

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