PDA

View Full Version : End Of Turn CTD Basic mod



Marble3001
07-12-2008, 04:46
Hi all, I was wondering if any of you may be able to help me solve a problem that I've been working on and off at for the past 2 weeks (The "off" part was me banging my head against a wall since it seemed the easier alternative). I am unable to start a new campaign, I select Julii, the load bar completes then it goes to a black screen and dies. I can load a saved game but after 1-3 times of clicking end turn it goes to a black screen and dies.

What I've done (or tried to do) is copy all the roman faction units (except for civ_peasants, female_peasants, ships and agents) and set the second copy as Julii only so I can have the Julii units have 0 recruit time (I'm pretty impatient when it comes to waiting in games). I followed the adding new units guide by Epistolary Richard in the Scriptorium while doing this and read other guides to see if I could work out where I went wrong but have been unable to do so.

In the EDU I changed the word "roman" in the type and dictionary sections of the copied units into "julii", the ownership to "romans_julii" and the ownership in the original roman units to "romans_brutii,romans_scipii,romans_senate" I copied the entries for the roman units in the EU and EDUE and changed the word "roman" in the copies to "julii" (eg. julii_heavy_onager, julii_heavy_onager_descr, julii_heavy_onager_descr_short)

Because I was unsure I created a new folder in the Data folder called UI as instructed in Epistolary Richard's guide and put copies of the Julii unit and unit info folders in there, changing the word "ROMAN" to "JULII"

In the EDB I copied the roman units in the recruit sections and changed the names of the copies to julii (eg. julii archer) and changed the faction to romans_julii, and the factions of the original to romans_brutii,romans_scipii,romans_senate,

I have checked and rechecked everything that I've done but can't work out why the game won't work. I have also looked at it in Caligula which says I have 298/300 units. I am running the 1.5 patch with a no cd patch. I have used -err in the shortcut but it doesn't tell me anything.

If anyone has any suggestions on what I could try they would be much appreciated. If anyone feels like being worshiped as a god by me I have also uploaded the files I have edited along with the save game I've been using if anyone would be willing to look through them please pm me since I can't post the links to the files yet. All of my new units are at the bottom of the EDU, EDUE and EU files and amongst their roman counterparts in the EDB file

Any help would be appreciated

wlesmana
07-12-2008, 15:12
Have you changed the units in the Julii faction as the new ones (in descr_strat.txt)? Also, you'll need to edit DMB, otherwise the Julii are able to recruit units they shouldn't have.

Remember to always delete map.rwm after making changes to campaign files or the game would use the older one.

Marble3001
07-13-2008, 01:04
I have deleted map.rwm and edited the troops in descr_strat so that all of the starting units are julii instead of roman but I'm not sure of what I need to do in the DMB (that's the model battle file right?). Still no luck on starting a new campaign or ending turn on a saved one.

Since I'm able to post links now here are the files I've fiddled with if anyone is willing to look through them:


http://www.yourfilehost.com/media.php?cat=other&file=export_descr_unit.txt
http://www.yourfilehost.com/media.php?cat=other&file=export_descr_unit_enums.txt
http://www.yourfilehost.com/media.php?cat=other&file=export_units.txt
http://www.yourfilehost.com/media.php?cat=other&file=export_descr_buildings.txt
http://www.yourfilehost.com/media.php?cat=other&file=descr_strat.txt
http://www.yourfilehost.com/media.php?cat=other&file=Start.sav

wlesmana
07-13-2008, 03:30
Sorry, I meant EDB, not DMB.
So the CTD happened after you played a turn or before fully loading the campaign?

What I suggest is to scrap all the current changes and try to change one unit first before making a huge change at the same time.

Also, did you use Replace All function to change the text?

Marble3001
07-13-2008, 03:59
It CTD's in a loaded save game after I hit end turn usually between 1 to 3 times during the AI phase before cutting to a black screen and dieing and when I start a new campaign the opening movie plays then the loading bar completely loads then it goes to a black screen and dies.

I did attempt it with a single archer first and it worked with no problems (not that I played for many turns since it was just a test) before I attempted to do it with all the units.

I didn't use the replace all function I used notepad or notepad++ (I've gone over and retried things in both) and used copy and paste to change each line one at a time just to be sure.

Makanyane
07-13-2008, 06:11
I can't get your file host to work for me unfortunately :embarassed:

have had one thought of a problem that would fit the symptoms
after you've made your changes is there still a unit with the
general_unit
attribute available for the Julii

if not you would get crash when they get new family member (because it doesn't have a bodyguard to give them)

Marble3001
07-13-2008, 08:29
Yes, I have "julii generals guard cavalry" and "julii generals guard cavalry early". I will try to find another free file host and post the links here.

Marble3001
07-13-2008, 08:50
Mkay, here are a couple of alternative hosts for the files, hopefully they will work:

export_units.txt (http://www.filefactory.com/file/e0aeac/n/export_units_tx

t)
descr_strat.txt (http://www.filefactory.com/file/1b9d6e/n/descr_strat_txt

)
export_descr_buildings.txt (http://www.filefactory.com/file/1cf658/n/export_descr_bu

ildings_txt)
export_descr_unit_enums.txt (http://www.filefactory.com/file/44fd37/n/export_descr_un

it_enums_txt)
export_descr_unit.txt (http://www.filefactory.com/file/eef931/n/export_descr_un

it_txt)


Start.sav (http://www.filefactory.com/file/2ae093/n/Start_sav)

-------------------------

http://www.mediafire.com/?9imbxmzmyzx
http://www.mediafire.com/?mfnx4xx2xxy
http://www.mediafire.com/?10jtnmxoq2t
http://www.mediafire.com/?nmnxzbqd01u
http://www.mediafire.com/?mmtbgzwsm1y
http://www.mediafire.com/?t202plmtzgm

Makanyane
07-13-2008, 20:36
aha, got it I think.....

I just tried out your EDU in custom battle which worked fine, but when I exited I got a show_err error saying "script error in descr_rebel_factions - roman peasant not available to Etruscans"

what has happened is that "romans" as culture also included slaves.... when you made the old units available to only bruttii, senate and scipii you should have added , slave as well....

its objecting because the slave 'faction' are no longer able to build the units that are assigned to the rebels. If you add ', slave' to the ownership of all the old units it should fix it :yes:

Marble3001
07-14-2008, 03:03
Thank you! That seems to have done it (tested a few turns). Just a quick question; I only added slave as ownership to the roman units they used to be able to get in the EDU, do you think I should add them to the relevant units in the EDB too or do you think that shouldn't be necessary?

I'm off now to construct a creepy shrine to you in my closet next to my one for Joss Whedon.