Results 1 to 15 of 15

Thread: Which table controls Confederations

  1. #1
    FaLKReN's Avatar Civis
    Join Date
    Sep 2013
    Location
    Budapest, Hungary
    Posts
    196

    Default Which table controls Confederations

    The title says it all, I want to make a Greek Confederation mod, where the Greek cities can band together in an alliance with a new faction icon, own colors, a possibly expanded roster etc. But I haven't been able to locate the table that controls these factors. Did anybody found it by any chance or I'm just blind?

    EDIT: I wasn't really specific for the first time, sorry about that, so here it goes:

    I was able to give the ability for Greek factions to form confederations, but I want to give them a new identity too.

    In vanilla, when a barbarian tribe forms a confederation they'll at least get a new name (Iceni -> British Confederation ; or when an Iberian tribe does it, they'll become -> Celtiberian Confederation). But I wasn't able to dig anything up on the matter in the files.

    I would like to aim a little higher though, with giving a Greek Alliance a completely new look. I suspect that this will need me to create a new faction basically, but I couldn't find anything about that either...
    Last edited by FaLKReN; September 30, 2013 at 02:52 PM.

  2. #2

    Default Re: Which table controls Confederations

    I did something similar for Carthage - http://www.twcenter.net/forums/showt...v1-1-(Updated)

    The table you are looking for is /db/diplomatic_action_subculture_restrictions_tables/diplomatic_action_subculture_restrictions/

    Change the can_make_confederations value to True for the greek factions.

    That will allow the Greeks to form confederations. However, their name won't change (and neither will their colors). I am not sure where that would be affected. I have tested this with Athens and was eventually able to get Sparta into a confederation, but I kept the name Athens.

    If you want to make it easier to get a confederation, you can modify how friendly the greeks are to each other in the cai_personality_cultural_multipliers_table

  3. #3

    Default Re: Which table controls Confederations

    Wow. Thanks Dresden. I literally just logged on and was about to make a thread asking the same question before seeing this on the top of the page.

    I'm trying to make Parthia "confederize" Dahae (because I always feel bad betraying the helpful little buggers).

    ~Broken Crescent 3.0 - Lead 2D Artist~


  4. #4
    FaLKReN's Avatar Civis
    Join Date
    Sep 2013
    Location
    Budapest, Hungary
    Posts
    196

    Default Re: Which table controls Confederations

    Quote Originally Posted by Dresden View Post
    I did something similar for Carthage - http://www.twcenter.net/forums/showt...v1-1-(Updated)

    The table you are looking for is /db/diplomatic_action_subculture_restrictions_tables/diplomatic_action_subculture_restrictions/

    Change the can_make_confederations value to True for the greek factions.

    That will allow the Greeks to form confederations. However, their name won't change (and neither will their colors). I am not sure where that would be affected. I have tested this with Athens and was eventually able to get Sparta into a confederation, but I kept the name Athens.

    If you want to make it easier to get a confederation, you can modify how friendly the greeks are to each other in the cai_personality_cultural_multipliers_table
    Thx, but I already figured that one out..It was my mistake, I asked the question wrong. sorry

    So what I really need is how can I make a new confederation, so when these states make a pact, they'll get a new name and such..so basically make a new confederate faction. The simple ability to form one will not cut it for me

  5. #5

    Default Re: Which table controls Confederations

    Quote Originally Posted by FaLKReN View Post
    Thx, but I already figured that one out..It was my mistake, I asked the question wrong. sorry

    So what I really need is how can I make a new confederation, so when these states make a pact, they'll get a new name and such..so basically make a new confederate faction. The simple ability to form one will not cut it for me
    Ah, ok, sorry I misunderstood. I would like to know the answer to this as well. I can't even find the text file that controls the Confederation names.

  6. #6

    Default Re: Which table controls Confederations

    Ok. New question. I'm looking for the files that controls faction subcultures. If I could use the blasted "search" option in the pack manager I'd just look for "sc_rom_{culture}." As it is, I can't figure out (if it's even possible) how to search for specific information like that.

    ~Broken Crescent 3.0 - Lead 2D Artist~


  7. #7
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Which table controls Confederations

    Quote Originally Posted by Dresden View Post
    That will allow the Greeks to form confederations. However, their name won't change (and neither will their colors). I am not sure where that would be affected. I have tested this with Athens and was eventually able to get Sparta into a confederation, but I kept the name Athens.
    You probably need to add a confederation label in the localisation packs. cultures_subcultures.loc has the naming, and without testing it, my best guess would be that when a confederation is formed it checks to see if there is a name for that subculture as there is no link to confederations in the db that I can see.
    Quote Originally Posted by Quirl View Post
    Ok. New question. I'm looking for the files that controls faction subcultures. If I could use the blasted "search" option in the pack manager I'd just look for "sc_rom_{culture}." As it is, I can't figure out (if it's even possible) how to search for specific information like that.
    Factions_tables should have what you're looking for.

    Would certainly be nice to see the dependencies again which meant you never needed a search function once you found a single part of what you were looking for (would take a lot of exploration for a community tool though )
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  8. #8

    Default Re: Which table controls Confederations

    Quote Originally Posted by crzyrndm View Post
    Factions_tables should have what you're looking for.
    I had checked that before, but just double checked it after your post. Turns out I didn't have the latest version of the pack manager and it wasn't reading the faction_tables appropriately. Thanks man. The subculture information was indeed in "faction_tables" and now I don't have to slaughter those poor Dahaens. You've saved countless lives this day...

    ~Broken Crescent 3.0 - Lead 2D Artist~


  9. #9
    FaLKReN's Avatar Civis
    Join Date
    Sep 2013
    Location
    Budapest, Hungary
    Posts
    196

    Default Re: Which table controls Confederations

    Quote Originally Posted by crzyrndm View Post
    You probably need to add a confederation label in the localisation packs. cultures_subcultures.loc has the naming, and without testing it, my best guess would be that when a confederation is formed it checks to see if there is a name for that subculture as there is no link to confederations in the db that I can see.
    As soon as I edit the lines I'm supposed to and add it to my pack, my Greeks lose the ability to form a coalition and revert back to their original client state ability. I feel we're close but I can't figure it out on my own as it seems. Thx for the help though

  10. #10
    FaLKReN's Avatar Civis
    Join Date
    Sep 2013
    Location
    Budapest, Hungary
    Posts
    196

    Default Re: Which table controls Confederations

    Bump?

  11. #11
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Which table controls Confederations

    Quote Originally Posted by FaLKReN
    As soon as I edit the lines I'm supposed to and add it to my pack, my Greeks lose the ability to form a coalition and revert back to their original client state ability. I feel we're close but I can't figure it out on my own as it seems. Thx for the help though
    Change it to movie type, it doesn't want to know about it when its a mod type pack (I don't know if this is because of the bug with the loading sequence or something to do with using loc files).

    Also, make sure you have both entries in the loc pack. I'm trying to test it, but noone wants to form a confederation with me -.-
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  12. #12
    FaLKReN's Avatar Civis
    Join Date
    Sep 2013
    Location
    Budapest, Hungary
    Posts
    196

    Default Re: Which table controls Confederations

    Quote Originally Posted by crzyrndm View Post
    Change it to movie type, it doesn't want to know about it when its a mod type pack (I don't know if this is because of the bug with the loading sequence or something to do with using loc files).

    Also, make sure you have both entries in the loc pack. I'm trying to test it, but noone wants to form a confederation with me -.-
    Thanks man! I really appreciate your help, here have some rep

    Now I just have to figure out how to give them some unique flavor. This might be impossible to achieve, as it seems even vanilla barbarian confederations don't get new faction icons and colors. They retain whoever's made the confederation and that's it.
    Last edited by FaLKReN; October 04, 2013 at 04:59 AM.

  13. #13
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Which table controls Confederations

    Quote Originally Posted by FaLKReN View Post
    Now I just have to figure out how to give them some unique flavor. This might be impossible to achieve, as it seems even vanilla barbarian confederations don't get new faction icons and colors. They retain whoever's made the confederation and that's it.
    I wonder if its the same thing as what was occuring with the un-named confederation. If you could create a confederation as a complete faction, what happens when the confederation gets formed? I wonder if it's too much to hope that the faction key is just rom_greek...

    Also, you may need to create a new sub-culture if you only want the greek states to be able to be a part of this confederation. There are a number of factions in the Med with the greek sub-culture that aren't Athens/Sparta/Epirus (15 not counting rebels or political parties)

    List of Greek sub-culture Factions:
    Greek
    Ardiaei
    Athens
    Athenian Boul
    Baktria
    Cimmeria
    Cypru
    Cyrenaica
    Daorsi
    Epirus
    Epirean Nobles
    Knossos
    Macedon
    Macedonian Nobles
    Massilia
    Pergamon
    Hellenic Rebels
    Spartan Rebels
    Rhodos
    Sardes
    Seleucid
    Sparta
    Spartan Gerousia
    Syracuse
    Trapezos
    Last edited by crzyrndm; October 04, 2013 at 06:25 AM.
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  14. #14
    FaLKReN's Avatar Civis
    Join Date
    Sep 2013
    Location
    Budapest, Hungary
    Posts
    196

    Default Re: Which table controls Confederations

    After doing some testing with the Iceni, I realised that other than a rename, you don't get anything else. Even after forming the confederation, every record the game keeps of my faction is still shown as Iceni.

    I also dug through all the data.packs and didn't found anything to go on. The confederations don't seem to work as factions. Your faction just gets renamed with the help of these .loc files, but I wasn't able to find anything in the data.packs that would control this mechanic. (Which makes me believe that this isn't even a game mechanic...)

    Either this feature is half completed (wouldn't be surprised) or this is all that can be achieved with this. Either way I'm bummed a little

  15. #15

    Default Re: Which table controls Confederations

    I wanted to do this today. After going through the forum I've realized how discouraged everyone is. I've already added the loc lines suggested and it did change the names however as mentioned already, it did not alter anything other than the name; the colours, emblems, armours, rosters, records are still as they were.

    So my thoughts are this:
    1. add the new loc lines
    2. create a new faction but don't give it any regions - this way it will not be enabled from the beginning but only accessed once the confederation is formed. add colours, emblem, units etc etc
    3. play the game and form a confederation

    I'm going to give it a go and see how it goes. It's a trial and error thing but from my Shogun 2 experience I guess that it should be possible to have a unique confederation faction. If you've already solved this then please direct me to the right mod/guidelines!

Posting Permissions

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