Page 29 of 29 FirstFirst ... 41920212223242526272829
Results 561 to 572 of 572

Thread: Adding New Faction from Nothing – Step by Step

  1. #561

    Icon1 Re: Adding New Faction from Nothing – Step by Step

    I follow this tutoriel but when i want to lunch a great campaign, i have bug. The game don't lunch my party.

    I do a mistake, but i don't understant why i have a scrip error.

    21:45:54.836 [script.err] [error] Script Error in data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 24, column 5
    Expected start date of campaign or battle.

    My line 24, is hungary but i don't have a column 5
    [SPOIL]
    ; Custom campaign script generated by Romans Campaign Map Editor

    campaign imperial_campaign
    playable
    england
    france
    hre
    spain
    venice
    sicily
    milan
    scotland
    byzantium
    russia
    moors
    turks
    egypt
    denmark
    portugal
    poland
    normans
    saxons
    end
    unlockable
    hungary
    end
    nonplayable
    papal_states
    aztecs
    mongols
    timurids
    slave
    end


    start_date 1080 summer
    end_date 1530 winter
    timescale 2.00


    marian_reforms_disabled
    rebelling_characters_active
    gladiator_uprising_disabled
    night_battles_enabled
    show_date_as_turns
    brigand_spawn_value 20
    pirate_spawn_value 28
    [/SPOIL]

    Thanks for your help

  2. #562
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,123
    Blog Entries
    35

    Default Re: Adding New Faction from Nothing – Step by Step

    These are all standard factions, please describe which faction you implemented and what you did.
    Which editor are you using to work with the TXT files?










  3. #563

    Default Re: Adding New Faction from Nothing – Step by Step

    I hope someone is still reading this
    So i tried adding a new faction to DaC(maybe this guide isnt for that?), and i did all the steps but when i start the game i get a crash right before the movies would start
    my log says this:
    19:49:34.061 [system.rpt] [always] CPU: SSE2
    19:49:34.062 [system.rpt] [always] ==== system log start, build date: Sep 5 2014 version development ===
    19:49:34.066 [system.io] [always] mounted pack packs/data_0.pack
    19:49:34.067 [system.io] [always] mounted pack packs/data_1.pack
    19:49:34.068 [system.io] [always] mounted pack packs/data_2.pack
    19:49:34.069 [system.io] [always] mounted pack packs/data_3.pack
    19:49:34.070 [system.io] [always] mounted pack packs/data_4.pack
    19:49:34.070 [system.io] [always] mounted pack packs/localized.pack
    19:49:39.513 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 1, column 1
    Expected 'building', found ''

    and when i go to the file i can see that i didnt edit line 1 at all
    and i used notepad++ for all the text changes

  4. #564
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,123
    Blog Entries
    35

    Default Re: Adding New Faction from Nothing – Step by Step

    Well, something is definitely wrong with that file, my guess would be formatting, UTF instead of ANSI (shows in the bottom right with Notepad++). Try this: open the file with the regular Notepad, then 'save as' and in the 'Encoding' drop down choose 'ANSI'.

    In Notepad++ choose the 'Encoding' tab and choose 'Encoding in ANSI'.
    While in Notepad++ also check if you have this option selected: Edit\EOL Conversion\Windows (CR LF)
    Might as well check your setting for new TXT files while you are at it: Settings\Preferences\New Document - It should be set to 'Windows (CR LF)' and 'ANSI' as well as 'Normal Text' in the 'Default Language' drop down.
    Ditto with the 'convert tab to space' setting (M2TW coding really doesn't like that): Settings\Preferences\Language - Tab Settings should be '(Default)' and the selection box 'replace by space' should be unticked
    Last edited by Gigantus; October 03, 2018 at 09:27 PM.










  5. #565

    Default Re: Adding New Faction from Nothing – Step by Step

    So i did all the thing that you suggested and something indeed happened but now I get another crash log, different and a bit more complicated so here it is:
    Code:
    19:20:02.996 [system.rpt] [always] CPU: SSE2
    19:20:02.997 [system.rpt] [always] ==== system log start, build date: Sep  5 2014 version development ===
    19:20:03.003 [system.io] [always] mounted pack packs/data_0.pack
    19:20:03.003 [system.io] [always] mounted pack packs/data_1.pack
    19:20:03.005 [system.io] [always] mounted pack packs/data_2.pack
    19:20:03.006 [system.io] [always] mounted pack packs/data_3.pack
    19:20:03.007 [system.io] [always] mounted pack packs/data_4.pack
    19:20:03.007 [system.io] [always] mounted pack packs/localized.pack
    19:20:09.927 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction scripts (bdg large_city vs clt huge_city)
    19:20:09.927 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction milan (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction normans (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction scotland (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction timurids (bdg large_town vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction byzantium (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction moors (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction hungary (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction norway (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction saxons (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction egypt (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction ireland (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction mongols (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction teutonic_order (bdg large_town vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction venice (bdg large_city vs clt huge_city)
    19:20:09.940 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction england (bdg large_city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction poland (bdg large_city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction france (bdg large_city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction aztecs (bdg large_town vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction hre (bdg large_city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction portugal (bdg large_city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction spain (bdg city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction khand (bdg city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction balchoth (bdg large_town vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction papal_states (bdg large_city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction united (bdg large_city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - culture db max settlement level differs from building db max settlement level for faction slave (bdg city vs clt huge_city)
    19:20:09.941 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction sicily has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction denmark has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction normans has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction turks has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction russia has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction sicily has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction denmark has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction normans has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction turks has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction saxons has gap in building prior to wooden_castle (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction saxons has gap in building prior to castle (unavailable at level zero)
    19:20:09.942 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction egypt has gap in building prior to wooden_castle (unavailable at level zero)
    19:20:09.943 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction egypt has gap in building prior to castle (unavailable at level zero)
    19:20:09.943 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction ireland has gap in building prior to wooden_castle (unavailable at level zero)
    19:20:09.943 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction ireland has gap in building prior to castle (unavailable at level zero)
    19:20:09.943 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction mongols has gap in building prior to wooden_castle (unavailable at level zero)
    19:20:09.943 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction mongols has gap in building prior to castle (unavailable at level zero)
    19:20:09.943 [script.err] [error] Script Error in mods/Third_Age_3_mod/data/export_descr_buildings.txt, at line 16235, column 33
    Building DB error - faction russia has gap in building prior to rebuilt_bridge (unavailable at level zero)
    19:20:15.556 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.

  6. #566
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,123
    Blog Entries
    35

    Default Re: Adding New Faction from Nothing – Step by Step

    The script errors from the EDB ( a sure sign you managed to fix the previous issue) are non fatal - it's because of the fancy way to achieve those custom settlements afaik.

    Which is bad news - because the crash will now be due to editing the files needed to implement a new faction. I am not very familiar with this tutorial anymore as I did one myself based on it, so I would like you to go through my tutorial and check each and every file listed in there to see if you indeed did the necessary edit\addition. Please continue posting there.

    Edit: and set your log to trace - there is a six second gap between the last log message and the actual crash, an eternity in log terms. To do so, edit this log section line to look like this: level = * trace
    Last edited by Gigantus; October 04, 2018 at 11:11 PM.










  7. #567

    Default Re: Adding New Faction from Nothing – Step by Step

    I know this is probably a bit useless by now but this guide is absolutely genius. I've added two factions now, they both work perfectly. Thank you SO MUCH, original poster.

  8. #568
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,123
    Blog Entries
    35

    Default Re: Adding New Faction from Nothing – Step by Step

    It's never too late to show appreciation.










  9. #569

    Default Re: Adding New Faction from Nothing – Step by Step

    Hello! I tried to create a faction, but the game crash before the menu would be loaded. Log: undetermined problem Can someone get me some ideas? I would be thankfull

  10. #570
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,123
    Blog Entries
    35

    Default Re: Adding New Faction from Nothing – Step by Step

    That's why creating a brand new faction is a tedious affair, simply have a look at the files and the amount of entries that are required - if you have an error you will have to go through each file and make sure the entries are correct. Best to do it with a fresh mind.










  11. #571

    Default Re: Adding New Faction from Nothing – Step by Step

    Yeah, after i gained some energy, in the most boring part (where i nearly falled in sleep) i just found the problem. The missing characters--> _ . But now my biggest problem, is how i can put the faction's icon to the menu, because without it, will be a little bit harder to start a campaign with the new nation. And thanks for the fast answer, good to know that still people paying attention to older games.

  12. #572
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,123
    Blog Entries
    35

    Default Re: Adding New Faction from Nothing – Step by Step

    Pretty simple - I 'enhanced' the duke's tutorial and made all required custom files and text templates available, check here.










Posting Permissions

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