HELP! Modding tech causing CTD with starbase weapon attacks

Help! I'm working on a large-scale mod that basically totally reworks the tech tree, planetary improvments, starbase modules, and ship types. I got all the data setup and have tested that it all works - with one major problem:

Any time a starbase survives an initial attack and can attack back, the game crashes to desktop. I've tried many, many things to resolve this problem. Updated drivers, tried the most current version of 1.1b, reverted back to 1.0 and 1.0x. There's no error messages in the debug.err, the SmartException logs show nothing. I used FileMon to see what files were being accessed by GalCiv2 during the crash and verified all those files exist.

I'm really stumped. Any help would be greatly appreciated.


Thanks,
Inferno

4,968 views 6 replies
Reply #2 Top
Hmm I dont know a thing about the modding aspect. But copy and pasting the XML changes might help. Other wise we can't help at all, not knowing the exact changes and all.
Reply #3 Top
have you checked your debug.err file ?? You can sometimes see what was going on to crash the game around the last lines..
Reply #4 Top
check your starbase module's data against the documenting i've done of the starbasemodules.xml @ http://www.gc2builder.com/vtopic-24.html
If you don't find the error, post the xml or email it to syneris@hotmail.com and i'll look at it
Reply #5 Top
Thanks for the posts. My current attempt to fix this is to include the release data in GC2Types.xml in my version. I think it uses hard-coded values in the game to determine which graphics to use when a starbase fires. Since I removed (almost) all the old values, this lookup fails and the program bombs. But this is going to take a few hours to implement and test
Reply #6 Top
I was right, the GCTypes values are hardcoded in GalCiv2.exe. So - beware if you make significant changes to the ship equipment you MUST MUST MUST leave the base weapons at each level in the file. You CAN change the tec required so the user and AI can never get that stuff...