Page 2 of 2 FirstFirst 1 2
Results 21 to 29 of 29

Thread: PFM Schema Update Thread

  1. #21

    Default Re: PFM Schema Update Thread

    Rome 2-
    Code:
        <table table_name='faction_civil_war_setups_tables'         table_version='2' >
        <field fkey='factions_tables.key' name='primary_faction' type='string_ascii' pk='true' />
        <field fkey='factions_tables.key' name='secondary_faction' type='string_ascii' />
        <field name='unknown2' type='string_ascii' />
      </table>
    
    
      
    <table table_name='faction_to_campaign_junctions_tables'
             table_version='0' >
        <field name='campaign' type='string_ascii' />
        <field name='faction' type='string_ascii' />
      </table>
      
      <table table_name='character_skill_nodes_tables'
             table_version='2' >
        <field name='unknown0' type='optstring_ascii' />
        <field name='unknown1' type='string_ascii' />
        <field name='unknown2' type='string_ascii' />
        <field name='unknown3' type='optstring_ascii' />
        <field name='unknown4' type='int' />
        <field name='unknown5' type='string_ascii' />
        <field name='unknown6' type='int' />
        <field name='unknown7' type='optstring_ascii' />
      </table>
      
        <table table_name='political_traits_tables'
             table_version='0' >
        <field name='unknown0' type='string_ascii' />
        <field name='unknown1' type='string_ascii' />
        <field name='unknown2' type='optstring_ascii' />
      </table>
      <table table_name='politics_government_type_political_action_junctions_tables'
             table_version='0' >
        <field name='unknown0' type='string_ascii' />
        <field name='unknown1' type='boolean' />
        <field name='unknown2' type='boolean' />
        <field name='unknown3' type='boolean' />
        <field name='unknown4' type='boolean' />
        <field name='unknown5' type='string_ascii' />
      </table>
          <table table_name='politics_government_types_tables'
             table_version='0' >
        <field name='unknown0' type='string_ascii' />
      </table>
      <table table_name='political_actions_effect_bundles_tables'
             table_version='2' >
        <field name='unknown0' type='string_ascii' />
        <field name='unknown1' type='string_ascii' />
        <field name='unknown2' type='int' />
      </table>
      <table table_name='region_campaign_overrides_tables'
             table_version='0' >
        <field name='unknown0' type='string_ascii' />
        <field name='unknown1' type='string_ascii' />
        <field name='unknown2' type='boolean' />
        <field name='unknown3' type='string_ascii' />
        <field name='unknown4' type='int' />
      </table>
      <table table_name='plagues_tables'
             table_version='0' >
        <field name='unknown0' type='int' />
        <field name='unknown1' type='int' />
        <field name='unknown2' type='int' />
        <field name='unknown3' type='string_ascii' />
        <field name='unknown4' type='int' />
        <field name='unknown5' type='string_ascii' />
        <field name='unknown6' type='string_ascii' />
      </table>
      <table table_name='send_diplomat_incidents_tables'
             table_version='0' >
        <field name='unknown0' type='string_ascii' />
        <field name='unknown1' type='string_ascii' />
        <field name='unknown2' type='string_ascii' />
        <field name='unknown3' type='int' />
      </table>
      <table table_name='culture_subculture_politics_government_types_tables'
             table_version='3' >
        <field name='unknown0' type='string_ascii' />
        <field name='unknown1' type='string_ascii' />
        <field name='unknown2' type='optstring_ascii' />
        <field name='unknown3' type='string_ascii' />
        <field name='unknown4' type='optstring_ascii' />
        <field name='unknown5' type='optstring_ascii' />
        <field name='unknown6' type='boolean' />
        <field name='unknown7' type='string_ascii' />
      </table>
    Main units needs an update, if anyone can work on that.
    Last edited by Dresden; November 08, 2017 at 11:06 PM.

  2. #22
    Litharion's Avatar Artifex
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    2,519

    Default Re: PFM Schema Update Thread

    Rome 2
    Code:
     <table table_name='main_units_tables'
             table_version='13' >
        <field name='unknown0' type='optstring_ascii' />
        <field name='campaign_cap' type='int' />
        <field fkey='unit_castes_tables.caste' name='caste' type='string_ascii' />
        <field name='create_time' type='int' />
        <field name='is_naval' type='boolean' />
        <field fkey='land_units_tables.key' name='land_unit' type='string_ascii' />
        <field name='num_men' type='int' />
        <field name='multiplayer_cap' type='int' />
        <field name='multiplayer_cost' type='int' />
        <field fkey='naval_units_tables.key' name='naval_unit' type='optstring_ascii' />
        <field name='num_ships' type='int' />
        <field name='min_men_per_ship' type='int' />
        <field name='max_men_per_ship' type='int' />
        <field name='prestige' type='int' />
        <field name='recruitment_cost' type='int' />
        <field name='unknown15' type='optstring_ascii' />
        <field name='unknown16' type='optstring_ascii' />
        <field name='unit' type='string_ascii' pk='true' />
        <field name='upkeep_cost' type='int' />
        <field fkey='unit_weights_tables.key' name='weight' type='optstring_ascii' />
        <field name='campaign_total_cap' type='int' />
        <field name='unknown21' type='boolean' />
        <field name='unknown22' type='boolean' />
        <field name='unknown23' type='boolean' />
        <field name='special_edition_mask' type='int' />
        <field name='unique_index' type='int' />
        <field name='prestige27' type='int' />
        <field name='in_encyclopedia' type='boolean' />
        <field fkey='region_unit_resources_tables.key' name='region_unit_resource_requirement' type='optstring_ascii' />
        <field fkey='cultures_subcultures_tables.subculture' name='audio_language' type='string_ascii' />
        <field name='unknown31' type='optstring_ascii' />
      </table>
    main unit table now working, some strange entries after the audio entry...
    EasSpecial
    RomSpecial
    Last edited by Litharion; November 09, 2017 at 08:52 AM.

  3. #23

    Default Re: PFM Schema Update Thread

    Thanks buddy!

    Those entries refer to audio_vo keys in a new table.

  4. #24

    Default Re: PFM Schema Update Thread

    Litharion, Thanks so much

  5. #25

  6. #26

    Default Re: PFM Schema Update Thread

    I'm downloading Rome2 right now, and can start to look through the tables tomorrow. I'll combine a new schema with the fixes from Dresden and Litharion, thanks guys.

    Further I want to integrate more drop down columns for the Warhammer tables. Any wishes?

  7. #27
    Magnar's Avatar Artifex
    Join Date
    Jul 2013
    Location
    The last place you look
    Posts
    4,019

    Default Re: PFM Schema Update Thread

    @Litharion, did you manually change the table number to 13? That number already exists and as such it should be different or there will be backwards compatibility issues.

  8. #28
    Magnar's Avatar Artifex
    Join Date
    Jul 2013
    Location
    The last place you look
    Posts
    4,019

    Default Re: PFM Schema Update Thread

    Rome 2

    Code:
      <table table_name='banditry_events_tables'
             table_version='0' >
        <field name='unknown0' type='int' />
        <field name='unknown1' type='string_ascii' />
        <field name='unknown2' type='float' />
        <field name='unknown3' type='string_ascii' />
        <field name='unknown4' type='string_ascii' />
        <field name='unknown5' type='int' />
      </table>
    
      <table table_name='province_to_mercenary_set_junctions_tables'
             table_version='1' >
        <field fkey='mercenary_pools_tables.key' name='mercenary_set' type='string_ascii' pk='true' />
        <field fkey='provinces_tables.key' name='province' type='string_ascii' pk='true' />
        <field name='unknown2' type='optstring_ascii' />
      </table>
    think thats the lat of the tables
    Last edited by Magnar; November 14, 2017 at 04:49 AM.

  9. #29

    Default Re: PFM Schema Update Thread

    I seem to be getting crashes when adding new units to the game or creating completely new mods.

Page 2 of 2 FirstFirst 1 2

Tags for this Thread

Posting Permissions

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