Results 1 to 6 of 6

Thread: CTD by city panel

  1. #1

    Default CTD by city panel

    I'm having a new CTD and can't find out what triggers it.

    Game loads, campaign loads, click on settlements or units works, but if i click to open a settlement panel games CTD.

    I was working on some files, including
    export_buildings.txt
    export_descr_buildings.txt
    descr_strat.txt
    descr_settlement_plan.txt
    building_battle.txt

    Any hint what to look for?

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

    Default Re: CTD by city panel

    I assume you've got -show_err on and have checked the modders guide to CTD's

    Have you made any new UI references?
    Last edited by Thor the Bassist; 05-31-2008 at 12:35.

    Building for the Future of METW

  3. #3

    Default Re: CTD by city panel

    I've been doing quite a bit of work recently on settlement plans and here are some of the things I've found that have caused CTD's without errors when entering city view.

    Problems with the climate files

    buildings not coded properly. Like buildings from different factions in export_desc_buildings coded into settlement files.

    If you have created new settlement plan levels the game sometimes crashes without errors if you do it improperly

    Basically, anything that has to do with the actual building models and the battlemap terrain will cause a crash. To eliminate and issues with climate and mapping stuff, try fighting a battle in a tile next to the city.

    If this works, then check all your building files and make sure you have the correct paths and faction information.

    Sorry I can't give you anything specific and as Thor mentions, make sure you are using show_err.

    Out of curiosity what sort of changes were you making to settlement_plans and strat?

  4. #4

    Default Re: CTD by city panel

    Quote Originally Posted by Thor the Bassist
    I assume you've got -show_err on and have checked the modders guide to CTD's

    Have you made any new UI references?
    Tons of.

    Quote Originally Posted by Ramashan
    I've been doing quite a bit of work recently on settlement plans and here are some of the things I've found that have caused CTD's without errors when entering city view.
    Wait wait: its not a CTD entering "city view" it CTD "opening the settlement panel". You know, the panel with building queue and settlement infos.

    And yes, of course I have show_err on.

    Quote Originally Posted by Ramashan
    Out of curiosity what sort of changes were you making to settlement_plans and strat?
    Lots of.

    In plans I have added about a hundred new buildings models along with a dozen new slots and some ambient slots too, and of course refers to the new settlement.txt files.

    In strat well i add the new buildings to settlements to check them in strategic and tactical maps, then usually I remove them. Strat is the easiest file to exclude from my search, enough to remove all buildings but core and I’m sure it can't give problems.

    O well, I'll start over checking everything, damn idiot I've been not keeping a fresh backup of the last changes.
    Last edited by Seth Krn3ll; 05-31-2008 at 21:05.

  5. #5

    Default Re: CTD by city panel

    Sorry for the confusion.

    I find that with buildings its best to add them a little at a time this way you know which are freezing up on you.

    Have you been editing the building cards as well? I found that not adding these for all the new buildings caused many crashes.

  6. #6

    Default Re: CTD by city panel

    Quote Originally Posted by Ramashan
    Sorry for the confusion.

    I find that with buildings its best to add them a little at a time this way you know which are freezing up on you.

    Have you been editing the building cards as well? I found that not adding these for all the new buildings caused many crashes.
    Well, i did not add a hundred models at at time, Ramashan :)
    I added them one by one, but as you know adding a new model implies lots of file modifications.

    Anyway the last changes I made are not about 3d models but just on the strategic gameplay.

    in export_descr_buildings.txt I removed 3 or 4 buildings and added a few more, added the relative refers in descr_settlement_plan and their text references in export_buildings.

    I hoped some of you had this kind of CTD and was able to point me directly to the error i surely made here or there. Now I'll just remove all those last changes and see if with the old lines game will work correctly again... such a waste of time.

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