Results 1 to 30 of 34

Thread: New Campaign Map: my problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: New Campaign Map: my problems

    People have made working campaigns with only 4 provinces.

    Have you edited the mercenary text file? In there are also references to provinces. Since it also works when it's completely empty just erase everything inside it.

    After ending the first turn, the engine will place new mercenaries in each province according to descr_mercenaries.txt. If it finds an unknown region, CTD!

  2. #2
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: New Campaign Map: my problems

    I made that mistake, but the game wouldn't load, it said error in descr_mercenaries. It didn't even get to the end of the first turn. Still, that might be it.

    It could be that in my case another error caused the game to fail to load and so the merc file error was displayed. have a look.
    Last edited by Myrddraal; 12-14-2004 at 13:35.

  3. #3
    Wandering Historian Member eadingas's Avatar
    Join Date
    Nov 2004
    Location
    Llanfairpwll- gwyngyll- gogerych- wyrndrobwll- llantysilio- gogogoch
    Posts
    4,714

    Default Re: New Campaign Map: my problems

    It actually should crash even at starting campaign if the merc file is wrong - it usually does for me... but yeah, this might be it.
    Finding out all the little bugs is a pain. It's never as easy as it seems, and the game never gives any clue about really serious bugs... I've found that going the map through the Campaign Map Editor is helpful, it's good at finding out bugs with the map files themselves. But if there's something wrong with armies, mercs, disasters or something like that, then it's just a guesswork from then on.
    I'm fighting with a CTD-ing map right now, and I have found all sorts of bugs in the files by only guessing what can be wrong.
    I'm still not here

  4. #4
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: New Campaign Map: my problems

    Well, actually I have no idea what might be causing the CTD. IMO MonkWarrior has done far too much at once. After all the modding I have done I have learned the best way to progress fast is by progressing in very small steps.

    I first edited the descr_strat to the bare minimum with 2 faction and 2 settlements. Then I edited the campaign map by removing regions a small batch at a time. Then move the provinces to small blocks on the side of the map so that you have the space to make a large blob that resembled Japan. Then I moved the regions back in (in small batches). Once that worked I started to edit height/boundaries/groundtypes (small changes). At lastly I added the factions back in. Since the changes were so small I could very easily pinpoint the error. And of course backup! I had 60+ backups that allowed me to return to an older version if I just couldn't find the problem. Since I only make small changes I had only lost 10-30 minutes.

  5. #5
    Wandering Historian Member eadingas's Avatar
    Join Date
    Nov 2004
    Location
    Llanfairpwll- gwyngyll- gogerych- wyrndrobwll- llantysilio- gogogoch
    Posts
    4,714

    Default Re: New Campaign Map: my problems

    BTW, is it possible to have a faction without any characters, family tree, etc, and when the map works, add them in? Or is it necessary to have at least faction leader somewhere? I found that I have most problems with placing armies on tiles they shouldn't be...
    I'm still not here

  6. #6
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: New Campaign Map: my problems

    You know what (sorry about going off topic), sombody should make a template map. With say... Ten square shaped regions and some sea.

    Anyone could download it and start from there. I would do it, if only I had managed to make my map work.

  7. #7
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: New Campaign Map: my problems

    I was thinking about that too. I already have it semi-finished as part of my Japan progress. The big question is how many regions it should have. All the originals (that will give me some work) or whatever is present now at the Japan map (less work for me) or the bare minimum (4 or so and work for me).

    I am thinking of doing whatever I have now at the Japan map: 80 provinces or so, 2 factions (briton and senate), and descr_strat + map_...tga's that are stripped to the bare minimum.

    We would only need to write some guidelines for how to add a faction/province and how to edit the campaignmap.

    I guess I will have the files ready tomorrow.

  8. #8
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: New Campaign Map: my problems

    It should be a very basic map, so that people don't have to undo anything to customise it. People should be able to build on it as it is, so I think a small number of provinces is best. Maybe 3 factions (not many mods will want only 1).

    The ideal would be to have the text for having more than three faction commented out. That way to have an extra faction would take a minimum amount of work. But thats probably to complicated, best to keep it simple.

    If your doing this DJ, thats great news. :)

  9. #9
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: New Campaign Map: my problems

    Thanks for all the answers.
    I will check again all the txt files to search for any small mistake.
    In principle all the coordinates out of the new dimensions were erased (events, resources, characters), together with all the references to factions and provinces eliminated.
    I will report my findings if I finallly succed.

    Cheers.

  10. #10
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: New Campaign Map: my problems

    Quote Originally Posted by Duke John
    I first edited the descr_strat to the bare minimum with 2 faction and 2 settlements.
    Is there any restriction about those two factions? I mean, it is needed that one faction is SPQR and the other one a roman faction?

    I wonder about the senate missions. How are they assigned? This comes to me because the missions for the Brutii, for example, are assigned to regions that have been eliminated in the new map.

    About victory conditions. In the imperial campaign there are two possibilities (50 prov+Rome, or 15 prov+faction destroyed). Where are they coded? In descr_strat of the imperial_campaign the victory conditions are the same as in the provincial campaigns but the option of short campaign does not appear.

    Sorry. Too many questions and no one answer.

    Edit: The victory conditions are locked by the imperial campaign. I started an egyptian short campaign (15 prov. + destroy seleucids and armenia) and after exit the objectives for ALL the factions in the provincial campaign were the same (15+seleuc+armenia).
    I deleted all the events, disasters and mercenaries, but no solution.
    I removed greek_cities and brutii as factions: no solution.
    I eliminated the imperial campaign and renamed the Hispania campaign as imperial_campaign. It loads as imperial campaign and the objectives for the different factions are correct (even if macedonians are not among the factions): but again CTD.
    Last edited by Monkwarrior; 12-15-2004 at 01:53.

  11. #11
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Exclamation Campaign template

    I have uploaded a template campaign that is stripped to the bare minimum. And to spoil you even further I have made a little guide on how to use it: link, post #2.

    Have fun and good luck,
    Duke John
    Last edited by Duke John; 12-15-2004 at 10:12.

  12. #12
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Campaign template

    Great, Thx DJ.

  13. #13
    Senior Member Senior Member Duke John's Avatar
    Join Date
    May 2003
    Location
    Netherlands
    Posts
    2,917

    Default Re: New Campaign Map: my problems

    Is there any restriction about those two factions?
    Senate and the Latium region are needed. The second faction can be anything.

    I wonder about the senate missions. How are they assigned? This comes to me because the missions for the Brutii, for example, are assigned to regions that have been eliminated in the new map.
    That is interesting. I have also heard about assumptions of the AI being programmed to always attack certain regions/factions at the start of the campaign. I hope that removing regions doesn't affect the game too much.
    In descr_strat of the imperial_campaign the victory conditions are the same as in the provincial campaigns but the option of short campaign does not appear.
    Victory conditions are hardcoded. The entries in the beginning of descr_strat.txt are worthless. The short campaign conditions might be hardcoded to be limited to the Imperial campaign. ...oops, I have now read your edit. So when you overwrite the Imperial Campaign, all the factions should be present to use Short Victory Conditions?

    why is the sea in the editor shown as being above the land?
    Hmm, when I edited the campmap the custom battles were sometimes flawed as all units drowned since the sea level was above ground. Perhaps it has to do with the maximum height in map_heights.tga. Should be worthwhile to look into.

  14. #14
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: New Campaign Map: my problems

    Quote Originally Posted by Duke John
    Well, actually I have no idea what might be causing the CTD. IMO MonkWarrior has done far too much at once. After all the modding I have done I have learned the best way to progress fast is by progressing in very small steps.
    You were right Duke John. I followed your advise and now I HAVE A CAMPAIGN THAT WORKS.
    Using the same maps, I painted in map_regions just to have five provinces: Lusitania, Latium, Central Gaul, Africa and Sardinia. Each province had one owner faction: spain, SPQR, gauls, carthage and greek_cities. I reduced to the maximum the characters of each faction: only the leader, his wife and 2-3 children.
    It was only necessary to eliminate all the other regions in all the text files (mercs, regions, regions_and_settlement...) and the campaign seems to work at least 10 turns.
    I'll begin to include more provinces and factions step by step.

    Many thanks.

    (Last thing: I believe that the senate missions play some role in CTD. With the precedent configuration I was able to start the campaign with the Julii, first mission Segesta, but not with the Brutii. I imagine that it is due to the fact that the game cannot find the first objective.)

  15. #15
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: New Campaign Map: my problems

    Just to continue with the history, I resized the maps in order to have room for more regions. The radar map must not exceed 255 width 156 heigth or part of the map won't be visible in the radar window. With this limitation the beginning of the campaign would be:


    But now I have found three small problems:

    1-Beaches: I think Duke John posted something about it. I will look for that post. In any case this is a minor problem, because I am able to load boats.


    2-Roads: sometimes they are not visible on the map, as in this case:

    However in other zones of the map they are clearly visible. Problem with textures?

    3-weird problem near the border:

    This problem happened before in the bottom border, but now it is in the upper one. Any advise?

    My next steps will be including all the regions and the needed factions to complete the map.
    Cheers.

  16. #16
    Grand Dude Member Dead Moroz's Avatar
    Join Date
    Oct 2003
    Location
    Moscow
    Posts
    997

    Default Re: New Campaign Map: my problems

    Quote Originally Posted by Monkwarrior
    2-Roads: sometimes they are not visible on the map, as in this case:

    However in other zones of the map they are clearly visible. Problem with textures?
    I expanded vanilla map and noticed the same problem - in some regions roads just don't appears.

    I have question about related bug (sorry for a bit offtopic). Some regions "don't see" some other adjoining regions: don't trade with them and don't lead roads to them. Outwardly everything is ok: there are regions of one faction, different trade resources in regions, no any natural barriers. Does anybody know the cause of this problem (or at least have the same)?

  17. #17
    Wandering Historian Member eadingas's Avatar
    Join Date
    Nov 2004
    Location
    Llanfairpwll- gwyngyll- gogerych- wyrndrobwll- llantysilio- gogogoch
    Posts
    4,714

    Default Re: New Campaign Map: my problems

    Have you tried investigating the trade routes map for this? Maybe it's not as useless as it seems...
    I'm still not here

  18. #18
    Grand Dude Member Dead Moroz's Avatar
    Join Date
    Oct 2003
    Location
    Moscow
    Posts
    997

    Default Re: New Campaign Map: my problems

    Quote Originally Posted by Monkwarrior
    2-Roads: sometimes they are not visible on the map, as in this case:

    However in other zones of the map they are clearly visible. Problem with textures?
    I just noticed - your port is in sea. Try to move it on better place.

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