Results 1 to 6 of 6

Thread: Making units appear earlier

  1. #1
    duce13's Avatar Foederatus
    Join Date
    Mar 2009
    Location
    Poland
    Posts
    41

    Default Making units appear earlier

    Hi Guys,
    Hope someone can help me..
    How to make units appear earlier then the event their occurence is currently linked to? I.e. I want Heavy Hussars to appear around 1500 and not when pike & musket event occurs.
    Nobody expects the Spanish inquisition...

  2. #2
    RomanGuy's Avatar Tiro
    Join Date
    May 2009
    Location
    Oregon, USA
    Posts
    215

    Default Re: Making units appear earlier

    The easiest way to do that is to make the event fire sooner than it otherwise would. Just lower the date number of the event in the descr.events file. The date number is number of years after the starting year.

    If you want the hussars to come sooner but the other units tied to that event to come later then I'm not sure what to do. You'll have to change which event triggers the hussars and I'm not sure where to do that, though it must be the unit file or perhaps the buildings file that allows recruitment.
    "Veni, vidi, vici"
    "I came, I saw, I conquered"
    -Gaius Julius Caesar

  3. #3

    Default Re: Making units appear earlier

    The easiest way to do that is to change the event they're linked to.

    D:\SEGA\Medieval 2 Total War\mods\Stainless_Steel_6\data\world\maps\campaign\imperial_campaign -> descr_events.txt

    event historic science_da_vinci_ornithopter
    date 392

    event historic musket_invented
    date 410

    Pick one of those.

    D:\SEGA\Medieval 2 Total War\mods\Stainless_Steel_6\data -> export_descr_buildings.txt

    recruit_pool "Heavy Hussars" 1 0.67 2 0 requires factions { poland, } and event_counter ADV_MATCHLOCK 1

    ->

    recruit_pool "Heavy Hussars" 1 0.67 2 0 requires factions { poland, } and event_counter science_da_vinci_ornithopter 1

    Change it for every mention of the Hussars.

  4. #4
    duce13's Avatar Foederatus
    Join Date
    Mar 2009
    Location
    Poland
    Posts
    41

    Default Re: Making units appear earlier

    Cheers!
    Nobody expects the Spanish inquisition...

  5. #5
    WarbornUK's Avatar Tiro
    Join Date
    Mar 2012
    Location
    Birmingham, UK
    Posts
    240

    Default Re: Making units appear earlier

    @k/t

    we spoke on a similar thread about Menaulatoi availability, where I had edited the EDB so that Menaulatoi appeared earlier in the campaign, but that Constantinople herself wasn't actually producing any, but other cities such as Jerusalem were, and I've checked the EDB, and it reads as follows for the Menaulatoi;

    recruit_pool "Menaulatoi" 1 0.5 2 0 requires factions { byzantium, }

    Just for reference, here's a unit produced exclusively in Constantinople, the Archontopoulai;

    recruit_pool "Archontopoulai" 0 0.1 0.4 0 requires factions { byzantium, }


    Would you mind letting me know where I've gone wrong?

    Many thanks.

  6. #6

    Default Re: Making units appear earlier

    Post your entire EDB.

    And check again that you have the right barracks.

Posting Permissions

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