PDA

View Full Version : CTD by city panel



Seth Krn3ll
05-31-2008, 03:54
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?

Thor the Bassist
05-31-2008, 12:34
I assume you've got -show_err on and have checked the modders guide to CTD's (https://forums.totalwar.org/vb/showthread.php?t=58801)

Have you made any new UI references?

Ramashan
05-31-2008, 19:47
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?

Seth Krn3ll
05-31-2008, 21:04
I assume you've got -show_err on and have checked the modders guide to CTD's (https://forums.totalwar.org/vb/showthread.php?t=58801)

Have you made any new UI references?
Tons of.


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.


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.

Ramashan
05-31-2008, 23:00
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.

Seth Krn3ll
06-01-2008, 00:18
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.