Results 1 to 18 of 18

Thread: Script Error my ear!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member SRMacPherson's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    13

    Exclamation Re: Script Error my ear!

    New info on the above problem:

    I've been informed that my error could stem from a possible incompatability with the text editor I used.
    I used both Textpad and notepad for editing these files.

    I noticed the error after I had made alterations and saved using the microsoft program.

    Has anyone else noticed this problem? If so, how did it arise, and how does one correct it?
    I tried reloading and saving my text files in texpad, but to no avail. I'm going to go through the arduous task of re-writing them from scratch later on this week when I'm not too busy smacking down the Germans and the Britons using troops bought (stolen) from my foolish allies.

    I'll keep you updated if it works, or better yet, if someone has already encountered and combated this problem, let us know.

  2. #2

    Default Re: Script Error my ear!

    Oh thats quite possible. The text files use unicode. This is a longer byte format then a normal text file. This to support localization to certain languages. You need to use an editior that will not save the file out as standard text.
    Notice if you open a file in the text directory in notepad and go to the "save as" dialog you will see a pull down called encoding. Normal text files will be ANSI but the files in the text directory MUST be unicode.

  3. #3
    Member Member SRMacPherson's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    13

    Default Re: Script Error my ear!

    Quote Originally Posted by tommh
    Oh thats quite possible. The text files use unicode. This is a longer byte format then a normal text file. This to support localization to certain languages. You need to use an editior that will not save the file out as standard text.
    Notice if you open a file in the text directory in notepad and go to the "save as" dialog you will see a pull down called encoding. Normal text files will be ANSI but the files in the text directory MUST be unicode.

    Ok, I just tried saving the /text file in unicode. Still it failed to work.

    The format is
    {province_name} [3 tabs] Province Name

    its still failing to find the first province in the stringtable. regardless of what I make the first province in the other two files to be, it doesn't locate them in the string table.

  4. #4

    Default Re: Script Error my ear!

    If you post a message at the TWC with the files attached I'll take a look, otherwise I can't think of anything.

  5. #5

    Default Re: Script Error my ear!

    I had the same problem with the stringtable - i fixed it by adding (not removing anything) the data to imperial_campaign_region_and_settlement_names.txt" and then I either ran the provincial campaign, or i overwrote the imperial campaign folder (can't remember which, sorry - it still gave me errors (prob because the map i designed was incorrect), so i just gave up on map modding)...
    Last edited by NaeBlis; 12-08-2004 at 05:16.

  6. #6
    Member Member SRMacPherson's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    13

    Default Re: Script Error my ear!

    That was completely unhelpful.

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