Results 1 to 14 of 14

Thread: Gah problems...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Gah problems...

    I am hoping that someone can provide input on this as I'm currently at a loss. It is probably simple and the answer is staring me in the face. Anyway the problem is thus:

    I have created new provinces, all working correctly, no problems, no crashes all is functioning as it should. Then I decide that I want to add for example "Unit1" to be trainable in "ID_NEWREGION1" (not actual names). So going to the unit prod file I add my province into the correct field (gnome editor column 51) as per example:

    Code:
    "ID_WALES, ID_WESSEX, ID_MERCIA, ID_NORTH_UMBRIA, ID_NEWREGION1"
    I then save the unitprod file (using notepad++) and exit. Then when running the game I get the following:

    Unknown region specified: Column 30, Row 13
    ID_NEWREGION1
    Any ideas as to where I'm going wrong?



    -Edit: I also have a problem where rebels in the new provinces are nameless. That is to say that I've done the SetRegionRebels in the startpos file but the rebel generals that appear as part of a revolt appear with no names.
    Last edited by caravel; 03-24-2008 at 18:42.
    “The majestic equality of the laws prohibits the rich and the poor alike from sleeping under bridges, begging in the streets and stealing bread.” - Anatole France

    "The law is like a spider’s web. The small are caught, and the great tear it up.” - Anacharsis

  2. #2
    Clan Takiyama Senior Member R'as al Ghul's Avatar
    Join Date
    Jan 2003
    Location
    ignores routers who aren't elite
    Posts
    2,554

    Default Re: Gah problems...

    Could you post the file in code tags?
    I assume it's an error caused by gnome.

    The second problem I need to think about. You forgot to introduce the names somewhere. I think names.txt.

    Singleplayer: Download beta_8
    Multiplayer: Download beta_5.All.in.1
    I'll build a mountain of corpses - Ogami Itto, Lone Wolf & Cub
    Sometimes standing up for your friends means killing a whole lot of people - Sin City, by Frank Miller

  3. #3

    Default Re: Gah problems...

    Quote Originally Posted by R'as al Ghul
    Could you post the file in code tags?
    I assume it's an error caused by gnome.
    That's it though, I don't use gnome. Basically whenever I add in the province name, I get the error and when I remove it again the error vanishes. I can only assume that it needs to be declared somewhere else, but where? Basically the game engine doesn't recognise my new provinces for some reason. Of course I've only declared them in the early.txt startpos. Do I need to declare them anywhere else?
    Quote Originally Posted by R'as al Ghul
    The second problem I need to think about. You forgot to introduce the names somewhere. I think names.txt.
    I know it's language text file related but not sure which file. names.txt is a safe bet though, I'll have a look.
    “The majestic equality of the laws prohibits the rich and the poor alike from sleeping under bridges, begging in the streets and stealing bread.” - Anatole France

    "The law is like a spider’s web. The small are caught, and the great tear it up.” - Anacharsis

  4. #4
    Clan Takiyama Senior Member R'as al Ghul's Avatar
    Join Date
    Jan 2003
    Location
    ignores routers who aren't elite
    Posts
    2,554

    Default Re: Gah problems...

    Quote Originally Posted by caravel
    That's it though, I don't use gnome. Basically whenever I add in the province name, I get the error and when I remove it again the error vanishes. I can only assume that it needs to be declared somewhere else, but where? Basically the game engine doesn't recognise my new provinces for some reason. Of course I've only declared them in the early.txt startpos. Do I need to declare them anywhere else?
    Yes, in default_region_specific.txt and in all startpos files that use the unit_prod.

    Quote Originally Posted by caravel
    I know it's language text file related but not sure which file. names.txt is a safe bet though, I'll have a look.
    Check for @["rebel_factions_xzy"] and put the new rebel names in the list. Make sure the order corresponds with the region declaration.

    Singleplayer: Download beta_8
    Multiplayer: Download beta_5.All.in.1
    I'll build a mountain of corpses - Ogami Itto, Lone Wolf & Cub
    Sometimes standing up for your friends means killing a whole lot of people - Sin City, by Frank Miller

  5. #5

    Default Re: Gah problems...

    Quote Originally Posted by R'as al Ghul
    Yes, in default_region_specific.txt and in all startpos files that use the unit_prod.
    This is where the problem lies, I hadn't added them to the high and late startpos file as I haven't done those as yet. I've now renamed them as .baks and it's now working ok!
    Quote Originally Posted by R'as al Ghul
    Check for @["rebel_factions_xzy"] and put the new rebel names in the list. Make sure the order corresponds with the region declaration.
    Ok will do, thanks for all your help.



    -Edit: I've looked at that section and it appears to be alphabetical and points to the rebel faction names. I'm reusing the same factions for the time being and not creating new ones. The issue is that the rebel generals appear totally nameless, not even an error message appears.

    -Edit2: Another province I've moved from elsewhere produces rebels with the correct faction name "The Catalans" but the generals are still named as germanic rebels.
    Last edited by caravel; 03-24-2008 at 19:30.
    “The majestic equality of the laws prohibits the rich and the poor alike from sleeping under bridges, begging in the streets and stealing bread.” - Anatole France

    "The law is like a spider’s web. The small are caught, and the great tear it up.” - Anacharsis

  6. #6
    Clan Takiyama Senior Member R'as al Ghul's Avatar
    Join Date
    Jan 2003
    Location
    ignores routers who aren't elite
    Posts
    2,554

    Default Re: Gah problems...

    Those are unrelated problems. So "The Catalans" show up and all other rebels have names accordingly? Good.
    Only the leader names (Generals) are missing?
    Have you added anything to DEFAULT_HEROES.TXT?

    Singleplayer: Download beta_8
    Multiplayer: Download beta_5.All.in.1
    I'll build a mountain of corpses - Ogami Itto, Lone Wolf & Cub
    Sometimes standing up for your friends means killing a whole lot of people - Sin City, by Frank Miller

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