Results 1 to 13 of 13

Thread: Problem with a Provincial campaign

  1. #1
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Problem with a Provincial campaign

    i have setted up a provincial campaign as here:

    descr_strat:
    Spoiler Alert, click show to read: 

    campaign Italica
    options bi
    playable
    romans_julii
    gauls
    greek_cities
    carthage
    macedon
    romans_brutii
    romans_scipii
    end
    unlockable
    end
    nonplayable
    britons
    slave
    end

    start_date -530 summer
    end_date -230 summer

    marian_reforms_disabled
    rebelling_characters_active
    night_battles_enabled
    brigand_spawn_value 4
    pirate_spawn_value 4

    in a directory called "Italica_Campaign"
    but for strange reason it says it can't find the region names.Ot's strange because it seems like it can't read the file in the text directory cause if i put those lines in the imperial_campiagn one(the file in in text directory) it works i have tried to move the regions to see if it was a specific one but it says always the same
    Last edited by Patrizius; 08-05-2008 at 16:57.
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  2. #2
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: Problem with a Provincial campaign

    You have to put the region and settlement names in "italica_campaign_regions_and_settlement_names.txt" in your text folder.

    Building for the Future of METW

  3. #3
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Problem with a Provincial campaign

    i have done it :P .You misanderstand XD
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  4. #4
    Been there, conquered that.... Member Darkvicer98's Avatar
    Join Date
    Apr 2008
    Location
    UK
    Posts
    238

    Default Re: Problem with a Provincial campaign

    Hmm. Could you be a bit more detailed. What files have you modded or added?


    Cry HAVOC and let slip the dogs of War!

    A brave man may fall,but he cannot yield-Latin Proverb

    Arms keep peace-Latin Proverb

  5. #5
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Problem with a Provincial campaign

    i have done nothing,this is the bad thing.It seems like it can't read the file.He has always worked well.

    A note:If i delete the file italica_campaign_regions_and_settlement_names.txt in the text folder and i add the strings in it to the imperial camapign one it works well(seems it will search for that one in the case) so i'm pretty sure it's a problem with that file (italica_campaign_regions_and_settlement_names.txt).


    EDITED:I remember now i have touched the descr_strat.txt to insert new units to the armies.But if i do as i say above it works so it can't be a problem there
    Last edited by Patrizius; 08-05-2008 at 20:34.
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  6. #6
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: Problem with a Provincial campaign

    Change your txt file name to italica_regions_and_settlement_names.txt or change the name of your campaign within the descr_strat.txt - its currently just italica. I assume this is a provincial campaign and you haven't changed any base files.

    Quote Originally Posted by Patrizius View Post
    i have done it :P .You misanderstand XD
    Not really your question is badly laid out and confusing to read - you need to put code tags around the extract to keep the text formatting for example. You say you've done nothing but you've created a whole new campaign. This is totally illogical so I assumed you might not have put the regions file in the text directory.

    Building for the Future of METW

  7. #7
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Problem with a Provincial campaign

    Note you quite often get formatting / save type problems if you write that /text file from scratch (which results in game not reading it).

    File must start with ¬ on the top line like original one does.

    Easiest way to make sure you get a working version I found was to copy and paste the imperial_campaign_... one at folder level, re-name 'copy_of_imperial_campaign_.... to suit your campaign name and then change the text within that to suit your new regions.
    Not used mods before? Looking for something small and fun?!
    Download the:

  8. #8
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Problem with a Provincial campaign

    sorry if someone felt offended by me answer.It was not my intention ;).
    Anyway i think it's the problem mankaniane says as i m sure it can't read that file ;)
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  9. #9
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: Problem with a Provincial campaign

    Sorry I over-reacted a bit.

    Can you post up the files in code brackets so we can have a look at them.

    Building for the Future of METW

  10. #10
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Problem with a Provincial campaign

    i don't know how to put the spoilers XD.Someone explain please
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  11. #11
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Problem with a Provincial campaign

    ok i relaised the problem is the text formattation.I tried writing a parser to see what cames out and it was clear that they(imperial and mine) use VERY different formattations.I will write a program tomorrow to solve this problem one time for all ;).i'll Upload it as i finish and it will convert from ONLY TEXT to the rome format
    Last edited by Patrizius; 08-06-2008 at 18:50.
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

  12. #12
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: Problem with a Provincial campaign

    To post in code tags put [ C O D E ] <your code> [ / C O D E ] without the spaces

    =
    Code:
    <your code>
    This keeps formatting such as tabs and spaces.

    Building for the Future of METW

  13. #13
    Indiana Jones of Modding! Member Patrizius's Avatar
    Join Date
    Oct 2007
    Posts
    103

    Default Re: Problem with a Provincial campaign

    i solved XD.I have had to open the file with a hexadecimal editor to discover what was wrong.The first line MUST be totally equal to the one of the imperial campaign one to prevent those bugs(or it can cause bugs at random).You should make sure (with an hexadecimal editor) that the first 6 chracater are the same(as the first one seems to be used to indicate the codification(Rome uses UNICODE anyway ;) )).At the end you should not put more than one new line on the bottom of the file as it seems to cause problems ;).

    Hope this will help someone to get over the problem
    Last edited by Patrizius; 08-07-2008 at 23:08.
    Ideator,Scripter and Team Leader of RES BELLICAE modding project.Come visit us on http://www.twcenter.net/forums/forumdisplay.php?f=603

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO