Results 1 to 16 of 16

Thread: Adding Diplomats to factions without them

Hybrid View

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

    Default Adding Diplomats to factions without them

    I would like to add Diplomats to the Labrynna Regime, preferably as a recruitable unit to a game already in progress. I added them as a capability to the Factory, however the game crashes when I attempt to load it. I presume that this is because the game cannot find a reference file for a Labrynna diplomat, how would I go about solving this problem?
    Love your enemy, it'll scare the hell out of him.-Mark Twain
    "'Khe San' died. Peacefully, in bed. Of gunshot wounds."
    -Darius Jedburgh, Edge Of Darkness

  2. #2
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: Adding Diplomats to factions without them

    Quote Originally Posted by Titan Uranus View Post
    I would like to add Diplomats to the Labrynna Regime, preferably as a recruitable unit to a game already in progress. I added them as a capability to the Factory, however the game crashes when I attempt to load it. I presume that this is because the game cannot find a reference file for a Labrynna diplomat, how would I go about solving this problem?
    The game editing is very simple once you get the hang of it (well for most simple things). If you want diplomats in a faction you have to go under the buildings file and add the faction to the list. After add the faction to the list of diplomat recruiting below.

    This method works with any building (I have not tested faction specific buildings myself however). Want gardens as the Moblins? Go nuts . Unless someone beats me to it before I get a chance, I'll post the proper way to do it within the file when I have time later. There's a thread lying around somewhere about how to edit things like this, I just don't have time right now to search for it. If you can't find it before I can post details, hopefully someone can post the link? Sorry that I can't be of more help until later.

  3. #3
    Magician Reversed's Avatar Libertus
    Join Date
    May 2009
    Location
    Washington State, USA
    Posts
    74

    Default Re: Adding Diplomats to factions without them

    I encountered the same issue. I don't think you can make changes to the data files and load a game in progress. However, you should be able to start a new game.
    "The enemy? His sense of duty was no less than yours, I deem. You wonder what his name is, where he comes from, and if he really was evil at heart. What lies or threats led him on this long march from home, and would he not rather have stayed there... in peace?" -Faramir (The Lord of the Rings: The Two Towers)

  4. #4
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: Adding Diplomats to factions without them

    Ok sorry it took me so long to post this, been busy. Ok so you want to go to the path: C:\Program Files\SEGA\Medieval II Total War\mods\Hyrule\data (note this is for 32-bit, 64 should be about the same). The file you are looking for is export_descr_buildings. First of all always backup these base files you edit, trust me. Once you are in the file I'd suggest to copy and paste it to say your desktop or something (security on your computer may not allow you to edit the files in their current folder). Now hit Ctrl+F and type in embassy then hit down. This is what you should be seeing:

    Spoiler Alert, click show to read: 
    building diplomatic
    {
    levels embassy
    {
    embassy requires factions { hylian, gerudo, goron, zora, kokiri, ordona, lanayru, darknut, zuna, tokay, }
    {
    capability
    {
    agent diplomat 0 requires factions { hylian, }
    agent diplomat 0 requires factions { gerudo, }
    agent diplomat 0 requires factions { goron, }
    agent diplomat 0 requires factions { zora, }
    agent diplomat 0 requires factions { kokiri, }
    agent diplomat 0 requires factions { ordona, }
    agent diplomat 0 requires factions { lanayru, }
    agent diplomat 0 requires factions { darknut, }
    agent diplomat 0 requires factions { zuna, }
    agent diplomat 0 requires factions { tokay, }

    Now what you do first is add in the faction you want to add the embassy into on the line "embassy requires factions". Here is an example:
    If I want to add the FoT into it it goes form this:

    Spoiler Alert, click show to read: 
    embassy requires factions { hylian, gerudo, goron, zora, kokiri, ordona, lanayru, darknut, zuna, tokay, }

    to this:

    Spoiler Alert, click show to read: 
    embassy requires factions { hylian, gerudo, goron, zora, kokiri, ordona, lanayru, darknut, twili, zuna, tokay, }
    Now move down to this:

    Spoiler Alert, click show to read: 
    agent diplomat 0 requires factions { hylian, }
    agent diplomat 0 requires factions { gerudo, }
    agent diplomat 0 requires factions { goron, }
    agent diplomat 0 requires factions { zora, }
    agent diplomat 0 requires factions { kokiri, }
    agent diplomat 0 requires factions { ordona, }
    agent diplomat 0 requires factions { lanayru, }
    agent diplomat 0 requires factions { darknut, }
    agent diplomat 0 requires factions { zuna, }
    agent diplomat 0 requires factions { tokay, }

    Now we will use the FoT example again and you copy and paste one of these lines above into a notepad or something, then you edit it, add you faction of choice, then paste it into the group of lines, like this:

    Spoiler Alert, click show to read: 
    agent diplomat 0 requires factions { hylian, }
    agent diplomat 0 requires factions { gerudo, }
    agent diplomat 0 requires factions { goron, }
    agent diplomat 0 requires factions { zora, }
    agent diplomat 0 requires factions { kokiri, }
    agent diplomat 0 requires factions { ordona, }
    agent diplomat 0 requires factions { lanayru, }
    agent diplomat 0 requires factions { darknut, }
    agent diplomat 0 requires factions { twili, }
    agent diplomat 0 requires factions { zuna, }
    agent diplomat 0 requires factions { tokay, }

    And that is how you add the embassy and diplomats to a faction. Just let me know if you have any questions on how to add buildings to faction or move around recruitment levels. Also I apoplogize for the long post .
    Last edited by HerofTime; March 19, 2013 at 10:24 AM.

  5. #5

    Default Re: Adding Diplomats to factions without them

    Thank you HeroOfTime.
    I had actually already figured that out when I started this thread. (The only games more modder-friendly than this one seem to be paradox-made)
    The trouble with that solution is that, while it does work for new games I was looking for a solution that would work for games in progress. Oh well, I suppose I'll just have to start a new game.
    Last edited by Titan Uranus; March 19, 2013 at 12:47 PM.
    Love your enemy, it'll scare the hell out of him.-Mark Twain
    "'Khe San' died. Peacefully, in bed. Of gunshot wounds."
    -Darius Jedburgh, Edge Of Darkness

  6. #6
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: Adding Diplomats to factions without them

    Oh well, it' here for others then . Any form of change I've done witht his mod, in any way has required a restart. There hasn't been any save friendly changes that I know of. Good Luck

  7. #7

    Default Re: Adding Diplomats to factions without them

    This was very helpful HeroofTime, I finally have diplomats and life is so much easier

  8. #8

    Default Re: Adding Diplomats to factions without them

    is it possible to do the same thing with factions without a church/temple ...?
    because thsoe without them crasha lot

  9. #9
    Windrider37's Avatar Centenarius
    Join Date
    Jan 2013
    Location
    In my cave at home.
    Posts
    844

    Default Re: Adding Diplomats to factions without them

    Hmm, heres an interesting question...can units be added from other factions? Liek adding Lizalfos to Hyrule and the like? or will textures not like that?
    My Skype and steam name is Windrider37 on both. I love chatting and playing games if someone would like to do either ^.^




  10. #10

    Default Re: Adding Diplomats to factions without them

    @thammy
    You can give the ability to recruit agents to any building. Just copy the line and add it under the "capability" section. Here's an example:
    Spoiler Alert, click show to read: 
    building arenapit
    {
    levels fighting_pit arena colosseum
    {
    fighting_pit requires factions { goron, moblin, deku, darknut, lizalfos, deku }
    {
    capability
    {
    recruit_pool "Dishonored" 1 0.2 2 0 requires factions { darknut, }
    recruit_pool "Deku Monkeys" 1 0.2 2 0 requires factions { deku, }
    recruit_pool "Yook Smashers" 1 0.2 2 0 requires factions { moblin, }
    agent assassin 0 requires factions { lizalfos, }

    law_bonus bonus 1
    happiness_bonus bonus 2
    }
    material wooden
    construction 2
    cost 800
    settlement_min town
    upgrades
    {
    arena
    }
    }

    @Windrider
    I think giving a faction a unit they don't own gives them the monochrome color that cannon fodder units have when they're rebels in the latest release.

  11. #11
    Windrider37's Avatar Centenarius
    Join Date
    Jan 2013
    Location
    In my cave at home.
    Posts
    844

    Default Re: Adding Diplomats to factions without them

    yeah, i figured. What about Huskus? As they can be assimilated, and eventually Part of your armies, recruitable and all?
    I know its off topic(I think) But id rather ask here instead of starting a new thread for a small question like that
    My Skype and steam name is Windrider37 on both. I love chatting and playing games if someone would like to do either ^.^




  12. #12
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: Adding Diplomats to factions without them

    I haven't tested faction specific special buildings (they 5000 gold ones), but any other regular building can be added yes. This method made me enjoy factions like Labrynna and FoT much more (suck it FoT public happiness!). Only other exeception is religious buildings. I haven't tested them but if they are the proper religion (like giving Ordona KoH's advanced church) it should work in theory.
    Last edited by HerofTime; March 24, 2013 at 03:49 PM.


    "Metsu Ryū Ōgi...! Gōma Tetsu Jin Ken!!!" -Gajeel Redfox

  13. #13
    Windrider37's Avatar Centenarius
    Join Date
    Jan 2013
    Location
    In my cave at home.
    Posts
    844

    Default Re: Adding Diplomats to factions without them

    Hmm, imam try adding the Huskus Barracks to KoH's Building roster, and I'll let you know if it worked

    EDIT: Yes, it worked I now have Huskus units as default units with Hyrule, as well as their barracks. They dont have the Monochrome look on them either, so it worked <3
    So seeing as that worked, its safe to say that you can do this with any NPC Units.
    Last edited by Windrider37; March 24, 2013 at 05:37 PM.
    My Skype and steam name is Windrider37 on both. I love chatting and playing games if someone would like to do either ^.^




  14. #14
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: Adding Diplomats to factions without them

    Unless specifics are found, it should work with any unit with any faction in theory. I've stayed within faction units myself but I'm interested in trying a Goron campaign with adding in Lizalfos units .


    "Metsu Ryū Ōgi...! Gōma Tetsu Jin Ken!!!" -Gajeel Redfox

  15. #15
    Windrider37's Avatar Centenarius
    Join Date
    Jan 2013
    Location
    In my cave at home.
    Posts
    844

    Default Re: Adding Diplomats to factions without them

    lol, liek said above, doesnt that give units that monochrome color that the cannon fodder have?
    My Skype and steam name is Windrider37 on both. I love chatting and playing games if someone would like to do either ^.^




  16. #16
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: Adding Diplomats to factions without them

    Quote Originally Posted by Windrider37 View Post
    lol, liek said above, doesnt that give units that monochrome color that the cannon fodder have?
    From my experience it doesn't. Try making the unit useable by any faction in the export unit file (I can't call this a surefire method though, I've only used it once to faction crossover units).


    "Metsu Ryū Ōgi...! Gōma Tetsu Jin Ken!!!" -Gajeel Redfox

Posting Permissions

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